Site Tools


ds1-refmat:param:npcparam

NpcParam

Fields

Field Type Offset Description Notes
behaviorVariationId s32 0x0 Used to determine the action parameters to use for this enemy.
aiThinkId s32 0x4 The think parameters to use for this enemy. This field refers to the following params: NpcThinkParam
nameId s32 0x8 The name to display for this entity. Only appears on the health bar of c0000 characters. This field refers to the following text files: Title_Characters
turnVellocity f32 0xc The rotation speed of the enemy. In degrees per second.
hitHeight f32 0x10 Vertical radius of hitbox used for character to character collision. Requires useRagdoll = false
hitRadius f32 0x14 Horizontal radius of hitbox used for character to character collision. Requires useRagdoll = false
weight u32 0x18 The weight of the character.
hitYOffset f32 0x1c The vertical offset of the character's hitbox. Will cause them to float.
hp u32 0x20 The character's maximum hit points.
mp u32 0x24 The character's maximum mana points.
getSoul u32 0x28 The amount of souls dropped on death by this character.
itemLotId_1 s32 0x2c The ID of the item lot to use for item drops for this character's death. This field refers to the following params: ItemLotParam
itemLotId_2 s32 0x30 The ID of the item lot to use for item drops for this character's death. This field refers to the following params: ItemLotParam
itemLotId_3 s32 0x34 The ID of the item lot to use for item drops for this character's death. This field refers to the following params: ItemLotParam
itemLotId_4 s32 0x38 The ID of the item lot to use for item drops for this character's death. This field refers to the following params: ItemLotParam
itemLotId_5 s32 0x3c The ID of the item lot to use for item drops for this character's death. This field refers to the following params: ItemLotParam
itemLotId_6 s32 0x40 The ID of the item lot to use for item drops for this character's death. This field refers to the following params: ItemLotParam
humanityLotId s32 0x44 The humanity item lot to use for humanity rewards upon this character's death. This field refers to the following params: ItemLotParam
spEffectID0 s32 0x48 The ID of a SpEffect that affect this character. This field refers to the following params: SpEffectParam
spEffectID1 s32 0x4c The ID of a SpEffect that affect this character. This field refers to the following params: SpEffectParam
spEffectID2 s32 0x50 The ID of a SpEffect that affect this character. This field refers to the following params: SpEffectParam
spEffectID3 s32 0x54 The ID of a SpEffect that affect this character. This field refers to the following params: SpEffectParam
spEffectID4 s32 0x58 The ID of a SpEffect that affect this character. This field refers to the following params: SpEffectParam
spEffectID5 s32 0x5c The ID of a SpEffect that affect this character. This field refers to the following params: SpEffectParam
spEffectID6 s32 0x60 The ID of a SpEffect that affect this character. This field refers to the following params: SpEffectParam
spEffectID7 s32 0x64 The ID of a SpEffect that affect this character. This field refers to the following params: SpEffectParam
GameClearSpEffectID s32 0x68 The ID of a SpEffect that affect this character that only applies on NG+ and higher. Used to scale enemy stats for each NG+ journey. This field refers to the following params: SpEffectParam
physGuardCutRate f32 0x6c The percentage reduction in Physical damage taken when this character is guarding.
magGuardCutRate f32 0x70 The percentage reduction in Magic damage taken when this character is guarding.
fireGuardCutRate f32 0x74 The percentage reduction in Fire damage taken when this character is guarding.
thunGuardCutRate f32 0x78 The percentage reduction in Lightning damage taken when this character is guarding.
animIdOffset s32 0x7c A value to offset animation IDs by. 0 = a00, 10000 = a01, etc.
moveAnimId s32 0x80 The movement animation to use for this character.
spMoveAnimId1 s32 0x84 The special movement animation to use for this character.
spMoveAnimId2 s32 0x88 The special movement animation to use for this character.
networkWarpDist f32 0x8c The distance at which to warp this character instead of allowing standard movement during network synchronization.
dbgBehaviorR1 s32 0x90 The animation ID to use when the specified button is pressed during a debug session.
dbgBehaviorL1 s32 0x94 The animation ID to use when the specified button is pressed during a debug session.
dbgBehaviorR2 s32 0x98 The animation ID to use when the specified button is pressed during a debug session.
dbgBehaviorL2 s32 0x9c The animation ID to use when the specified button is pressed during a debug session.
dbgBehaviorRL s32 0xa0 The animation ID to use when the specified button is pressed during a debug session.
dbgBehaviorRR s32 0xa4 The animation ID to use when the specified button is pressed during a debug session.
dbgBehaviorRD s32 0xa8 The animation ID to use when the specified button is pressed during a debug session.
dbgBehaviorRU s32 0xac The animation ID to use when the specified button is pressed during a debug session.
dbgBehaviorLL s32 0xb0 The animation ID to use when the specified button is pressed during a debug session.
dbgBehaviorLR s32 0xb4 The animation ID to use when the specified button is pressed during a debug session.
dbgBehaviorLD s32 0xb8 The animation ID to use when the specified button is pressed during a debug session.
dbgBehaviorLU s32 0xbc The animation ID to use when the specified button is pressed during a debug session.
animIdOffset2 s32 0xc0 A value to offset animation IDs by. 0 = a00, 10000 = a01, etc.
partsDamageRate1 f32 0xc4 The multiplier to apply to incoming damage against the mesh assigned as this part.
partsDamageRate2 f32 0xc8 The multiplier to apply to incoming damage against the mesh assigned as this part.
partsDamageRate3 f32 0xcc The multiplier to apply to incoming damage against the mesh assigned as this part.
partsDamageRate4 f32 0xd0 The multiplier to apply to incoming damage against the mesh assigned as this part.
partsDamageRate5 f32 0xd4 The multiplier to apply to incoming damage against the mesh assigned as this part.
partsDamageRate6 f32 0xd8 The multiplier to apply to incoming damage against the mesh assigned as this part.
partsDamageRate7 f32 0xdc The multiplier to apply to incoming damage against the mesh assigned as this part.
partsDamageRate8 f32 0xe0 The multiplier to apply to incoming damage against the mesh assigned as this part.
weakPartsDamageRate f32 0xe4 The multiplier to apply to incoming damage against the weak point part.
superArmorRecoverCorrection f32 0xe8 The change to apply to poise recovery speed for this character.
superArmorBrakeKnockbackDist f32 0xec The knockback distance for the stagger when this character's poise is broken.
stamina u16 0xf0 The maximum stamina for this character.. Used for non c0000 enemies blocking in DS1
staminaRecoverBaseVel u16 0xf2 The recovery speed for stamina for this character.
def_phys u16 0xf4 The flat physical damage defense this character possess.
def_slash s16 0xf6 This value is applied to the flat physical defense when the sub-type matches. For example: 10 = +10% defense, -10 = -10% defense
def_blow s16 0xf8 This value is applied to the flat physical defense when the sub-type matches. For example: 10 = +10% defense, -10 = -10% defense
def_thrust s16 0xfa This value is applied to the flat physical defense when the sub-type matches. For example: 10 = +10% defense, -10 = -10% defense
def_mag u16 0xfc The flat magic damage defense this character possess.
def_fire u16 0xfe The flat physical damage defense this character possess.
def_thunder u16 0x100 The flat physical damage defense this character possess.
defFlickPower u16 0x102 Innate deflection defense. Deflected attacks can have their damage reduced via flickDamageCutRate
resist_poison u16 0x104 The flat defense value for this character against the specified resistance type.
resist_desease u16 0x106 The flat defense value for this character against the specified resistance type.
resist_blood u16 0x108 The flat defense value for this character against the specified resistance type.
resist_curse u16 0x10a The flat defense value for this character against the specified resistance type.
ghostModelId s16 0x10c The model ID to use for the wandering ghost version of this character.
normalChangeResouceId s16 0x10e The resource ID to use for the normal texture.
guardAngle s16 0x110 Defense generation range angle when guarding (horizontal direction). In degrees.
slashGuardCutRate s16 0x112 The absorption to apply to damage of the specified type when guarding.
blowGuardCutRate s16 0x114 The absorption to apply to damage of the specified type when guarding.
thrustGuardCutRate s16 0x116 The absorption to apply to damage of the specified type when guarding.
superArmorDurability s16 0x118 The amount of poise this character has. Requires dmgLevel to be set to function properly.
normalChangeTexChrId s16 0x11a The resource ID to use for the character texture.
dropType u16 0x11c Determines behavior and appearance of dropped items. This field uses the following enum: NPC_ITEMDROP_TYPE
knockbackRate u8 0x11e The rate of knockback suffered from sources of knockback from attackers.
knockbackParamId u8 0x11f The parameters to use for knockback. This field refers to the following params: KnockBackParam
fallDamageDump u8 0x120 The dampening rate to apply to fall damage suffered.
staminaGuardDef u8 0x121 The amount to reduce stamina damage by when received by the character.
pcAttrB u8 0x122 The amount to add to Black World Tendency (for the player) when this character dies.
pcAttrW u8 0x123 The amount to add to White World Tendency (for the player) when this character dies.
pcAttrL u8 0x124 The amount to add to World Tendency (for the player) when this character dies.
pcAttrR u8 0x125 The amount to add to World Tendency (for the player) when this character dies.
areaAttrB u8 0x126 The amount to add to Black World Tendency (for the area) when this character dies.
areaAttrW u8 0x127 The amount to add to White World Tendency (for the area) when this character dies.
areaAttrL u8 0x128 The amount to add to World Tendency (for the area) when this character dies.
areaAttrR u8 0x129 The amount to add to World Tendency (for the area) when this character dies.
mpRecoverBaseVel u8 0x12a The speed at which mana points are restored for this character.
flickDamageCutRate u8 0x12b A multiplier to apply to damage if the source has been deflected. 50 = -50% damage, 90 = -90% damage
defaultLodParamId s8 0x12c The default LOD parameter to use for this character.
drawType u8 0x12d The draw type used for this character. Normally affects the shader used. This field uses the following enum: NPC_DRAW_TYPE
npcType u8 0x12e The character type assigned to this character. This field uses the following enum: NPC_TYPE
teamType u8 0x12f The team type assigned to this character. This field uses the following enum: TEAM_TYPE
moveType u8 0x130 The move type assigned to this character. This field uses the following enum: NPC_MOVE_TYPE
lockDist u8 0x131 Additional maximum lock-on distance added onto base distance defined in LockCamParam
material u8 0x132 The sound used when guarding. This field uses the following enum: WEP_MATERIAL_DEF
materialSfx u8 0x133 The particles used when guarding. This field uses the following enum: WEP_MATERIAL_DEF_SFX
material_Weak u8 0x134 The sound used when weak point is damaged. This field uses the following enum: WEP_MATERIAL_DEF
materialSfx_Weak u8 0x135 The particles used when weak point is damaged. This field uses the following enum: WEP_MATERIAL_DEF_SFX
partsDamageType u8 0x136 Determines if weak parts (such as the head) will be affected by all attacks or just arrow attacks. Headshot animation will be used for weak part attacks if it exists. This field uses the following enum: ATK_PARAM_PARTSDMGTYPE
maxUndurationAng u8 0x137 Maximum angle enemies can rotate vertically while on slopes. Requires isUnduration
guardLevel s8 0x138 When guarding, the guard animation offset to use when being attacked. This field uses the following enum: GUARD_DAMAGE_LEVEL
burnSfxType u8 0x139 The particle type to use when burning. This field uses the following enum: NPC_BURN_TYPE
poisonGuardResist s8 0x13a The absorption to apply to damage of the specified type when guarding.
diseaseGuardResist s8 0x13b The absorption to apply to damage of the specified type when guarding.
bloodGuardResist s8 0x13c The absorption to apply to damage of the specified type when guarding.
curseGuardResist s8 0x13d The absorption to apply to damage of the specified type when guarding.
parryAttack u8 0x13e The attack power value to use when calculating a parry as the parrying side.
parryDefence u8 0x13f The defense power value to use when calculating a parry as the parried side.
sfxSize u8 0x140 The size of the particles used by this character. This field uses the following enum: NPC_SFX_SIZE
pushOutCamRegionRadius u8 0x141 The collision radius for the character in which a camera is pushed away.
hitStopType u8 0x142 Determines how enemy is affected by hitstop. This field uses the following enum: NPC_HITSTOP_TYPE
ladderEndChkOffsetTop u8 0x143 The offset to apply when determining the top of a ladder (if this character is climbing). In 1/10 metres.
ladderEndChkOffsetLow u8 0x144 The offset to apply when determining the top of a ladder (if this character is climbing). In 1/10 metres.
useRagdollCamHit u8 0x145 [0] If ON, then the character's ragdoll can collide with a camera. This field is a boolean.
disableClothRigidHit u8 0x145 [1] If ON, rigid cloth collision is ignored for this character. This field is a boolean.
useRagdoll u8 0x145 [2] If ON, then ragdoll is used for character to character collision. If false, hitRadius and hitHeight are used instead This field is a boolean.
isDemon u8 0x145 [3] If ON, character will be affected by weapons with antiDemonDamageRate (anti-demon damage). This field is a boolean.
isGhost u8 0x145 [4] If ON, character is treated as a ghost. This field is a boolean.
isNoDamageMotion u8 0x145 [5] If ON, damage level motion is ignored if the damage suffered is 0. This field is a boolean.
isUnduration u8 0x145 [6] If ON, enemies will rotate vertically on slopes. Rotation angle determines by maxUndurationAng This field is a boolean.
isChangeWanderGhost u8 0x145 [7] If ON, character is valid for the wandering ghost feature. This field is a boolean.
modelDispMask0 u8 0x146 [0] Displays the model corresponding to the display mask. This field is a boolean.
modelDispMask1 u8 0x146 [1] Displays the model corresponding to the display mask. This field is a boolean.
modelDispMask2 u8 0x146 [2] Displays the model corresponding to the display mask. This field is a boolean.
modelDispMask3 u8 0x146 [3] Displays the model corresponding to the display mask. This field is a boolean.
modelDispMask4 u8 0x146 [4] Displays the model corresponding to the display mask. This field is a boolean.
modelDispMask5 u8 0x146 [5] Displays the model corresponding to the display mask. This field is a boolean.
modelDispMask6 u8 0x146 [6] Displays the model corresponding to the display mask. This field is a boolean.
modelDispMask7 u8 0x146 [7] Displays the model corresponding to the display mask. This field is a boolean.
modelDispMask8 u8 0x147 [0] Displays the model corresponding to the display mask. This field is a boolean.
modelDispMask9 u8 0x147 [1] Displays the model corresponding to the display mask. This field is a boolean.
modelDispMask10 u8 0x147 [2] Displays the model corresponding to the display mask. This field is a boolean.
modelDispMask11 u8 0x147 [3] Displays the model corresponding to the display mask. This field is a boolean.
modelDispMask12 u8 0x147 [4] Displays the model corresponding to the display mask. This field is a boolean.
modelDispMask13 u8 0x147 [5] Displays the model corresponding to the display mask. This field is a boolean.
modelDispMask14 u8 0x147 [6] Displays the model corresponding to the display mask. This field is a boolean.
modelDispMask15 u8 0x147 [7] Displays the model corresponding to the display mask. This field is a boolean.
isEnableNeckTurn u8 0x148 [0] If ON, then the character's head will oscillate. This field is a boolean.
disableRespawn u8 0x148 [1] If ON, the character will not reset position and behavior when the player rests at a bonfire. This field is a boolean.
isMoveAnimWait u8 0x148 [2] If ON, movement animation will continue during other animations. This field is a boolean.
isCrowd u8 0x148 [3] If ON, this character is considered a crowd character and will use a reduced profile when multiple characters are present. This field is a boolean.
isWeakSaint u8 0x148 [4] If ON, character will be affected by weapons with antSaintDamageRate (holy damage). This field is a boolean.
isWeakA u8 0x148 [5] If ON, character will be affected by weapons with antWeakA_DamageRate (occult damage). This field is a boolean.
isWeakB u8 0x148 [6] If ON, character will be affected by weapons with antWeakB_DamageRate (anti-darkwraith damage). This field is a boolean.
pad1 dummy8 0x148 [7] This field is padding.
vowType u8 0x149 [0-2] The pledge type used by this character. This field uses the following enum: VOW_TYPE
disableInitializeDead u8 0x149 [3] If true, dead enemies will be alive again when the game is reset without respawning enemies (such as quitting to menu) This field is a boolean.
pad3 dummy8 0x149 [4-7] This field is padding.
pad2 dummy8 0x14a This field is padding.

Enums

NPC_ITEMDROP_TYPE

Option Description Notes
0 Attach to Character (White Glow)
1 Drop to Ground (Yellow Glow)

NPC_DRAW_TYPE

Option Description Notes
0 None
1 White Phantom
2 Black Phantom
3 Intruder
4 Ghoul Body

NPC_TYPE

Option Description Notes
0 Standard Enemy
1 Boss Enemy
2 Villager
3 Wandering NPC
4 Strong Enemy
5 Bug Enemy

TEAM_TYPE

Option Description Notes
0 None
1 Live/Player
2 White Ghost
3 Black Ghost
4 Grey Ghost
5 Wandering Ghost
6 Enemy
7 Boss
8 Friend
9 Hostile Friend
10 Decoy Enemy
11 Blood Child
12 Battle Friend
13 Invader
14 Neutral
15 Charmed
16 Invader
17 Invader
18 Invader
19 Host
20 Co-op
21 Hostile
22 Wandering Phantom
23 Enemy 1
24 Enemy 2
25 Strong Enemy
26 Friendly NPC

NPC_MOVE_TYPE

Option Description Notes
0 Immobile
1 All Directions
2 Forward and Backwards Only
3 Biped
4 Quadruped
5 Flight
6 Hover
7 Hover + Biped
8 Flight + Biped
9 Boss Biped
10 Attach

ATK_PARAM_PARTSDMGTYPE

Option Description Notes
0 Projectiles Only
1 All

WEP_MATERIAL_DEF

Option Description Notes
0 None
50 Standard
51 Physical
52 Magic
53 Fire
54 Lightning
55 Dark
60 Unknown
79 Greatshield
255 Material 1

WEP_MATERIAL_DEF_SFX

Option Description Notes
0 None
50 Standard
51 Physical
52 Magic
53 Fire
54 Lightning
55 Dark
59 Fist
60 Unknown
79 Greatshield
255 Material 1

GUARD_DAMAGE_LEVEL

Option Description Notes
0 None
1 Light
2 Medium
3 Heavy
4 Shield

NPC_BURN_TYPE

Option Description Notes
0 Normal
1 Flesh

NPC_SFX_SIZE

Option Description Notes
0 Normal
1 Large
2 Medium

NPC_HITSTOP_TYPE

Option Description Notes
0 None
1 Short
2 Standard

VOW_TYPE

Option Description Notes
0 Covenant: None
1 Covenant: Way of White
2 Covenant: Princess Guard
3 Covenant: Warrior of Sunlight
4 Covenant: Darkwraith
5 Covenant: Path of the Dragon
6 Covenant: Gravelord Servant
7 Covenant: Forest Hunter
8 Covenant: Blade of the Dark Moon
9 Covenant: Chaos Servant
10 Covenant: 10
11 Covenant: 11
12 Covenant: 12
13 Covenant: 13
14 Covenant: 14
15 Covenant: 15
16 Covenant: 16
ds1-refmat/param/npcparam.txt · Last modified: by admin