view docs/SinglePlayer.txt @ 57:35999e551d7a server tip

Call state's update method 2 times per second
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
date Sun, 03 Jun 2007 01:25:28 -0400
parents 4ea8bb26bc11
children
line wrap: on
line source

How to Play Air Traffic Controller - Single Player mode:
========================================================

When you start a single player game, you are presented with a decent amount
of information. It is your job, as an air traffic controller, to read it and
respond to it as necessary.

To tell a pilot to do something, you have to issue a command. All commands
have the same basic syntax:

	AIRCRAFT ID: COMMAND params...

At this time, the only aircraft ID supported is the flight number.

NOTE: Unfortunately, the command enterting facility is very rudimentary and
you must follow the syntax closely, or risk crashing the game.

The following commands are supported:

1) ALT		=> Change altitude

	This command has one parameter: the altitude the aircraft should
	climb/decent to.

2) HEAD		=> Change heading

	This command has one parameter: the new heading.
	
	NOTE: This command WILL change in future to allow turning right or
	left to specified heading.

3) SQUAWK	=> Change squawk code

	This command has one parameter: the new squawk code, a 4 digit octal
	number (digits 0-7 only)

Here's a little example...Say there is an aircraft (Delta 79) that has
heading 270 at 4000, and we want it to decend to 2500 and turn to heading 220.
The two commands we would issue are:

DELTA 79: ALT 2500
DELTA 79: HEAD 220

For ease of use, pressing either ';' or ':' will produce ': '.

NOTE: It is imperative that you include exactly one space between the "DELTA" and "79", ":" and "HEAD"/"ALT", and "HEAD"/"ALT" and "2500"/"220".


Special Keys:
=============

There are few special keys that change what's displayed:

F1  - toggles map layer display
F2  - toggles weather layer display (not implemented)
F3  - toggles navaid layer display (not implemented)
F4  - toggles menus layer display (not implemented)
F5  - toggles airplane layer display