Question about modding buildings
Hi guys, I would like to know how I can mod buildings in the export_descr_buildings.txt. What I would like to do is make ballista ranges, catapult ranges, and siege works only buildable in castles. I have already tried editing this part out:
building siege
{
convert_to castle_siege
levels ballista_range catapult_range siege_works
etc
and just leaving in:
building castle_siege
{
convert_to siege
levels c_ballista_range c_catapult_range c_siege_works
etc
And no success, the game wont start up now so this is the wrong way :wall: Could someone be kind enough to explain exactly what I need to mod and what lines would I need to change. I have already tried looking for tutorials on how to do this but cannot find one.
Re: Question about modding buildings
Can't test this myself, at work, but the game is very
fussy about consistancy. Since you modded out the
building siege, try removing the convert_to siege
line and see if it works.
Re: Question about modding buildings
Hi, I have tried removing the convert_to siege line, but this also does not work either. The game still crashes when I try to load up, thanks for your help anyway.
Does anybody know how I can mod siege buildings to be only buildable in castles? This would help cut down the amount of siege weapons the ai keeps on spamming..
Re: Question about modding buildings
Also try enabling error logging (as described e.g. here)
Re: Question about modding buildings
Well the game just wont load up with my modded export_descr_buildings.txt, and doesnt show anythink in the system.log.txt. So Ive put the original EDB back in for now and the game loads as normal again.
Re: Question about modding buildings
Ive found out how this works now if anyone else needs to know this info. Its quite simple, delete all of the following
building siege
{
convert_to siege
levels c_ballista_range c_catapult_range c_siege_works
etc
then when youve just got the castle part left you edit the top line building castle_siege to building siege as shown below.
building siege
{
convert_to siege
levels c_ballista_range c_catapult_range c_siege_works
and thats all it is :laugh4: