1,535
edits
Battlepedia>Seil mNo edit summary |
m (Seil moved page SIMP to EvilEngine/SIMP) |
||
(12 intermediate revisions by 4 users not shown) | |||
Line 1:
<onlyinclude>
{{#vardefine:typeid|SIMP}}<nowiki/>
{{#vardefine:name|Simple Object}}<nowiki/>
{{#vardefine:type|[[Entity]]}}<nowiki/>
{{#vardefine:basetype|0x0B}}<nowiki/>
{{#vardefine:games|Scooby BFBB TSSM Incredibles ROTU RatProto}}<nowiki/>
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Game/zEntSimpleObj.h zEntSimpleObj.h]}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
</onlyinclude>
{{AutoAssetInfobox}}
This asset usually defines an entry for a simple, stationary object which may or may not be visible and collidable.
==Format==
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x54 || float || '''
|-
| 0x58 || int ||
|-
| 0x5C || byte || '''collType''' || Collision type. Set to None to disable collision and Static to enable collision.
The other types listed here do not affect SIMPs in any way, and are only used internally by a variety of entity types. Interestingly, this value is used as a bitmask during initialization, so it is possible to set multiple types at once, with Static (0x2) being the only functional type.
* 0 - None
* 1 - Trigger ([[TRIG]])
* 2 - Static ([[SIMP]])
* 4 - Dynamic ([[PLAT]], [[BUTN]], [[DSTR]])
* 8 - NPC ([[VIL]])
* 16 - Player ([[PLYR]])
|-
| 0x5D || byte || '''flags''' || Always 0
! colspan="3" | Events▼
|-
| 0x5E || - || - || padding
| 0x60 || Event[numberOfEvents] || '''[[Events]]'''▼
|-
|-
▲| 0x60 || Event[numberOfEvents] || '''[[Events]]''' ||
|}
=== Events ===
{{Assets}}
{{AutoGameNavs}}
[[Category:Asset]]
|