The International Simutrans Forum

 

Author Topic: [SOLVED] Transparent building?  (Read 3404 times)

0 Members and 1 Guest are viewing this topic.

Offline stmaker

  • *
  • Posts: 215
  • am lost noaw.
[SOLVED] Transparent building?
« 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.
« Last Edit: November 18, 2011, 09:52:45 AM by stmaker »

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2920
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: Transparent building?
« Reply #1 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 and at the wiki.

Check the Portuguese wiki also, the existent pages are more detailed and have examples.

Offline stmaker

  • *
  • Posts: 215
  • am lost noaw.
Re: Transparent building?
« Reply #2 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.

Offline VS

  • Senior Plumber (Devotee)
  • Devotees (Inactive)
  • *
  • Posts: 4856
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: Transparent building?
« Reply #3 on: November 18, 2011, 09:48:18 AM »
BackImage[0][0][0][0][0]=movietheater2.0.0

Offline stmaker

  • *
  • Posts: 215
  • am lost noaw.
Re: Transparent building?
« Reply #4 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. :)

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2920
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: [SOLVED] Transparent building?
« Reply #5 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