Results 1 to 6 of 6

Thread: Question about modding buildings

  1. #1

    Default 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 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.

  2. #2
    Member Member KnightErrant's Avatar
    Join Date
    Jan 2007
    Location
    Huntsville, Alabama USA
    Posts
    458

    Default 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.

  3. #3

    Default 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..

  4. #4
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Question about modding buildings

    Also try enabling error logging (as described e.g. here)

  5. #5

    Default 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.

  6. #6

    Default 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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO