Creating A New Rule

Kris94

Banned
I need some help in trying to create a new rule for TS 2009 World Builder Edition. The name of the rule is Honk Horn A Train Crossing. If anybody knows how to create rules used in surveyor and driver let me know because I need your help, thank you.
 
Trainz Rules are applications of scripted assets using Auran's Game Script (GS), a programming language similar to C/C++ and Java. Auran had an API guide for using the GS language but my link to it is broken. I have a separate thread in General Trainz asking about its location.

Bob
 
Kris, look in track- then track objects, and you will find signs, notvisible in driver, which tell the 'AI' to sound the horn in the specified place. I found that this item saved me a lot of scripting.Good luck
 
I have used these signs for the AI to sound the horn, but unfortunately they only give a short blast of the horn. Is there any way to have the AI properly sound the horn and bell at grade crossings?
 
The scripts used to sound the horn do not generally support a prolonged blast, like you get from the keyboard.
 
Kris, look in track- then track objects, and you will find signs, notvisible in driver, which tell the 'AI' to sound the horn in the specified place. I found that this item saved me a lot of scripting.Good luck

could you plz mention the name of that object
 
Back
Top