EvilEngine/DYNA/npc:NPC Custom AV: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
(Format)
 
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
{{#vardefine:name|npc:NPC_Custom_AV}}<nowiki/>
{{#vardefine:name|npc:NPC_Custom_AV}}<nowiki/>
{{#vardefine:version|}}<nowiki/>
{{#vardefine:version|4}}<nowiki/>
{{#vardefine:hash|0xFF7E4CFC}}<nowiki/>
{{#vardefine:hash|0xFF7E4CFC}}<nowiki/>
{{#vardefine:games|ROTU}}<nowiki/>
{{#vardefine:games|ROTU}}<nowiki/>
Line 8: Line 8:
</onlyinclude>
</onlyinclude>
{{AutoDynaInfobox}}
{{AutoDynaInfobox}}

==Format==
<source lang=cpp>
struct zNPCCustomAVAsset : xDynAsset
{
typedef int VERSION;

unsigned int animID;
float animDelay;
unsigned int soundGroupID;
float soundDelay;
unsigned char waitOnSound;
float loopTime;
unsigned int faceTargetID;
float animBlendTime;
float speedMin;
float speedMax;
unsigned char randomStartTime;
};
</source>

{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x10 || [[AssetID]] || '''animID''' || [[ANIM]]
|-
| 0x14 || f32 || '''animDelay''' ||
|-
| 0x18 || [[AssetID]] || '''soundGroupID''' || [[SGRP]]
|-
| 0x1C || f32 || '''soundDelay''' ||
|-
| 0x20 || u8 || '''waitOnSound''' ||
|-
| 0x21 || u8[3] || - || Padding
|-
| 0x24 || f32 || '''loopTime''' ||
|-
| 0x28 || [[AssetID]] || '''faceTargetID''' ||
|-
| 0x2C || f32 || '''animBlendTime''' ||
|-
| 0x30 || f32 || '''speedMin''' ||
|-
| 0x34 || f32 || '''speedMax''' ||
|-
| 0x38 || u8 || '''randomStartTime''' ||
|-
| 0x39 || u8[3] || - || Padding
|}


{{DynaAssets}}
{{DynaAssets}}

Latest revision as of 15:58, 19 September 2023

npc:NPC_Custom_AV
Version4
Hash0xFF7E4CFC
Games usedRise of the Underminer

Format

struct zNPCCustomAVAsset : xDynAsset
{
    typedef int VERSION;

    unsigned int animID;
    float animDelay;
    unsigned int soundGroupID;
    float soundDelay;
    unsigned char waitOnSound;
    float loopTime;
    unsigned int faceTargetID;
    float animBlendTime;
    float speedMin;
    float speedMax;
    unsigned char randomStartTime;
};
Offset Type Variable Description
0x10 AssetID animID ANIM
0x14 f32 animDelay
0x18 AssetID soundGroupID SGRP
0x1C f32 soundDelay
0x20 u8 waitOnSound
0x21 u8[3] - Padding
0x24 f32 loopTime
0x28 AssetID faceTargetID
0x2C f32 animBlendTime
0x30 f32 speedMin
0x34 f32 speedMax
0x38 u8 randomStartTime
0x39 u8[3] - Padding