Please or Register to create posts and topics.

Box dropper doesn´t open

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 :)

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.

I like my girls like I like my cars, I like them fast, I like them automatic, and I know I'm in trouble if I reach down and feel a stick.

Also make sure that ForceSpawn delay set to something like 2 or 1.5. Otherwise your cube won't fall out.

Thank you,it did the trick :) I?ve also noticed the tutorial page has been edited with correct information you provided to make it work,good job :) I?ve also added Dissolve output for box.

Thank you so much !

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?

It might not show up as valid, but it might still work. Give it a try and see if it does.

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.

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:

Code: Select all
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.