CDE Trainz
Powered by CDESystems.com
Sign In|Create Account|Cart (0)
< Back
Trainz Misc Asset
CDE XING Script Library
<kuid:647907:103257>
Minimum Trainz Version: TS12
Date Released: May 15 2023
File Size: 25.24 KB
Freeware Available on DLS
 
Asset Description

There are two scripts in the library asset;

  • cde_usaxstub_v32.gs
  • cde_usaxstub_v32_nrc.gs

There is also a script called emptylib.gs which is needed for the compiler to believe this is a library asset.


Your Asset

Create a script called blank.gs and add these two lines to it depending if you are setting up a crossing or a non-rail crossing (NRC), which uses the ATLS system.

include "cde_usaxstub_v32.gs"
class blank isclass CDE_USAXStub {};

-or-

include "cde_usaxstub_v32_nrc.gs"
class blank isclass CDE_USAXStub_NRC {};

In the config.txt file of your asset, change the lines as noted;

script                                  "blank"
class                                   "blank"

In the config.txt, add this;

script-include-table
{
  a-key                                 <kuid:647907:103257>
}

Also add the kuid to the end of your kuid table making sure the list is in number order. Example;

kuid-table
{
  0
  1
  2
  3
  4                                        <kuid:647907:103257>
}

Delete the original script in your asset. It would also be advised you backup everything before attempting any of this.



Trainz Asset Preview Image

TS12 = Trainz Simulator 12
TANE = Trainz A New Era
TMR17 = Trainz Model Railroad 2017
TRS19 = Trainz Railroad Simulator 2019
TRS22 = Trainz Railroad Simulator 2022
Powered by CDESystems.com
Trainz Forum Members: Christopher824 RockyRR
Copyright © 1989-2024, Christopher J Donini, All Rights Reserved.