Surveyor Object problem

ka0qoc

New member
Hi all....long time lurker, first time poster...

I came over from MSTS and bought the Tranz Classic (Trainz 2006) a few years back...

I've been working on Gary's brick box tutorial and Phil C's flat car tutorial and I have a problem...

I cann't get the objet to show in Surveyor--Objects.

I can see the mesh when I create it in CMP.

Any suggestions?

Brian
 
You need to post the config.txt file here for us to look at. It is likely that that is a tag missing that is preventing it from working.

William
 
Not showing in Surveyor can also be due to texture size problems. Powers of 2 (16, 32, 64 etc) and a maximum short:long side ratio of 1:8. They must also be uncompressed tga files.
 
Config.txt file

-----


kuid <kuid:210545:1012>
trainz-build 2.5
category-class "BH"
category-region "CA;US"
category-era "1960s;1970s;1980s;1990s;2000s;2010s"
username "TestBox"
kind "scenery"
mesh-table {
default {
mesh "../../world/custom/scenery/testbox/TestBox.im"
}
}
thumbnails {
0 {
image "../../world/custom/scenery/testbox/preview.jpg"
width 240
height 180
}
}


-----
and the texture file is a 256 x 256 tga file

Thanks in advance for the help...

Brian
 
try this

remove
mesh-table{
default {
mesh "..etc.etc/Testbox.im
}
}

replace with
asset-filename "TestBox.im"

remove
image "../../etc.etc/preview.jpg"
replace with
image "insert name of image here.jpg"
 
Did you use CCP to create the config.txt file? I notice you have a trainz build of 2.5 which would be TRS2006. CCP can muck up an config sometimes. Try looking at the config.txt of a built-in scenery asset, one with a 1.3 or 2.0 trainz build and see what the differences are between yours and it. Trainz build 1.3 would have a pretty simple config and should work fine with that tutorial.

The tags and structure of the config.txt are different depending on the trainz build number.

William
 
Config.txt file

-----


kuid <kuid:210545:1012>
trainz-build 2.5
category-class "BH"
category-region "CA;US"
category-era "1960s;1970s;1980s;1990s;2000s;2010s"
username "TestBox"
kind "scenery"
mesh-table {
default {
mesh "../../world/custom/scenery/testbox/TestBox.im"
}
}
thumbnails {
0 {
image "../../world/custom/scenery/testbox/preview.jpg"
width 240
height 180
}
}


-----
and the texture file is a 256 x 256 tga file

Thanks in advance for the help...

Brian

Hi Brian,

From the config you posted I see the tutorial is for 2004 version. In 2006 and later assets are in what's called the local folder. You need to open the CMP and open your asset for editing first with either ctrl-shift-e for editing by hand, or with ctrl-shift-c for editing the config.txt file in the CCP. I would open the CCP and fix the errors as shown in the bottom window. Also add auto-create 1 to the mesh part and save when finished. When back in the CMP don't forget to commit your asset with ctrl-m before closing the CMP.
Hope this helps.:)

Greetings from cloudy Amsterdam,

Jan
 
Back
Top