home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Killer
/
Game_Killer.bin
/
065.COM.DAT
< prev
next >
Wrap
Text File
|
1991-04-26
|
3KB
|
86 lines
'COM.DAT
'=======
'essentials as always
INPUT, see03.sc1
OUTPUT, test.sc1
DIR
'SEE enables you to place radio messages into your scenery files.
'They can be the traditional ATIS type messages ... or they may
'be simulated parts of a COM dialog; or warnings; or questions
'or ???
'The easiest to use is COM :
'first we must tell SEE where the source of the broadcast
'occurs. We can use any of the position commands to do this
'(see LIBRARY.DAT for a full discussion) but for now we'll
'use the most direct way:
NORTH, 18399.1234
EAST, 18401.5678
'now we tell SEE what frequency we want to tune (while flying)
'in order to receive this particular message:
FREQ, 123.45
'(this must be a valid FS com frequency)
'next we tell SEE what the message actually is:
MSG1, "ROGER, ONE - SEVEN - TANGO, WE HAVE YOU ON OUR SCREEN NOW ..."
'finally; after setting up the essential information (where;
'which frequency; what message) we ask SEE to actually stick the
'message into our scenery file:
COM
'now when we fly within an approximate range of 18 nautical miles
'(default value) and dial up 123.45 and hit the C key we will get
'this message. It really is that easy.
'If you need more space for your message add to it using MSG2 and MSG3:
FREQ,124.45
MSG1, "Start message here and put . . ."
MSG2, ". . . more here . . ."
MSG3, ". . . and finally here's the last part of the message."
'(since no new coordinates have been specified the previous ones apply
'so this message has the same source as the previous one)
'If the default range is too large we can add a statement to adjust it
'to what we want:
RANGE, 64
'the 64 means 64 times 256 meters! It would be fun to know what
'that means in nautical miles; wouldn't it? Or would it be easier
'to tell SEE that you wanted to talk nautical miles:
UNITS, NM
RANGE, 10
'we've just told SEE that we want the range to be 10 nm.
'Finally
COM
'OK; that's enough for this lesson.
SAVE,END
Discussion: Notice by controlling the source location and the
range carefully we can get several different messages to display
on the same frequency setting where your crafts position determines
which of these you will read. So it is possible to set up a complete
approach and departure dialog (you supply the pilot's part of the
dialog with your mouth [assuming no one except FS is listening]).
Also note that you may have multiple frequencies in the same area
each carrying a different message.