Skip to main content

Home/ trainz/ Group items tagged ai

Rss Feed Group items tagged

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

the White Pebble Rapids Rail Road, Narrow gauge railroad in Ontario, Canada. [howto page] - 0 views

shared by steve t on 24 Feb 09 - Cached
  •  
    How to use Topo Maps in Trainz by colorado71 A. USING OF GLOBAL MAPPER 1. Configuration of Global Mapper Install Global Mapper on your computer. Download custom_shaders rar from http://trainz.uv.ro/tutorial/files/custom_shaders.rar Unpack the archive and copy the file custom_shaders.txt in the installation folder of Global Mapper. Run Global Mapper and select the option spectrum_trainz from "shader" bar on the program's tool bar. 2. Georeference your topo map Select the map (scanned map, satellite image, topo map etc.) you want to reproduce in trainz. You must know the geographical coordinates (latitude and longitude) of two points on it, so you can georeference it with Global Mapper. From the File Menu of Global Mapper select "Rectify (Georeference) Imagery" click OK and select your image. Open it and the dialog box "Image Rectifier" will appear. Zoom the image over the first point of which coordinates you know, select it, insert its latitudinal and longitudinal position as __/__/___ (for example 21/38/45) and press "add GCP to list." Proceed in the same manner with the second point. Save the image as GeoTIFF. 3. Select your future trainz map a) Open the map thus created with GlobalMapper. From the File Menu select "Export Raster and Elevation Data" - "Export GeoTIFF." In the dialog box which appear select "Export Bounds" and press "Draw a Box." Select the area of your future trainz map and save it as GeoTIFF. b) From the File Menu select "Download Online Imagery/Topo/Terrain Maps" (or simple open the DEM map for the area of your image map). Select the server from which you want to download the digital elevation map (http://seamless.usgs.gov/ or http://srtm.csi.cgiar.org/ for example) and then press OK. From the File Menu select "Export Raster and Elevation Data" - "Export DEM," then select "Export Bounds" in the dialog box, and finally, press "Reset to Last Exported Bounds." B. USING OF MICRODEM 1.
steve t

AI and switches - Trainz Discussion Forums - 0 views

  •  
    Two important things you need to do are A) Decide which is the busiest line or at least the one you are most likely to drive manually on.Set the points so that the AI doesn"t have to change them when a train goes from A to B.This is known on the real railways as the points "lying NORMAL" for the Main Line.B) When the AI has a problem driving over a piece of track hover your cursor over the signal before the problem and it'll tell you whats wrong, e.g. "The line ahead is unsignalled".What you have to do here is tinsert a signal before the next signal and that should sort it...
steve t

Can a scenario be created WITHOUT the ability for drivers to control trains? - Trainz D... - 0 views

  •  
    The route can be modified if you do want to sit back and watch it all happen under programmed AI. All that you need to do is start at one extremity of the AI route. I'd suggest at Portal cH:
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

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

Shunt signals - Trainz Discussion Forums - 0 views

  • For Trainz AI control of shunting moves it's no so much the signalling as the use of Trackmarks and Driver commands such as "Drive to Trackmark" and "Couple at Trackmark" that you need to look at. You may also need to use invisible signals to help the AI.
steve t

Single line running token rule?? - Page 2 - Trainz Discussion Forums - 0 views

  • under TRS04 and 06 , I often use 'ControlDiamCross' <kuid:131986:1036> as a Block Token, the train takes the 'token' and conflicting signals are set to red so preventing AI from entering the single line, once the train has passed the exit trackmark, it releases the 'token' and allows the next train to take possesion of the 'token' and proceed onto the single line. The request for the token can be achieved automatically by using the 'Schedule at trackmark' rule <kuid2:61392:2001:4>. This rule can insert the command to ask for the 'token' when passing a specific trackmark, before proceeding with next command. Another possibility is the 'Path' rule which can exclusively set the entry and exit of the single line and in doing so, automatically block AI until the path is free again.
steve t

Good AI Routes? - Trainz Discussion Forums - 0 views

  • Any one know of some decent AI friendly routes to download?
steve t

Driver AI - what are they thinking? - Trainz Discussion Forums - 0 views

  • I have examined the source, that is the config files for the Drive and Navigate Commands in both TRS 2006 and 2009 and pasted the descriptions below. Please NOTE that the 2006 Drive commands are renamed the Navigate commands in 2009 (the KUID's are the same
steve t

Saving trackmark sequences? - Trainz Discussion Forums - 0 views

  • In the schedule Library rule you give a name to the first schedule then place all the driver commands for that section of the route you want it to take. This includes all industry or stations plus trackmarks. (Make sure you have the drive via or drive to trackmark commands ticked in the driver command rule) Select the next/add schedule give it another name etc etc. One of the driver commands is copy commands from. Place this in your selected train, even ones created in a portal, and you will get a second menu appear with amend or insert. Highlight one and another screen appears which you select to copy from another train or from the library. Pick Library and you get a list of all the routes you put into it. When AI gets this command he will then follow the route in the library.
steve t

Editing the Driver schedule while in session - Trainz Discussion Forums - 0 views

  • I have setup one of my AI drivers to drive a schedule which consists on "coupling" to freight car and then driving to the freight car then hauling to to unload and then i have it set to repeat. My question: Is there away or a rule to remove the "couple" command from the schedule during the session., besides doing it manually?
  • I would set up in the schedule library two sets of commands: the first with the couple/uncouple command and the second one omitting it. Use the 'copy commands from' and insert the first library command, then 'enable repeat' and then finally the second library command. What this does is the first time the train will perform the couple/uncouple action and then in the future repeats of the route this action will not be performed.
steve t

AI Sorting yard. How? - Trainz Discussion Forums - 0 views

  • Hi PikeWake, Yes it is possible so long as you have enough patience, it will take quite a lot of commands. Extra commands you will need are "Couple At Trackmark" kuid 57145 81100 "UcouplezFrom" kuid 66277 80005 "Uncouplez" kuid 66277 80000"Hornz" kuid 66277 80001 You will also need trackmarks on each siding both the pick up sidings and the drop off sidings and one on the main exit line.
  • Bill69 has already said what is needed. You need to add to the track two trackmarks, one at the buffer end (not to near the buffer as the buffer stop will effect it) and one just inside the junction. Do this for each spur and name the trackmarks (say 101B at buffer end and 101J for junction end). Commands would be :- couple at trackmark 101J uncouplez from two couple at trackmark 102J uncouplez from four couple at trackmark 103J uncouplez from six drive to trackmark 001B uncouplez Then repeat the above using the names of the next spur.
steve t

Help with AI commands please!!! - Trainz Discussion Forums - 0 views

  • If the invisible signal idea does not work try the command 'couple to vehicle in front/behind signal'. You will have to name/number the signal, so you will have as commands, drive to t/mark/wait for 30 secs,uncouplez vehicle 1or2,drive to t/mark {this is to allow the engine to get to a set of points}, couple to vehicle front/behind signal. I know it's long winded but if your at a station or use it a lot at the same place you can put the set of commands in a schedule library and give the copy commands from library {run round}. one command and all the ones you have saved under that name are followed. __________________
steve t

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

  • 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,
  • Have you told a driver to move to the loco or given the loco a driver in surveyor? The usual problem if a schedule does not start is because there is no driver in the loco. The repeat command cannot cause the loco to go in reverse unless the fist command destination is behind the train. But if you have a loop track you will require at least three trackmarks spaced around the loop to keep the train going in the right direction.
steve t

random portal train selection - Trainz Discussion Forums - 0 views

  • Well yes. Central Portal Control lets the portal select a consist at random from a list that you provide when setting up the portal instructions. It will also emit in sequence if you so desire. I've found that the tricky part is setting up the path for the AI train to follow - it also becomes incredibly tedious if a large number of track marks are used to describe the patch.
steve t

Copying and pasting the PATH of AI trainz? - Trainz Discussion Forums - 0 views

  • Search for "copy" on the DLS and you find the Copy Commands From (KUID2:192081:1:6). Search for "schedule" and you will find the Schedule Library (KUID2:192081:12:4) along with a few others that may interest you. Make sure that TRS2004 is ticked under the Trainz Versions. Hope that is what you were looking for.
  • For those interested, I downloaded "Copy Commands From" and "Schedule Library" from the Download Station into TRS2009. In Surveyor, open "Edit Sessions Rules" (top left of screen, looks like #), select "Driver Command" from the menu, then Edit. Place a tick against "Copy Commands From". Close this menu. Now click "Add", and add "Schedule Library". Select this and set up the path as as for a normal portal. Give it a name, eg Path1 I'm using Central Portal Control (because it will emit a consist immediately). Open Central Portal Control. Add a consist and driver. Now for the path select Copy Command/Insert/from Library/Path1. Repeat for other consists from this portal. Easy !~! The same procedure can be used for a portal (Surveyor, "?", click on portal) if Central Portal Control is not used. Thanks again. Phil
1 - 20 of 30 Next ›
Showing 20 items per page