Changing Tracks Created 19 years ago2005-03-24 09:27:12 UTC by Elon Yariv Elon Yariv

Created 19 years ago2005-03-24 09:27:12 UTC by Elon Yariv Elon Yariv

Posted 19 years ago2005-03-24 09:27:12 UTC Post #98819
I made a train(from tracktrain) and it moves on it's track. Now I want the train to change it's track when I push a button. How can I make it happen.
Posted 19 years ago2005-03-24 09:42:12 UTC Post #98820
Use a "trigger_changetarget" entity. (This is not a brush entity, its in the dropdown box where monster_**** and light entities and such can be found.)
Unbreakable UnbreakableWindows 7.9 Rating!
Posted 19 years ago2005-03-24 09:58:59 UTC Post #98822
Thanks, I'll try it
Posted 19 years ago2005-03-24 10:13:09 UTC Post #98823
I tried it and I failed. Should I target the track or the train. I used the func_rot_button to activite the trigger changetarget and it dosn't have a target value. The triggered object value replaces the target value.
Posted 19 years ago2005-03-24 10:50:45 UTC Post #98825
Try targetting both. You may switch the target of a path_corner and then it branches differently when the train reaches it.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2005-03-24 11:01:33 UTC Post #98828
make the func_rot_button, target the trigger_changetarget, as you did above, but make the trigger_chngetarget change the target of that path_corner. :)
Unbreakable UnbreakableWindows 7.9 Rating!
Posted 19 years ago2005-03-24 11:07:40 UTC Post #98829
I'm not sure can I do the same with pathtrack
Posted 19 years ago2005-03-24 11:52:14 UTC Post #98834
Oh, sorry, ya definetly.
Unbreakable UnbreakableWindows 7.9 Rating!
Posted 19 years ago2005-03-24 13:37:15 UTC Post #98841
ya, you should be able to do it with a path_track as apposed to a path_corner. im pretty sure this is done by puting the altarnate path to take in then targeting the path_track to change from the normal to the alternate or back again.
Posted 19 years ago2005-03-24 14:08:31 UTC Post #98845
OK, I downloaded your train and fixed it up. It works now.
Happy mapping! :)
Unbreakable UnbreakableWindows 7.9 Rating!
You must be logged in to post a response.