The International Simutrans Forum

Community => Simutrans Help Center => Topic started by: marcou330 on August 16, 2010, 01:10:54 pm

Title: addon citybuilding no picture
Post by: marcou330 on August 16, 2010, 01:10:54 pm
Hi

I try to create a building for simutrans 64. I made the picture with photofiltre and the dat file with the blocnote (windows). i did the pak file and put it into the right place.
But when i launch simutrans, i can see my building's name and some informations but there is no picture

If it helps here is my dat file:

Code: [Select]
obj=building
name=essai
copyright=Markus
intro_month=1
intro_year=1930
retire_month=12
retire_year=2000
noinfo=1
noconstruction=0
type=res
Chance=100
level=15
build_time=0
dims=1,1,1
BackImage[1][0][0][0][0]=essai

and the name of the picture is essai.png

If you have an explanation...

Title: Re: addon citybuilding no picture
Post by: Frank on August 16, 2010, 01:21:16 pm

BackImage[0][0][0][0][0]=essai.0.0

Title: Re: addon citybuilding no picture
Post by: marcou330 on August 16, 2010, 02:18:27 pm
Thank you very much it works

But where does the .0.0 come from?
Title: Re: addon citybuilding no picture
Post by: Frank on August 16, 2010, 03:07:33 pm

is the position from graphic in graphics file

for more info see Wiki - the Parameters BackImage/FrontImage and Dims (http://simutrans-germany.com/wiki/wiki/tiki-index.php?page=en_BackImage&structure=en_Devel_index&page_ref_id=187)

example for 4x 128 grahpics in a 256x256 pixels file

(http://simutrans-germany.com/online_dat/img/overlay/128_overlay_256_256.png)
Title: Re: addon citybuilding no picture
Post by: marcou330 on August 16, 2010, 03:21:36 pm
Ok thanks