PDA

View Full Version : Missing kuidís and the kuid-table entries?



gremlin1812
July 31st, 2010, 12:11 AM
GíDay All, I have found quite a few assets with kuidís missing but the missing kuid only appears in itís kuid-table.
I think (please correct me if I am wrong) that if a kuid is not referenced in the config.txt file other than in the kuid-table then it is not required.
The only exceptions I can think of would be routes, sessions and scenarios.
An example is as follows with the errant item in red:-

kuid <kuid:67261:5>
origin "AUS"
bogey-r <kuid:67261:50015>
bogey-1-r <kuid:67261:50014>
interior <kuid:67261:55510>
fonts 0
engine 1
name "36ng RGS Goose no 2"
mass 10300
company "med"
enginespec <kuid:-1:42004202>
enginesound <kuid:-1:42003001>
hornsound <kuid:67261:54005>
running-numbers {
rn-0 "# "
}
description "RGS_Goose_2"
trainz-build 1.3
category-class "AT"
category-region-0 "US"
category-era-0 "1940s"
category-era-1 "1930s"
obsolete-table {
}
asset-filename "goose2"
username "RGS_goose_2"
thumbnail
author ""
organisation ""
contact-email ""
contact-website "
"
license ""
kind "traincar"
kuid-table {
0 <kuid:-1:42004202>
1 <kuid:-1:42003001>
2 <kuid:67261:54005>
3 <kuid:67261:5>
4 <kuid:67261:50006>
5 <kuid:67261:50014>
6 <kuid:67261:50015>
7 <kuid:67261:55510>
}
Regards
Barrie

bird_d00
July 31st, 2010, 12:21 AM
Yes you are correct I believe. That is a good example you have there, that I found in a thread some years back. I think the errant KUID doesn't even exist.

Dave Bird

rweber95
July 31st, 2010, 12:46 AM
I agree. In fact, for TRS 2006 and later versions you can delete all entries in the kuid-table. Just leave the short section:

kuid-table
{
}

and save and commit.

Bob

p-dehnert
July 31st, 2010, 01:04 AM
Some entries in the kuid-table might be needed by scripts. They ususally have meaningful names. If you delete these, the script won't work.

Peter

gremlin1812
July 31st, 2010, 01:50 AM
G'Day Dave, Bob & Peter, thank you for the replys I can now go and fix a lot of things as a lot of rolling stock affected in this way are in routes, sessions and scenarios which puts them in error.
Regards
Barrie