Site Tools


ac6-refmat:param:hitmtrlparam

HitMtrlParam

Fields

Field Type Offset Description Notes
aiVolumeRate f32 0x0 Normal when 1x. When set to 0, the sound radius becomes 0 (SE and SFX are unrelated game-like parameters).
spEffectIdOnHit0 s32 0x4 When this hit material is hit, this SpEffect is applied to the character. This field refers to the following params: SpEffectParam
spEffectIdOnHit1 s32 0x8 When this hit material is hit, this SpEffect is applied to the character. This field refers to the following params: SpEffectParam
footEffectHeightType u8 0xc [0-1] The height at which to generate the foot effect when hitting this material. This field uses the following enum: HMP_FOOT_EFFECT_HEIGHT_TYPE
footEffectDirType u8 0xc [2-3] The direction in which to generate the foot effect when hitting this material. This field uses the following enum: HMP_FOOT_EFFECT_DIR_TYPE
floorHeightType u8 0xc [4-5] Determines the floor height for this hit material. For floating items such as the surface of the water This field uses the following enum: HMP_FLOOR_HEIGHT_TYPE
disableFallDamage u8 0xc [6] If ON, hitting this material will not cause fall damage. This field is a boolean.
isHardnessForSoundReverb u8 0xc [7] If ON, impacting this material is treated as a hard material for sund reverb. This field is a boolean.
hardnessType u8 0xd The hardness of the material upon impact. Used for soft contact processing of rigid bodies. This field uses the following enum: HMP_HARDNESS_TYPE
wetTiming u8 0xe Controls whether the whole body gets wet when stepping on the floor material, or whether it gets wet if specified by TAE. This field uses the following enum: HMP_FLOOR_WET_TIMING
pad2 dummy8 0xf [0] This field is padding.
spEffectId_forWet s32 0x10 The SpEffect ID to apply when this material makes the target wet. This field refers to the following params: SpEffectParam
spEffectIdOnHit0_ClearCount_2 s32 0x14 The SpEffect ID to apply when this material is hit during Journey 2. This field refers to the following params: SpEffectParam
spEffectIdOnHit0_ClearCount_3 s32 0x18 The SpEffect ID to apply when this material is hit during Journey 3. This field refers to the following params: SpEffectParam
spEffectIdOnHit0_ClearCount_4 s32 0x1c The SpEffect ID to apply when this material is hit during Journey 4. This field refers to the following params: SpEffectParam
spEffectIdOnHit0_ClearCount_5 s32 0x20 The SpEffect ID to apply when this material is hit during Journey 5. This field refers to the following params: SpEffectParam
spEffectIdOnHit0_ClearCount_6 s32 0x24 The SpEffect ID to apply when this material is hit during Journey 6. This field refers to the following params: SpEffectParam
spEffectIdOnHit0_ClearCount_7 s32 0x28 The SpEffect ID to apply when this material is hit during Journey 7. This field refers to the following params: SpEffectParam
spEffectIdOnHit0_ClearCount_8 s32 0x2c The SpEffect ID to apply when this material is hit during Journey 8. This field refers to the following params: SpEffectParam
spEffectIdOnHit1_ClearCount_2 s32 0x30 The SpEffect ID to apply when this material is hit during Journey 2. This field refers to the following params: SpEffectParam
spEffectIdOnHit1_ClearCount_3 s32 0x34 The SpEffect ID to apply when this material is hit during Journey 3. This field refers to the following params: SpEffectParam
spEffectIdOnHit1_ClearCount_4 s32 0x38 The SpEffect ID to apply when this material is hit during Journey 4. This field refers to the following params: SpEffectParam
spEffectIdOnHit1_ClearCount_5 s32 0x3c The SpEffect ID to apply when this material is hit during Journey 5. This field refers to the following params: SpEffectParam
spEffectIdOnHit1_ClearCount_6 s32 0x40 The SpEffect ID to apply when this material is hit during Journey 6. This field refers to the following params: SpEffectParam
spEffectIdOnHit1_ClearCount_7 s32 0x44 The SpEffect ID to apply when this material is hit during Journey 7. This field refers to the following params: SpEffectParam
spEffectIdOnHit1_ClearCount_8 s32 0x48 The SpEffect ID to apply when this material is hit during Journey 8. This field refers to the following params: SpEffectParam
vehicleSpeedEffectRate f32 0x4c The influence rate this material applies to vehicles. Vehicle Set Speed ​​* Influence Rate = Vehicle Speed
replaceMateiralId_Rain s16 0x50 The hit material ID to use during rain. -1 means no change is made.
pad0 dummy8 0x52 This field is padding.

Enums

HMP_FOOT_EFFECT_HEIGHT_TYPE

Option Description Notes
0 No Change
1 Force to Reflective Surface Height
2 Force to Character Height

HMP_FOOT_EFFECT_DIR_TYPE

Option Description Notes
0 No Change
1 Force Upwards

HMP_FLOOR_HEIGHT_TYPE

Option Description Notes
0 No Change
1 Force to Reflective Surface Height

HMP_HARDNESS_TYPE

Option Description Notes
0 Soft
1 Normal
2 Hard

HMP_FLOOR_WET_TIMING

Option Description Notes
0 None
1 Always
2 TAE
ac6-refmat/param/hitmtrlparam.txt · Last modified: by admin