Class 477 config errors
- bearjeje
- Milepost 5
- Posts: 62
- Joined: Sun Apr 26, 2020 8:41 am
- Trainz Version: trainz 2012
- Trainz Build: 61388
- Author KUID: 700453
- Location: south korea
Class 477 config errors
* warning headache *
A: what is happening
B: how to fix it
i was fixing the class 477's Errors and i saw THIS
A: what is happening
B: how to fix it
i was fixing the class 477's Errors and i saw THIS
You do not have the required permissions to view the files attached to this post.
Last edited by Class172 on Sun Jun 14, 2020 8:53 pm, edited 1 time in total.
Reason: Added descriptive topic title
Reason: Added descriptive topic title
Golden arrow
flèche d'or
flèche d'or
- finn09
- Past 100!
- Posts: 139
- Joined: Tue Mar 24, 2020 1:48 am
- Trainz Version: UTC/TS 2010/TS2019
- Trainz Build: 3
- Author KUID: 873873
- Location: Kernow
- Contact:
Re: why....
if you go into CCP it will show up all the errors in red, just delete all of the one showing up red. The once you do that just commit the asset and it should be ok.
Finn
Finn
UTC/Trainz/Trainz 2004/Trainz 2006/Trainz 2009/Trainz 2010/Trainz 2012 - I guess you could say I'm a bit of a fan
my flickr: https://www.flickr.com/photos/187951131@N02/
my flickr: https://www.flickr.com/photos/187951131@N02/
- bearjeje
- Milepost 5
- Posts: 62
- Joined: Sun Apr 26, 2020 8:41 am
- Trainz Version: trainz 2012
- Trainz Build: 61388
- Author KUID: 700453
- Location: south korea
Re: why....
i did it did not help... CCP shown up cleanfinn09 wrote:if you go into CCP it will show up all the errors in red, just delete all of the one showing up red. The once you do that just commit the asset and it should be ok.
Finn
Golden arrow
flèche d'or
flèche d'or
- finn09
- Past 100!
- Posts: 139
- Joined: Tue Mar 24, 2020 1:48 am
- Trainz Version: UTC/TS 2010/TS2019
- Trainz Build: 3
- Author KUID: 873873
- Location: Kernow
- Contact:
Re: why....
ok im not sure then, sorry mate. you might have to get in touch with the creator, they'll be able to help.
Finn
Finn
UTC/Trainz/Trainz 2004/Trainz 2006/Trainz 2009/Trainz 2010/Trainz 2012 - I guess you could say I'm a bit of a fan
my flickr: https://www.flickr.com/photos/187951131@N02/
my flickr: https://www.flickr.com/photos/187951131@N02/
- greeni
- Past 750!
- Posts: 808
- Joined: Sun Dec 12, 2010 5:33 pm
- Trainz Version: TRAINZ22PE
- Trainz Build: 123799
- Author KUID: 174088
- Location: Wigan, Lancashire. WCML
Re: why....
check config file, it looks as if there is brackets open or missing. one of these { }
- Mightyena
- Forum Veteran
- Posts: 1320
- Joined: Wed Jul 11, 2012 8:08 pm
- Trainz Version: T:ANE
- Trainz Build: 105766
- Author KUID: 688183
- Location: London, England
Re: why....
99.9% you're missing a bracket somewhere, which is causing Trainz to interpret the rest of thye config file wrong
James M, creator of the
network
network
- bearjeje
- Milepost 5
- Posts: 62
- Joined: Sun Apr 26, 2020 8:41 am
- Trainz Version: trainz 2012
- Trainz Build: 61388
- Author KUID: 700453
- Location: south korea
Re: Class 477 config errors
left is working one and Right is broken one
You do not have the required permissions to view the files attached to this post.
Golden arrow
flèche d'or
flèche d'or
- Marky7890
- Site Admin
- Posts: 1470
- Joined: Sun Dec 12, 2010 1:57 pm
- Trainz Version: TRS2019
- Trainz Build: 90945
- Author KUID: 179051
- Location: Near Penryn, Cornwall
- Contact:
Re: Class 477 config errors
See if removing the very last closing bracket works. Also I think "codelib" needs to be a number.
Mark
Mark
- bearjeje
- Milepost 5
- Posts: 62
- Joined: Sun Apr 26, 2020 8:41 am
- Trainz Version: trainz 2012
- Trainz Build: 61388
- Author KUID: 700453
- Location: south korea
Re: Class 477 config errors
still not fixed
You do not have the required permissions to view the files attached to this post.
Golden arrow
flèche d'or
flèche d'or
- Mightyena
- Forum Veteran
- Posts: 1320
- Joined: Wed Jul 11, 2012 8:08 pm
- Trainz Version: T:ANE
- Trainz Build: 105766
- Author KUID: 688183
- Location: London, England
Re: Class 477 config errors
There is almost certainly an open bracket with a missing close bracket somewhere, that is making Trainz read the rest of the config file as if it's inside a container. If you have notepad++, you can click on each bracket, and it will automatically highlight the other part of the bracket, allowing you to look through for missing ones. Alternatively, post the entire config.txt here, using the [/code] tags (as in paste the config txt contents inbetween the two tags), and we can look through it, more eyes might spot mistakes faster!
Also @Marky, codelib should probably be left as is. KUID table entries can be named anything you like, the name is arbitrary, and numbers are just used as a sensible default, however if you want to call a dependency using TrainzScript (for example a corona, or texture group), you must refer to it by its name in the KUID table - for example, Eldavo's lightup script requires the corona textures be named "corona_red" and "corona_white" in order to call them for the script, and the destination sign rule requires that if textures are used instead of native text, the texture group be named "destsigntextures" for the same reason. You could rename them, but you'd also have to edit the script to update all the references.
I imagine Andi's superscript probably requires a specific name too, since that dependency is the main Superscript code library, it's probably being invoked by the superstub script, though I don't know for sure.
Code: Select all
[code]
Also @Marky, codelib should probably be left as is. KUID table entries can be named anything you like, the name is arbitrary, and numbers are just used as a sensible default, however if you want to call a dependency using TrainzScript (for example a corona, or texture group), you must refer to it by its name in the KUID table - for example, Eldavo's lightup script requires the corona textures be named "corona_red" and "corona_white" in order to call them for the script, and the destination sign rule requires that if textures are used instead of native text, the texture group be named "destsigntextures" for the same reason. You could rename them, but you'd also have to edit the script to update all the references.
I imagine Andi's superscript probably requires a specific name too, since that dependency is the main Superscript code library, it's probably being invoked by the superstub script, though I don't know for sure.
James M, creator of the
network
network
- bearjeje
- Milepost 5
- Posts: 62
- Joined: Sun Apr 26, 2020 8:41 am
- Trainz Version: trainz 2012
- Trainz Build: 61388
- Author KUID: 700453
- Location: south korea
Re: Class 477 config errors
Code: Select all
kuid <kuid:30051:100505>
username "Class 477 DMSO Articulated - Catepillar Spec"
category-class "LS"
category-region "GB;UK"
category-era "2010s"
kind "traincar"
engine 1
real-engine 1
enginespec <kuid:30051:1138>
interior <kuid:30051:100161>
hornsound <kuid:30051:54000>
enginesound <kuid2:402672:1398:1>
mass 50000
script "Superstub"
class "Superstub"
trainz-build 2.9
light_color 255,255,255
high_beam_value 1,1
low_beam_value 1,1
extensions
{
debug-122285 "1"
}
mesh-table
{
default
{
mesh "body/body.im"
auto-create 1
effects
{
headlight-0
{
kind "corona"
att "a.marker0"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
headlight-2
{
kind "corona"
att "a.marker1"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
headlight-4
{
kind "corona"
att "a.marker2"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
headlight-6
{
kind "corona"
att "a.marker3"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
headlight-8
{
kind "corona"
att "a.marker4"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
taillight-0
{
kind "corona"
att "a.marker0"
texture-kuid <kuid:-3:10112>
object-size 0.1
}
taillight-2
{
kind "corona"
att "a.marker1"
texture-kuid <kuid:-3:10112>
object-size 0.1
}
carriage-number-0
{
kind "name"
att "a.name_left"
fontsize 0.1
fontcolor 0,0,128
name "name"
}
carriage-number-1
{
kind "name"
att "a.name_right"
fontsize 0.1
fontcolor 0,0,128
name "name"
}
front-destination
{
kind "name"
att "a.front_destie"
fontsize 0.05
fontcolor 230,80,0
name "Not In Service"
}
side-destination-0-line-0
{
kind "name"
att "a.destination_L1_0"
fontsize 0.075
fontcolor 230,80,0
name "Sorry"
}
side-destination-0-line-1
{
kind "name"
att "a.destination_L2_0"
fontsize 0.075
fontcolor 230,80,0
name "Not In Service"
}
side-destination-1-line-0
{
kind "name"
att "a.destination_L1_1"
fontsize 0.075
fontcolor 230,80,0
name "Sorry"
}
side-destination-1-line-1
{
kind "name"
att "a.destination_L2_1"
fontsize 0.075
fontcolor 230,80,0
name "Not In Service"
}
side-destination-2-line-0
{
kind "name"
att "a.destination_L1_2"
fontsize 0.075
fontcolor 230,80,0
name "Sorry"
}
side-destination-2-line-1
{
kind "name"
att "a.destination_L2_2"
fontsize 0.075
fontcolor 230,80,0
name "Not In Service"
}
side-destination-3-line-0
{
kind "name"
att "a.destination_L1_3"
fontsize 0.075
fontcolor 230,80,0
name "Sorry"
}
side-destination-3-line-1
{
kind "name"
att "a.destination_L2_3"
fontsize 0.075
fontcolor 230,80,0
name "Not In Service"
}
leftlight-0
{
kind "corona"
att "a.hazard_light_left_01"
texture-kuid <kuid2:76096:10114:2>
object-size 0.18
}
rightlight-0
{
kind "corona"
att "a.hazard_light_right_01"
texture-kuid <kuid2:76096:10114:2>
object-size 0.18
}
leftlight-1
{
kind "corona"
att "a.hazard_light_left_02"
texture-kuid <kuid2:76096:10114:2>
object-size 0.18
}
rightlight-1
{
kind "corona"
att "a.hazard_light_right_02"
texture-kuid <kuid2:76096:10114:2>
object-size 0.18
}
leftlight-2
{
kind "corona"
att "a.doorwell_light_left_0"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
rightlight-2
{
kind "corona"
att "a.doorwell_light_right_0"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
leftlight-3
{
kind "corona"
att "a.doorwell_light_left_1"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
rightlight-3
{
kind "corona"
att "a.doorwell_light_right_1"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
leftlight-4
{
kind "corona"
att "a.doorwell_light_left_2"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
rightlight-4
{
kind "corona"
att "a.doorwell_light_right_2"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
leftlight-5
{
kind "corona"
att "a.doorwell_light_left_3"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
rightlight-5
{
kind "corona"
att "a.doorwell_light_right_3"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
}
}
right-passenger-door
{
mesh "Body/right_doors.im"
anim "Body/right_doors.kin"
auto-create 1
att "a.doors"
att-parent "default"
}
left-passenger-door
{
mesh "Body/left_doors.im"
anim "Body/left_doors.kin"
auto-create 1
att "a.doors"
att-parent "default"
}
soundscript
{
loop
{
distance 10,230
nostartdelay 1
repeat-delay 0,0
volume 3
sound
{
0 "sound/loop.wav"
}
}
}
queues
{
load0
{
size 74
initial-count 0
passenger-queue "1"
allowed-products
{
0 <kuid:-3:10060>
}
attachment-points
{
}
}
}
bogeys
{
0
{
reversed 0
bogey <kuid:30051:174682357>
}
1
{
reversed 1
bogey <kuid:-10:149>
}
2
{
reversed 0
bogey <kuid:30051:50012>
}
}
kuid-table
{
codelib <kuid:122285:508>
0 <kuid:30051:100161>
1 <kuid2:402672:1398:1>
2 <kuid2:116296:105:1>
3 <kuid:30051:1138>
4 <kuid2:76096:10114:2>
5 <kuid:30051:54000>
6 <kuid:-3:10112>
7 <kuid:-3:10060>
8 <kuid:30051:174682357>
9 <kuid:-10:149>
10 <kuid:30051:50012>
}
}
Golden arrow
flèche d'or
flèche d'or
- Nexusdj
- Forum Veteran
- Posts: 3097
- Joined: Sun Dec 12, 2010 3:02 pm
- Trainz Version: TRS22
- Trainz Build: 123794
- Author KUID: 45317
- Location: West Midlands
- Contact:
Re: Class 477 config errors
Try this config , I don't have the 477 installed so I was unable to test it .
The Queue's , bogeys and kuid table entries where set up as sections of the Mesh table when they need to be separate from it .
That meant there was 2 close brackets after the kuid table instead of one . I've also tidied up the spacing .
The Queue's , bogeys and kuid table entries where set up as sections of the Mesh table when they need to be separate from it .
That meant there was 2 close brackets after the kuid table instead of one . I've also tidied up the spacing .
Code: Select all
kuid <kuid:30051:100505>
username "Class 477 DMSO Articulated - Catepillar Spec"
category-class "LS"
category-region "GB;UK"
category-era "2010s"
kind "traincar"
engine 1
real-engine 1
enginespec <kuid:30051:1138>
interior <kuid:30051:100161>
hornsound <kuid:30051:54000>
enginesound <kuid2:402672:1398:1>
mass 50000
script "Superstub"
class "Superstub"
trainz-build 2.9
light_color 255,255,255
high_beam_value 1,1
low_beam_value 1,1
extensions
{
debug-122285 "1"
}
mesh-table
{
default
{
mesh "body/body.im"
auto-create 1
effects
{
headlight-0
{
kind "corona"
att "a.marker0"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
headlight-2
{
kind "corona"
att "a.marker1"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
headlight-4
{
kind "corona"
att "a.marker2"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
headlight-6
{
kind "corona"
att "a.marker3"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
headlight-8
{
kind "corona"
att "a.marker4"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
taillight-0
{
kind "corona"
att "a.marker0"
texture-kuid <kuid:-3:10112>
object-size 0.1
}
taillight-2
{
kind "corona"
att "a.marker1"
texture-kuid <kuid:-3:10112>
object-size 0.1
}
carriage-number-0
{
kind "name"
att "a.name_left"
fontsize 0.1
fontcolor 0,0,128
name "name"
}
carriage-number-1
{
kind "name"
att "a.name_right"
fontsize 0.1
fontcolor 0,0,128
name "name"
}
front-destination
{
kind "name"
att "a.front_destie"
fontsize 0.05
fontcolor 230,80,0
name "Not In Service"
}
side-destination-0-line-0
{
kind "name"
att "a.destination_L1_0"
fontsize 0.075
fontcolor 230,80,0
name "Sorry"
}
side-destination-0-line-1
{
kind "name"
att "a.destination_L2_0"
fontsize 0.075
fontcolor 230,80,0
name "Not In Service"
}
side-destination-1-line-0
{
kind "name"
att "a.destination_L1_1"
fontsize 0.075
fontcolor 230,80,0
name "Sorry"
}
side-destination-1-line-1
{
kind "name"
att "a.destination_L2_1"
fontsize 0.075
fontcolor 230,80,0
name "Not In Service"
}
side-destination-2-line-0
{
kind "name"
att "a.destination_L1_2"
fontsize 0.075
fontcolor 230,80,0
name "Sorry"
}
side-destination-2-line-1
{
kind "name"
att "a.destination_L2_2"
fontsize 0.075
fontcolor 230,80,0
name "Not In Service"
}
side-destination-3-line-0
{
kind "name"
att "a.destination_L1_3"
fontsize 0.075
fontcolor 230,80,0
name "Sorry"
}
side-destination-3-line-1
{
kind "name"
att "a.destination_L2_3"
fontsize 0.075
fontcolor 230,80,0
name "Not In Service"
}
leftlight-0
{
kind "corona"
att "a.hazard_light_left_01"
texture-kuid <kuid2:76096:10114:2>
object-size 0.18
}
rightlight-0
{
kind "corona"
att "a.hazard_light_right_01"
texture-kuid <kuid2:76096:10114:2>
object-size 0.18
}
leftlight-1
{
kind "corona"
att "a.hazard_light_left_02"
texture-kuid <kuid2:76096:10114:2>
object-size 0.18
}
rightlight-1
{
kind "corona"
att "a.hazard_light_right_02"
texture-kuid <kuid2:76096:10114:2>
object-size 0.18
}
leftlight-2
{
kind "corona"
att "a.doorwell_light_left_0"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
rightlight-2
{
kind "corona"
att "a.doorwell_light_right_0"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
leftlight-3
{
kind "corona"
att "a.doorwell_light_left_1"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
rightlight-3
{
kind "corona"
att "a.doorwell_light_right_1"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
leftlight-4
{
kind "corona"
att "a.doorwell_light_left_2"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
rightlight-4
{
kind "corona"
att "a.doorwell_light_right_2"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
leftlight-5
{
kind "corona"
att "a.doorwell_light_left_3"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
rightlight-5
{
kind "corona"
att "a.doorwell_light_right_3"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
}
}
right-passenger-door
{
mesh "Body/right_doors.im"
anim "Body/right_doors.kin"
auto-create 1
att "a.doors"
att-parent "default"
}
left-passenger-door
{
mesh "Body/left_doors.im"
anim "Body/left_doors.kin"
auto-create 1
att "a.doors"
att-parent "default"
}
soundscript
{
loop
{
distance 10,230
nostartdelay 1
repeat-delay 0,0
volume 3
sound
{
0 "sound/loop.wav"
}
}
}
}
queues
{
passengers
{
size 74
initial-count 0
passenger-queue "1"
allowed-products
{
0 <kuid:-3:10060>
}
}
}
bogeys
{
0
{
reversed 0
bogey <kuid:30051:174682357>
}
1
{
reversed 1
bogey <kuid:-10:149>
}
2
{
reversed 0
bogey <kuid:30051:50012>
}
}
kuid-table
{
codelib <kuid:122285:508>
0 <kuid:30051:100161>
1 <kuid2:402672:1398:1>
2 <kuid2:116296:105:1>
3 <kuid:30051:1138>
4 <kuid2:76096:10114:2>
5 <kuid:30051:54000>
6 <kuid:-3:10112>
7 <kuid:-3:10060>
8 <kuid:30051:174682357>
9 <kuid:-10:149>
10 <kuid:30051:50012>
}
High visibility pixels must be worn when on or about the line !!
- bearjeje
- Milepost 5
- Posts: 62
- Joined: Sun Apr 26, 2020 8:41 am
- Trainz Version: trainz 2012
- Trainz Build: 61388
- Author KUID: 700453
- Location: south korea
Re: Class 477 config errors
http://www.wessexelectricnut.co.uk/wip/ ... ntent.html
here is where broken class 477 is from
here is where broken class 477 is from
Golden arrow
flèche d'or
flèche d'or
- bearjeje
- Milepost 5
- Posts: 62
- Joined: Sun Apr 26, 2020 8:41 am
- Trainz Version: trainz 2012
- Trainz Build: 61388
- Author KUID: 700453
- Location: south korea
Re: Class 477 config errors
well that didn't worked it came up red but kinda[?] fixedNexusdj wrote:Try this config , I don't have the 477 installed so I was unable to test it .
The Queue's , bogeys and kuid table entries where set up as sections of the Mesh table when they need to be separate from it .
That meant there was 2 close brackets after the kuid table instead of one . I've also tidied up the spacing .
Code: Select all
kuid <kuid:30051:100505> username "Class 477 DMSO Articulated - Catepillar Spec" category-class "LS" category-region "GB;UK" category-era "2010s" kind "traincar" engine 1 real-engine 1 enginespec <kuid:30051:1138> interior <kuid:30051:100161> hornsound <kuid:30051:54000> enginesound <kuid2:402672:1398:1> mass 50000 script "Superstub" class "Superstub" trainz-build 2.9 light_color 255,255,255 high_beam_value 1,1 low_beam_value 1,1 extensions { debug-122285 "1" } mesh-table { default { mesh "body/body.im" auto-create 1 effects { headlight-0 { kind "corona" att "a.marker0" texture-kuid <kuid2:116296:105:1> object-size 0.1 } headlight-2 { kind "corona" att "a.marker1" texture-kuid <kuid2:116296:105:1> object-size 0.1 } headlight-4 { kind "corona" att "a.marker2" texture-kuid <kuid2:116296:105:1> object-size 0.1 } headlight-6 { kind "corona" att "a.marker3" texture-kuid <kuid2:116296:105:1> object-size 0.1 } headlight-8 { kind "corona" att "a.marker4" texture-kuid <kuid2:116296:105:1> object-size 0.1 } taillight-0 { kind "corona" att "a.marker0" texture-kuid <kuid:-3:10112> object-size 0.1 } taillight-2 { kind "corona" att "a.marker1" texture-kuid <kuid:-3:10112> object-size 0.1 } carriage-number-0 { kind "name" att "a.name_left" fontsize 0.1 fontcolor 0,0,128 name "name" } carriage-number-1 { kind "name" att "a.name_right" fontsize 0.1 fontcolor 0,0,128 name "name" } front-destination { kind "name" att "a.front_destie" fontsize 0.05 fontcolor 230,80,0 name "Not In Service" } side-destination-0-line-0 { kind "name" att "a.destination_L1_0" fontsize 0.075 fontcolor 230,80,0 name "Sorry" } side-destination-0-line-1 { kind "name" att "a.destination_L2_0" fontsize 0.075 fontcolor 230,80,0 name "Not In Service" } side-destination-1-line-0 { kind "name" att "a.destination_L1_1" fontsize 0.075 fontcolor 230,80,0 name "Sorry" } side-destination-1-line-1 { kind "name" att "a.destination_L2_1" fontsize 0.075 fontcolor 230,80,0 name "Not In Service" } side-destination-2-line-0 { kind "name" att "a.destination_L1_2" fontsize 0.075 fontcolor 230,80,0 name "Sorry" } side-destination-2-line-1 { kind "name" att "a.destination_L2_2" fontsize 0.075 fontcolor 230,80,0 name "Not In Service" } side-destination-3-line-0 { kind "name" att "a.destination_L1_3" fontsize 0.075 fontcolor 230,80,0 name "Sorry" } side-destination-3-line-1 { kind "name" att "a.destination_L2_3" fontsize 0.075 fontcolor 230,80,0 name "Not In Service" } leftlight-0 { kind "corona" att "a.hazard_light_left_01" texture-kuid <kuid2:76096:10114:2> object-size 0.18 } rightlight-0 { kind "corona" att "a.hazard_light_right_01" texture-kuid <kuid2:76096:10114:2> object-size 0.18 } leftlight-1 { kind "corona" att "a.hazard_light_left_02" texture-kuid <kuid2:76096:10114:2> object-size 0.18 } rightlight-1 { kind "corona" att "a.hazard_light_right_02" texture-kuid <kuid2:76096:10114:2> object-size 0.18 } leftlight-2 { kind "corona" att "a.doorwell_light_left_0" texture-kuid <kuid2:116296:105:1> object-size 0.1 } rightlight-2 { kind "corona" att "a.doorwell_light_right_0" texture-kuid <kuid2:116296:105:1> object-size 0.1 } leftlight-3 { kind "corona" att "a.doorwell_light_left_1" texture-kuid <kuid2:116296:105:1> object-size 0.1 } rightlight-3 { kind "corona" att "a.doorwell_light_right_1" texture-kuid <kuid2:116296:105:1> object-size 0.1 } leftlight-4 { kind "corona" att "a.doorwell_light_left_2" texture-kuid <kuid2:116296:105:1> object-size 0.1 } rightlight-4 { kind "corona" att "a.doorwell_light_right_2" texture-kuid <kuid2:116296:105:1> object-size 0.1 } leftlight-5 { kind "corona" att "a.doorwell_light_left_3" texture-kuid <kuid2:116296:105:1> object-size 0.1 } rightlight-5 { kind "corona" att "a.doorwell_light_right_3" texture-kuid <kuid2:116296:105:1> object-size 0.1 } } } right-passenger-door { mesh "Body/right_doors.im" anim "Body/right_doors.kin" auto-create 1 att "a.doors" att-parent "default" } left-passenger-door { mesh "Body/left_doors.im" anim "Body/left_doors.kin" auto-create 1 att "a.doors" att-parent "default" } soundscript { loop { distance 10,230 nostartdelay 1 repeat-delay 0,0 volume 3 sound { 0 "sound/loop.wav" } } } } queues { passengers { size 74 initial-count 0 passenger-queue "1" allowed-products { 0 <kuid:-3:10060> } } } bogeys { 0 { reversed 0 bogey <kuid:30051:174682357> } 1 { reversed 1 bogey <kuid:-10:149> } 2 { reversed 0 bogey <kuid:30051:50012> } } kuid-table { codelib <kuid:122285:508> 0 <kuid:30051:100161> 1 <kuid2:402672:1398:1> 2 <kuid2:116296:105:1> 3 <kuid:30051:1138> 4 <kuid2:76096:10114:2> 5 <kuid:30051:54000> 6 <kuid:-3:10112> 7 <kuid:-3:10060> 8 <kuid:30051:174682357> 9 <kuid:-10:149> 10 <kuid:30051:50012> }
You do not have the required permissions to view the files attached to this post.
Golden arrow
flèche d'or
flèche d'or
- Mightyena
- Forum Veteran
- Posts: 1320
- Joined: Wed Jul 11, 2012 8:08 pm
- Trainz Version: T:ANE
- Trainz Build: 105766
- Author KUID: 688183
- Location: London, England
Re: Class 477 config errors
The soundscript container is still inside the mesh table. Try this:
Code: Select all
kuid <kuid:30051:100505>
username "Class 477 DMSO Articulated - Catepillar Spec"
category-class "LS"
category-region "GB;UK"
category-era "2010s"
kind "traincar"
engine 1
real-engine 1
enginespec <kuid:30051:1138>
interior <kuid:30051:100161>
hornsound <kuid:30051:54000>
enginesound <kuid2:402672:1398:1>
mass 50000
script "Superstub"
class "Superstub"
trainz-build 2.9
light_color 255,255,255
high_beam_value 1,1
low_beam_value 1,1
extensions
{
debug-122285 "1"
}
mesh-table
{
default
{
mesh "body/body.im"
auto-create 1
effects
{
headlight-0
{
kind "corona"
att "a.marker0"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
headlight-2
{
kind "corona"
att "a.marker1"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
headlight-4
{
kind "corona"
att "a.marker2"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
headlight-6
{
kind "corona"
att "a.marker3"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
headlight-8
{
kind "corona"
att "a.marker4"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
taillight-0
{
kind "corona"
att "a.marker0"
texture-kuid <kuid:-3:10112>
object-size 0.1
}
taillight-2
{
kind "corona"
att "a.marker1"
texture-kuid <kuid:-3:10112>
object-size 0.1
}
carriage-number-0
{
kind "name"
att "a.name_left"
fontsize 0.1
fontcolor 0,0,128
name "name"
}
carriage-number-1
{
kind "name"
att "a.name_right"
fontsize 0.1
fontcolor 0,0,128
name "name"
}
front-destination
{
kind "name"
att "a.front_destie"
fontsize 0.05
fontcolor 230,80,0
name "Not In Service"
}
side-destination-0-line-0
{
kind "name"
att "a.destination_L1_0"
fontsize 0.075
fontcolor 230,80,0
name "Sorry"
}
side-destination-0-line-1
{
kind "name"
att "a.destination_L2_0"
fontsize 0.075
fontcolor 230,80,0
name "Not In Service"
}
side-destination-1-line-0
{
kind "name"
att "a.destination_L1_1"
fontsize 0.075
fontcolor 230,80,0
name "Sorry"
}
side-destination-1-line-1
{
kind "name"
att "a.destination_L2_1"
fontsize 0.075
fontcolor 230,80,0
name "Not In Service"
}
side-destination-2-line-0
{
kind "name"
att "a.destination_L1_2"
fontsize 0.075
fontcolor 230,80,0
name "Sorry"
}
side-destination-2-line-1
{
kind "name"
att "a.destination_L2_2"
fontsize 0.075
fontcolor 230,80,0
name "Not In Service"
}
side-destination-3-line-0
{
kind "name"
att "a.destination_L1_3"
fontsize 0.075
fontcolor 230,80,0
name "Sorry"
}
side-destination-3-line-1
{
kind "name"
att "a.destination_L2_3"
fontsize 0.075
fontcolor 230,80,0
name "Not In Service"
}
leftlight-0
{
kind "corona"
att "a.hazard_light_left_01"
texture-kuid <kuid2:76096:10114:2>
object-size 0.18
}
rightlight-0
{
kind "corona"
att "a.hazard_light_right_01"
texture-kuid <kuid2:76096:10114:2>
object-size 0.18
}
leftlight-1
{
kind "corona"
att "a.hazard_light_left_02"
texture-kuid <kuid2:76096:10114:2>
object-size 0.18
}
rightlight-1
{
kind "corona"
att "a.hazard_light_right_02"
texture-kuid <kuid2:76096:10114:2>
object-size 0.18
}
leftlight-2
{
kind "corona"
att "a.doorwell_light_left_0"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
rightlight-2
{
kind "corona"
att "a.doorwell_light_right_0"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
leftlight-3
{
kind "corona"
att "a.doorwell_light_left_1"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
rightlight-3
{
kind "corona"
att "a.doorwell_light_right_1"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
leftlight-4
{
kind "corona"
att "a.doorwell_light_left_2"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
rightlight-4
{
kind "corona"
att "a.doorwell_light_right_2"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
leftlight-5
{
kind "corona"
att "a.doorwell_light_left_3"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
rightlight-5
{
kind "corona"
att "a.doorwell_light_right_3"
texture-kuid <kuid2:116296:105:1>
object-size 0.1
}
}
}
right-passenger-door
{
mesh "Body/right_doors.im"
anim "Body/right_doors.kin"
auto-create 1
att "a.doors"
att-parent "default"
}
left-passenger-door
{
mesh "Body/left_doors.im"
anim "Body/left_doors.kin"
auto-create 1
att "a.doors"
att-parent "default"
}
}
soundscript
{
loop
{
distance 10,230
nostartdelay 1
repeat-delay 0,0
volume 3
sound
{
0 "sound/loop.wav"
}
}
}
queues
{
passengers
{
size 74
initial-count 0
passenger-queue "1"
allowed-products
{
0 <kuid:-3:10060>
}
}
}
bogeys
{
0
{
reversed 0
bogey <kuid:30051:174682357>
}
1
{
reversed 1
bogey <kuid:-10:149>
}
2
{
reversed 0
bogey <kuid:30051:50012>
}
}
kuid-table
{
codelib <kuid:122285:508>
0 <kuid:30051:100161>
1 <kuid2:402672:1398:1>
2 <kuid2:116296:105:1>
3 <kuid:30051:1138>
4 <kuid2:76096:10114:2>
5 <kuid:30051:54000>
6 <kuid:-3:10112>
7 <kuid:-3:10060>
8 <kuid:30051:174682357>
9 <kuid:-10:149>
10 <kuid:30051:50012>
}
James M, creator of the
network
network