home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
gamefly
/
levlin.arj
/
LEVILINE.DOC
< prev
next >
Wrap
Text File
|
1991-02-27
|
5KB
|
122 lines
LEVILINE
Requires MicroSoft Flight Simulator and MS Aircraft & Scenery Designer.
LEVLIN.ZIP contains:
LEVILINE.EXE The main program to "levitate" lines
CRETE.SC1 An A&SD scenery file to be used with the following
(a variant on my NEACEKJR.SC1, with the addition of a
power line at the end of the runway [when modified])
CRETE.DAT A data file created by LEVILINE.EXE and to be used
with DEBUG and CRETE.SC1
DODEBUG.BAT A batch file which will run DEBUG, taking data from
CRETE.DAT, and modify CRETE.SC1. The original file is
backed up as CRETE.BAK.
TAKEOFF.MOD Puts you in the stock Cessna ready for takeoff on runway
35 at CEK, Crete Municipal, Nebraska.
LEVILINE.DOC This documentary file
__________________________
The purpose of LEVILINE is to write a "script" which will provide the
information used to debug an A&SD .SC1 file and raise (levitate)
all or any of the lines (object class 5) in that file to a user-specified
height AGL.
To use, simply type LEVILINE at DOS READY, and (1) supply the name of the
A&SD file to be used (no extensions; precede with full path if not in
current directory), and then (2) the height in feet AGL desired for
the line(s). The program automatically converts the height value to meters,
which is the unit of measure used in A&SD files.
The program will print on your screen a report of the lines encountered in
the .SC1 file, with number and beginning byte in the file for that line.
The number reflects the order in which you entered the lines in your file,
and that sequence can also be determined by tabbing through the lines in the
A&SD editor. This can also be determined by writing a report from Laemming
Wheeler's SEE program. If there are no lines in the file, you will be
informed to this effect.
The program also produces a text file, yourname.dat, which can be used as
input for DEBUG. This file has the following format:
e xxx where xxx is the address of the byte to be changed to
raise the line
xx where xx is the value (in hexadecimal) corresponding to the
number of meters AGL the line is to be raised. This is the
value used in A&SD.
w Write file
(For heights over 256 meters, the last three items are repeated with
a different address [1 byte further in the file] and a different value;
see below.)
The above for each of the lines in the .sc1 file.
Finally:
q Quit.
It is possible to edit yourname.dat with any ASCII editor to achieve
either or both of the following purposes:
1) Eliminate the data for lines which you do not want to change: be sure
to drop the e statement(s), the height value(s), and the w statement(s).
2) Change the height value(s) to another value, which should be hexadecimal
for the number of meters AGL. For heights over 256 meters, the first
byte is the low byte, and the second the high byte: high byte * 256
+ low byte = actual height.
To use yourname.dat, do the following:
MAKE A BACKUP OF YOUR .SC1 FILE IN CASE SOMETHING GOES WRONG.
In the directory where your .sc1 file and the .dat file exist, type
DEBUG yourname.sc1 <yourname.dat
This will run debug, taking its information from yourname.dat. Of course
the DEBUG program must be in your path.
Anticipated frequent uses for this program are:
(1) Insert a series of radio towers and draw a line or lines connecting
their tops. Note the height value of the towers (which must be the same
for each), and set the height of the line(s) accordingly. The result
will be a power line; you probably will want to use black lines.
(2) Skywriting!
(3) Fuel dumps in the sky, for that unexpected emergency. Don't expect
them really to work.
(4) Fences
This program will work with Laemming Wheeler's modification of lines to
make them a series of dots, using his SEE program. Thus one could make a
string of light bulbs in the sky, particularly useful when mapping the
colors to day/dusk/night values, also achieved in SEE.
____________________
Sample, using the files in LEVLIN.ZIP:
Be sure DEBUG.EXE is in your path.
1. Copy all files except this document to your Flight Simulator directory.
2. Enter Flight Simulator, and go into takeoff.mod.
3. If CRETE.SC1 does not automatically load, do so manually.
You should see simply two radio towers ahead of you beyond the end of
Runway 35.
4. Now get out of Flight Simulator, back into your directory, and run
DODEBUG.BAT.
5. Repeat steps 2 and 3. But this time there will be a wicked looking
power line between the radio towers. Take off and see if you can stay
under it. You will find CRETE.BAK in your directory.
Jim Ross 70235,143