The problem in TS10 is the incorrect errorchecking in ContentManager. For the trackoffsets entry exactly 2 values are required by CM 3.3 instead or an unlimited list of values. This behavior is defined in the file <InstallFolder>\bin\TETData\kind.txt .
Here is a comparison of the definition for a bridge in CM 3.3 (green) compared to CM 3.7 (red):
vector2 = exactly 2 values
floatlist = comma separated list of 1 ore more values
compulsory 1 = required (for trainz-build 2.9 or higher)
compulsory 3.4 = required for trainz-build 3.4 or higher
Peter
Here is a comparison of the definition for a bridge in CM 3.3 (green) compared to CM 3.7 (red):
Code:
bridge
{
top-level 1
icon bridge
inherit
{
itrack
base-asset
}
kind "Structure"
subpossibilities
{
kind
{
kind value
type string
compulsory [COLOR=#00ff00]1[/COLOR] [COLOR=#ff0000]3.4[/COLOR]
default "bridge"
filter "bridge"
disabled 1
}
bridgetrack
{
kind value
type kuidbrowser
filter "bridge"
compulsory [COLOR=#00ff00]1[/COLOR] [COLOR=#ff0000]3.4[/COLOR]
default <KUID:-3:10049>
category "TK|SPLN"
}
height
{
kind value
type float
compulsory [COLOR=#00ff00]1[/COLOR] [COLOR=#ff0000]3.4[/COLOR]
default -8
}
trackoffsets
{
kind value
type [COLOR=#00ff00]vector2[/COLOR] [COLOR=#ff0000]floatlist[/COLOR]
compulsory [COLOR=#00ff00]1[/COLOR] [COLOR=#ff0000]3.4[/COLOR]
default -2.5,2.5
}
trackdirections
{
kind value
type[COLOR=#00ff00] vector2[/COLOR] [COLOR=#ff0000]floatlist[/COLOR]
compulsory [COLOR=#00ff00]1[/COLOR] 3.4
default 1,1
}
}
}
floatlist = comma separated list of 1 ore more values
compulsory 1 = required (for trainz-build 2.9 or higher)
compulsory 3.4 = required for trainz-build 3.4 or higher
Peter
Last edited: