Misc Trainz Scripts for Auran's TRS2004 Railroad Simulation

 
 
 
I plan to post here some scripts I've been working on for Auran's TRS2004 Train simulator. They can be used as is or modified in whole or in part as long as credit is given for the original work except they may not be used or distributed with payware items in any form.

Any and all questions, comments, suggestions and bug reports are welcomed. Please respond to:

Bob Pearson

treborp@prodigy.net

 
 
 
DieselFuelLoco.gs - The 1st one is a script to make any diesel locomotive into a diesel fuel consuming locomotive.

Currently the only documentation is in the comments in the script. However you should edit the top part of the script containing the constant definitions and set the bool value to enable or disable the fuel system on startup in surveyor and the horsepower defined constant based on the info contained in the script. The fuel rate "compression" value can be modified in the script and/or set in surveyor. Reference the script and class in the usual way in the loco's config file and place a copy of the script in the loco's directory.

Download the script here. (DieselFuelLoco.zip)


When adding the fuel queue to the loco's config remember the size is the capacity in liters. Either Auran's default diesel fuel or Phil Cambell's diesel locomotive fuel can be used. Here's a sample of the changes required to be added to the loco's config file. As specified Auran's default fuel will be used but the config can be changed or the starting fuel changed in surveyor:

 
 
 
script				"DieselFuelLoco"
class				"DieselFuelLoco"
queues {
	load-diesel
	{
          size	1900
	  initial-count  1260
	  product-kuid   <kuid:-3:10011>
	  allowed-products {
				0	<kuid:-3:10011>
				1	<kuid:86105:60600>
				}
	}
}
 
 

TRAINZ
 
 
 

  HOME     CAOS A Scenario Editor for AOS2     CAOS Screen shots     Trainz - EBT Project 2     Steam TE Curves     Cadrail to Trainz     Understanding Steam in Trainz     Track for the EBT Project