====== 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: [[des-refmat:param: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 | | drawType | ''u8'' | ''0xc'' | The draw type used for this character. Normally affects the shader used. | This field uses the following enum: NPC_DRAW_TYPE | | npcType | ''u8'' | ''0xd'' | The character type assigned to this character. | This field uses the following enum: NPC_TYPE | | teamType | ''u8'' | ''0xe'' | The team type assigned to this character. | This field uses the following enum: TEAM_TYPE | | moveType | ''u8'' | ''0xf'' | The move type assigned to this character. | This field uses the following enum: NPC_MOVE_TYPE | | turnVellocity | ''f32'' | ''0x10'' | The rotation speed of the enemy. In degrees per second. | | | useRagdoll | ''u8'' | ''0x14'' | If ON, then ragdoll is used for character to character collision. If false, hitRadius and hitHeight are used instead | This field is a boolean. | | lockDist | ''u8'' | ''0x15'' | Additional maximum lock-on distance added onto base distance defined in LockCamParam | | | isDemon | ''u8'' | ''0x16'' | If ON, character will be affected by weapons with antiDemonDamageRate (anti-demon damage). | This field is a boolean. | | isNoDamageMotion | ''u8'' | ''0x17'' | If ON, damage level motion is ignored if the damage suffered is 0. | This field is a boolean. | | hitHeight | ''f32'' | ''0x18'' | Vertical radius of hitbox used for character to character collision. Requires useRagdoll = false | | | hitRadius | ''f32'' | ''0x1c'' | Horizontal radius of hitbox used for character to character collision. Requires useRagdoll = false | | | weight | ''u32'' | ''0x20'' | The weight of the character. | | | hitYOffset | ''f32'' | ''0x24'' | The vertical offset of the character's hitbox. Will cause them to float. | | | material | ''u8'' | ''0x28'' | The sound used when guarding. | This field uses the following enum: WEP_MATERIAL_DEF | | materialSfx | ''u8'' | ''0x29'' | The particles used when guarding. | This field uses the following enum: WEP_MATERIAL_DEF_SFX | | isUnduration | ''u8'' | ''0x2a'' | If ON, enemies will rotate vertically on slopes. Rotation angle determines by maxUndurationAng | This field is a boolean. | | maxUndurationAng | ''u8'' | ''0x2b'' | Maximum angle enemies can rotate vertically while on slopes. Requires isUnduration | | | hp | ''u32'' | ''0x2c'' | The character's maximum hit points. | | | mp | ''u32'' | ''0x30'' | The character's maximum mana points. | | | mpRecoverBaseVel | ''u16'' | ''0x34'' | The speed at which mana points are restored for this character. | | | stamina | ''u16'' | ''0x36'' | The maximum stamina for this character.. Used for non c0000 enemies blocking in DS1 | | | staminaRecoverBaseVel | ''u16'' | ''0x38'' | The recovery speed for stamina for this character. | | | dropType | ''u16'' | ''0x3a'' | Determines behavior and appearance of dropped items. | This field uses the following enum: NPC_ITEMDROP_TYPE | | getSoul | ''u32'' | ''0x3c'' | The amount of souls dropped on death by this character. | | | itemLotId_1 | ''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: [[des-refmat:param:ItemLotParam]] | | itemLotId_2 | ''s32'' | ''0x44'' | The ID of the item lot to use for item drops for this character's death. | This field refers to the following params: [[des-refmat:param:ItemLotParam]] | | itemLotId_3 | ''s32'' | ''0x48'' | The ID of the item lot to use for item drops for this character's death. | This field refers to the following params: [[des-refmat:param:ItemLotParam]] | | itemLotId_4 | ''s32'' | ''0x4c'' | The ID of the item lot to use for item drops for this character's death. | This field refers to the following params: [[des-refmat:param:ItemLotParam]] | | itemLotId_5 | ''s32'' | ''0x50'' | The ID of the item lot to use for item drops for this character's death. | This field refers to the following params: [[des-refmat:param:ItemLotParam]] | | itemLotId_6 | ''s32'' | ''0x54'' | The ID of the item lot to use for item drops for this character's death. | This field refers to the following params: [[des-refmat:param:ItemLotParam]] | | def_phys | ''u16'' | ''0x58'' | The flat physical damage defense this character possess. | | | def_slash | ''s16'' | ''0x5a'' | 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'' | ''0x5c'' | 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'' | ''0x5e'' | 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'' | ''0x60'' | The flat magic damage defense this character possess. | | | def_fire | ''u16'' | ''0x62'' | The flat physical damage defense this character possess. | | | guardBreakRate | ''u16'' | ''0x64'' | The base guard defense value. Compared against the guard attack value to determine if the attack will bounce. | | | knockbackRate | ''u16'' | ''0x66'' | The rate of knockback suffered from sources of knockback from attackers. | | | fallDamageDump | ''u16'' | ''0x68'' | The dampening rate to apply to fall damage suffered. | | | resist_poison | ''u16'' | ''0x6a'' | The flat defense value for this character against the specified resistance type. | | | resist_desease | ''u16'' | ''0x6c'' | The flat defense value for this character against the specified resistance type. | | | resist_blood | ''u16'' | ''0x6e'' | The flat defense value for this character against the specified resistance type. | | | spEffectID0 | ''s32'' | ''0x70'' | The ID of a SpEffect that affect this character. | This field refers to the following params: [[des-refmat:param:SpEffectParam]] | | spEffectID1 | ''s32'' | ''0x74'' | The ID of a SpEffect that affect this character. | This field refers to the following params: [[des-refmat:param:SpEffectParam]] | | spEffectID2 | ''s32'' | ''0x78'' | The ID of a SpEffect that affect this character. | This field refers to the following params: [[des-refmat:param:SpEffectParam]] | | spEffectID3 | ''s32'' | ''0x7c'' | The ID of a SpEffect that affect this character. | This field refers to the following params: [[des-refmat:param:SpEffectParam]] | | spEffectID4 | ''s32'' | ''0x80'' | The ID of a SpEffect that affect this character. | This field refers to the following params: [[des-refmat:param:SpEffectParam]] | | GameClearSpEffectID | ''s32'' | ''0x84'' | 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: [[des-refmat:param:SpEffectParam]] | | guardLevel | ''s8'' | ''0x88'' | When guarding, the guard animation offset to use when being attacked. | This field uses the following enum: GUARD_DAMAGE_LEVEL | | pad3 | ''dummy8'' | ''0x89'' | | This field is padding. | | guardAngle | ''s16'' | ''0x8a'' | Defense generation range angle when guarding (horizontal direction). In degrees. | | | physGuardCutRate | ''f32'' | ''0x8c'' | The percentage reduction in Physical damage taken when this character is guarding. | | | slashGuardCutRate | ''s8'' | ''0x90'' | The absorption to apply to damage of the specified type when guarding. | | | blowGuardCutRate | ''s8'' | ''0x91'' | The absorption to apply to damage of the specified type when guarding. | | | thrustGuardCutRate | ''s8'' | ''0x92'' | The absorption to apply to damage of the specified type when guarding. | | | pad4 | ''dummy8'' | ''0x93'' | | This field is padding. | | magGuardCutRate | ''f32'' | ''0x94'' | The percentage reduction in Magic damage taken when this character is guarding. | | | fireGuardCutRate | ''f32'' | ''0x98'' | The percentage reduction in Fire damage taken when this character is guarding. | | | pad5 | ''dummy8'' | ''0x9c'' | | This field is padding. | | poisonGuardResist | ''s8'' | ''0x9f'' | The absorption to apply to damage of the specified type when guarding. | | | diseaseGuardResist | ''s8'' | ''0xa0'' | The absorption to apply to damage of the specified type when guarding. | | | bloodGuardResist | ''s8'' | ''0xa1'' | The absorption to apply to damage of the specified type when guarding. | | | staminaGuardDef | ''s16'' | ''0xa2'' | The amount to reduce stamina damage by when received by the character. | | | guardKnockbackCutRate | ''f32'' | ''0xa4'' | The absorption to apply to knocback speed when guarding. | | | guardKnockbackBackslash | ''f32'' | ''0xa8'' | The counter-repulsion to the opponent when guarding (after suffering an attack). | | | superArmorLimitDamage | ''s32'' | ''0xac'' | The amount of poise this character has. | | | superArmorLimitTime | ''f32'' | ''0xb0'' | The change to apply to poise recovery speed for this character. | | | knockbackBounceRate | ''u16'' | ''0xb4'' | The knockback repulsion value for this equipment. | | | parryAttack | ''u8'' | ''0xb6'' | The attack power value to use when calculating a parry as the parrying side. | | | parryDefence | ''u8'' | ''0xb7'' | The defense power value to use when calculating a parry as the parried side. | | | pad6 | ''dummy8'' | ''0xb8'' | | This field is padding. | | pcAttrB | ''s16'' | ''0xc0'' | The amount to add to Black World Tendency (for the player) when this character dies. | | | pcAttrW | ''s16'' | ''0xc2'' | The amount to add to White World Tendency (for the player) when this character dies. | | | pcAttrL | ''s16'' | ''0xc4'' | The amount to add to World Tendency (for the player) when this character dies. | | | pcAttrR | ''s16'' | ''0xc6'' | The amount to add to World Tendency (for the player) when this character dies. | | | areaAttrB | ''s16'' | ''0xc8'' | The amount to add to Black World Tendency (for the area) when this character dies. | | | areaAttrW | ''s16'' | ''0xca'' | The amount to add to White World Tendency (for the area) when this character dies. | | | areaAttrL | ''s16'' | ''0xcc'' | The amount to add to World Tendency (for the area) when this character dies. | | | areaAttrR | ''s16'' | ''0xce'' | The amount to add to World Tendency (for the area) when this character dies. | | | animIdOffset | ''s32'' | ''0xd0'' | A value to offset animation IDs by. 0 = a00, 10000 = a01, etc. | | | modelDispMask0 | ''u8'' | ''0xd4'' | Displays the model corresponding to the display mask. | This field is a boolean. | | modelDispMask1 | ''u8'' | ''0xd5'' | Displays the model corresponding to the display mask. | This field is a boolean. | | modelDispMask2 | ''u8'' | ''0xd6'' | Displays the model corresponding to the display mask. | This field is a boolean. | | modelDispMask3 | ''u8'' | ''0xd7'' | Displays the model corresponding to the display mask. | This field is a boolean. | | modelDispMask4 | ''u8'' | ''0xd8'' | Displays the model corresponding to the display mask. | This field is a boolean. | | modelDispMask5 | ''u8'' | ''0xd9'' | Displays the model corresponding to the display mask. | This field is a boolean. | | modelDispMask6 | ''u8'' | ''0xda'' | Displays the model corresponding to the display mask. | This field is a boolean. | | modelDispMask7 | ''u8'' | ''0xdb'' | Displays the model corresponding to the display mask. | This field is a boolean. | | moveAnimId | ''s32'' | ''0xdc'' | The movement animation to use for this character. | | | spMoveAnimId1 | ''s32'' | ''0xe0'' | The special movement animation to use for this character. | | | spMoveAnimId2 | ''s32'' | ''0xe4'' | The special movement animation to use for this character. | | | isChangeWanderGhost | ''u8'' | ''0xe8'' | If ON, character is valid for the wandering ghost feature. | This field is a boolean. | | isCrowd | ''u8'' | ''0xe9'' | 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. | | sfxSize | ''u8'' | ''0xea'' | The size of the particles used by this character. | This field uses the following enum: NPC_SFX_SIZE | | pad7 | ''dummy8'' | ''0xeb'' | | This field is padding. | | ghostModelId | ''s16'' | ''0xec'' | The model ID to use for the wandering ghost version of this character. | | | normalChangeResouceId | ''s16'' | ''0xee'' | The resource ID to use for the normal texture. | | | networkWarpDist | ''f32'' | ''0xf0'' | The distance at which to warp this character instead of allowing standard movement during network synchronization. | | | dbgBehaviorR1 | ''s32'' | ''0xf4'' | The animation ID to use when the specified button is pressed during a debug session. | | | dbgBehaviorL1 | ''s32'' | ''0xf8'' | The animation ID to use when the specified button is pressed during a debug session. | | | dbgBehaviorR2 | ''s32'' | ''0xfc'' | The animation ID to use when the specified button is pressed during a debug session. | | | dbgBehaviorL2 | ''s32'' | ''0x100'' | The animation ID to use when the specified button is pressed during a debug session. | | | dbgBehaviorRL | ''s32'' | ''0x104'' | The animation ID to use when the specified button is pressed during a debug session. | | | dbgBehaviorRR | ''s32'' | ''0x108'' | The animation ID to use when the specified button is pressed during a debug session. | | | dbgBehaviorRD | ''s32'' | ''0x10c'' | The animation ID to use when the specified button is pressed during a debug session. | | | dbgBehaviorRU | ''s32'' | ''0x110'' | The animation ID to use when the specified button is pressed during a debug session. | | | dbgBehaviorLL | ''s32'' | ''0x114'' | The animation ID to use when the specified button is pressed during a debug session. | | | dbgBehaviorLR | ''s32'' | ''0x118'' | The animation ID to use when the specified button is pressed during a debug session. | | | dbgBehaviorLD | ''s32'' | ''0x11c'' | The animation ID to use when the specified button is pressed during a debug session. | | | dbgBehaviorLU | ''s32'' | ''0x120'' | The animation ID to use when the specified button is pressed during a debug session. | | | modelDispMask8 | ''u8'' | ''0x124'' | Displays the model corresponding to the display mask. | This field is a boolean. | | modelDispMask9 | ''u8'' | ''0x125'' | Displays the model corresponding to the display mask. | This field is a boolean. | | modelDispMask10 | ''u8'' | ''0x126'' | Displays the model corresponding to the display mask. | This field is a boolean. | | modelDispMask11 | ''u8'' | ''0x127'' | Displays the model corresponding to the display mask. | This field is a boolean. | | modelDispMask12 | ''u8'' | ''0x128'' | Displays the model corresponding to the display mask. | This field is a boolean. | | modelDispMask13 | ''u8'' | ''0x129'' | Displays the model corresponding to the display mask. | This field is a boolean. | | modelDispMask14 | ''u8'' | ''0x12a'' | Displays the model corresponding to the display mask. | This field is a boolean. | | modelDispMask15 | ''u8'' | ''0x12b'' | Displays the model corresponding to the display mask. | This field is a boolean. | | animIdOffset2 | ''s32'' | ''0x12c'' | A value to offset animation IDs by. 0 = a00, 10000 = a01, etc. | | ===== 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 | | ==== 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_SFX_SIZE ==== ^ Option ^ Description ^ Notes ^ | ''0'' | Normal | | | ''1'' | Large | | | ''2'' | Medium | |