Respawning objects
I have followed this tutorial on the developer wiki on how to respawn items.
I have done steps 1-5 and no items spawn for me, although I have followed the tutorial to the letter. I set the timer to ten seconds, but after about a minute..still nothing.
I cannot follow step 6 because the "prop_physics_spawnable" doesn't seem to exist in the list on entities.
What I am trying to do is make a box respawn after it has been destroyed. Can anyone point me in the right direction?
Note: I am not looking to be pointed in the direction of a box dropper, I just need it to respawn.
To easy. For future reference, decompile valve's maps if in doubt.
iWork925 wrote:
That seems to be related to HL. All you need for P2 is a weighted_cube and a point_template. Set the template to the cube and on the cube set "onfizzled > pointtemplate > ForceSpawn"To easy. For future reference, decompile valve's maps if in doubt.
I have done that. But the thing is, there is no box there when the map is loaded. I have got the prop_weighted_cube and also the point_template, but the box doesn't show when the map is loaded.
Just add logic_auto to your map, and do a onmapspawn output that does a ForceSpawn on the cube
Then it will create the cube when the map starts.
MasterLagger wrote:
Also there is a "func_instance" that makes an Cube Dropper. You could use that.Myself wrote:
Note: I am not looking to be pointed in the direction of a box dropper, I just need it to respawn.
I know there is a vmf file that allows you to have a box dropper or multiple box droppers in the level, but had you read the post fully you would've seen I am not looking for that.
Thanks anyway.
, the object, the entity maker and the point entity