EvilEngine/DYNA/Enemy:SB: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
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 11: Line 11:
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==
{| class="wikitable"
{| class="wikitable"
! Offset !! Type !! Variable !! Description
! Offset !! Type !! Variable !! Description
Line 18: Line 19:
| 0x04 || short || null ||
| 0x04 || short || null ||
|-
|-
| 0x06 || short || '''flags?''' || always 0x001D
| 0x06 || short || null || always 0x001D
|-
|-
| 0x08 || byte[4] || '''flags2?''' || always 0x01000004
| 0x08 || char || '''flags''' ||
|-
|-
| 0x0C || [[AssetID]] || [[SURF]] ||
| 0x09 || char || '''subtype''' ||
|-
|-
| 0x10 || [[Vector3]] || '''rotation''' ||
| 0x0A || char || '''pflags''' ||
|-
|-
| 0x1C || [[Vector3]] || '''position''' ||
| 0x0B || char || '''moreFlags''' ||
|-
| 0x0C || [[AssetID]] || '''surfaceID''' ||
|-
| 0x10 || [[Vector3]] || '''ang''' ||
|-
| 0x1C || [[Vector3]] || '''pos''' ||
|-
|-
| 0x28 || [[Vector3]] || '''scale''' ||
| 0x28 || [[Vector3]] || '''scale''' ||
|-
|-
| 0x34 || [[Vector4]] || '''color''' ||
| 0x34 || float || '''redMult''' ||
|-
| 0x38 || float || '''greenMult''' ||
|-
| 0x3C || float || '''blueMult''' ||
|-
| 0x40 || float || '''seeThru''' ||
|-
|-
| 0x44 || int || null ||
| 0x44 || float || '''seeThruSpeed''' ||
|-
|-
| 0x48 || [[AssetID]] || '''modelID''' || hash of MINF without the ".MINF"
| 0x48 || [[AssetID]] || '''modelInfoID''' || hash of MINF without the ".MINF"
|-
|-
| 0x4C || int || null ||
| 0x4C || [[AssetID]] || '''animListID''' ||
|}
|}