EvilEngine/DYNA/Enemy:SB: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
{{#vardefine:version|}}<nowiki/>
{{#vardefine:version|}}<nowiki/>
{{#vardefine:hash|0x5B1CC119}}<nowiki/>
{{#vardefine:hash|0x5B1CC119}}<nowiki/>
{{#vardefine:games|}}<nowiki/>
{{#vardefine:games|TSSM}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
Line 10: Line 10:


This is the same as an [[Entity]] header. All other Enemy:SB types inherit from this.
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"
{| class="wikitable"
! Offset !! Type !! Variable !! Description
! 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 ||
|}
|}



Latest revision as of 15:55, 19 September 2023

Enemy:SB
Hash0x5B1CC119
Games usedThe SpongeBob SquarePants Movie

This is the same as an Entity header. All other Enemy:SB types inherit from this.

Format

class zNMEAsset : public xDynAsset
{
public:
    xEntAsset ent_asset;
};
Offset Type Variable Description
0x10 xEntAsset ent_asset