Results 1 to 2 of 2

Thread: Problems with Adding a Building . . .

  1. #1
    Spends his time on TWC Member Simetrical's Avatar
    Join Date
    Dec 2004
    Location
    New York City
    Posts
    1,358

    Default Problems with Adding a Building . . .

    So, I'm adding a new building to the game. I modified export_descr_buildings.txt, export_descr_buildings_enum.txt, text\export_buildings.txt, and world\maps\campaign\imperial_campaign\descr_strat.txt. I deleted world\maps\base\map.rwm and map_heights.hgt and started up my campaign. When I choose my faction and click the button to proceed, I'm taken back to the Single Player menu, where none of the options do anything (until I go back and click on Single Player again). When I quit, I get no error, although I have -show_err enabled. Any ideas? Here are the files . . . search for "Iehovah" in any of them, and you should find my additions.

    -Simetrical
    TWC Administrator

    MediaWiki Developer

  2. #2
    Wandering Historian Member eadingas's Avatar
    Join Date
    Nov 2004
    Location
    Llanfairpwll- gwyngyll- gogerych- wyrndrobwll- llantysilio- gogogoch
    Posts
    4,714

    Default Re: Problems with Adding a Building . . .

    Hmm you did a lot of weird things, any of them could be the bug... first, you made the building inaccessible to any faction, but that shouldn't be a problem, if it starts in a rebel city... Then, there's a lot of hardcoded stuff regarding the temples, so adding these is tricky. Try changing it to just 'shrine of Iehovah', first level. The description doesn't have to match the name in the export_descr_buildings file, it can be called anything there, even 'building25' as long as the description and name in the export_buildings.txt is correct... you don't need to have all the 'desc' and 'desc_short' entries in the dictionary if you don't use them. Just general and parthian ones is enough.
    Perhaps the problem is with the factions list, I've never tried it this way.. there's a simpler method to make a building unavailable: just write 'requires factions { parthian, } and'
    with 'and' at the end of the line and nothing else. It will give you a bug message after you quit, but you'll be able to play without any problems.
    I'm still not here

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