Box dispenser troubles
Quote from Grutz on March 6, 2009, 1:45 amHi,
I've got a few issues with a simple box dispenser I'm trying to make (my first). I based it off this tutorial:
http://developer.valvesoftware.com/wiki ... ox_dropperand here's my issues:
A: The box doesn't drop from the dispenser even though the box_maker is in the tube. (see video below for example)
Does anyone know why this is? Did it put it in the wrong space?
B: The OnPressed 'Kill' command makes the box instantly disappear.
Is there a way to kill the box more gracefully? Like have the fizzle effect on death?
C: It takes several seconds for the button to play the 'up' sound, and be active again.
Minor issue, but it kinda bugs me. You can't really tell in the video, but it takes a while for the button to work again (right when the first box disappears is the first time I am allowed to press the button again). I can't think this is due to any outputs I have since non of them are more than 2 seconds. Anyone know what's going on here?Here's a pic of some of the outputs, and a video for reference:
http://www.youtube.com/watch?v=HEcTgf3zWAQThanks
Hi,
I've got a few issues with a simple box dispenser I'm trying to make (my first). I based it off this tutorial:
http://developer.valvesoftware.com/wiki ... ox_dropper
and here's my issues:
A: The box doesn't drop from the dispenser even though the box_maker is in the tube. (see video below for example)
Does anyone know why this is? Did it put it in the wrong space?
B: The OnPressed 'Kill' command makes the box instantly disappear.
Is there a way to kill the box more gracefully? Like have the fizzle effect on death?
C: It takes several seconds for the button to play the 'up' sound, and be active again.
Minor issue, but it kinda bugs me. You can't really tell in the video, but it takes a while for the button to work again (right when the first box disappears is the first time I am allowed to press the button again). I can't think this is due to any outputs I have since non of them are more than 2 seconds. Anyone know what's going on here?
Here's a pic of some of the outputs, and a video for reference:
http://www.youtube.com/watch?v=HEcTgf3zWAQ
Thanks
Quote from sbrown on March 6, 2009, 5:10 am1. For the box maker, put a point_template in it, and fire the template to spawn (forget the maker)
2. Add a large dissolve trigger in the room with the cube, set to physics only, and disabled. Then enable the dissolve for a split second.
3. Set the button reset time to something shorter
1. For the box maker, put a point_template in it, and fire the template to spawn (forget the maker)
2. Add a large dissolve trigger in the room with the cube, set to physics only, and disabled. Then enable the dissolve for a split second.
3. Set the button reset time to something shorter
Quote from Grutz on March 6, 2009, 3:29 pmThanks for the tips. I'll try them when I get off work.
For #2 though, this cube needs to be brought to other parts of the level, and may be in the same space as other cubes when this button is pressed. Would I need to put large dissolves everywhere this cube might go and just make sure they are filtering to only fizzle this cube?
Thanks for the tips. I'll try them when I get off work.
For #2 though, this cube needs to be brought to other parts of the level, and may be in the same space as other cubes when this button is pressed. Would I need to put large dissolves everywhere this cube might go and just make sure they are filtering to only fizzle this cube?
Quote from hanging_rope on March 6, 2009, 3:38 pmyes, you need to add a Filter_activator_name (I think) set it to the name of your box, then change the trigger properties so the filter activator name is whatever you called the filter.
Adapt it's use from here: (oops, valve developer site isn't working, I'll edit it in later)
yes, you need to add a Filter_activator_name (I think) set it to the name of your box, then change the trigger properties so the filter activator name is whatever you called the filter.
Adapt it's use from here: (oops, valve developer site isn't working, I'll edit it in later)
Quote from Grutz on March 8, 2009, 2:55 pmok, issues solved.
1. The point template entity I had wasn't directly in the center of the box model it was linked with. When the maker spawned the cube it was relative to spacing between the template and the box model (making the box spawn in the walls). Putting the template and the model in the same space made the box spawn exactly where the maker is.
2. The suggested ideas here sounded a bit 'clunky'; so in researching I learned about the env_entity_dissolver. You just send a 'dissolve' input to it, and it will dissolve whatever you have set as the target.
3. The button reset time was at 7 seconds. I lowered it.
http://www.youtube.com/watch?v=earhIetACRU
Thanks all for the help.
ok, issues solved.
1. The point template entity I had wasn't directly in the center of the box model it was linked with. When the maker spawned the cube it was relative to spacing between the template and the box model (making the box spawn in the walls). Putting the template and the model in the same space made the box spawn exactly where the maker is.
2. The suggested ideas here sounded a bit 'clunky'; so in researching I learned about the env_entity_dissolver. You just send a 'dissolve' input to it, and it will dissolve whatever you have set as the target.
3. The button reset time was at 7 seconds. I lowered it.
http://www.youtube.com/watch?v=earhIetACRU
Thanks all for the help.