Jump to content

Talk:SMOKREF.DAT: Difference between revisions

From UFOpaedia
No edit summary
Volutar (talk | contribs)
Line 14: Line 14:


- [[User:Bomb Bloke|Bomb Bloke]] 15:04, 12 February 2008 (PST)
- [[User:Bomb Bloke|Bomb Bloke]] 15:04, 12 February 2008 (PST)
== Offset 5 ==
According code, this value increased when number of explosions happened around. <i>new_density=summarized_density/overlaps-1</i> and after these calculations <i>overlaps</i> value nulled.--[[User:Volutar|Volutar]] 10:35, 23 February 2011 (EST)

Revision as of 15:35, 23 February 2011

Offset 7: looks like a visibility flag. It is set to 1 when the SEEMAP.DAT entry of the tile indicates that the content of the ground has been seen (bit 3). Anyone can confirm the theory?

- Seb76 07:26, 12 February 2008 (PST)


If you set it to 1 for an out of sight smoke cloud, it'll remain unseen until your soldiers spot it.

By memory, if you set it to 0 for a cloud that should otherwise be visible, it won't appear.

I checked the cloud generated by a just-crashed UFO and all records were set to 0.

So it seems likely to me that it is a indeed a visibility flag. :)

- Bomb Bloke 15:04, 12 February 2008 (PST)

Offset 5

According code, this value increased when number of explosions happened around. new_density=summarized_density/overlaps-1 and after these calculations overlaps value nulled.--Volutar 10:35, 23 February 2011 (EST)