vending machine problem Created 19 years ago2004-06-18 18:49:56 UTC by m0p m0p

Created 19 years ago2004-06-18 18:49:56 UTC by m0p m0p

Posted 19 years ago2004-06-18 18:49:56 UTC Post #34713
I am building a vending machine for a part of a map and I have the machine build and all. But there are a few problems. These are the entity settings:

func_breakable front panel (vend1_front_break):
Target on break: vend1_relay_shooter

env_shooter (vend1_relay_shooter):
blah-di-blah blah shooter settings

trigger_relay (vend1_relay_shooter):
killtarget: vend_1_bev

Now, the beverages and buttons are fine. But, when I break the glass, the env_shooter and trigger_relay dont work, leaving the beverage still spawning. Any ideas what is wrong?
m0p m0pIllogical.
Posted 19 years ago2004-06-18 22:10:47 UTC Post #34730
Name the env_shooter to something else and target it from the trigger relay. Having them named the same is probably hosing it somehow.
Posted 19 years ago2004-06-18 23:04:47 UTC Post #34739
It didnt work! DAMN VENDING MACHINE! Oh well, maybe I can live without env_shooter vending machines.
m0p m0pIllogical.
Posted 19 years ago2004-06-18 23:49:19 UTC Post #34742
Just make the machine trigger a nifty sequence when broken and people won't even notice the env_shooter... ;)
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 19 years ago2004-06-19 01:44:37 UTC Post #34747
Lol. I will make it spawn a snark or a babycrab when you press a certain button or 2.
m0p m0pIllogical.
Posted 19 years ago2004-06-19 02:19:03 UTC Post #34757
Hmm. How would I make a monstermaker that only releases a snark when the button is pressed?
m0p m0pIllogical.
Posted 19 years ago2004-06-19 02:27:50 UTC Post #34762
Tick "Cyclic". My example map shows this :)
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2004-06-19 03:21:55 UTC Post #34773
As for the vending machine, you can also use two env_shooters, of wich one only spawns one beverage every time you trigger it, and the other spawns the whole load of beverages when the vending machine is destroyed. Then either change the targets of the buttons or give them a master that you'll turn off when the machine is destroyed, so you can't get beverage out of the thing anymore.
Posted 19 years ago2004-06-19 04:00:09 UTC Post #34783
Y'know, Vassy wrote a tutorial on this.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2004-06-19 04:03:44 UTC Post #34787
I tried his tutorial but it wasn't advanced enough. I was following the tutorial from the snarkpit.
m0p m0pIllogical.
Posted 19 years ago2004-06-19 05:58:31 UTC Post #34803
Yeah, like right here on TWHL?
AJ AJGlorious Overlord
Posted 19 years ago2004-06-19 08:19:23 UTC Post #34825
My map from the 'trapped' competition had a vending machine that released snarks. The rmf is included in the download if you're interested.
Posted 19 years ago2004-06-19 09:35:39 UTC Post #34831
Can I use it for my map? Cos this vending machine I made is so CRAP!
m0p m0pIllogical.
Posted 19 years ago2004-06-19 12:57:07 UTC Post #34846
Go for it! yes, you can use it.
You must be logged in to post a response.