News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

addon citybuilding no picture

Started by marcou330, August 16, 2010, 01:10:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

marcou330

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:

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...



marcou330

Thank you very much it works

But where does the .0.0 come from?

Frank

#3
Quote from: marcou330 on August 16, 2010, 02:18:27 PM
...
But where does the .0.0 come from?

is the position from graphic in graphics file

for more info see Wiki - the Parameters BackImage/FrontImage and Dims

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