O
Orloldman
Guest
I am working on some passenger cars that I am trying to fix for use in TS2010. I am getting the following errors that I don't really understand.
Error: The Tag 'number_low' is not permitted within a container of type 'traincar'.
Error: The Tag 'number_high' is not permitted within a container of type 'traincar'.
I believe these numbers are ones that would show up on the side of the car in Trainz and that the "low" is the starting point and "high" is the end point of the number run.
If so, I have no idea how the config file should read so that these errors are corrected and the numbers still work. The following is a copy of a part of the config file for one of the assets. Any help/guidance on how to repair this would be greatly appreciated!
-------------------------------------------------
kuid <kuid2:58843:204:1>
bogey <kuid:58843:50010>
script "controls"
class "PRRb60"
engine 0
enginespec <kuid:-1:42004201>
trainz-build 2
category-class "PB"
category-region-0 "US"
category-era-0 "1920s"
category-era-1 "1930s"
category-era-2 "1940s"
category-era-3 "1950s"
category-era-4 "1960s"
number_low "6624"
number_high "6650"
mesh-table
{
default
{
mesh "PRR_B60_Baggage_body/PRR_B60_Baggage_body.im"
auto-create 1
effects
{
number_left
{
kind "name"
att "a.numleft"
fontsize 0.15
fontcolor 159,135,66
name
}
number_right
{
kind "name"
att "a.numright"
fontsize 0.15
fontcolor 159,135,66
name
}
}
}
shadow
{
mesh "PRR_B60_Baggage_shadow/PRR_B60_Baggage_shadow.pm"
}
}
Error: The Tag 'number_low' is not permitted within a container of type 'traincar'.
Error: The Tag 'number_high' is not permitted within a container of type 'traincar'.
I believe these numbers are ones that would show up on the side of the car in Trainz and that the "low" is the starting point and "high" is the end point of the number run.
If so, I have no idea how the config file should read so that these errors are corrected and the numbers still work. The following is a copy of a part of the config file for one of the assets. Any help/guidance on how to repair this would be greatly appreciated!
-------------------------------------------------
kuid <kuid2:58843:204:1>
bogey <kuid:58843:50010>
script "controls"
class "PRRb60"
engine 0
enginespec <kuid:-1:42004201>
trainz-build 2
category-class "PB"
category-region-0 "US"
category-era-0 "1920s"
category-era-1 "1930s"
category-era-2 "1940s"
category-era-3 "1950s"
category-era-4 "1960s"
number_low "6624"
number_high "6650"
mesh-table
{
default
{
mesh "PRR_B60_Baggage_body/PRR_B60_Baggage_body.im"
auto-create 1
effects
{
number_left
{
kind "name"
att "a.numleft"
fontsize 0.15
fontcolor 159,135,66
name
}
number_right
{
kind "name"
att "a.numright"
fontsize 0.15
fontcolor 159,135,66
name
}
}
}
shadow
{
mesh "PRR_B60_Baggage_shadow/PRR_B60_Baggage_shadow.pm"
}
}