This article's documentation is for anything that uses the Source engine. Click here for more information.

prop_physics_multiplayer

From Valve Developer Community
Revision as of 12:22, 29 May 2025 by Nescius (talk | contribs)
Jump to navigation Jump to search
C++ Class hierarchy
CPhysicsPropMultiplayer
CPhysicsProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity
C++ props.cpp

prop_physics_multiplayer is a model entity available in all Source Source games. It is identical to prop_physics except that it bounces away from collision (if sv_turbophysics is enabled), which helps to avoid the prediction errors that normal physics objects typically generate, and that physics mode can be changed.

AltNames.pngAltNames: In Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series, this entity is also tied to prop_physics. CPhysicsPropMultiplayer doesn't seem to be present Left 4 Dead seriesLeft 4 Dead series and physicsmode keyvalue works when used on prop_physics

Keyvalues

Physics Mode (physicsmode) <choices>
Sets the physics mode used by the prop.
  • 0: "Auto Detect"
  • 1: "Solid, Server-side"
  • 2: "Non-Solid, Server-side"
  • 3: "Non-Solid, Client-side"
Icon-Important.pngImportant:If physicsmode is 0 or 3 then this can create a clientside physical prop which cannot be controlled via I/O, vscript or picked up and doesn't count towards server entity limits other than for a moment during spawning.
  • Warning.pngWarning: In singleplayer where save/load is available it won't get saved into a save file.
  • Note.pngNote: Behavior observed in Half-Life 2: when this entity is clientside and other non-clientside prop_physics with same model exists even if inside a template then this entity will respawn at its original position during save load.
Note.pngNote:Other Keyvalues / Inputs / Outputs are same as prop_physics.

See also