Prop physics respawnable: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 Bug:Breaking this entity using a trigger_hurt will crash the game for all clients! (Fixed in
Bug:Breaking this entity using a trigger_hurt will crash the game for all clients! (Fixed in  )
)
 Workaround:Use a point_template to spawn a regular prop_physics each time it breaks.
Workaround:Use a point_template to spawn a regular prop_physics each time it breaks.
 Bug:Doesn't respawn in
Bug:Doesn't respawn in  Left 4 Dead 2
 Left 4 Dead 2
 Note:Other
Note:Other 
		
	
| No edit summary | No edit summary | ||
| Line 3: | Line 3: | ||
| {{this is a|point entity|name=prop_physics_respawnable}} This entity is the same as [[prop_physics]], except it respawns a set time after breaking/exploding. | {{this is a|point entity|name=prop_physics_respawnable}} This entity is the same as [[prop_physics]], except it respawns a set time after breaking/exploding. | ||
| {{bug|1=Breaking this entity using a {{ent|trigger_hurt}} will [https://youtube.com/watch?v=aguKEsHkM0Q crash the game] for all clients! {{jb3|in|addtext-front=''Fixed''{{nbsp}}}} | {{bug|hidetested=1|1=Breaking this entity using a {{ent|trigger_hurt}} will [https://youtube.com/watch?v=aguKEsHkM0Q crash the game] for all clients! {{jb3|in|addtext-front=''Fixed''{{nbsp}}}} | ||
| {{workaround|Use a {{ent|point_template}} to spawn a regular {{ent|prop_physics}} each time it breaks.}} }} | {{workaround|Use a {{ent|point_template}} to spawn a regular {{ent|prop_physics}} each time it breaks.}} }} | ||
| {{bug|hidetested=1|Doesn't respawn in {{l4d2|4}}}} | {{bug|hidetested=1|Doesn't respawn in {{l4d2|4}}}} | ||
Revision as of 02:24, 14 March 2025
|  Class hierarchy | 
|---|
| CPhysicsPropRespawnable | 
|  props.cpp | 
prop_physics_respawnable  is a   point entity  available in all  Source games. This entity is the same as prop_physics, except it respawns a set time after breaking/exploding.
 Source games. This entity is the same as prop_physics, except it respawns a set time after breaking/exploding.
 Bug:Breaking this entity using a trigger_hurt will crash the game for all clients! (Fixed in
Bug:Breaking this entity using a trigger_hurt will crash the game for all clients! (Fixed in  )
)
 Workaround:Use a point_template to spawn a regular prop_physics each time it breaks.
Workaround:Use a point_template to spawn a regular prop_physics each time it breaks. Bug:Doesn't respawn in
Bug:Doesn't respawn in  Left 4 Dead 2
 Left 4 Dead 2Keyvalues
- Respawn time (RespawnTime) <integer>
- Amount in seconds this prop will respawn after it breaks.
 Note:Other
Note:Other Keyvalues / Inputs / Outputs are same as prop_physics.FGD Code
@PointClass base(prop_physics) studioprop() sphere(fademindist) sphere(fademaxdist) = prop_physics_respawnable : "This class is the same as prop_physics, except it respawns after it breaks" [ RespawnTime(float) : "Respawn Time" : 60 : "Ammount in seconds this prop will respawn after it breaks." ]







