EvilEngine/NPC: Difference between revisions

m
Seil moved page NPC to EvilEngine/NPC
(Created page with "{{AssetInfobox |subtitle=NPC |type=Placeable |objectid=0x02 |games=Night of 100 Frights}} This asset defines an entry for an NPC. ==Format== NPC are Placeable Asset|pl...")
m (Seil moved page NPC to EvilEngine/NPC)
 
(7 intermediate revisions by 3 users not shown)
Line 1:
<onlyinclude>
{{AssetInfobox
{{#vardefine:typeid|NPC}}<nowiki/>
|subtitle=NPC
{{#vardefine:name|NPC}}<nowiki/>
|type=[[Placeable]]
{{#vardefine:type|[[Entity]]}}<nowiki/>
|objectid=0x02
{{#vardefine:basetype|0x02}}<nowiki/>
|games=Night of 100 Frights}}
{{#vardefine:games|Scooby}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
</onlyinclude>
{{AutoAssetInfobox}}
 
This asset defines an entry for an NPC.
 
==Format==
NPC are [[Placeable AssetEntity|placeableentity assets]], so they start with their 0x54 byte header (0x50 in Scooby), then are followed by:
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x540x50 || float || unknown'''activateRadius''' ||
|-
| 0x580x54 || float || unknown'''activateFOV''' ||
|-
| 0x5C0x58 || float || unknown'''detectHeight''' ||
|-
| 0x600x5C || float || unknown'''detectHeightOffset''' ||
|-
| 0x640x60 || float || unknown'''speedMovement''' ||
|-
| 0x680x64 || float || unknown'''speedPursue''' ||
|-
| 0x6C0x68 || float || unknown'''speedTurn''' ||
|-
| 0x700x6C || float || unknown'''pursuitRange''' ||
|-
| 0x740x70 || short || unknown'''durDazedState''' ||
|-
| 0x760x72 || short || unknown'''durGloatState''' ||
|-
| 0x780x74 || short || unknown'''durGummedState''' ||
|-
| 0x7A0x76 || short || unknown'''durBubbleState''' ||
|-
| 0x7C0x78 || bytechar || unknown'''hitpoints''' ||
|-
| 0x7D0x79 || bytechar || unknown'''behaviorState''' ||
|-
| 0x7E0x7A || byteshort || unknown'''pad''' || padding
|-
| 0x7F0x7C || byteuint || unknown'''villFlags''' ||
|-
| 0x80 || bytefloat || unknown'''lobSpeed''' ||
|-
| 0x810x84 || bytefloat || unknown'''lobDurReload''' ||
|-
| 0x820x88 || bytefloat || unknown'''lobRange''' ||
|-
| 0x830x8C || byteuint || unknown'''lobSalvo''' ||
|-
| 0x840x90 || float[[AssetID]] || unknown'''projectileTypeID''' || [[PRJT]]
|-
| 0x880x94 || float[[AssetID]] || unknown'''mvptBullseyeID''' || [[MVPT]]
|-
| 0x8C0x98 || float || unknown'''lobArcness''' ||
|-
| 0x900x9C || intfloat || unknown'''lobHeavy''' ||
|-
| 0x940xA0 || intfloat || unknown'''extenderRange''' ||
|-
| 0x980xA4 || intfloat || unknown'''extenderWidth''' ||
|-
| 0x9C0xA8 || float || unknown'''extenderDuration''' ||
|-
| 0xA00xAC || float || unknown'''extenderRate''' ||
|-
| 0xA40xB0 || float || unknown'''extenderReloadTime''' ||
|-
| 0xA80xB4 || float[[AssetID]] || unknown'''movePointAssetID''' || [[MVPT]]
|-
| 0xAC0xB8 || float[[AssetID]] || unknown'''pathAssetID''' ||
|-
| 0xB00xBC || floatint || unknown'''minPlayerPowerups''' ||
|-
| 0xB40xC0 || floatint || unknown'''minGameDifficulty''' ||
|-
| 0xB8 || [[Asset ID]] || [[MVPT]] ||
|-
| 0xBC || byte[4] || unknown || null
|-
| 0xC0 || int || unknown || null
|-
| 0xC4 || int || unknown || null
|-
! colspan="4" | Events
|-
| 0xC80xC4 || Event[numberOfEvents] || '''[[Events]]''' ||
|}
 
{{Assets}}
{{AutoGameNavs}}
 
[[Category:Asset]]