The International Simutrans Forum

Community => Simutrans Gaming Discussion => Topic started by: stmaker on November 18, 2011, 07:30:03 AM

Title: [SOLVED] Transparent building?
Post by: stmaker on November 18, 2011, 07:30:03 AM
I made a .pak file using PakHelper v3.2 with makeobj v51 using two files (.dat and .png - both found bottom of this post). The .pak file was made, so I tested a bit. The building details appeared but the building image didn't.

I edited .dat on Notepad. The dat file goes like this:
Code: [Select]
#movietheater2.png
obj=building
name=Movie Theater
description=Lots of people love to watch movies! You should come.
copyright=stmaker
intro_month=1
intro_year=2001
type=com
chance=100
level=10

Help me. I placed both of the files on the bottom of the post. (and one request - someone make me that one to .pak file ;))

EDIT: Solved. Thanks whoever helped me.
Title: Re: Transparent building?
Post by: An_dz on November 18, 2011, 09:15:46 AM
You haven't added the Image parameters, the dat don't say anything to the makeobj what png file is what view.

You might want to take a look at SNFOS (http://www.simutrans-france.fr.nf/doku.php?id=en:tutomakeobj3) and at the wiki (http://simutrans-germany.com/wiki/wiki/tiki-index.php?page=en_Devel_index).

Check the Portuguese (http://simutrans-germany.com/wiki/wiki/tiki-index.php?page=pt_Devel_index) wiki also, the existent pages are more detailed and have examples.
Title: Re: Transparent building?
Post by: stmaker on November 18, 2011, 09:37:13 AM
You haven't added the Image parameters, the dat don't say anything to the makeobj what png file is what view.

Oh I see.

Because the wiki is made on Portuguese, I translated it to English.
Somehow I get confused and images don't show up.
Title: Re: Transparent building?
Post by: VS on November 18, 2011, 09:48:18 AM
BackImage[0][0][0][0][0]=movietheater2.0.0
Title: Re: Transparent building?
Post by: stmaker on November 18, 2011, 09:51:17 AM
BackImage[0][0][0][0][0]=movietheater2.0.0

Oh thank you VERY MUCH. ;)

EDIT: Would be nice if someone edit those articles in the wiki to give a summary. of making addons. :)
Title: Re: [SOLVED] Transparent building?
Post by: An_dz on November 18, 2011, 05:57:36 PM
EDIT: Would be nice if someone edit those articles in the wiki to give a summary. of making addons. :)
I'm doing it, but slowly... ;D