EvilEngine/DYNA/Enemy:SB: Difference between revisions
< EvilEngine | DYNA
Content added Content deleted
No edit summary |
EnergyDrink (talk | contribs) 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 || |
| 0x06 || short || null || always 0x001D |
||
|- |
|- |
||
| 0x08 || |
| 0x08 || char || '''flags''' || |
||
|- |
|- |
||
| |
| 0x09 || char || '''subtype''' || |
||
|- |
|- |
||
| |
| 0x0A || char || '''pflags''' || |
||
|- |
|- |
||
| |
| 0x0B || char || '''moreFlags''' || |
||
|- |
|||
| 0x0C || [[AssetID]] || '''surfaceID''' || |
|||
|- |
|||
| 0x10 || [[Vector3]] || '''ang''' || |
|||
|- |
|||
| 0x1C || [[Vector3]] || '''pos''' || |
|||
|- |
|- |
||
| 0x28 || [[Vector3]] || '''scale''' || |
| 0x28 || [[Vector3]] || '''scale''' || |
||
|- |
|- |
||
| 0x34 || |
| 0x34 || float || '''redMult''' || |
||
|- |
|||
| 0x38 || float || '''greenMult''' || |
|||
|- |
|||
| 0x3C || float || '''blueMult''' || |
|||
|- |
|||
| 0x40 || float || '''seeThru''' || |
|||
|- |
|- |
||
| 0x44 || |
| 0x44 || float || '''seeThruSpeed''' || |
||
|- |
|- |
||
| 0x48 || [[AssetID]] || ''' |
| 0x48 || [[AssetID]] || '''modelInfoID''' || hash of MINF without the ".MINF" |
||
|- |
|- |
||
| 0x4C || |
| 0x4C || [[AssetID]] || '''animListID''' || |
||
|} |
|} |
||
Revision as of 07:40, 30 June 2022
Enemy:SB | |
---|---|
Hash | 0x5B1CC119 |
Games used | The SpongeBob SquarePants Movie |
This is the same as an Entity header. All other Enemy:SB types inherit from this.
Format
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | int | null | |
0x04 | short | null | |
0x06 | short | null | always 0x001D |
0x08 | char | flags | |
0x09 | char | subtype | |
0x0A | char | pflags | |
0x0B | char | moreFlags | |
0x0C | AssetID | surfaceID | |
0x10 | Vector3 | ang | |
0x1C | Vector3 | pos | |
0x28 | Vector3 | scale | |
0x34 | float | redMult | |
0x38 | float | greenMult | |
0x3C | float | blueMult | |
0x40 | float | seeThru | |
0x44 | float | seeThruSpeed | |
0x48 | AssetID | modelInfoID | hash of MINF without the ".MINF" |
0x4C | AssetID | animListID |