Prop physics multiplayer: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (minoro)
Line 3: Line 3:
{{stub}}
{{stub}}


== Entity Description ==
== Entity description ==
This class is the same as [[prop_physics]], except the runtime collisions use a more bouncy method that avoids the prediction errors normal physics objects get.
This class is identical to prop_physics, aside from the runtime collisions which use a more bouncy method avoiding the prediction errors associated with normal physics objects.
* See also [[prop_physics]] - The more realistic but resource consuming prop_physics version.
 
* See also [[prop_physics]] - a more realistic and expensive version of prop_physics_multiplayer.
* [[sv_turbophysics]]
* [[sv_turbophysics]]
* [[Prop Footsteps]] - A tutorial that provides essential code for when players walk on entities like this, it's not ignored during footstep sound computation.
* [[Prop Footsteps]] - a tutorial with supplementary code on the effects of players walking over proper entities.
 


==Keyvalues==
== Keyvalues ==
* '''{{ep2 add|physicsmode}}'''
* '''{{ep2 add|physicsmode}}'''
: <choices> Sets the physics mode used by the prop. Should be set to one of the following:
: <choices> Sets the physics mode used by the prop. Should be set to one of the following:
:{{physicsmode choices}}
:{{physicsmode choices}}


==See Also==
== See also ==
* {{in code|class=class_c_physics_prop_multiplayer.html CPhysicsPropMultiplayer|file=props_8cpp-source.html props.cpp}}
* {{in code|class=class_c_physics_prop_multiplayer.html CPhysicsPropMultiplayer|file=props_8cpp-source.html props.cpp}}
* [[Alternate Multiplayer Physics]] SourceCode Modification.
* [[Alternate Multiplayer Physics]] - an article on modifying the source code to this entity.

Revision as of 03:05, 17 April 2008

Template:Wrongtitle Template:Base point

Stub

This article or section is a stub. You can help by expanding it.

Entity description

This class is identical to prop_physics, aside from the runtime collisions which use a more bouncy method avoiding the prediction errors associated with normal physics objects.

  • See also prop_physics - a more realistic and expensive version of prop_physics_multiplayer.
  • sv_turbophysics
  • Prop Footsteps - a tutorial with supplementary code on the effects of players walking over proper entities.

Keyvalues

<choices> Sets the physics mode used by the prop. Should be set to one of the following:
Number Name Description
1 Solid, Server-side Solid, pushes the player away.
2 Non-Solid, Server-side Non-solid, but gets pushed away by the player.
3 Non-Solid, Client-side Non-solid, clientside simulated only.

See also