home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Killer
/
Game_Killer.bin
/
063.ATIS.DAT
< prev
next >
Wrap
Text File
|
1991-04-26
|
2KB
|
77 lines
'ATIS.DAT
'========
'essentials as always
INPUT, see03.sc1
OUTPUT, test.sc1
'set up all directories (commands in DIR.MAC)
DIR
'ATIS is similar to COM but a bit more complex. ATIS is a
'composite message with quite a bit of information in it
'which we have to tell SEE.
'The first component is usually the name of the airport:
MSG1, "SALVIDOR DALI INTERNATIONAL"
'Then comes the identifier:
ID, "ALPHA"
'Since in the ATIS mode runway recommendations are given based on
'wind direction we must supply choices here:
RWYNE, 04
RWYSE, 12
RWYSW, 22
RWYNW, 30
'Where RWYNE is the 2 digit runway identifier for the
'runway you'd recommend if the wind was out of the NE
'(straight forward but makes you think).
'This is optionally followed by a message that might explain
'special facilities:
MSG2, "INSTRUMENT APPROACH AVAILABLE... RUNWAY 12... LOCALIZER FREQUENCY...(etc)"
'The ending is usually like this:
MSG3, "YOU HAVE ALPHA"
'now we tell SEE what frequency we want to tune (while flying) in
'order to receive this message:
FREQ, 123.45
'(this must be a valid FS com frequency)
'An optional characteristic that we may want to set is the
'active range. Default is about 18 nm (128 FS units) but let's
'restrict this one to 10 nm:
UNITS, NM
RANGE, 10
'We should tell SEE where the source is also: we could say:
NORTH, 18400.0000
EAST, 18400
'or we could get fancy. Let's say we know that the control tower
'(a building; object-type code = 9) is the 15th building that we
'put in. This command:
LOCATE, 9, 15
'will use find that element and use it's N and E coordinates.
'Finally we tell SEE to do it:
ATIS
'OK; that's enough for this lesson.
SAVE
END