func_proprrespawnzone
Jump to navigation
Jump to search

![]() |
---|
CBaseEntity defined in ![]() props.cpp
|
func_proprrespawnzone
is a brush entity available in all Source games. It makes clientside physics props that were placed within its volume respawn or teleport back to their original location when the player is at least cl_phys_props_respawndist units away (default 1500) and cannot see the respawning. This check is done roughly every cl_phys_props_respawnrate (default 60) seconds. To ensure clientside physics prop is spawned prop_physics_multiplayer with physicsmode set to 3 can be used.



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." []