Skip to content

prop_physics_override

Entity I/O / prop_physics_override

A prop that physically simulates as a single rigid body. It can be constrained to other physics objects using hinges or other constraints. It can also be configured to break when it takes enough damage. Health can be overridden on this version.

  • FGD @PointClass in game/core/base.fgd, bases BasePropPhysics, BaseFadeProp, BasePhysicsSimulated.
  • cs_script type: BaseModelEntity, what FindEntitiesByClass("prop_physics_override") returns.
  • Native class: CPhysicsPropOverride (curated pairing).

CS2 build 27045800 · Steam date 2026-11-30 · platform windows-x86_64 · schema format 2.2

Inputs (55)

NameParameterFromDescription
SetParentapiParentname
SetParentWithOffsetapiParentname
SetParentMaintainOffsetapiParentname
SetParentAttachmentstringParentnameChange this entity to attach to a specific attachment point on its parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment.
SetParentAttachmentMaintainOffsetstringParentnameChange this entity to attach to a specific attachment point on it's parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment. The entity will maintain it's position relative to the parent at the time it is attached.
ClearParentParentnameRemoves this entity from the the movement hierarchy, leaving it free to move independently.
FollowEntitystringParentnameBone merges this entity to a parent entity. Call again passing nothing to end the bone merge.
RunScriptFilestringVScriptLoad and execute a script file
RunScriptCodestringVScriptExecute a fragment of script code
CallScriptFunctionstringVScriptCall a script function
CallPrivateScriptFunctionstringVScriptCalls a script function from this entity's private script scope.
CallGlobalScriptFunctionstringVScriptCalls a script function in the global script scope.
KillGameEntityRemoves this entity from the world.
KillHierarchyGameEntityRemoves this entity and all its children from the world.
KillConstrainedGameEntityRemoves this entity, all its children, and anything constrained to it, from the world.
AddOutputstringGameEntityAdds an entity I/O connection to this entity. Parameter format: outputname>targetname>inputname>parameter>delay>max times to fire (-1 == infinite). Very dangerous, use with care.
FireUser1GameEntityCauses this entity's OnUser1 output to be fired.
FireUser2GameEntityCauses this entity's OnUser2 output to be fired.
FireUser3GameEntityCauses this entity's OnUser3 output to be fired.
FireUser4GameEntityCauses this entity's OnUser4 output to be fired.
EnableAutoSleepingGameEntityEnable automatic sleeping on this entity's physics bodies. When enabled, physics bodies go to sleep when at rest.
DisableAutoSleepingGameEntityDisable automatic sleeping on this entity's physics bodies. Bodies remain awake until explicitly put to sleep.
SkinintegerStudiomodelChanges the model skin to the specified number.
DisableShadowShadowTurn shadow off.
EnableShadowShadowTurn shadow on.
AlternativeSortingboolStudiomodelUsed to attempt to fix sorting problems when rendering. True activates, false deactivates
SetRenderAttributestringStudiomodelSet the value of a render attribute used in material dynamic expressions. Examples: $myfloat=0.25 $myfloat4=1.0,0.0,1.0,1.0
ClearRenderAttributestringStudiomodelRemove a render attribute previously set by SetRenderAttribute, restoring it to its previous value.
SetDamageFilterstringDamageFilterSets the entity to use as damage filter. Pass in an empty string to clear the damage filter.
BreakBreakableBreaks the breakable.
SetEnableBreakingbooleanBreakableSets whether or not the breakable can break.
SetEnableCollisionsbooleanBreakableSets whether or not the breakable has collision at all.
SetHealthintegerBreakableSets a new value for the breakable's health. If the breakable's health reaches zero it will break.
AddHealthintegerBreakableAdds health to the breakable. If the breakable's health reaches zero it will break.
RemoveHealthintegerBreakableRemoves health from the breakable. If the breakable's health reaches zero it will break.
SetMassfloatBreakableSet mass of this object.
StartGlowingGlowTurn on a permanent glow effect for this prop.
StopGlowingGlowTurn off this prop's glow effect.
WakeBasePropPhysicsWake up this physics object, if it is sleeping.
SleepBasePropPhysicsPut this physics object to sleep. It will wake if given the Wake input, or if force is applied to it. Note that physics objects go to sleep automatically after coming to rest for a while, so you don't really need to use this.
EnableMotionBasePropPhysicsEnable physics motion/collision response.
DisableMotionBasePropPhysicsDisable physics motion/collision response.
EnableGravityBasePropPhysicsEnable gravity on physics object
DisableGravityBasePropPhysicsDisable gravity on physics object
SetBodyGroupstringBasePropPhysicsSets bodygroup. Format is <BodygroupName,index>
physdamagescalefloatBasePropPhysicsSet the Physics Impact Damage Scale for this character. NOTE: 0 means this feature is disabled for backwards compatibility.
EnableDamageForcesBasePropPhysicsDamaging the entity applies physics forces to it.
DisableDamageForcesBasePropPhysicsDamaging the entity does *not* apply physics forces to it.
SetAutoConvertBackFromDebrisbooleanBasePropPhysicsSet whether or not this prop should automatically convert back to interactive debris after it comes to rest as debris.
AddAttributestringBasePropPhysicsAdd an attribute with a value of 1.
RemoveAttributestringBasePropPhysicsRemove an attribute.
IgniteIgnite, burst into flames.
IgniteLifetimefloatIgnite, with a parameter lifetime.
IgniteNumHitboxFiresintegerIgnite, with a parameternumber of hitbox fires.
IgniteHitboxFireScalefloatIgnite, with a parameter hitbox fire scale.

Outputs (15)

NameParameterFromDescription
OnUser1GameEntityFired in response to FireUser1 input.
OnUser2GameEntityFired in response to FireUser2 input.
OnUser3GameEntityFired in response to FireUser3 input.
OnUser4GameEntityFired in response to FireUser4 input.
OnKilledGameEntityFired when the entity is killed and removed from the game. Parameter is the inflictor.
OnIgniteStudiomodelFired when this object catches fire.
OnDestructibleHitGroupDamageLevelChangedapiStudiomodel
OnStartDeathBreakableFired when this prop has begun dying (breaking) before other death-related callbacks.
OnBreakBreakableFired when this breakable breaks.
OnHealthChangedfloatBreakableFired when the health of this breakable changes, passing the new value of health as a percentage of max health, from [0..1].
OnTakeDamageBreakablePropFired each time this breakable takes any damage.
OnMotionEnabledBasePropPhysicsFired when motion is enabled on this prop, either via 'Health Level to Override Motion' or from the EnableMotion input.
OnAwakenedBasePropPhysicsFired when this entity becomes awake (collision/force is applied to it while it's asleep).
OnPlayerUseBasePropPhysicsFired when the player tries to +USE the prop. This output will fire only if the Generate output on +USE spawnflag is set.
OnOutOfWorldBasePropPhysicsFired whenever the prop is out of the allowed world bounds.

Keyvalues (73)

The names Hammer saves and the KeyValue input and AddOutput take at run time. An entity reads some keys only when it spawns, so changing one later may do nothing. Integer keys such as movetype take engine numbers, not the renumbered cs_script enum values.

KeyTypeDefaultFromDescription
parentname
Parent
target_destinationParentnameThe name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.
parentAttachmentName
Parent Bone/Attachment Name
parentAttachmentParentnameThe name of the bone or attachment to attach to on the entity's parent in the movement hierarchy. Use !bonemerge to use bone-merge style attachment. NOTE: If this is specified the Hammer transform will be disregarded, even if 'Use Local Transform' is NOT specified (in that case local transform will be identity)
useLocalOffset
Use Local Transform
boolean0ParentnameWhether to respect the specified local offset when doing the initial hierarchical attachment to its parent.
local.origin
Local Origin
vectorParentnameOffset in the local space of the parent model's attachment/bone to use in hierarchy. Not used if you are not using parent attachment.
local.angles
Local Angles
angleParentnameAngular offset in the local space of the parent model's attachment/bone to use in hierarchy. Not used if you are not using parent attachment.
local.scales
Local Scale
vector1 1 1ParentnameScale in the local space of the parent model's attachment/bone to use in hierarchy. Not used if you are not using parent attachment.
vscripts
Entity Scripts
scriptlistVScriptName(s) of script files that are executed after all entities have spawned.
targetname
Name
target_sourceTargetnameThe name that other entities refer to this entity by.
globalname
Global Entity Name
stringGlobalName by which this entity is linked to another entity in a different map. When the player transitions to a new map, entities in the new map with globalnames matching entities in the previous map will have the previous map's state copied over their state.
clientSideEntity
Create Client-Only Entity
intchoices0CanBeClientOnly
  • 0 No
  • 1 Yes
model
World Model
studioStudiomodel
skin
Skin
materialgroupdefaultStudiomodelSome models have multiple versions of their textures, called skins.
bodygroups
Body Groups
bodygroupchoicesStudiomodel
expand_render_bounds_to_include_cloth
Expand Render Bounds To Include Cloth
boolean0StudiomodelExpands this entity's render bounds to contain its simulated cloth bones. Enable this if you see this entity being render culled even though its cloth is in view.
disableshadows
Cast Shadows
intchoices0ShadowUsed to disable shadow casting from this entity.
  • 0 Enabled
  • 1 No Shadows
  • 2 Only Realtime Shadows
  • 3 Only Baked Shadows
add_attribute
Add Attribute
stringStudiomodelWill add an additional attribute that AI/player entities can query when checking props for information (ex: 'DogToy' or 'GrabbableResource')
add_modifier
Add Modifier
stringStudiomodelWill add this modifier when the entity spawns.
animgraph2_identifier
AnimGraph2 Identifier
animgraph2_identifierBaseAnimGraph2Which animgraph should we use when spawning the entity? Animgraph identifiers are authored in modeldoc, see the AnimGraph2 reference node.
damagefilter
Damage Filter
target_destinationDamageFilterName of the filter entity that controls which entities can damage us.
ExplodeDamage
Explosion Damage
float0BreakableIf non-zero, when this entity breaks it will create an explosion that causes the specified amount of damage. See also 'Explosion Radius'.
ExplodeRadius
Explosion Radius
float0BreakableIf non-zero, when this entity breaks it will create an explosion with a radius of the specified amount. See also 'Explosion Damage'.
PerformanceMode
Performance Mode
choicesPM_NORMALBreakableUsed to limit the amount of gibs produced when this entity breaks, for performance reasons.
  • PM_NORMAL Normal
  • PM_NO_GIBS No Gibs
NoInterpolate
Disable Client-Side Interpolation
boolean0Breakable
spawnflagsflagsBasePropPhysics
  • 16 Break on Touch
  • 32 Break on Pressure
  • 1 Start Asleep
  • 2 Don't take physics damage
  • 4 Debris - Don't collide with the player or other debris
  • 8 Motion Disabled
  • 1024 Prevent motion enable on player bump
  • 4096 Debris with trigger interaction
  • 8192 Force non-solid to players
pressuredelay
Pressure Delay
float0BreakablePropDelay, in seconds, after 'broken' by pressure before breaking apart (allows for sound to play before breaking apart).
burstscale
Burst Force Scale
float100BreakablePropRadial force applied to our pieces when we break.
burstlocation
Burst Force Location
local_pointBreakablePropLocation in local space where the burst force is applied.
BreakableContentsType
Contents Type
choicesBC_DEFAULTBreakablePropSet the type of contents inside this breakable.
  • BC_DEFAULT Default
  • BC_EMPTY Empty
  • BC_PROP_GROUP_OVERRIDE Prop Group Override
  • BC_PARTICLE_SYSTEM_OVERRIDE Particle System Override
BreakableContentsPropGroupOverride
Breakable Contents Prop Group Override
vdata_choice:scripts/misc.vdataBreakablePropProp Group to use when the prop is broken
BreakableContentsParticleOverride
Breakable Contents Particle Override
particlesystemBreakableProp
glowstate
Glow State
intchoices0Glow
  • 0 OFF
  • 1 +use
  • 2 look-at
  • 3 ON
glowrange
Glow Range
integer0GlowRange at which the glow becomes visible. (0 = always visible)
glowrangemin
Glow Range Min
integer0GlowRange at which the glow stops being visible. (0 = always visible)
glowcolor
Glow Color Override (R G B)
color2550 0 0GlowChange the render color of the glow.
glowteam
Glow Team
integer-1GlowChange the team we glow for.
steamaudio_geometry_mode
Acoustic Geometry
choices0AcousticPropertyOverrides how this object contributes geometry to the Steam Audio scene. The modes are mutually exclusive.<br/><b>Default</b>: No change. <br/><b>Exclude</b>: Exclude object form static geometry.<br/><b>Force Static</b>: Consider dynamic object as static geometry.<br/><b>Force Dynamic</b>: Consider object as dynamic geometry, all other dynamic objects are otherwise ignored.
  • 0 Default
  • 1 Exclude
  • 2 Force Static
  • 3 Force Dynamic
minhealthdmg
Min Damage to Hurt
integer0BasePropPhysicsThe prop will ignore any damage events if the damage is less than this amount.
shadowcastdist
Shadow Cast Distance
integer0BasePropPhysicsUse this to override how far this object casts shadows. 0 = default distance.
physdamagescale
Physics Impact Damage Scale
float0.1BasePropPhysicsScales damage energy when this object is hit by a physics object. NOTE: 0 means this feature is disabled for backwards compatibility.<br>Set to 1.0 for materials as strong as flesh, smaller numbers indicate stronger materials.
Damagetype
Impact damage type
intchoices0BasePropPhysics
  • 0 Blunt
  • 1 Sharp
nodamageforces
Damaging it Doesn't Push It
intchoices0BasePropPhysicsUsed to determine whether or not damage should cause the brush to move.
  • 0 No
  • 1 Yes
acceptdamagefromheldobjects
Accept damage from player held objects
boolean0BasePropPhysicsSet to true so the player can bash this with held props.
inertiaScale
Scale Factor For Inertia
float1.0BasePropPhysicsScales the angular mass of an object. Used to hack angular damage and collision response.
massScale
Mass Scale
float0BasePropPhysicsA scale multiplier for the object's mass.
buoyancyScale
Buoyancy Scale
float1.0BasePropPhysicsScales how water forces affect this object.
damagetoenablemotion
Health Level to Override Motion
integer0BasePropPhysicsIf specified, this object will start motion disabled. Once its health has dropped below this specified amount, it will enable motion.
forcetoenablemotion
Physics Impact Force to Override Motion
float0BasePropPhysicsIf specified, this object will start motion disabled. Any impact that imparts a force greater than this value on the physbox will enable motion.
dynamiccontinuouscontactbehavior
Dynamic Continuous Contact Behavior
intchoices0BasePropPhysics
  • 0 Allow if requested by other body
  • 1 Always (request continuous contact against other dynamic bodies)
  • 2 Never (don't use continuous contact against other dynamic bodies even if another body requests it)
enableuseoutput
Enable +Use Output
boolean0BasePropPhysicsEnables OnPlayerUse output being fired when this object is used
puntsound
Sound to make when punted
soundBasePropPhysics
addon
AI AddOn
stringBasePropPhysicsIf specified this object will use this addon behavior when installed in a composite AI
interactAsstringBasePropPhysicscomma-separated list of interaction layers
forcenavignore
Force Nav Ignore
boolean0BasePropPhysicsIf set, NPCs will ignore this prop when navigating.
forcenpcexclude
Force NPC Exclude
boolean0BasePropPhysicsIf set, NPC movement will ignore this prop
nonavmeshblocker
No Navmesh Blocker
boolean0BasePropPhysicsIf set, don't auto-create a navmesh blocker.
auto_convert_back_from_debris
Auto Convert back from Debris
boolean1BasePropPhysicsIf set, this prop will automatically convert back to interactive debris after coming to rest as Debris.
updatenavwhenmoving
Update Nav When Moving
boolean0BasePropPhysicsIf set, nav mesh will be constantly updated while this obstacle is moving, and not just when this obstacle is settled.
forcenavcut
Force Nav Cut
boolean0BasePropPhysicsIf set, this obstacle will cut the mesh causing NPC's to avoid it regardless of its mass.
ammobalancing_removable
Removal Allowed for Ammo Balancing
intchoices0BasePropPhysics
  • 0 No
  • 1 Yes
ItemClass1
Item Subclass 1
vdata_choice:scripts/misc.vdata&scripts/grenades.vdataBasePropPhysicsSubclass name of the entity to spawn when the crate is broken
ItemCount1
Item Count 1
integer1BasePropPhysicsNumber of items to emit upon breakage
ItemClass2
Item Subclass 2
vdata_choice:scripts/misc.vdata&scripts/grenades.vdataBasePropPhysicsSubclass name of the entity to spawn when the crate is broken
ItemCount2
Item Count 2
integer1BasePropPhysicsNumber of items to emit upon breakage
ItemClass3
Item Subclass 3
vdata_choice:scripts/misc.vdata&scripts/grenades.vdataBasePropPhysicsSubclass name of the entity to spawn when the crate is broken
ItemCount3
Item Count 3
integer1BasePropPhysicsNumber of items to emit upon breakage
ItemClass4
Item Subclass 4
vdata_choice:scripts/misc.vdata&scripts/grenades.vdataBasePropPhysicsSubclass name of the entity to spawn when the crate is broken
ItemCount4
Item Count 4
integer1BasePropPhysicsNumber of items to emit upon breakage
fademindist
Start Fade Dist
float-1BaseFadePropDistance at which the prop starts to fade (<0 = subtract from fademaxdist).
fademaxdist
End Fade Dist
float0BaseFadePropMax fade distance at which the prop is visible (0 = don't fade out)
rendercolor
Color (R G B)
color255255 255 255BaseFadeProp
skipPreSettle
Skip pre-settle
boolean0BasePhysicsSimulatedIf set this entity will not particpate in the physics pre-settle during compile, but will start awake in game.
health
Health
integer0Number of points of damage to take before breaking. 0 means don't break.
propdata_override
Prop Data Override
stringProp Data names defined in propdata.vdata are typically defined in the VMDL used by this prop. For prototyping, this allows you to select a specific one and ignore the name in the VMDL.