Page 2 of 3 FirstFirst 123 LastLast
Results 21 to 40 of 51

Thread: Providing Bonus Food Income to AI, and AI Only.

Hybrid View

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

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    I made a little mod that is just this food fix. Thanks Silven!

    http://www.twcenter.net/forums/showt...5#post13300335

  2. #2

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    Silven could you post which file you're editing this data in? Thanks

  3. #3

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    He is editing the data_rome2.pack file at the campaign_difficulty_handicap_effects table.

    You will want to make a small mod rather than edit that pack file most likely. If you need it, here is a basic mod tutorial: http://www.twcenter.net/forums/showt...e-Game-Editing

    ----> Website -- Patreon -- Steam -- Forums -- Youtube -- Facebook <----

  4. #4

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    Wonderful thanks.

    Any idea of why there are two more levels of difficulty? -2 and -3?

  5. #5

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    To quote Radious from earlier in this thread:

    AI is Human False, are Easy (-1), Normal (0), Hard (1), Very Hard (2) and Legendary (3)
    Player is Human True, difficulties are Easy (1), Normal (0), Hard (-1), Very Hard (-2) and Legendary (-3)

    So if you want to change only the player's side of things, make 5 new columns. Put the values -3 through 1 in the first column, then make sure the second is True (or if its a checkbox, check it).
    To change the AI side of things, put the values -1 through 3 in the first column. Then make sure the second is False (unchecked).

    ----> Website -- Patreon -- Steam -- Forums -- Youtube -- Facebook <----

  6. #6

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    Ahhh. It would have been nice if they stuck with the same values for both sides

    My goal is to make to use the "Very Hard" difficulty level, but "average" the bonus's the AI gets with "Hard" and "Very Hard", and then set the human values to "Hard" level. This way in my testing it'll be a little more challenging, but not too far from the balance CA" wants since they balance everything on "Hard" difficulty. I"MN also going to give the AI just 10 extra food, so if AN AI is still doing a poor job balancing his cities I'll see it.

    Based on what I want to do, I don't need to add any new columns do I? I can just adjust the values I see in your mod?

  7. #7

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    You don't need any new columns, but you do need new rows because those food changes are not included in the normal difficulty settings. The final 5 rows in my mod are what change the food for the AI.

    You can directly edit the various bonuses in that table to change the various difficulty levels, so you won't have to add any rows for that.

    ----> Website -- Patreon -- Steam -- Forums -- Youtube -- Facebook <----

  8. #8

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    I have a question. As I mentioned above, I wanted to lower the "Very Hard" difficulty settings just a tiny bit. So when I look in your file Dresden, I sorted via function and from the top started to look to edit "agent action hinder character". But I don't see a value for the "Human" variable for "Very Hard" ie. "2". Is line 220 supposed to have a check in the box for "Human"?



    oops I cropped out the left a bit too much, so the 100 and 200 values are not showing. The arrow next to "20" is actually line "220", and "91" is "191". Also I sent you a pm. Not sure if this forum notifies a person or not
    Last edited by jpinard; October 12, 2013 at 02:50 PM.

  9. #9

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    Human is -3 through 1, so the settings go like this:

    AI is Human False, difficulties are Easy (-1), Normal (0), Hard (1), Very Hard (2) and Legendary (3)
    Player is Human True, difficulties are Easy (1), Normal (0), Hard (-1), Very Hard (-2) and Legendary (-3)

    So look at the row with -2 and that will be Very Hard for players.

    ----> Website -- Patreon -- Steam -- Forums -- Youtube -- Facebook <----

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

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    No, there is no difficulty where human is assigned +ve 2.

    2/3 are AI only, -2/3 are human only.
    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

  11. #11

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    Sorry been a rough day. I see, that was a very stupid question and obvious.

    I have a less obvious question. When looking at AI values and comparing Hard to Very Hard, I see that the Hard level is missing a few lines that Very Hard and Legendary have. Is this because there's a default value and they're not needed? Can I just add new rows for the new settings I'd like to make? I decided I'm editing just the AI values for "Hard" to make them a little more difficult than normal.

    There are these 2 lines for AI's "Very hard"
    Code:
    2	False	rom_tech_military_management_unit_cost_mod	              in_all_your_provinces	-10
    2	False	rom_tech_military_management_upkeep_mod	                       in_all_your_forces  	-20
    Same 2 lines in "Legendary"
    Code:
    3	False	rom_tech_military_management_unit_cost_mod 	           in_all_your_provinces	-20
    3	False	rom_tech_military_management_upkeep_mod	                   in_all_your_forces         -25
    So can I just make 2 new rows that are: (for my edited Hard mode)?

    Code:
    1	False	rom_tech_military_management_unit_cost_mod               	in_all_your_provinces	-5
    1	False	rom_tech_military_management_upkeep_mod	                      in_all_your_forces  	-10
    Last edited by jpinard; October 12, 2013 at 08:28 PM.

  12. #12

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    Yes, there are modifiers for some difficulty levels that aren't present for others.

    You can add those rows as needed.

    ----> Website -- Patreon -- Steam -- Forums -- Youtube -- Facebook <----

  13. #13

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    Quote Originally Posted by Dresden View Post
    Yes, there are modifiers for some difficulty levels that aren't present for others.

    You can add those rows as needed.
    Super. Thanks again

  14. #14

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    nm I fixed my issue from this post!
    Last edited by jpinard; October 13, 2013 at 02:30 AM.

  15. #15
    Silven's Avatar Biarchus
    Join Date
    Jan 2007
    Location
    The Blazing Hot Sun, Arizona
    Posts
    646

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    I neglected to check up on my thread, sorry about that. Thanks for helping him out Dresden!

  16. #16
    Ritter-Floh's Avatar Artifex
    Join Date
    May 2011
    Location
    Bavaria
    Posts
    2,449

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    is there a way to make this with money for some factions (not for all)

  17. #17
    Blitzkrieg80's Avatar Miles
    Join Date
    Aug 2005
    Location
    Netherlands
    Posts
    313

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    Just saw this thread... sounds promising... gonna throw it in my mod :O) why should the AI waste precious military building space for 'some' food tee hee

    btw, Ritter... I have a money version but you cannot do 'some' factions in campaign difficulty AFAIK... I would be VERY INTERESTED in finding out how to do money for particular factions who also MUST BE AI (and campaign difficulty seems the only place where you can flip the human=false switch)

  18. #18
    Ritter-Floh's Avatar Artifex
    Join Date
    May 2011
    Location
    Bavaria
    Posts
    2,449

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    Quote Originally Posted by Blitzkrieg80 View Post
    Just saw this thread... sounds promising... gonna throw it in my mod :O) why should the AI waste precious military building space for 'some' food tee hee btw, Ritter... I have a money version but you cannot do 'some' factions in campaign difficulty AFAIK... I would be VERY INTERESTED in finding out how to do money for particular factions who also MUST BE AI (and campaign difficulty seems the only place where you can flip the human=false switch)
    jep, thats the problem. i will support some factions with money - but only the AI, not human players - today not possible....

  19. #19
    Ritter-Floh's Avatar Artifex
    Join Date
    May 2011
    Location
    Bavaria
    Posts
    2,449

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    Quote Originally Posted by Blitzkrieg80 View Post
    Just saw this thread... sounds promising... gonna throw it in my mod :O) why should the AI waste precious military building space for 'some' food tee hee btw, Ritter... I have a money version but you cannot do 'some' factions in campaign difficulty AFAIK... I would be VERY INTERESTED in finding out how to do money for particular factions who also MUST BE AI (and campaign difficulty seems the only place where you can flip the human=false switch)
    jep, thats the problem. i will support some factions with money - but only the AI, not human players - today not possible

  20. #20

    Default Re: Providing Bonus Food Income to AI, and AI Only.

    In the effects_bundles_to_effects_junctions table you can add specific faction income increases using rom_building_gdp_subsistence_faction_capital_hidden.

    ----> Website -- Patreon -- Steam -- Forums -- Youtube -- Facebook <----

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

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