Skip to content

Object physical properties

Client-side
Server-side
Shared

Physical properties

Section Physical properties
PropertyTypeDescription
massfloatMass of an object.
turn_massfloatTurn mass (kg m^3) of an object.
air_resistancefloatAir resistance of an object.
elasticityfloatElasticity of an object.
buoyancyfloatBuoyancy of an object.
uproot_limitfloatHow much force is needed to uproot the object.
col_damage_multiplierfloatForce multiplier used when colliding with object.
col_damage_effectstring, see damage effectsDictates which damage effect is applied to object on collision.
special_col_responsestring, see collision responsesDictates how object responds to being collided with.
avoid_cameraboolDictates whether camera passes throught the object.
cause_explosionboolDictates whether objects exploded upon collision.
fx_typestring, see fx typesDictates when particles will be created when colliding with object.
fx_offsetVector3Offset from center of mass where particles will be created upon collision.
fx_systemstring, see effectsEffect that will be used upon collision.
smash_multiplierfloatForce multiplier when destroying object.
break_velocityVector3Velocity and direction in which the object is destroyed.
break_velocity_randomnessfloatRandomness of velocity and direction in which the object is destroyed, 0 means that object uses break_velocity without any randomness.
break_modestring, see break modesDictates how object can be damaged.
sparks_on_impactboolDictates whether object creates sparks upon impact.

EffectDescription
noneObject doesn’t change at all once it’s damaged.
change_modelSome of the objects change model on collision, those use this.
smashObject is smashed.
change_smashFirst change_model, afterwards smash on collision.
breakableObject is breakable normally.
breakable_removeobject.dat says: ie. never regenerated after destroyed.

Collision responses

Section Collision responses
ResponseDescription
noneObject doesn’t respond in any special way.
lamppostObjects acts like an lamp post.
small_box-
big_box-
fence_part-
grenade-
swingdoor-
lockdoor-
hanging-
poolball-

ModeDescription
not_by_gunNot breakable by gun.
by_gun-
smashable-

TypeDescription
noneNo particles effect played on collision.
play_on_hitParticles effect is played on collision, even if object isn’t destroyed.
play_on_destroyedParticles effect is played only once object is destroyed.
play_on_hitdestroyedParticles effect is played both when hit and destroyed.