Difference between revisions of "SMOKREF.DAT"

From UFOpaedia
Jump to navigation Jump to search
Line 18: Line 18:
 
'''4:''' Time fire will last.
 
'''4:''' Time fire will last.
  
'''5:''' Un-used?? Never seen it flag.
+
'''5:''' Un-used? Never seen it flag.
  
 
'''6:''' Fire or smoke?  
 
'''6:''' Fire or smoke?  
Line 25: Line 25:
 
  2 Smoke
 
  2 Smoke
  
'''7:''' Flags 1 sometimes...
+
'''7:''' Flags 1 sometimes. Smoke will not render if set to 0.
  
'''8:''' Ranges from 0 to 3.
+
'''8:''' Animation frame offset. Set at random, to break tile pattern in cloud of smoke. Ranges from 0 to 3.
 
 
Animation frame offset. Probably set at random, to break tile pattern in cloud of smoke.
 
  
 
==See Also==
 
==See Also==

Revision as of 02:53, 22 October 2006

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. Smoke will not render if set to 0.

8: Animation frame offset. Set at random, to break tile pattern in cloud of smoke. Ranges from 0 to 3.

See Also