Site Tools


des-refmat:param:objectparam

ObjectParam

Fields

Field Type Offset Description Notes
hp s16 0x0 The amount of damage this object can receive before breaking. -1 means it will never break from damage.
defense u16 0x2 The threshold compared against AtkParam field atkObj. If object damage surpasses object defense, the object will take damage. Otherwise, no damage occurs.
isCamHit u8 0x4 If ON, a camera will collide with this object. This field is a boolean.
isBreakByPlayerCollide u8 0x5 If ON, this object can be destroyed when collided with by a player. This field is a boolean.
extRefTexId s16 0x6 The map ID of the TPF in which to source the external textures this object uses (if it uses them).
isAnimBreak u8 0x8 If ON, this object will use a destruction animation when destroyed. This field is a boolean.
animBreakIdMax u8 0x9 The maximum ID in the animation range to use for object destruction for this object.
materialId s16 0xa The material to use when this object is hit, determines the visual effect and sound that occurs. -1 means it will inherit the material used for the collision it belongs to.
isPenetrationBulletHit u8 0xc If ON, projectiles with isPenetrate enabled will collide with this object. This field is a boolean.
pad_1 dummy8 0xd This field is padding.
des-refmat/param/objectparam.txt · Last modified: by admin