Results 1 to 8 of 8

Thread: Unit upkeep modification

Hybrid View

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

    Icon5 Unit upkeep modification

    I would like to increase the unit upkeep for the player.
    In the appropriate units table one can change the value of units upkeep though in this case it would also change the upkeep for all the factions that have the same units. Namely units have general entry that is used for more than one faction, in my case as I am playing Macedon I would probably change the upkeep for half the Balkan factions and some other minors. This is obviously a half-solution at best.
    Any suggestions on how to bypass this? or just some other entry that you have came across that could provide the desired effect.

    I had the idea that if any faction had increased unit upkeep trait I could use that same key for the player faction as needed for the same effect. on my way to check if this is possible.

    To provide sufficient reasoning for this, I find it to easy for the player to keep a lot of armies at a time (moneywise) , so considering the state of the ai it is essential to give some penalties to the player controlled faction.

    Regards

  2. #2
    crzyrndm's Avatar Artifex
    Join Date
    Feb 2011
    Location
    New Zealand
    Posts
    2,576

    Default Re: Unit upkeep modification

    campaign_difficulty_handicap_effects: add a row for each difficulty with the effect: rom_tech_military_management_upkeep_mod (there is a seperate mercenary one). If you only want the player to be affected make sure you don't add it anywhere without ticking the is_human checkbox.

    +ve number increases upkeep by a percentage

    1 easy
    0 normal
    -1 hard
    -2 VH
    -3 Legendary
    Last edited by crzyrndm; October 07, 2013 at 03:20 PM.
    It’s better to excite some and offend others than be bland and acceptable to all
    Creating a mod.pack with PFM - Database Table Fragments

  3. #3

    Default Re: Unit upkeep modification

    There is also a rom_force_campaign_mod_upkeep_land and rom_force_campaign_mod_upkeep_navy

    I am not sure why there are two upkeep values.

  4. #4
    crzyrndm's Avatar Artifex
    Join Date
    Feb 2011
    Location
    New Zealand
    Posts
    2,576

    Default Re: Unit upkeep modification

    Quote Originally Posted by Dresden View Post
    There is also a rom_force_campaign_mod_upkeep_land and rom_force_campaign_mod_upkeep_navy

    I am not sure why there are two upkeep values.
    Because some traits/skills only work for army or navy, not both. All effects are available to any table which uses some of them (there is just 1 large effects table which everything draws from), which means you could probably give the player/AI the bonus of recruiting troops with gold equipment/training from the difficulty table as well...
    It’s better to excite some and offend others than be bland and acceptable to all
    Creating a mod.pack with PFM - Database Table Fragments

  5. #5

    Default Re: Unit upkeep modification

    I am just wondering if the value you listed was for the technology that affects military upkeep and not the general unit upkeep.

  6. #6
    crzyrndm's Avatar Artifex
    Join Date
    Feb 2011
    Location
    New Zealand
    Posts
    2,576

    Default Re: Unit upkeep modification

    The one I listed is the effect used by CA to change the AI upkeep. I don't know why CA listed several such effects as techs
    It’s better to excite some and offend others than be bland and acceptable to all
    Creating a mod.pack with PFM - Database Table Fragments

  7. #7

    Default Re: Unit upkeep modification

    Yeah, that's odd. Anyway thanks for the clarification!

  8. #8

    Default Re: Unit upkeep modification

    Thx for the info m8, you've been very helpful!

Posting Permissions

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