Difference between revisions of "SMOKREF.DAT"

From UFOpaedia
Jump to navigation Jump to search
 
(Cleaned up and removed HTML code)
Line 1: Line 1:
smokref.dat<br>
+
==General Information==
-----------<br>
+
400 records of 9 values of one byte each. Total of 3600 bytes.
<br>
+
 
400 records of 9 values of one byte each. Total of 3600 bytes.<br>
+
Smoke always seems to be of the same density in game,
<br>
+
dispite there being enough graphics for three denisties.
Smoke always seems to be of the same density in game,<br>
+
Need to research more to see if thicker smoke is used -
dispite there being enough graphics for three denisties.<br>
+
even a blaster bomb doesn't seem to do the job!
Need to research more to see if thicker smoke is used -<br>
+
 
even a blaster bomb doesn't seem to do the job!<br>
+
==Structure==
<br>
+
'''0:''' X position of smoke/fire.
smokref[0] - X position of smoke/fire.<br>
+
 
smokref[1] - Y position of smoke/fire.<br>
+
'''1:''' Y position of smoke/fire.
smokref[2] - Z position of smoke/fire.<br>
+
 
smokref[3] - Time smoke will last.<br>
+
'''2:''' Z position of smoke/fire.
smokref[4] - Time fire will last.<br>
+
 
smokref[5] - ???Unused. Never seen it flag.<br>
+
'''3:''' Time smoke will last.
<br>
+
 
smokref[6] - <br>
+
'''4:''' Time fire will last.
0: Record unused.<br>
+
 
1: Fire.<br>
+
'''5:''' Un-used?? Never seen it flag.
2: Smoke.<br>
+
 
<br>
+
'''6:''' Fire or smoke?
smokref[7] - ???Flags 1 sometimes.<br>
+
0 Record unused
smokref[8] - ???Ranges from 0 to 3.<br>
+
1 Fire
 +
2 Smoke
 +
 
 +
'''7:''' Flags 1 sometimes...
 +
 
 +
'''8:''' Ranges from 0 to 3.

Revision as of 12:40, 3 November 2005

General Information

400 records of 9 values of one byte each. Total of 3600 bytes.

Smoke always seems to be of the same density in game, dispite there being enough graphics for three denisties. Need to research more to see if thicker smoke is used - even a blaster bomb doesn't seem to do the job!

Structure

0: X position of smoke/fire.

1: Y position of smoke/fire.

2: Z position of smoke/fire.

3: Time smoke will last.

4: Time fire will last.

5: Un-used?? Never seen it flag.

6: Fire or smoke?

0 Record unused
1 Fire
2 Smoke

7: Flags 1 sometimes...

8: Ranges from 0 to 3.