Add new building error (gasoline station)

Subsidiary DLC for Capitalism Lab
Post Reply
piermario
Mod Expert
Mod Expert
Posts: 385
Joined: Sun Oct 31, 2010 6:12 am
Has thanked: 17 times
Been thanked: 27 times

Add new building error (gasoline station)

Post 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
User avatar
David
Community and Marketing Manager at Enlight
Posts: 10430
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 78 times
Been thanked: 226 times

Re: Add new building error (gasoline station)

Post by David »

You may send me the latest MOD source files including the gas station images and I will check it for you.
piermario
Mod Expert
Mod Expert
Posts: 385
Joined: Sun Oct 31, 2010 6:12 am
Has thanked: 17 times
Been thanked: 27 times

Re: Add new building error (gasoline station)

Post 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
Attachments
Cattura di schermata (17).png
Cattura di schermata (17).png (1.99 MiB) Viewed 1012 times
Cattura di schermata (16).png
Cattura di schermata (16).png (1.32 MiB) Viewed 1012 times
User avatar
David
Community and Marketing Manager at Enlight
Posts: 10430
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 78 times
Been thanked: 226 times

Re: Add new building error (gasoline station)

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