News:

Want to praise Simutrans?
Your feedback is important for us ;D.

Commercial building problem

Started by joosep93, February 13, 2011, 01:08:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

joosep93

I have a problem with this com building. I think it's something wrong with dat file.
Please help
This is my first addon.

mobo

Obj=building
Name=HOTEL_MANSION
copyright=Joosep
Type=com
Level=20
chance=100
intro_year=2000
climates=tropic,mediterran,temperate,tundra,rocky,arctic
BackImage[0][0][0][0][0][0]=com_100.0.0
--------------------

Your building is only 1 tile high so you need only one Backimage line
also it's 6 times [0] now but 5 might also still work

also spaces in the name might cause problems so try a _

intro year 2000 is rather late, be sure to start with corresponding settings (or timeline off)

Looks nice Btw, i like it!

VS

mobo: You use "com_100" but the file is actually called only "com"...

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

mobo

Right, the filename has to be correct too, didn't notice that.

...com_100.0.0 points to image com_100.png, so change filename or dat to make them match.

joosep93

Okey I did it and it worked. But my png needs little change because the blue background won't disappear in game.

VS

It should be 231,255,255 or e7ffff. You currently have 234,254,253.

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

joosep93

Done. Thanks for helping me.

Václav

Looks very interesting - but: see I right it is made for pak64? Why don't try to make it also for pak128?

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

joosep93

As you wish VaclavMacurek. Here is one for pak128

Václav

Thank you very much. I will test it as soon as possible.

Those white spots can be removed with GIMP - but it is needed to use extreme zoom (400% or more) and to know which colour causes those white spots - but it is quite (not very, only quite) easy to see that colour.

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní