DecalParam

Fields

Field Type Offset Description Notes
textureId s32 0x0 Texture ID
dmypolyId s32 0x4 Damipoly ID of decal generation standard. If specified by TAE, it will be the value of TAE.
pitchAngle f32 0x8 Reference angle offset_up / down [deg]
yawAngle f32 0xc Reference angle offset_left / right [deg]
nearDistance f32 0x10 Pasting start distance [m]
farDistance f32 0x14 Paste end distance [m]
nearSize f32 0x18 Size at the start distance
farSize f32 0x1c Size at the end distance [m]
maskSpeffectId s32 0x20 Monitoring special effect ID. If you enter an arbitrary special effect ID, decals will not be generated unless the special effect is applied. This field refers to the following params: SpEffectParam
randomVariationNum u32 0x24 [0-3]
replaceTextureId_byMaterial u32 0x24 [4] When it is generated by an attack hit, 1 changes the texture depending on the defense material. New Texture ID = Blood Material ID * 10000000 + Original Texture ID
dmypolyCategory u32 0x24 [5-6] Damipoli Search Location 0 Body 1 Left Hand Weapon 2 Right Hand Weapon
decalShapeType u32 0x24 [7-10]
useDeferredDecal u32 0x24 [11] Acts as a deferred decal at 1 This field is a boolean.
usePaintDecal u32 0x24 [12] Acts as a paint decal at 1 This field is a boolean.
targetAttackChr u32 0x24 [13]
targetDamageChr u32 0x24 [14]
targetOtherChr u32 0x24 [15]
targetMapObj u32 0x24 [16]
usePom u32 0x24 [17] Whether to enable Parallax occlusion mapping This field is a boolean.
randomSizeMin s16 0x28 Random scale minimum [%]
randomSizeMax s16 0x2a Random scale maximum [%]
randomRollMin f32 0x2c Random angle_minimum twist [deg]
randomRollMax f32 0x30 Random angle _ maximum twist [deg]
randomPitchMin f32 0x34 Random angle_minimum top and bottom [deg]
randomPitchMax f32 0x38 Random angle_maximum value [deg]
randomYawMin f32 0x3c Random angle_minimum left and right [deg]
randomYawMax f32 0x40 Random angle_maximum left and right [deg]
pomHightScale f32 0x44 POM height scale
pomSampleMin u8 0x48 Minimum number of POM samples
pomSampleMax u8 0x49 Maximum number of POM samples
pad_00 dummy8 0x4a This field is padding.