Site Tools


des-refmat:param:enemybehaviorbank

EnemyBehaviorBank

Fields

Field Type Offset Description Notes
EnemyBehaviorID s32 0x0 The behavior ID this enemy uses. This field uses the following enum: ENEMY_BEHAVIOR_ID
HP u16 0x4 The HP this enemy has.
AttackPower u16 0x6 The attack power this enemy has.
ChrType s32 0x8 The character type of this enemy. This field uses the following enum: CHR_TYPE
HitHeight f32 0xc The height of the enemy collision capsule. In metres.
HitRadius f32 0x10 The radius of the enemy collision capsule. In metres.
Weight f32 0x14 The weight of this enemy (for physics).
DynamicFriction f32 0x18 The dynamic friction force used for this enemy (for physics).
StaticFriction f32 0x1c The static friction force used for this enemy (for physics).
UpperDefState s32 0x20 The initial state of this enemy's upper body.
ActionDefState s32 0x24 The initial state of action this enemy has.
RotY_per_Second f32 0x28 The rotation rate on the y-axis for this enemy. In degrees per second.
reserve0 dummy8 0x2c This field is padding.
RotY_per_Second_old u8 0x40 The rotation rate on the y-axis for this enemy. In degrees per second.
EnableSideStep u8 0x41 If ON, the enemy can side-step left and right. This field is a boolean.
UseRagdollHit u8 0x42 If ON, then ragdoll collision is used for this enemy. This field is a boolean.
reserve_last dummy8 0x43 This field is padding.
stamina u16 0x48 The total amount of stamina this enemy has.
staminaRecover u16 0x4a The recovery rate per second for stamina this enemy uses.
staminaConsumption u16 0x4c The base value of stamina consumption this enemy expends when attacking or guarding.
deffenct_Phys u16 0x4e The base defense against physical damage.
reserve_last2 dummy8 0x50 This field is padding.

Enums

ENEMY_BEHAVIOR_ID

Option Description Notes

CHR_TYPE

Option Description Notes
des-refmat/param/enemybehaviorbank.txt · Last modified: by admin