Results 1 to 3 of 3

Thread: BI: Adding hidden resources in BI?

  1. #1
    Member Member lysarin's Avatar
    Join Date
    Jan 2004
    Location
    Sweden
    Posts
    81

    Question BI: Adding hidden resources in BI?

    Has anyone tried to add hidden resources in BI?

    I tried, but failed. Don't know if I did anything wrong though.

    Added "test" in descr_regions.txt as such:

    Northern_Italy
    legion: Italica
    Rome
    empire_west
    Latins
    52 13 198
    pottery, iron, slaves, marble, rome, test
    5
    7
    christianity 75 pagan 25

    Then I added it to export_descr_buildings.txt:

    }
    great_amphitheatre requires factions { roman, } and hidden_resource test
    {
    capability
    {
    stage_games 3 requires factions { roman,}
    happiness_bonus bonus 3
    }
    construction 6
    cost 6400
    settlement_min huge_city
    upgrades
    {
    }

    But it didn't work. I couldn't build that building in any province, not even in Rome (which was supposed to be the only place were colloseum could be built).

    Am I doing anything wrong?

    (Note that Rome starts with Colloseum so you would have to destroy it first.)
    Last edited by lysarin; 10-02-2005 at 23:02.
    "Men and guns are fine but give me more tanks!"

  2. #2
    Chief Biscuit Monitor Member professorspatula's Avatar
    Join Date
    Oct 2004
    Location
    Inside a shoe.
    Posts
    1,158

    Default Re: Adding hidden resources in BI?

    When adding hidden resources, you need to delete the map.rwm file in the campaign folder after you've made your changes, and then you start the game. When you start a campaign, the file is generated by the game again and the hidden resources should now be in the game. However, with the generic BI campaign, the campaign folder doesn't have a map.rwm file. It's in the data\world\maps\base folder instead. I'm not sure if deleting that is a great idea, so rename it to something else then try reloading BI and trying the campaign.

    To be safe, It's probably best to actually make a copy of the barbarian_invasion campaign folder, then add the contents from the maps\base folder too before editing the default data files. Call the copied folder my_barbarian_invasion or something, and edit the files in there instead of those from the default campaign directories, that way you won't accidently delete anything important. Then delete the map.rwm in that directory everytime you make a change to your resources. To see the changes in the game, you'll have to start a provencial campaign and not the main campaign.

    If it works then hurrah! If not, bah! and back to the drawing board. I haven't actually tested that in BI, but I'd imagine that's how it would work.
    Improving the TW Series one step at a time:

    BI Extra Hordes & Unlocked Factions Mod: Available here.

  3. #3
    Member Member lysarin's Avatar
    Join Date
    Jan 2004
    Location
    Sweden
    Posts
    81

    Default Re: Adding hidden resources in BI?

    Thanks.

    I tried it for a few times and it didn't work, then I saw a simple, stupid mistake in one line and when I fixed it, it worked as it should. Yey!
    "Men and guns are fine but give me more tanks!"

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