PDA

View Full Version : new buildings?


Elvain
21-02-2005, 10:59
I have question to Kakita Matesu

I'm creating new building I did everything as he described it, but everytime I click at town development, the game crashes :sad:

What did I do?
I added to defs\economy\buildings.in2
[hospital]
req = inn, hostel, church
cost = 1000s, 3000g
base_bonus = 2s
happiness = 5
group = 1
index = 17
(it didn't work with hostel and church as requirements, so I added also Inn)

to texts\...\buildings.ini I have added:
[hospital]

1 = Hospital


[hospital_desc]

1 = The %1Hospital% increases happines in the provinces, by taking care of your population.

and finaly I have copied shield maker.bmp, shield maker_l.bmp and shiled maker_s.rle and renamed them to hospital...(first I renamed it from merchant guild files, but when it didn't work I thought it's because 2 buildings of same interface may be in conflict,so I used "free" building)

but it still doesn't work. What I did wrong? I must say I'm happy I got further than with creating of new units, with new units I haven't reached even to intro yet :bash:

Kakita Matesu
21-02-2005, 15:45
You did everything correct. I don't know why your game crushed, because on my computer all was fine. One thing we can have differently is that I have unpacked all files to KoH folder, so game isn't using any *.pak file, I think. Try to do the same, maybe it helps.

Also I don't use packman to put my files to the game. Just copy them to original directory.