Re: vending machine problem
Posted by m0p on
Sat Jun 19th 2004 at 1:54am
m0p
member
55 posts
16 snarkmarks
Registered:
Jun 19th 2004
I have made a vending machine and the beverage and all trigger but when I break the glass, the trigger_relay dont activate and the env_shooter doesnt either. Any ideas? Also, the func_breakable has it's Target On Break set to vend1_relay_shooter which is the name of both entities which need to be triggered.
Re: vending machine problem
Posted by Yak_Fighter on
Sat Jun 19th 2004 at 2:05am
1832 posts
742 snarkmarks
Registered:
Dec 30th 2001
Occupation: College Student/Slacker
Location: Indianapolis, IN
why are you bothering with a trigger_relay? just have the func_breakable target the env_shooter directly, as there's no reason for the extra step that I know of.
Re: vending machine problem
Posted by m0p on
Sat Jun 19th 2004 at 2:47am
m0p
member
55 posts
16 snarkmarks
Registered:
Jun 19th 2004
You need to kill the env_beverage some how though, and env_shooter doesnt have a field for that.
Re: vending machine problem
Posted by Gorbachev on
Sat Jun 19th 2004 at 6:32am
1569 posts
264 snarkmarks
Registered:
Dec 1st 2002
Location: Vancouver, BC, Canada
Just put the # of gibs to however many you want to come out (it should be one of the values) and make sure the repeatable flag isn't checked.
Re: vending machine problem
Posted by JFry on
Sat Jun 19th 2004 at 6:37am
JFry
member
369 posts
82 snarkmarks
Registered:
Mar 9th 2004
Occupation: Scumbag
Location: USA
I'm not exactly clear on your entity setup but if I'm reading it correctly you have both the relay and the env_shooter named vend1_relay_shooter? If this is the case try giving them 2 different names.
Re: vending machine problem
Posted by Gorbachev on
Sat Jun 19th 2004 at 6:40am
1569 posts
264 snarkmarks
Registered:
Dec 1st 2002
Location: Vancouver, BC, Canada
Having the same name will just trigger them at the same time. i.e. my mortars in belfort have about 6 entities named the same thing so they go off at the same time.
Re: vending machine problem
Posted by m0p on
Sat Jun 19th 2004 at 11:25am
Posted
2004-06-19 11:25am
m0p
member
55 posts
16 snarkmarks
Registered:
Jun 19th 2004
Ok, I tried making the breakable target the trigger_relay which kills the beverage and fires the shooter. Still no action.
Re: vending machine problem
Posted by scary_jeff on
Sat Jun 19th 2004 at 11:44am
Posted
2004-06-19 11:44am
1614 posts
191 snarkmarks
Registered:
Aug 22nd 2001
To repeat Yak's point, why are you using a trigger_relay at all? It isn't needed.
Re: vending machine problem
Posted by Leperous on
Sat Jun 19th 2004 at 1:02pm
Leperous
Creator of SnarkPit!
member
3382 posts
1635 snarkmarks
Registered:
Aug 21st 2001
Occupation: Lazy student
Location: UK
It is there to disable the env_beverage entity- if you don't use it, then you can still dispense drinks after breaking the machine.
I'm pretty sure the tutorial we have here is perfect- if you're having problems, perhaps you should start thinking laterally and try to re-set-up the problem so that you can find out which stage is going wrong, making sure you are following it correctly! Or just download the example map perhaps :razz:
Re: vending machine problem
Posted by Orpheus on
Sat Jun 19th 2004 at 1:50pm
Orpheus
member
13860 posts
2024 snarkmarks
Registered:
Aug 26th 2001
Occupation: Long Haul Trucking
Location: Long Oklahoma - USA
at least the solution doesn't have an MM in it.. it would never succeed if that were the case :heee:
Re: vending machine problem
Posted by JFry on
Sat Jun 19th 2004 at 5:39pm
JFry
member
369 posts
82 snarkmarks
Registered:
Mar 9th 2004
Occupation: Scumbag
Location: USA
Orph I've made a tutorial on mm's for you, but for some reason I don't think you want to learn how they function.
Re: vending machine problem
Posted by JFry on
Sat Jun 19th 2004 at 7:29pm
JFry
member
369 posts
82 snarkmarks
Registered:
Mar 9th 2004
Occupation: Scumbag
Location: USA
ok Orph I've submitted a tutorial. Should be up in the entities section whenever its checked. And if that doesn't help I guess I'll hafta stab myself in the eye with a fork.
Re: vending machine problem
Posted by Andrei on
Mon Jul 5th 2004 at 8:48am
Andrei
member
2455 posts
1248 snarkmarks
Registered:
Sep 15th 2003
Location: Bucharest, Romania
Im not sure if i understood what youre trying to do, but i guess you must be trying the old valve vending thing, so try this: set the breakables target...urm... "cans" and the shooters name "Cans".Then add a multi_manager and name it "cans" (again) and add a specific (a target) "relay" delay "2" (or whatever you want it to be). Then add the trigger_relay (name "relay") and set its killtarget "cans".