EvilEngine/DYNA/Enemy:SB: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 3:
{{#vardefine:version|}}<nowiki/>
{{#vardefine:hash|0x5B1CC119}}<nowiki/>
{{#vardefine:games|TSSM}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
Line 10:
 
This is the same as an [[Entity]] header. All other Enemy:SB types inherit from this.
 
==Format==
 
<source lang=cpp>
class zNMEAsset : public xDynAsset
{
public:
xEntAsset ent_asset;
};
</source>
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x10 || [[EvilEngine/Assets#Entity Assets|xEntAsset]] || '''ent_asset''' ||
| 0x00 || int || null ||
|-
| 0x04 || short || null ||
|-
| 0x06 || short || '''flags?''' || always 0x001D
|-
| 0x08 || byte[4] || '''flags2?''' || always 0x01000004
|-
| 0x0C || [[AssetID]] || [[SURF]] ||
|-
| 0x10 || [[Vector3]] || '''rotation''' ||
|-
| 0x1C || [[Vector3]] || '''position''' ||
|-
| 0x28 || [[Vector3]] || '''scale''' ||
|-
| 0x34 || [[Vector4]] || '''color''' ||
|-
| 0x44 || int || null ||
|-
| 0x48 || [[AssetID]] || '''modelID''' || hash of MINF without the ".MINF"
|-
| 0x4C || int || null ||
|}