Lasers, Receptacles, and one stubborn Train
Quote from Fracture on March 4, 2012, 2:26 amOkay, I got a pretty annoying issue this time. I got a func_brush attached to a func_tanktrain on a path from point A to point B. I have a laser and several receptacles that I want all to be lit up to make this train move up to a certain spot and stay there, and if the receptacles are not all lit, or none at all, it should go back down. All needed logic items are present to make the branches function...
However I am having an issue with the correct outputs to make this happen. I tired several variations, but have not made it function quite as i needed it to. I tried clearing and reassigning the parent to a new train and path, I tried the reverse output, start backwards, forwards, negative speed, disable path, enable path, looping the paths, ect...
Any Suggestions would be appreciated.
Okay, I got a pretty annoying issue this time. I got a func_brush attached to a func_tanktrain on a path from point A to point B. I have a laser and several receptacles that I want all to be lit up to make this train move up to a certain spot and stay there, and if the receptacles are not all lit, or none at all, it should go back down. All needed logic items are present to make the branches function...
However I am having an issue with the correct outputs to make this happen. I tired several variations, but have not made it function quite as i needed it to. I tried clearing and reassigning the parent to a new train and path, I tried the reverse output, start backwards, forwards, negative speed, disable path, enable path, looping the paths, ect...
Any Suggestions would be appreciated.
Quote from Paradoxic R3mix on March 4, 2012, 9:48 pmWell, I think it would be better to use a movlinear, and the laser catchers connected to a math_counter. And then have the movlinear set to the closed position, and for the math_counter, have it so when it reaches the maximum value, the movlinear opens, I hope I helped. Sorry but I kinda am a newbie in hammer. I'm sure someone else could help, because I am an idiot.
Well, I think it would be better to use a movlinear, and the laser catchers connected to a math_counter. And then have the movlinear set to the closed position, and for the math_counter, have it so when it reaches the maximum value, the movlinear opens, I hope I helped. Sorry but I kinda am a newbie in hammer. I'm sure someone else could help, because I am an idiot. 
Quote from Fracture on March 4, 2012, 10:11 pmi get the mathcounter, but i don't see movlinear anywhere. I believe you meant func_movelinear. I checked out some tutorials and got the blasted thing working.
Thanks
i get the mathcounter, but i don't see movlinear anywhere. I believe you meant func_movelinear. I checked out some tutorials and got the blasted thing working.
Thanks
Quote from Rand0mNumbers on March 9, 2012, 3:25 amI suggest looking at Zogger's Lift: http://www.halfwit-2.com/?page=tutorials&id=31
Since I don't know what your logic system is:
Add a logic_branch for each laser receptacle indicating whether it is on or off. Then, use a logic_branch_listener that OnAllFalse (and possibly OnMixed) "preses" the go-to-bottom-floor button to make the train move backwards.EDIT:
Do note that the added i/o will not be deleted until fired. I don't know how to erase i/o.
I suggest looking at Zogger's Lift: http://www.halfwit-2.com/?page=tutorials&id=31
Since I don't know what your logic system is:
Add a logic_branch for each laser receptacle indicating whether it is on or off. Then, use a logic_branch_listener that OnAllFalse (and possibly OnMixed) "preses" the go-to-bottom-floor button to make the train move backwards.
EDIT:
Do note that the added i/o will not be deleted until fired. I don't know how to erase i/o.
Quote from ChickenMobile on March 9, 2012, 6:36 amRand0mNumbers wrote:EDIT:
Do note that the added i/o will not be deleted until fired. I don't know how to erase i/o.There is always the 'fire once' tick in any output or you could used carefully placed logic_relays which disable after fire (or a couple of times fired if you add a math_counter etc.)
Do note that the added i/o will not be deleted until fired. I don't know how to erase i/o.
There is always the 'fire once' tick in any output or you could used carefully placed logic_relays which disable after fire (or a couple of times fired if you add a math_counter etc.)
Quote from Rand0mNumbers on March 10, 2012, 12:25 amchickenmobile wrote:There is always the 'fire once' tick in any output or you could used carefully placed logic_relays which disable after fire (or a couple of times fired if you add a math_counter etc.)The added i/o from the tutorial is flagged to fire once. However, if that output is never fired, it is not removed. Using dynamically assigned i/o in these cases seems to require everything being triggered or else you get undesired results.
The added i/o from the tutorial is flagged to fire once. However, if that output is never fired, it is not removed. Using dynamically assigned i/o in these cases seems to require everything being triggered or else you get undesired results.
Quote from ChickenMobile on March 10, 2012, 10:01 amRand0mNumbers wrote:chickenmobile wrote:There is always the 'fire once' tick in any output or you could used carefully placed logic_relays which disable after fire (or a couple of times fired if you add a math_counter etc.)The added i/o from the tutorial is flagged to fire once. However, if that output is never fired, it is not removed. Using dynamically assigned i/o in these cases seems to require everything being triggered or else you get undesired results.
Like I said, you could use logic_relays which are disabled or enabled depending on what events are triggered. You cannot delete i/o but you can prevent it from triggering.
EDIT: Sorry if this is getting off topic.
The added i/o from the tutorial is flagged to fire once. However, if that output is never fired, it is not removed. Using dynamically assigned i/o in these cases seems to require everything being triggered or else you get undesired results.
Like I said, you could use logic_relays which are disabled or enabled depending on what events are triggered. You cannot delete i/o but you can prevent it from triggering.
EDIT: Sorry if this is getting off topic.
