EvilEngine/ATKT: Difference between revisions

no edit summary
m (Seil moved page ATKT to EvilEngine/ATKT)
No edit summary
 
Line 12:
==Format==
===zAttackTableAsset===
<source lang=cpp>
class zAttackTableAsset
{
public:
unsigned short sectionCount;
unsigned short entryCount;
unsigned short transitionCount;
unsigned short stateCount;
};
</source>
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 || ushortu16 || '''sectionCount''' || Amount of [[#zAttackTableSection|zAttackTableSection]]
|-
| 0x02 || ushortu16 || '''entryCount''' || Amount of [[#zAttackTableEntry|zAttackTableEntry]]
|-
| 0x04 || ushortu16 || '''transitionCount''' || Amount of [[#zAttackTableTransition|zAttackTableTransition]]
|-
| 0x06 || ushortu16 || '''stateCount''' || Amount of [[#zAttackTableState|zAttackTableState]]
|}
 
====zAttackTableSection====
<source lang=cpp>
class zAttackTableSection
{
public:
unsigned int section;
unsigned short start;
unsigned short count;
};
</source>
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 || uintu32 || '''section''' ||
|-
| 0x04 || ushortu16 || '''start''' ||
|-
| 0x06 || ushortu16 || '''count''' ||
|}
 
====zAttackTableEntry====
<source lang=cpp>
class zAttackTableEntry
{
public:
unsigned int animationStateID;
xAnimState* animationState;
unsigned short animationStart;
unsigned short animationCount;
unsigned short start;
unsigned short count;
unsigned short onFlags;
unsigned short offFlags;
unsigned char input;
unsigned char power;
unsigned char pad0;
unsigned char pad1;
float startTime;
};
</source>
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 || uintu32 || '''animationStateID''' ||
|-
| 0x04 || uintu32 || '''animationState''' ||
|-
| 0x08 || ushortu16 || '''animationStart''' ||
|-
| 0x0A || ushortu16 || '''animationCount''' ||
|-
| 0x0C || ushortu16 || '''start''' ||
|-
| 0x0E || ushortu16 || '''count''' ||
|-
| 0x10 || ushortu16 || '''onFlags''' ||
|-
| 0x12 || ushortu16 || '''offFlags''' ||
|-
| 0x14 || byteu8 || '''input''' ||
|-
| 0x15 || byteu8 || '''power''' ||
|-
| 0x16 || byteu8[2] || '''pad''' ||
|-
| 0x18 || floatf32 || '''startTime''' ||
|}
 
====zAttackTableTransition====
<source lang=cpp>
class zAttackTableTransition
{
public:
unsigned int sourceState;
unsigned int destinationState;
float sourceTime;
float throughTime;
float destinationTime;
float blendTime;
unsigned int flags;
};
</source>
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 || uintu32 || '''sourceState''' ||
|-
| 0x04 || uintu32 || '''destinationState''' ||
|-
| 0x08 || floatf32 || '''sourceTime''' ||
|-
| 0x0C || floatf32 || '''throughTime''' ||
|-
| 0x10 || floatf32 || '''destinationTime''' ||
|-
| 0x14 || floatf32 || '''blendTime''' ||
|-
| 0x18 || uintu32 || '''flags''' ||
|}
 
====zAttackTableState====
<source lang=cpp>
class zAttackTableState
{
public:
unsigned int state;
float moveDistanceZ;
float moveDistanceY;
float moveTime;
float attackStart;
float attackEnd;
float attackRadius;
hitBoneInfo hitBone[4];
signed short damage;
unsigned short source;
unsigned short effect;
unsigned short hitEffect;
float effectStart;
float effectEnd;
effectBone effectBoneOutside[2];
effectBone effectBoneInside[2];
zAnimCacheEntry* bonePositions[2];
float rumbleStartTime;
unsigned int rumbleEmitterID;
unsigned int shrapID;
zShrapnelAsset* shrapAsset;
float shrapStartTime;
float velocityUp;
float velocityAway;
unsigned int flags;
float holdTime;
float jumpBreakTime;
float crouchBreakTime;
float turnLockStart;
float turnLockStop;
float climaxTime;
xVec3 climaxOffset;
float drainRate;
float blurStart;
float blurEnd;
float blurLife;
float blurAlpha;
float blurFadeInTime;
float blurFadeOutTime;
signed short flashAlpha;
float flashTime;
float comboBonus;
signed short comboType;
signed short powerBonus;
};
</source>
<source lang=cpp>
class hitBoneInfo
{
public:
unsigned short bone;
xVec3 boneOffset;
signed short atomic;
};
</source>
<source lang=cpp>
class effectBone
{
public:
unsigned short bone;
xVec3* pos;
};
</source>
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 || uintu32 || '''state''' ||
|-
| 0x04 || floatf32 || '''moveDistanceZ''' ||
|-
| 0x08 || floatf32 || '''moveDistanceY''' ||
|-
| 0x0C || floatf32 || '''moveTime''' ||
|-
| 0x10 || floatf32 || '''attackStart''' ||
|-
| 0x14 || floatf32 || '''attackEnd''' ||
|-
| 0x18 || floatf32 || '''attackRadius''' ||
|-
! 0x1C || hitBoneInfo[4] || '''hitBone''' ||
|-
| 0x00 || ushortu16 || '''bone''' ||
|-
| 0x02 || ushortu16 || padding ||
|-
| 0x04 || [[Vector3]] || '''boneOffset''' ||
|-
| 0x10 || shorts16 || '''atomic''' ||
|-
| 0x12 || shorts16 || padding
|-
! colspan="4" |
|-
| 0x6C || shorts16 || '''damage''' ||
|-
| 0x6E || ushortu16 || '''source''' ||
|-
| 0x70 || ushortu16 || '''effect''' ||
|-
| 0x72 || ushortu16 || '''hitEffect''' ||
|-
| 0x74 || floatf32 || '''effectStart''' ||
|-
| 0x78 || floatf32 || '''effectEnd''' ||
|-
! 0x7C || effectBone[2] || '''effectBoneOutside''' ||
|-
| 0x00 || ushortu16 || '''bone''' ||
|-
| 0x02 || byteu8[2] || padding ||
|-
| 0x04 || uintu32 || '''pos''' || This is a Vector3 in dwarf but always a int32 (0).
|-
! 0x8C || effectBone[2] || '''effectBoneInside''' ||
|-
| 0x00 || ushortu16 || '''bone''' ||
|-
| 0x02 || byteu8[2] || padding ||
|-
| 0x04 || uintu32 || '''pos''' || This is a Vector3 in dwarf but always a int32 (0).
|-
! colspan="4" |
Line 147 ⟶ 265:
| 0x9C || zAnimCacheEntry*[2] || '''bonePositions || ''null'' (int32)
|-
| 0xA4 || floatf32 || '''rumbleStartTime''' ||
|-
| 0xA8 || uintu32 || '''rumbleEmitterID''' ||
|-
| 0xAC || uintu32 || '''shrapID''' ||
|-
| 0xB0 || zShrapnelAsset* || '''shrapAsset''' || ''null'' (int32)
|-
| 0xB4 || floatf32 || '''shrapStartTime''' ||
|-
| 0xB8 || floatf32 || '''velocityUp''' ||
|-
| 0xBC || floatf32 || '''velocityAway''' ||
|-
| 0xC0 || uintu32 || '''flags''' ||
|-
| 0xC4 || floatf32 || '''holdTime''' ||
|-
| 0xC8 || floatf32 || '''jumpBreakTime''' ||
|-
| 0xCC || floatf32 || '''crouchBreakTime''' ||
|-
| 0xD0 || floatf32 || '''turnLockStart''' ||
|-
| 0xD4 || floatf32 || '''turnLockStop''' ||
|-
| 0xD8 || floatf32 || '''climaxTime''' ||
|-
| 0xDC || [[Vector3]] || '''climaxOffset''' ||
|-
| 0xE8 || floatf32 || '''drainRate''' ||
|-
| 0xEC || floatf32 || '''blurStart''' ||
|-
| 0xF0 || floatf32 || '''blurEnd''' ||
|-
| 0xF4 || floatf32 || '''blurLife''' ||
|-
| 0xF8 || floatf32 || '''blurAlpha''' ||
|-
| 0xFC || floatf32 || '''blurFadeInTime''' ||
|-
| 0x100 || floatf32 || '''blurFadeOutTime''' ||
|-
| 0x104 || shorts16 || '''flashAlpha''' ||
|-
| 0x106 || byteu8[2] || padding ||
|-
| 0x108 || floatf32 || '''flashTime''' ||
|-
| 0x10C || floatf32 || '''comboBonus''' ||
|-
| 0x110 || shorts16 || '''comboType''' ||
|-
| 0x112 || shorts16 || '''powerBonus''' ||
|}