Box dropper doesn´t open

Avatar
brano543
2 Posts
Posted May 10, 2011
Hello,

i have followed this tutorial http://wiki.p2mods.com/index.php?title=Box_Droppers.

In my map i press the switch,the box spawns,but the box dropper (i mean that big device) doesn?t open and spawned box is stucked in it.

Can you please help me figure it out? I am really stucked,i?ve read a lot of tutorials,but they are useless,because they are either for Portal 1 or incomplete as the tutorial above.

Entities created: prop_button
point_template
prop_weighted_cube
env_entity_maker
prop_dynamic

Many thanks for help :smile:

Advertisement
Registered users don’t see ads! Register now!
Avatar
CassataGames
98 Posts
Posted May 10, 2011
Replied 2 hours later
First make sure you named the prop_dynamic that you have as your box dropper.

Make sure when you create an output, you're using SetAnimation to item_dropper_open to make it open and item_dropper_close to make it close.
You don't need to use any of the other animations, the game will automatically keep it open until you close it and vice versa.

Avatar
Stylus
50 Posts
Posted May 10, 2011
Replied 17 minutes later
Also make sure that ForceSpawn delay set to something like 2 or 1.5. Otherwise your cube won't fall out.
Avatar
brano543
2 Posts
Posted May 11, 2011
Replied 22 hours later
Thank you,it did the trick :smile: I?ve also noticed the tutorial page has been edited with correct information you provided to make it work,good job :smile: I?ve also added Dissolve output for box.

Thank you so much !

Avatar
raulness
68 Posts
Posted May 12, 2011
Replied 1 day later
Speaking of dissolving, is it possible to dissolve spheres? Every time I try to type in the parameter as 'dissolve' it shows up as an unknown command. Am I missing something?
Avatar
msleeper
4,136 Posts
Admin
Posted May 12, 2011
Replied 17 minutes later
It might not show up as valid, but it might still work. Give it a try and see if it does.
Advertisement
Registered users don’t see ads! Register now!
Avatar
raulness
68 Posts
Posted May 12, 2011
Replied 8 minutes later
Now I'm just confused. I switched the model back to metal_box just to see if the dissolve would work but it doesn't work either. I think I'm just missing something.

I'm putting this on the output of the button that makes the dropper open:

On Pressed | sphere_01 | dissolve | (blank) | 0.00

It doesn't make a difference whether or not the model is a sphere or a cube.

EDIT:
Wow, stupid mistake on my part. I was so used to making cubes with prop_physics that I didn't even think twice to read over the tutorial and use prop_weighted_cube. Sorry about that.