home *** CD-ROM | disk | FTP | other *** search
/ Game Killer / Game_Killer.bin / 089.ATIS.DAT < prev    next >
Text File  |  1991-04-26  |  2KB  |  77 lines

  1. 'ATIS.DAT
  2. '========
  3. 'essentials as always
  4. INPUT,  see03.sc1
  5. OUTPUT, test.sc1
  6. 'set up all directories (commands in DIR.MAC)
  7. DIR
  8.  
  9. 'ATIS is similar to COM but a bit more complex.  ATIS is a
  10. 'composite message with quite a bit of information in it
  11. 'which we have to tell SEE.
  12.  
  13. 'The first component is usually the name of the airport:
  14.  
  15. MSG1, "SALVIDOR DALI INTERNATIONAL"
  16.  
  17. 'Then comes the identifier:
  18.  
  19. ID, "ALPHA"
  20.  
  21. 'Since in the ATIS mode runway recommendations are given based on
  22. 'wind direction we must supply choices here:
  23.  
  24. RWYNE, 04
  25. RWYSE, 12
  26. RWYSW, 22
  27. RWYNW, 30
  28.  
  29. 'Where RWYNE is the 2 digit runway identifier for the
  30. 'runway you'd recommend if the wind was out of the NE
  31. '(straight forward but makes you think).
  32.  
  33. 'This is optionally followed by a message that might explain
  34. 'special facilities:
  35.  
  36. MSG2, "INSTRUMENT APPROACH AVAILABLE... RUNWAY 12... LOCALIZER FREQUENCY...(etc)"
  37.  
  38. 'The ending is usually like this:
  39.  
  40. MSG3, "YOU HAVE ALPHA"
  41.  
  42. 'now we tell SEE what frequency we want to tune (while flying) in
  43. 'order to receive this message:
  44. FREQ, 123.45
  45. '(this must be a valid FS com frequency)
  46.  
  47. 'An optional characteristic that we may want to set is the
  48. 'active range.  Default is about 18 nm (128 FS units) but let's
  49. 'restrict this one to 10 nm:
  50.  
  51. UNITS, NM
  52. RANGE, 10
  53.  
  54. 'We should tell SEE where the source is also: we could say:
  55.  
  56. NORTH, 18400.0000
  57. EAST, 18400
  58.  
  59. 'or we could get fancy.  Let's say we know that the control tower
  60. '(a building; object-type code = 9) is the 15th building that we
  61. 'put in.  This command:
  62.  
  63. LOCATE, 9, 15
  64.  
  65. 'will use find that element and use it's N and E coordinates.
  66.  
  67. 'Finally we tell SEE to do it:
  68.  
  69. ATIS
  70.  
  71. 'OK; that's enough for this lesson. 
  72.  
  73. SAVE
  74. END
  75.  
  76.  
  77.