Images attached to Content

Coach

CoachAlex1996
Hi Everyone,
I am trying to attach images to some of my content in Trainz 2009. I am using CCP to do so. I have sized the images to 240x180. The images are not displayed. What do I do to get them displayed? What size do they need to be?
Thanks,
Alex
 
size is fine, you need

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

in your config
 
You do not need the "$" you did at one time but no longer and the image must be in the file with where the config.txt is.
 
Hi,
I put this into my config.txt:

thumbnails
{
0
{
image "C:\Program Files\Auran\TS2009\editing\Trainz Island\trainz island route.jpg"
width 240
height 180
}
}

The Image is in the same folder as the config
The image is still not displayed.
What do I do?
Alex
 
wrong name

You wrote :- image "C:\Program Files\Auran\TS2009\editing\Trainz Island\trainz island route.jpg"

Should read :-
image screenshot.jpg

That was stated by barn700, although I never use the $ sign and all mine appear fine.

So rename the picture screenshot.

Angela
 
Thanks Angela.
Unfortunately it's not working so I will add the $ Sign.
This is what the config file looks like now:

thumbnails
{
0
{
image "C:\Program Files\Auran\TS2009\editing\Trainz Island\screenshot.jpg"
width 240
height 180
}
}

The Screenshot is called $Screenshot"

Is this alright?
Alex
 
Last edited:
Thanks Angela.
Unfortunately it's not working so I will add the $ Sign.
This is what the config file looks like now:

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

The Screenshot is called $Screenshot"

Is this alright?
Alex

that will fix it....
once you commit it it moves from editing to elswhere
if that dont work use "screenshot.jpg"
angelah layouts are the bomb
 
Last edited:
Hi,
Well I did that. The screenshot in the file is called $Screenshot$
The config file looks like this:

thumbnails
{
0
{
image "C:\Program Files\Auran\TS2009\editing\Trainz Island\screenshot.jpg"
width 240
height 180
}
}

The Asset is commited.
And it still does not work!
Oh well it doesnt matter about the image that much but it would be nice to have one. I am still open to more suggestions though!
The release date for my project is the 1st November.
For more info see: http://coach96.110mb.com/index.php?p=1_10
Thanks for all of your help!
I am willing to take in more suggestions though,
Alex
 
Last edited:
I have paulhobbs!
I should have typed: I am willing to take in MORE Suggestions.
Sorry about that,
Alex
 
If you have the jpg in the folder with the config file your config should look like this.

thumbnails
{
0
{
image "screenshot.jpg"
width 240
height 180
}
}
 
Your problem is this "C:\Program Files\Auran\TS2009\editing\Trainz Island\screenshot.jpg". Just change it to "screenshot.jpg" Carl
 
Oh I get it now!
The "\" means in a folder.
Well I will get rid of the \ before screenshot when my patch has loaded up.
I will let you know how it went,
Thank You,
Alex
 
Good News Everyone I have got it to work!!!!!
Thank You all for your suggestions. They have got me to know more about how config works now.
If you are interested in my Trainz Island Project please see: http://coach96.110mb.com/index.php?p=1_10 where you will find information, screenshots, a release date, trailer and more.
I will also make a new thread in the forum on it.
Thank You all again,
Alex
 
Missing parts

Coach;
I downloaded the route from the DLS and it has 6 unknown items from your config file, all KUID:37528 (author=Neoklai75)
:1163, :1164, :1165, :1288, :1291 and :1303

Maybe the author hasn't posted them yet.
Do you have them? - Does the route require them?
About to try the passenger run;
thanks Irving
 
Back
Top