1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

RAF 1.0.0.220 Typos - Default Yield Bias ("YEILD_")

Discussion in 'Civ6 - Bug Reports' started by Baradar67, Feb 22, 2018.

Tags:
  1. Baradar67

    Baradar67 Chieftain

    Joined:
    Jun 5, 2011
    Messages:
    25
    Not sure if anyone cares or if this even affects the game, just noticed it as I was starting to learn about modding.

    Yield spelled incorrectly, no other references to it but plenty to the correctly spelled Items, YIELD_GOLD, etc.

    \steamapps\common\Sid Meier's Civilization VI\Base\Assets\Gameplay\Data

    Leaders.xml
    <Row ListType="DefaultYieldBias" Item="YEILD_PRODUCTION" Value="25"/>
    <Row ListType="DefaultYieldBias" Item="YEILD_SCIENCE" Value="10"/>
    <Row ListType="DefaultYieldBias" Item="YEILD_CULTURE" Value="10"/>
    <Row ListType="DefaultYieldBias" Item="YEILD_GOLD" Value="20"/>
    <Row ListType="DefaultYieldBias" Item="YEILD_FAITH" Value="-25"/>

    Could it affect how Leaders go about working plots?
     
    KyivanRusCivPlease and Civ_Gumby like this.
  2. geeP

    geeP Chieftain

    Joined:
    Oct 25, 2010
    Messages:
    11
    In the file Leaders.xml, there are several settings for DefaultYieldBias which give the AI's base weighting for various yields.

    Unfortunately, these values are misspelled as YEILD_PRODUCTION, YEILD_GOLD, and so on... so they don't actually do anything. There are other conditional modifiers elsewhere that seem to work (for example, Gilgamesh has a favor bias towards YIELD_SCIENCE, various agendas bias AI civs towards specific yields, etc.)

    Notably, the settings here are supposed to give the AI a moderate preference towards production and against faith. Which explains why the AI seems to usually have way too many holy sites and not enough useful buildings: the database values that are supposed to tell it not to do that so much don't work. Correcting these values to give the AI more sensible priorities results in somewhat more competent AI play, as expected.
     
  3. DonPato

    DonPato Chieftain

    Joined:
    Jul 18, 2013
    Messages:
    98
    This is actually pretty hilarious
     
  4. Laurana Kanan

    Laurana Kanan Don’t underestimate who I am.

    Joined:
    Apr 10, 2014
    Messages:
    2,920
    Gender:
    Female
    Location:
    Near the Greatest Snow on Earth
  5. chazzycat

    chazzycat Deity

    Joined:
    Oct 13, 2010
    Messages:
    2,897
  6. Civ_Gumby

    Civ_Gumby Chieftain

    Joined:
    Mar 3, 2018
    Messages:
    40
    Gender:
    Male
    Funny how no one was interested in this, I was looking at another thread on a different website, I got the perception that this only affects which tiles the AI chooses to work? The AI also has build biases which is why I think this applies to tiles.
     
  7. leif erikson

    leif erikson Game of the Month Fanatic Administrator Supporter GOTM Staff

    Joined:
    Feb 2, 2003
    Messages:
    26,878
    Location:
    Plymouth, MA
  8. Baradar67

    Baradar67 Chieftain

    Joined:
    Jun 5, 2011
    Messages:
    25
    I should have done more work on this, glad someone picked it up and did some testing. Now how do we get firaxis to sort it out? Worth asking for it to be added to AI+ for the time being?
     
    Civ_Gumby likes this.
  9. Baradar67

    Baradar67 Chieftain

    Joined:
    Jun 5, 2011
    Messages:
    25
    For anyone interested, Šailor Cat has uploaded a mod to the workshop for it (although I'm guessing a lot of cf peepz would know how to do it themselves).
     
  10. Laurana Kanan

    Laurana Kanan Don’t underestimate who I am.

    Joined:
    Apr 10, 2014
    Messages:
    2,920
    Gender:
    Female
    Location:
    Near the Greatest Snow on Earth
    Last edited: Mar 15, 2018
  11. Baradar67

    Baradar67 Chieftain

    Joined:
    Jun 5, 2011
    Messages:
    25
    Oops, missed it. Good to see firaxis will have another update.

    I wonder how many other errors like that might be around. With or without typos they could be referencing incorrect variables.
     

Share This Page