Results 1 to 7 of 7

Thread: Changing starting building

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Changing starting building

    Hello.

    I just want to know how to change the starting buildings for a certain faction.

    Right now, I'm thinking of doing it on Spain but I have no idea how.

    I could really use some advice. Thanks.

  2. #2

    Default Re: Changing starting building

    Open data/world/maps/campaign/imperial_campaign/descr_strat.txt, find the entry for the spain faction and there you'll see their settlement entries, that look like this:
    Code:
    settlement
    {
        level large_town
        region Gallaecia
    
        year_founded 0
        population 2500
        plan_set default_set
        faction_creator gauls
        building
        {
            type barracks muster_field
        }
        building
        {
            type core_building governors_villa
        }
        building
        {
            type defenses wooden_pallisade
        }
    }
    If you wanted to add, say, a 1st level farm to the settlement you'd add another entry like this:
    Code:
    settlement
    {
        level large_town
        region Gallaecia
    
        year_founded 0
        population 2500
        plan_set default_set
        faction_creator gauls
        building
        {
            type barracks muster_field
        }
        building
        {
            type core_building governors_villa
        }
        building
        {
            type defenses wooden_pallisade
        }
        building
        {
            type hinterland_farms farms
        }
    }
    Where "hinterland_farms" is the name of the building tree (that includes all farm buildings) and "farms" is the name of its first level. You can find those in data/export_descr_buildings.txt.

  3. #3

    Default Re: Changing starting building

    I changed the starting barracks to army barracks and it turned out to be the Roman army barracks. I wanted it to be the barracks from the Barbarians.

    Sorry if you found me hard to understand.

  4. #4
    Ramashan's Avatar Artifex
    Join Date
    Apr 2007
    Location
    Los Angeles, CA
    Posts
    4,981

    Default Re: Changing starting building

    The barracks you get is determined by culture. If you just want the look to change, then you have to unpak the PAK files and swap out the UI/rome/buildings files for those of the barbarian. However, since the game references the UI files for the roman culture from the disk, you would have to repak the files.

    If you are talking about the building as it appears in the city, then you have to edit the slot_variant for the barracks listing in descr_settlement_plans.txt. If this is what you want then I can show you the coding you need to edit.
    Under the Patronage of Lord Condormanius

  5. #5

    Default Re: Changing starting building

    Sorry but that's not what I wanted. What I want is the normal level 2 army barracks for Spain. I'm sorry if i said it wrong.

  6. #6

    Default Re: Changing starting building

    Are you using a mod or vanilla?

    Expand your borders, a mod based on XGM 5.

  7. #7

    Default Re: Changing starting building

    I am using the unlock all factions but its for BI alone. I can't also see the Night battle option for my general units in barbarian invasion too. I don't know, maybe because of that mod which made it not to work anymore.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •