Results 1 to 11 of 11

Thread: Allowing Barbarian factions to build stone walls?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Member Member Horseman's Avatar
    Join Date
    Jan 2008
    Location
    Bristol, UK
    Posts
    159

    Default Re: Allowing Barbarian factions to build stone walls?

    Haha I just had a look through the Sciptorium and couldn't find any guides to this...odd as I'm pretty sure thats where I learnt it from!

    So I'lldo my best to talk you through it here!!!!

    Step 1: this will allow barbarian cultures to build stone walls (and is the only vital step that has to b done)

    Open up export_descr_buildings (found in the data folder) and on the stone wall line add in culture barbarian, example below added bits are in red.

    Spoiler Alert, click show to read: 
    stone_wall requires factions { carthaginian, eastern, parthia, egyptian, greek, roman, barbarian, }
    {
    capability
    {
    wall_level 2
    tower_level 1
    gate_defences 1
    gate_strength 1
    }
    construction 3
    cost 1600
    settlement_min city
    upgrades
    {


    Step 2: This step will allow the stone walls to show on the campaign map - not vital but will look nicer

    Open up descr_cultures (also found in the data folder) scroll down to the barbarian section and add the bits in red below

    Spoiler Alert, click show to read: 
    culture barbarian
    portrait_mapping barbarian
    rebel_standard_index 1
    {
    village
    {
    normal data/models_strat/residences/barb_village.CAS, settlement_barbarian_level_1
    card data/ui/barbarian/cities/barbarian_village.tga
    }
    town
    {
    normal data/models_strat/residences/barb_town_buildings.CAS, settlement_barbarian_level_2
    wall data/models_strat/residences/barb_town_wall_1.CAS, settlement_barbarian_walled_level_2
    wall data/models_strat/residences/barb_town_wall_2.CAS, settlement_barbarian_walled_level_2

    card data/ui/barbarian/cities/barbarian_town.tga
    }
    large_town
    {
    normal data/models_strat/residences/barb_large_town_buildings.CAS, settlement_barbarian_level_2
    wall data/models_strat/residences/barb_large_town_wall_1.CAS, settlement_barbarian_walled_level_3
    wall data/models_strat/residences/barb_large_town_wall_2.CAS, settlement_barbarian_walled_level_3
    card data/ui/barbarian/cities/barbarian_large_town.tga
    }
    city
    {
    normal data/models_strat/residences/barb_city_buildings.CAS, settlement_barbarian_level_2
    wall data/models_strat/residences/barb_city_wall_1.CAS, settlement_barbarian_walled_level_4
    wall data/models_strat/residences/barb_city_wall_2.CAS, settlement_barbarian_walled_level_4
    wall data/models_strat/residences/roman_large_town_wall_3.CAS, settlement_roman_walled_level_3
    card data/ui/barbarian/cities/barbarian_city.tga
    }
    }


    Step 3: Adding a building card - Again not vital but looks better

    If you dont already have one create a folder called UI in the data folder. Inside the newly created UI folder create another folder called BARBARIAN and inside the BARBARIAN folder create another folder called BUILDINGS.

    If you have BI installed goto rtw/BI/data/UI/BARBARIAN/BUILDINGS and copy the 2 tgas relating to stone walls and paste them into your newly created BUILDINGS folder.

    If you dont have BI installed then you'll need to use some other factions cards. This is a bit more complex and involves extracting the pak files and I'll direct you to the Sciptorium sub forum on how to do that. But once extracted the principle is the same - find the 2 Roman TGA's for stone walls copy them and past as above then rename them and replace the #ROMAN part of the name with #BARBARIAN (kep the rest)

    Step 4 - adding a building description - again not vital but you've gone this far so you may as well go for it!

    go into data/text and open export_buildings

    Scroll down to the stone wall section and add a description for the barbarian stone walls (I'd just copy and paste from someone elses!) The bits in red below are what you want to replace

    Spoiler Alert, click show to read: 
    {stone_wall} Stone Wall

    {stone_wall_desc} WARNING! This baseline description should never appear on screen!

    {stone_wall_desc_short} WARNING! This baseline short description should never appear on screen!

    {stone_wall_barbarian_desc}
    WARNING! This text should never appear on screen!
    {stone_wall_barbarian_desc_short}
    WARNING! This text should never appear on screen!


    And that should be it! Any problems post here and we'll see what we can do.

    Two more pieces of advice

    1) Always backup files before you stat moddingthem just in case

    2) Use the show err command as if you do make a mistake theres a good chance that this will pick it up!

    Happy Modding

    Mike
    Last edited by Horseman; 05-07-2008 at 12:31.

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