Results 1 to 6 of 6

Thread: How to mod resettlement cost?

Hybrid View

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

    Icon1 How to mod resettlement cost?

    Hey all

    I noticed that the ERE has a higher resettlement cost than the franks for instance.

    I needed to pay 16K to resettle a city and with the franks its 10k..


    I can mod but how can i mod the resettlement cost for a faction? What DB file i need to be looking at?

  2. #2

    Default Re: How to mod resettlement cost?

    I think the cost depends on the size of the city you're trying to colonise, and also how many units are in your army.

    There are a few entries in campaign_variables_tables that control resettlement, and one that controls the base cost for all factions - occupation_decision_colonise_cost. If you want to change it for a specific faction, one way to do it is by making a new faction trait that changes the cost for that faction. I've actually done this in my faction traits mod (I think it works ), if you want to look at how I did that.

  3. #3

    Default Re: How to mod resettlement cost?

    Quote Originally Posted by Augustusng View Post
    I think the cost depends on the size of the city you're trying to colonise, and also how many units are in your army.

    There are a few entries in campaign_variables_tables that control resettlement, and one that controls the base cost for all factions - occupation_decision_colonise_cost. If you want to change it for a specific faction, one way to do it is by making a new faction trait that changes the cost for that faction. I've actually done this in my faction traits mod (I think it works ), if you want to look at how I did that.
    Ok i see, well that's a start Now im looking for the faction traits table in the DB files from TW:Attila.

    I treid to open your mod with PFM but it keeps bugging and not opening so can you tell me were you found the faction traits tables?

  4. #4

    Default Re: How to mod resettlement cost?

    Those are in effect_bundles_to_effects_junction - well, the effects that each trait is tied to are. You can't open my mod in PFM though? That's odd.

  5. #5

    Default Re: How to mod resettlement cost?

    Quote Originally Posted by Augustusng View Post
    Those are in effect_bundles_to_effects_junction - well, the effects that each trait is tied to are. You can't open my mod in PFM though? That's odd.
    Ok i added "occupation_decision_colonise_cost" to the Eastern romans traits in the "effect_bundles_to_effects_junction" tables but then my games keeps crashing and not starting...

    I tried adding it to "faction to force own unseen", "faction to faction own unseen" and so on but i keeps crashing...

    Can you tell me how you added this to your factions without making the game crash?





  6. #6

    Default Re: How to mod resettlement cost?

    You have to create the effect in effects_tables, tie that effect to a bonus value in the effect_bonus_value_basic_junction_tables, and add a text entry for it. I had to create that effect for my mod; it's not actually one of the vanilla effects.

Posting Permissions

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