Skip to main content

Home/ trainz/ Group items tagged trigger

Rss Feed Group items tagged

steve t

Trigger Help - Trainz Discussion Forums - 0 views

  • I have two sw engines. Each one operates on a trigger. The first goes into the yard, couples to a consist and then takes the consist to a factory and loads. It returns the cars to another spur and uncouples and returns to the stall and waits for the trigger. A portal train brings empties and leaves them on the first track and then goes to the spur and picks up the fulls and takes them to the portal. On the exit it trips the trigger and the process starts over. The second sw operates much the same with a 10 minute wait before it begins. This system works great but you have to state in the trigger rule the name of the loco. You might call the trigger train "Chem-Train" or "Milk-Train" and then that is the only loco that can trip the trigger.
  • The best way to learn about triggers is het up a new track and draw a line of track that goes from one side of the start grid to the other side, -Then pick a train and make sure it has a driver.
  • In the cases of Accipiter777 and Mr_D using the post message and the wait for message and clear commands would eliminate the need for the trigger being set of by another train and would not require Double engined trains to have the AI at the front. These commands dont need to know what engine is being used it has its own tags that the driver sends out and any driver set up to wait for it will then carry out the next task. __________
steve t

Two or more triggers, triggered in order? - Trainz Discussion Forums - 0 views

  • Two or more triggers, triggered in order? How do I make two or more triggers work in order? So you could define the direction a train has to go over triggers to set a junction..
steve t

Splitting a train automatically - Trainz Discussion Forums - 0 views

  • If you have your train drive to a trackmark and uncouple. The first section then departs via a trigger. A spare engine is parked in a siding and when the trigger is activated its driver moves to the remaining part of your train and then drives it in accordance with the instructions you have already input for him. i.e Main train has instructions similar to.. Drive to trackmark, Uncouple from, Drive to London. Spare engine has instructions similar to ... On trigger move to unit x. Drive to Bristol.. This should also work in reverse so that you can re-couple the two sections of your train and return the spare driver to the spare loco.
  • Ive been doing this for years, dont use a trigger as another train can sometimes set it off. You need a spare driveable asset (I use a car parked in the station car park), it will need a driver which you set up with all the commands for the tasks he will do as the second train. You need two trackmarks at each end of station named say P1 Dn and P1 Up. You will need the commands Post Message and Wait for Message and clear also the move to train at trackmark. Dont use move to train as the commands dont go with the driver. Add to the start of spare drive the command Wait for Message.
steve t

Trigger Multiple Signals - How? - Trainz Discussion Forums - 0 views

  • You only need one rule and can set up multiple signals on one trigger in a single set up. In a session set up all the rules etc place a single engine and save the session as map rules. everytime you want to do a new session with the same rules you just open map rules place your consists and save as a different name. This means you wont have to keep setting up the rules everytime. __________________
  •  
    "You only need one rule and can set up multiple signals on one trigger in a single set up. In a session set up all the rules etc place a single engine and save the session as map rules. everytime you want to do a new session with the same rules you just open map rules place your consists and save as a different name. This means you wont have to keep setting up the rules everytime. __________________"
steve t

Help on driver setup please (basic 101?) - Trainz Discussion Forums - 0 views

  • I finally got back to this one. Here's what I did, you can adapt it to your requirements. BTW this is in TRS2004 but all later versions should be identical or very similar. Layout: One baseboard, one straight track. In order: Where the loco starts Trigger TR1 Trackmark TM1 Trackmark TM2 Trackmark TM3 (It helps to put a building alongside each trigger/trackmark so you know where they are when driving) Place a loco at the starting position The objective is to make the loco drive to TM1, then drive back and forth between TM2 and TM3 forever. Rules (where each > represents one level of indent): Startup options - as normal Driver Setup - Drive to TM1 Driver Command - as normal Trigger Rule - Trigger TR1 > Ordered List - This process will be repeated 1 time > > Driver Setup - Drive to TM2, Drive to TM3, Repeat I hope you can copy this and get it going, and that it's of some help to you. I find one of the trickiest things is to keep the difference between Rules and Driver Commands clear in my head. John
steve t

Trigger Help - Trainz Discussion Forums - 0 views

  • The best way to learn about triggers is het up a new track and draw a line of track that goes from one side of the start grid to the other side,
steve t

Guide to setting up single line routes without AI locking your junctions!! - Trainz Dis... - 0 views

  • So if you are trying this out, please use Trigger rule instead of Trigger check Unless you have managed to get it working with Trigger Check.. to me it appears to do nothing at all
steve t

more realistic AI-driver attitude - Trainz Discussion Forums - 0 views

  • more realistic AI-driver attitude I would like to see (as an update to all Trainz-Versions or at least as part of any new Trainz-Version) more realistic artifical inteligenced drivers in Trainz.
  • As for the "Ball and Flag" system given in this and another thread, we have the "Wait for Trigger..." driver command, which, I admit, is hidden by default. Go into the driver commands rule to make it visible. With enough forethought, it behaves in exactly the same way, Just on triggers and has to be inserted for every driver using that single track. Though that only works with AI. Us humans have the layout map. Having these automated systems would be a help, but there are already driver commands that work the same way.
  • I agree that the shortest route thing is annoying as well. I've gotten around it by by placing a trackmark on the main track, and I use that when I'm programming the drivers. Another thing I've done is to place a freight car or two on the sidings to force the AI to take the mainline instead of driving through the yard. I agree with Stefan. The routing should be based on locale rather than built-in short-distance seeking algorithms, which I think cause a lot of overhead on the program because the AI system is constantly seeking for an open path. John
  • ...2 more annotations...
  • Similarly the idea of operating a train through a series of switch backs, switching industries, or turning a locomotive on a Wye (all referred to in item 4 in Stefan's original post) can be handled by way of trackmarks. In the case of a switchbacks, simply put a trackmark at each deadend point, so that setting up an AI driver on route with switchbacks becomes "drive to trackmarK 1" followed by "Drive to Trackmark 2", &c. Same way for industry switching and turning trains: assigning trackmarks allows for the dispatcher to provide directions to AI drivers to Drive to the Trackmark for Stefan's Warehouse and uncouple car 123456" then Driver to Trackmark for JCitron's warehouse via trackmark 3, and uncouple car 125789."
  • That remote control system (changing a junction from three miles away) can already be done with triggers or trackmarks (depending on which rule you use).
steve t

How do I set a trigger? - Trainz Discussion Forums - 0 views

  • Additionally, there are commands available that will check the status of industries, then once they need servicing you can have a train deliver to them or pick up from them.
  • You might check out atilabarut's message rules. Download these and read: PostMessage,<kuid:131986:210002> WaitForMessage,<kuid:131986:1029> WaitForMessage,<kuid:131986:210005> You can put these rules in the driver schedule without the need for programming expertise.
steve t

Help on driver setup please (basic 101?) - Trainz Discussion Forums - 0 views

  • Layout: One baseboard, one straight track. In order: Where the loco starts Trigger TR1 Trackmark TM1 Trackmark TM2 Trackmark TM3 (It helps to put a building alongside each trigger/trackmark so you know where they are when driving)
steve t

Trigger Multiple Signal rule - Trainz Discussion Forums - 0 views

  • Trigger Multiple Signal rule
  • when I changed this for a normal 3 aspect on a post - the rule worked!
steve t

Guide to setting up single line routes without AI locking your junctions!! - Trainz Dis... - 0 views

  • The Problem The problem we get with single line routes is the AI will lock the junction out of a passing loop, meaning for you to gain access to pass the AI you have to stop the AI's commands so it will free the loop. If you
steve t

trigger rule for junction switch - Trainz Discussion Forums - 0 views

  • For anyone interested in this issue, the above solution actually does NOT work as intended. More on this in this thread: http://forums.auran.com/trainz/showthread.php?t=30085 I did however solve the bridge-signaling problem in another way, it's posted here: http://forums.auran.com/trainz/showthread.php?t=30147 __________________
steve t

help with triggers - Trainz Discussion Forums - 0 views

  • Actually, it was simple. All I had to do was add a consist check rule and it works like a charm. I hate html's thou
steve t

What is the best way to deal with this? (Single Track and Passing Sidings) - Trainz Dis... - 0 views

  • Where the green dots are signals, and track direction markers are the yellow arrows. Make sure you have enough space for the longest train that will run before the first signal in the loop, this will stop a train being held at that signal from blocking the exit from the opposite track... Edit; if this is for overtaking then you will have to use triggers, i'd suggest...
steve t

Linking signals [Archive] - Trainz Discussion Forums - 0 views

  • i have one that works exactly like the junction controller. you drop the cube down in surveyor and tell it what signals to link together. one as a parent and the other as a child. there are two ways of doing this. one way the child signal will display exactly what the parent signal does, and the other way is that it only clones the danger state, under any other aspect they are automatic (normal). it was a small side project that never really got developed fully but it would be worth a try. get it here (http://www.jointedrail.com/content/Freeware/Trackside/SignalLink.cdp) and let me know how it goes. i also have a token block controller that is very similar but is more complex to set up, you can have multiple triggers and signals. Mordachai
steve t

trigger rule for junction switch - Trainz Discussion Forums - 0 views

  •  
    a session contains all trains and industry instructions etc. If you open the route only as long as you do not delete, rename or alter a sequence that the session uses it will be fine. You can add scenery, texture, create new areas of the route and save. the session will still work. Open your existing session then save it as a different name (Default rule). Now delete all the trains and you are left with only the rules you set up. Save this as the default rule session. When you open this next time all the rules you set up are ready to go without having to redo them, just add trains for a new session and save under a different name in order that the default rule session is not altered. Uploading the route and the default rule session gives everyone the basic setup __________________ http://www.auran.com/TRS2004/DLS.php...textsearchID=1
steve t

Signals? - Trainz Discussion Forums - 0 views

  •  
    You don"t appear to be listening Lengo if I can say so without being rude.If you have a piece of track from A to B you need 1) a red trackmark at B to tell the AI driver where to drive to.Past the trackmark you need Buffers/Railends to define the physical limits of the track and reassure the driver it is safe to drive to Tackmark B.Between A and B you need at least 3 signals (any type) to let the driver know he can do more than 18 MPH.Less than 3 signals and he will stick to 18.An AI driver (like a real train driver) needs to know a) where the line ends b) what signalling system is in use c) where those signals are d) what the speed limit is.
steve t

How to set up drive schedule - Trainz Discussion Forums - 0 views

  • Hi DonVrx, Simple realy when you think about it, a drive command is one off. A drive schedule is a series of drive commands strung together one after the other. When the AI driver completes one command he will look for the next command, if there is no more commands he will stop. If you have a continuous track i.e. a loop you can place a repeat after the last command, this will cause a completed command to be added at the end of the list and used again after all the others have been completed. Cheers, Bill69
  • I have used the Schedule Library and the Copy Schedule command to build a schedule for my AI drivers. The Schedule Library lets you setup a schedule of commands all at once and then share the set of command with more than one driver using the Copy Schedule command. This is easier than setting up each command again for multiple drivers. The schedule command its self is more work. I've used that for passenger trains once, but it was hard to calculate how long a train would take to get between stations because the AI are so unpredictable. John
  • Having a schedule is great for passenger service. Trains leave and arrive at particular times day and night on a consistent basis in real life. By doing this in Trainz, we can make the running more realistic, and have to work the freights in between the scheduled passenger trains as the freights can't get in the way of the highballers. John
steve t

Splitting a train automatically - Trainz Discussion Forums - 0 views

  • Ive been doing this for years, dont use a trigger as another train can sometimes set it off. You need a spare driveable asset (I use a car parked in the station car park), it will need a driver which you set up with all the commands for the tasks he will do as the second train. You need two trackmarks at each end of station named say P1 Dn and P1 Up. You will need the commands Post Message and Wait for Message and clear also the move to train at trackmark. Dont use move to train as the commands dont go with the driver. Add to the start of spare drive the command Wait for Message.
1 - 20 of 30 Next ›
Showing 20 items per page