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.