home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / gamefly / levlin.arj / LEVILINE.DOC < prev    next >
Text File  |  1991-02-27  |  5KB  |  122 lines

  1. LEVILINE
  2.  
  3. Requires MicroSoft Flight Simulator and MS Aircraft & Scenery Designer.
  4.  
  5. LEVLIN.ZIP contains:
  6.  
  7. LEVILINE.EXE   The main program to "levitate" lines
  8. CRETE.SC1      An A&SD scenery file to be used with the following
  9.                (a variant on my NEACEKJR.SC1, with the addition of a
  10.                power line at the end of the runway [when modified])
  11. CRETE.DAT      A data file created by LEVILINE.EXE and to be used
  12.                with DEBUG and CRETE.SC1
  13. DODEBUG.BAT    A batch file which will run DEBUG, taking data from
  14.                CRETE.DAT, and modify CRETE.SC1. The original file is
  15.                backed up as CRETE.BAK.
  16. TAKEOFF.MOD    Puts you in the stock Cessna ready for takeoff on runway
  17.                35 at CEK, Crete Municipal, Nebraska.
  18. LEVILINE.DOC   This documentary file
  19. __________________________
  20.  
  21. The purpose of LEVILINE is to write a "script" which will provide the
  22. information used to debug an A&SD .SC1 file and raise (levitate)
  23. all or any of the lines (object class 5) in that file to a user-specified
  24. height AGL.
  25.  
  26. To use, simply type LEVILINE at DOS READY, and (1) supply the name of the
  27. A&SD file to be used (no extensions; precede with full path if not in
  28. current directory), and then (2) the height in feet AGL desired for
  29. the line(s). The program automatically converts the height value to meters,
  30. which is the unit of measure used in A&SD files.
  31.  
  32. The program will print on your screen a report of the lines encountered in
  33. the .SC1 file, with number and beginning byte in the file for that line.
  34. The number reflects the order in which you entered the lines in your file,
  35. and that sequence can also be determined by tabbing through the lines in the
  36. A&SD editor. This can also be determined by writing a report from Laemming
  37. Wheeler's SEE program. If there are no lines in the file, you will be
  38. informed to this effect.
  39.  
  40. The program also produces a text file, yourname.dat, which can be used as
  41. input for DEBUG. This file has the following format:
  42.  
  43. e xxx          where xxx is the address of the byte to be changed to
  44.                raise the line
  45.  
  46. xx             where xx is the value (in hexadecimal) corresponding to the
  47.                number of meters AGL the line is to be raised. This is the
  48.                value used in A&SD.
  49.  
  50. w              Write file
  51.  
  52. (For heights over 256 meters, the last three items are repeated with
  53. a different address [1 byte further in the file] and a different value;
  54. see below.)
  55.  
  56. The above for each of the lines in the .sc1 file.
  57.  
  58. Finally:
  59.  
  60. q              Quit.
  61.  
  62. It is possible to edit yourname.dat with any ASCII editor to achieve
  63. either or both of the following purposes:
  64.  
  65. 1) Eliminate the data for lines which you do not want to change: be sure
  66.    to drop the e statement(s), the height value(s), and the w statement(s).
  67.  
  68. 2) Change the height value(s) to another value, which should be hexadecimal
  69.    for the number of meters AGL. For heights over 256 meters, the first
  70.    byte is the low byte, and the second the high byte: high byte * 256
  71.    + low byte = actual height.
  72.  
  73. To use yourname.dat, do the following:
  74.  
  75. MAKE A BACKUP OF YOUR .SC1 FILE IN CASE SOMETHING GOES WRONG.
  76.  
  77. In the directory where your .sc1 file and the .dat file exist, type
  78.  
  79. DEBUG yourname.sc1 <yourname.dat
  80.  
  81. This will run debug, taking its information from yourname.dat. Of course
  82. the DEBUG program must be in your path. 
  83.  
  84. Anticipated frequent uses for this program are:
  85.  
  86. (1) Insert a series of radio towers and draw a line or lines connecting
  87. their tops. Note the height value of the towers (which must be the same
  88. for each), and set the height of the line(s) accordingly. The result
  89. will be a power line; you probably will want to use black lines.
  90.  
  91. (2) Skywriting!
  92.  
  93. (3) Fuel dumps in the sky, for that unexpected emergency. Don't expect
  94. them really to work.
  95.  
  96. (4) Fences
  97.  
  98. This program will work with Laemming Wheeler's modification of lines to
  99. make them a series of dots, using his SEE program. Thus one could make a
  100. string of light bulbs in the sky, particularly useful when mapping the
  101. colors to day/dusk/night values, also achieved in SEE.
  102.  
  103. ____________________
  104.  
  105. Sample, using the files in LEVLIN.ZIP:
  106.  
  107. Be sure DEBUG.EXE is in your path.
  108.  
  109. 1. Copy all files except this document to your Flight Simulator directory.
  110. 2. Enter Flight Simulator, and go into takeoff.mod.
  111. 3. If CRETE.SC1 does not automatically load, do so manually.
  112.    You should see simply two radio towers ahead of you beyond the end of
  113.    Runway 35.
  114. 4. Now get out of Flight Simulator, back into your directory, and run
  115.    DODEBUG.BAT.
  116. 5. Repeat steps 2 and 3. But this time there will be a wicked looking
  117.    power line between the radio towers. Take off and see if you can stay
  118.    under it. You will find CRETE.BAK in your directory.
  119.  
  120. Jim Ross 70235,143
  121.  
  122.