EvilEngine/CNTR: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
Battlepedia>Seil
Battlepedia>Seil
No edit summary
Line 1: Line 1:
{{AssetInfobox
|subtitle=Counter
|type=[[Object]]
|objectid=0x16
|games=Night of 100 Frights<br>Battle for Bikini Bottom<br>The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer}}

==Format==
==Format==
Counters are [[Object Asset|object assets]], so they start with their 0x8 byte header, then are followed by:
Counters are [[Object Asset|object assets]], so they start with their 0x8 byte header, then are followed by:

Revision as of 17:45, 30 November 2018

CNTR
Counter
TypeObject
Games usedThe Incredibles

Format

Counters are object assets, so they start with their 0x8 byte header, then are followed by:

Offset Type Description
0x08 short Count - The initial value of the counter.
0x0A short Unknown - Always 0.
Events
0xC Event[numberOfEvents] Events