Please or Register to create posts and topics.

Respawning objects

Page 1 of 2Next

Heya there,

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.

Some of my Portal 2 maps || Mini-Faith || Careful Cube || Vertical Reach ||

|| Need help uploading a map...new user? Read my Map Uploading Guide ||
|| Want to play custom maps, but don't know how? Read my Playing Portal 2 Custom Maps Guide ||

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.

Image
PortalStories.com
"Oh, in case you got covered in that repulsion gel, here's some advice the lab boys gave me: DO NOT get covered in the repulsion gel."
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.

Some of my Portal 2 maps || Mini-Faith || Careful Cube || Vertical Reach ||

|| Need help uploading a map...new user? Read my Map Uploading Guide ||
|| Want to play custom maps, but don't know how? Read my Playing Portal 2 Custom Maps Guide ||

Hi,

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.

My Portal2 Map: Trapped

My Travel Blog:
Image

Thank you Robdon and iWork925, much appreciated.

Some of my Portal 2 maps || Mini-Faith || Careful Cube || Vertical Reach ||

|| Need help uploading a map...new user? Read my Map Uploading Guide ||
|| Want to play custom maps, but don't know how? Read my Playing Portal 2 Custom Maps Guide ||

Also there is a "func_instance" that makes an Cube Dropper. You could use that.

Crazy is as crazy does.
My Work
[spoiler]Maps:
Revenge of the Angry Turrets
Capture the Cube [Co-op]
Capture the Cube 2 [Co-op]
TPWEGTH Sample Map
Aperture Aquatic Testing Center
Aperture Aquatic Testing Center 2
Aperture Time Testing Center
ML's Halloween Trick - 1000 downloads!
ML's Halloween Treat
ML's Combination - 1000 downloads!
ML's Jailbreak Labyrinth
ML's Tricky Teamwork [Co-op]
WIP:
"Capture the Cube 3"
Workshop Maps Link: http://steamcommunity.com/profiles/76561198008890579/myworkshopfiles/[/spoiler]
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.

Some of my Portal 2 maps || Mini-Faith || Careful Cube || Vertical Reach ||

|| Need help uploading a map...new user? Read my Map Uploading Guide ||
|| Want to play custom maps, but don't know how? Read my Playing Portal 2 Custom Maps Guide ||

Oh ok, I didn't know exactly what you were trying to do. My bad.

Crazy is as crazy does.
My Work
[spoiler]Maps:
Revenge of the Angry Turrets
Capture the Cube [Co-op]
Capture the Cube 2 [Co-op]
TPWEGTH Sample Map
Aperture Aquatic Testing Center
Aperture Aquatic Testing Center 2
Aperture Time Testing Center
ML's Halloween Trick - 1000 downloads!
ML's Halloween Treat
ML's Combination - 1000 downloads!
ML's Jailbreak Labyrinth
ML's Tricky Teamwork [Co-op]
WIP:
"Capture the Cube 3"
Workshop Maps Link: http://steamcommunity.com/profiles/76561198008890579/myworkshopfiles/[/spoiler]

Isnt there a "Don't remove template entities" flag or something like that?

12 Angry Tests
"I hear voices. But I ignore them and I just carry on killing."

This is in the instance of the multiple dropper :P, the object, the entity maker and the point entity :D

Page 1 of 2Next