Page 1 of 1

Add new building error (gasoline station)

Posted: Fri Sep 04, 2015 5:59 am
by piermario
Ciao i try to add gasoline station in my RealWorld 9.0 mod but i have always a crash to desktop in game.
I followed the tutorial: added the record in building.dbf, create folder with 3 subfolder L, M, S, with gas station image, png with green background, pack all, created icon (it works in game) created the mod file but in game when i try to build gasoline station i have crash to desktop (other players can sell gasoline products but when i click on there stores i had CTD also).
Maybe i missed something?
Thanks
Piermario

Re: Add new building error (gasoline station)

Posted: Fri Sep 04, 2015 8:30 am
by David
You may send me the latest MOD source files including the gas station images and I will check it for you.

Re: Add new building error (gasoline station)

Posted: Sun Sep 06, 2015 10:12 pm
by piermario
Ciao David i follow new building tutorial but i got 2 problems: a strange error and my new gasoline station very big in map.
You can see in next screenshots
Thanks
Piermario

Re: Add new building error (gasoline station)

Posted: Mon Sep 07, 2015 9:23 pm
by David
Please see the updated tutorial on building:
http://www.capitalismlab.com/advanced-m ... dings.html


There is a new section:

3) When you have finished modifying the building images, edit PACK.BAT using a text editor like Notepad and change the output file name.

The default content of PACK.BAT is as follows:
..\..\..\MakeSprite FILELIST.TXT ..\Auto.SPR

In this example, you have modified the Convenience Store building and the building code for it is "CONVENIE". So you have to change the text to the following:
..\..\..\MakeSprite FILELIST.TXT ..\CONVENIE.SPR


You can follow the instructions here to resolve the problem.