Simple spline mod not showing up in-game

nicky9499

SSoTW Bot
There is this fence asset made by Vulcan which I modified with another texture to fit my route. It used to show up in-game just fine but at some point in time it disappeared and I didn't notice it so I can't tell you what happened in the gap between "working" and "cocked up". The original file is probably pretty old and uses an .im which I've no idea how to edit so I had it converted to use .tga textures and wrote a texture.txt to go with it and all went well. Until one day CMP started complaining about build number under 2.7. So I changed that. Then it complained thumbnail missing. So I created one. Now it's telling me image, width, height values not set but I have it RIGHT THERE width 128 height 128 it's just throwing stupid tantrums!

And it's not showing up in-game.

Can somebody kindly take a look at this asset and tell me what's wrong please? How can such a simple asset be screwed up so badly I want to punch myself.
mad.gif


http://www.mediafire.com/?fzzmvvnfwio66hk
 
For old type splines don't use a trainz-build higher than 2.8 . Renaming the main mesh of the spline to default.im often fixes the visibility problem.

Peter
 
My CM3.3 is not showing any faults or warnings, but I see a few things that are not 'normal' which the fussy TS12 may not like;

- where you have 'vehicle-thumbnail' is usually just a number, in this case it would be 0 (zero). I'm not sure if that's an error, but it is a strange tag for a wall!
- your thumbnail image is 128x128, these are supposed to be 240x180
- you have an extra instance of a kuid-table tag within your 'thumbnails' container. You need to delete that extra kuid-table tag.

And the trainz-build of 2.9 is probably too high to accept the 'old style' config structure for a spline. As Peter said, 2.8 or less is the way to go.
 
Last edited:
Hi Deane,

I have followed your instructions and the asset now shows 0 errors and warnings in CMP. However, it is still not showing up in-game.
The config file is now as follows, all other parts of the assets are untouched.

kuid <kuid:366297:100085>
username "QHG Fence Crib Wall 01"
length 6
istrack 0
isroad 0
width 0.1
kind "spline"
bendy 1
carrate 0
grounded 0
description "This a concrete wall for use on the Harlem line."
author "Ian Manion (Spock2004 aka Vulcan)"
organisation "Auran"
username-hu "Deszkafal 01"
description-hu "Egy betonfal a harlemi vonalon. "
username-cz "Zed z betonových prefabrikátu"
description-cz "Betonová zed pro trat Harlem."
username-pl "Plot"
description-pl "Betonowa sciana uzywana wzdluz linii Harlem."
username-es "Muro de contención 01"
description-es "Es un muro de hormigón para utilizarlo en la línea Harlem. "
username-it "Recinzione muro 01"
description-it "Muro di cemento della Harlem Line"
description-ru
category-era "1990s"
category-region "US"
trainz-build 2.8
category-class "SF"

thumbnails
{
0
{
image "$screenshot$.jpg"
width 240
height 180
}
}

Nicholas
 
OK lah, I now see one more strange thing that I didn't spot before. Kind "spline". I think that should be Kind "track".

Check Vulcan's original asset and whatever he used for Kind, use that.

Did you by any chance use Content Creator Plus to edit the asset? I've heard it does some funny things that are not always right.

~ Dino
.
 
Last edited:
trainz-build 2.8
kind "track"
and rename wall.im to default.im

With these changes the fence should be useable in TS12. If You require a trainz-build 2.9 (DLS upload ?), You have to search the forum for how to do the new types of spline objects.

Peter
 
I've just tried this out. I could not get it to be seen in game while using your config.txt so I swapped it for a copy from the original and changed the relevant details (kuid - username etc). I left all other details the same and it worked fine.
 
Hi guys, I followed what Peter suggested and the wall is now showing up again in Trainz with no errors! Thanks alot you guys!
Deane, am I seeing things or did you start your reply with a bit of Singlish? :D Yes, I did put it into CCP to see if that would help fix things but alas, no.
 
Back
Top