EvilEngine/PRJT: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
m (1 revision imported)
m (Seil moved page PRJT to EvilEngine/PRJT)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>
{{AssetInfobox
{{#vardefine:typeid|PRJT}}<nowiki/>
|subtitle=Projectile
{{#vardefine:name|Projectile}}<nowiki/>
|type=[[Base]]
{{#vardefine:type|[[Base]]}}<nowiki/>
|objectid=0x22
{{#vardefine:basetype|0x22}}<nowiki/>
|games=Night of 100 Frights}}
{{#vardefine:games|Scooby}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
</onlyinclude>
{{AutoAssetInfobox}}


==Format==
==Format==
PRJT are [[Base|base assets]], so they start with their 0x8 byte header, then are followed by:
{| class="wikitable"
{| class="wikitable"
! Offset !! Type !! Variable !! Description
! Offset !! Type !! Variable !! Description
|-
|-
| 0x08 || int || unknown ||
| 0x08 || int || '''efxType''' ||
|-
|-
| 0x0C || [[AssetID]] || [[MODL]] ||
| 0x0C || [[AssetID]] || '''modelID''' ||
|-
|-
| 0x10 || int || unknown ||
| 0x10 || [[AssetID]] || '''animID''' ||
|-
|-
| 0x14 || int || unknown ||
| 0x14 || [[AssetID]] || '''atRestModelID''' ||
|-
|-
| 0x18 || int || unknown ||
| 0x18 || [[AssetID]] || '''atRestAnimID''' ||
|-
|-
| 0x1C || int || unknown ||
| 0x1C || int || '''destructEnabled''' ||
|-
|-
| 0x20 || float || unknown ||
| 0x20 || float || '''destructTime'''||
|-
|-
| 0x24 || float || unknown ||
| 0x24 || float || '''destructDist''' ||
|-
|-
| 0x30 || int || unknown ||
| 0x28 || int || '''oriented''' ||
|-
|-
| 0x34 || int || unknown ||
| 0x30 || int[6] || '''extra_space''' ||
|-
| 0x38 || int || unknown ||
|-
| 0x3C || int || unknown ||
|-
| 0x40 || int || unknown ||
|-
|-
! colspan="4" | Events
! colspan="4" | Events
Line 41: Line 41:


{{Assets}}
{{Assets}}
{{AutoGameNavs}}


[[Category:Asset]]
[[Category:Asset]]

Latest revision as of 22:50, 15 September 2022

PRJT
Projectile
TypeBase
Base Type0x22
Games usedNight of 100 Frights

Format

PRJT are base assets, so they start with their 0x8 byte header, then are followed by:

Offset Type Variable Description
0x08 int efxType
0x0C AssetID modelID
0x10 AssetID animID
0x14 AssetID atRestModelID
0x18 AssetID atRestAnimID
0x1C int destructEnabled
0x20 float destructTime
0x24 float destructDist
0x28 int oriented
0x30 int[6] extra_space
Events
0x44 Event[numberOfEvents] Events