Func proprrespawnzone: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(actually works) |
||
Line 1: | Line 1: | ||
{{Ent not in fgd|none|except={{tf2}}}} | {{Ent not in fgd|none|except={{tf2}}}} | ||
{{CDA|CBaseEntity|file1=[https://github.com/ValveSoftware/source-sdk-2013/blob/a62efecf624923d3bacc67b8ee4b7f8a9855abfd/src/game/server/props.cpp#L6161 props.cpp]}} | {{CDA|CBaseEntity|file1=[https://github.com/ValveSoftware/source-sdk-2013/blob/a62efecf624923d3bacc67b8ee4b7f8a9855abfd/src/game/server/props.cpp#L6161 props.cpp]}} | ||
{{this is a|brush entity|name=func_proprrespawnzone}} Zone that handles respawning and distribution of clientside physics props. | {{this is a|brush entity|name=func_proprrespawnzone}} Zone that handles respawning and distribution of clientside physics props. | ||
{{todo|Works in {{hl2dm}}. Test other games}} | |||
{{ | == Convars == | ||
{{varcom|start}} | |||
{{varcom|cl_phys_props_respawndist|1500|units|Minimum distance from the player that a clientside prop must be before it's allowed to respawn.}} | |||
{{varcom|cl_phys_props_respawnrate|60|seconds|Time, in seconds, between clientside prop respawns.}} | |||
{{varcom|end}} | |||
== FGD code == | == FGD code == | ||
Line 13: | Line 17: | ||
== See also == | == See also == | ||
* {{ent|prop_physics_multiplayer}} | |||
* [https://github.com/ValveSoftware/source-sdk-2013/blob/a62efecf624923d3bacc67b8ee4b7f8a9855abfd/src/game/client/physpropclientside.cpp#L631 physpropclientside.cpp] | * [https://github.com/ValveSoftware/source-sdk-2013/blob/a62efecf624923d3bacc67b8ee4b7f8a9855abfd/src/game/client/physpropclientside.cpp#L631 physpropclientside.cpp] | ||
[[Category:Team Fortress 2 Entities]] | [[Category:Team Fortress 2 Entities]] |
Revision as of 14:42, 13 March 2025

![]() |
---|
CBaseEntity defined in ![]() props.cpp
|
func_proprrespawnzone
is a brush entity available in all Source games. Zone that handles respawning and distribution of clientside physics props.
Convars
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
cl_phys_props_respawndist | 1500 | units | Minimum distance from the player that a clientside prop must be before it's allowed to respawn. |
cl_phys_props_respawnrate | 60 | seconds | Time, in seconds, between clientside prop respawns. |
FGD code
@SolidClass base(Targetname) = func_proprrespawnzone : "Zone that handles respawning and distribution of clientside physics props." []