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

More Traits

Discussion in 'C2C mod mods' started by majaczek, May 14, 2016.

  1. majaczek

    majaczek Chieftain

    Joined:
    Feb 12, 2013
    Messages:
    282
    Starting population.
     
  2. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    24,727
    Gender:
    Male
    Location:
    Las Vegas
    That's... I'm going to have to side with Faustmouse here. The traits are far too powerful as designed, and sometimes, such as with these kinds of choices, perhaps even to a penalizing degree for the ai. You start off a city at that kind of size and it won't have the infrastructure to handle the terrain around it not being developed and the property controls not having been built up - it would starve out and end up in a worse position than it would've if it had started off as a size 1! A player could probably contain it if they preplanned a lot... like bringing 6+ Law Enforcement and 6+ Healers and some educators and lots of workers but if the AI were starting cities with that kind of population it would collapse the city.
     
  3. Dancing Hoskuld

    Dancing Hoskuld Chieftain

    Joined:
    Jul 5, 2004
    Messages:
    22,867
    Gender:
    Male
    Location:
    Canberra, Australia
    Current plans for population in new cities based on technology are 1 to start, 2 at Colonization and 3 at Steam Power. Then back to 1 when off world with the start of Space growing to 2 and 3 later.

    The Great Bath currently gives a +1 population boost for the nation that builds it but goes obsolete before Colonization. This is being reviewed and may move to a different wonder. This is a very powerful boost.

    For the traits I would have gone with at most
    expansive +1/0/+1 city starting population, settler speed +1/ignore terrain cost/0
    imperialistic 0/+1/0, settler speed +1/0/+1

    As TB says perhaps infrastructure is the go, so have these traits have some auto build that provides some of the basic infrastructure instead.

    edit We already give some basic buildings free to new cities and there is a list from RoM days that gives buildings free when the city is built, so this is possible.
     
  4. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    24,727
    Gender:
    Male
    Location:
    Las Vegas
    The question is can we assign free buildings by traits? That could be an interesting way to go with traits in general, particularly in tiered trait setups. I'm pretty sure we wouldn't do it through the traits infos but by the building infos, which is against the design method I wanted to be using for traits BUT do you know if it can be done already somehow?

    RE the great bath... yeah it is! I've managed to get the bath in both MP games and it does help a lot. The game that was further behind benefited more from it because I planned better to have it.
     
  5. Dancing Hoskuld

    Dancing Hoskuld Chieftain

    Joined:
    Jul 5, 2004
    Messages:
    22,867
    Gender:
    Male
    Location:
    Canberra, Australia
    The Expression System has GOM_TRAIT so I would think so.

    It would be in the canconstruct tag. In this case there would be no problem with building for the ai if it was just trait as it would be on/off. The problem would be in the ai for choosing what trait to level up.
     
  6. majaczek

    majaczek Chieftain

    Joined:
    Feb 12, 2013
    Messages:
    282
    humm... I may nerf it a bit more but hmm...
    actually town won't be starving because I use iYieldChange for food.
    I thought all traits should be powerfull, but then I understood they would be hard to balance.

    currently first town which has player expansive/imperialistic has size 4 and two annoyed citizens and not starve.

    I may also penalize more Imeprialistic2 and Expansive2 if you wish

    imperialistic is 2/3/5 and expansive is 1/2/3, so if you wish I may change it to:
    2/2/3 and 1/1/2, but then I need something nice for expansive line so it won't be much worse than Imperialistic (and yeah Imperialistic affects citizen "specialists" so it gives negative yield maybe it's enough punishment)

    Both Expansive an Imperialist gives

    <iHappiness>-1</iHappiness>
    <iLargestCityHappiness>1</iLargestCityHappiness>

    and a malus to YieldModifier

    EDIT: what is ignore terrain cost ? we don't seem to have it in schema...
    also we don't seem to have ability to base traits on dificulty, or do you mean settler unit?

    EDIT: I also give Starting culture for Imperialist and Expansive (expansive gets more)
     
  7. majaczek

    majaczek Chieftain

    Joined:
    Feb 12, 2013
    Messages:
    282
    Could anybody give the speed or promotion for all Settler PromotionLine or all Worker PromotionLine?
    if so it would be good to have +1/+1/+2 speed for workers line for expansive, and +1/+1/+2 speed for imperialist. Also additional +1/+0/+0 worker speed for imperialist and +1/+0/+0 for Settler speed for expansive.

    I read original traits and it seems Expansive is more about workers, and Imperialist is more about Settlers.
     
  8. majaczek

    majaczek Chieftain

    Joined:
    Feb 12, 2013
    Messages:
    282
    Okay, it's possible :)

    I am working on it...
    How to use GOM-Option for traits?

    EDIT: Maybe I should just use bTraitOnly ?

    EDIT: Done. Needed a few tricks. here it is or here

    table xlsx or table csv

    one of tricks I used is marking all new worker/settler promos as <bLeader>
     
  9. majaczek

    majaczek Chieftain

    Joined:
    Feb 12, 2013
    Messages:
    282
    could you change it from 1/2/3 to 1/3/5 ? I mean the plans?
     
  10. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    24,727
    Gender:
    Male
    Location:
    Las Vegas
    canconstruct can't determine whether a building is given to a city for free when the city is founded does it?

    As far as trait AI, it's based on the flavors of the traits matching to the flavors of the leaders and if the designer of the traits understands that the trait flavors are what will guide the decision and how that math works then it's irrelevant to try and break down individual benefits of given traits like you would for civics. You'd just rate the trait a little stronger under its pertinent flavors.

    Understand that +1 population at city founding is considered a huge bonus that a world wonder can provide for a temporary period and still be considered to be one of the best wonders in the game for doing so. Just one extra pop at city start is huge. Even starting with three population in many cases I find starves off many cities, not all and it does depend on the food available to that city in the starting plots. A city could handle 8 or more starting population if every starting tile can produce 4 food or more without being improved. But put a city in an area where most tiles are 1 or 2 starting food without being improved and you'll starve out a city starting with more than 1.

    And once those cities compensate for the unhappiness they are 4 times as ahead as other players in the game. I think the jump start they would get would be too much but I don't know for sure.

    I personally would go with DH's plan and I worry that it's too strong what he proposed. But it would be at least a little moderate to start with.

    Where did this come up?
    Probably meant settler unit but where did this come up?

    I don't understand.
    By speed do you mean travel speed or production speed? Travel speed would be modified by promotions wouldn't it or is there a tag for this specifically that I've forgotten about?

    By some interpretations that's true.

    He was talking about using it on the building autobuild tag which I think is one of our complex GOM boolean tags. These tags can use a special form of programming that declares a condition for when the tag is 'true', and the condition can be made to be whether the nation's leader has a particular trait or not. So the programming for a free building on founding a city based on a trait would be included in the xml for the building itself.


    On what?

    bLeader doesn't mean that. I always have to remind myself how it works when used but I think it means its specifically for units that are 'led' by a general or some other attached unit that has the leader ability. If this does get you around some kind of hang up then it will have unforseen consequences elsewhere.

    If there becomes cause to perhaps we could consider that.
     
  11. Dancing Hoskuld

    Dancing Hoskuld Chieftain

    Joined:
    Jul 5, 2004
    Messages:
    22,867
    Gender:
    Male
    Location:
    Canberra, Australia
    I was suggesting that a trait could give a promotion to settlers or workers that improved their movement rather than having increased population in new cities.

    You can use a test on trait in the FreeNewCity tag on buildings.
     
  12. majaczek

    majaczek Chieftain

    Joined:
    Feb 12, 2013
    Messages:
    282
    Oh yes instead... I already added the movement bonus from traits.
    I know bLeader means units are lead by warlord or noble, but I cannot find how to make promotionline which cannot be advanced outside of traits. So I put bLeader as a hack - as meaning the unit cannot advance by itself the line.

    I already limited the population bonus so imperialistic is 2/2/3 and expansive 1/1/2.

    Expansive gives unit speed: Settler 1/0/0 Worker 1/1/2
    Imperialist gives unit speed: Settler 1/1/2 Worker 1/0/0

    Do you insist to decrease further population limit?
    I would prefer adding malus (I am adding negative yield modifier), or increase good things for other traits.
     
  13. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    24,727
    Gender:
    Male
    Location:
    Las Vegas
    The trick is to give the promotions the proxy tech other 'only free' promotions get. I think it was renamed recently so I can't say exactly what it's supposed to be but you can see it in use on some other promos like Aggressive.

    Wow... that's still a hell of a lot. +1/+1/+1 would be the absolute limit I would expect to see for traits. What you have for imperialistic would be roughly equivalent to +50% production in all cities for each level of industrial in my opinion.

    I don't insist on anything for a modmod but there's a certain degree of restraint and balance that will be necessary if the traits are to become core.
     
  14. majaczek

    majaczek Chieftain

    Joined:
    Feb 12, 2013
    Messages:
    282
    What I meant about "insisting", is if that my view on "balancing" is in your opinion enough "balanced" to integrate into trunk later. In my design 3rd tier of Trait is acknowledgable better than 1st or 2nd, so if you "insist" i may make Imperialistic +1/+1/+2, but then what with expansive?

    Could you explain the proxy tech? Is it already ingame (so please tell me which is it) or I should add one?

    Hmm I may add some other promos for expansive. Currently working speed is +64/+64/+64 and I believe it's a percent.

    And if I finish the traits, I would need, please, some fix on flavours from your site, because I don't seem to change it well.
     
  15. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    24,727
    Gender:
    Male
    Location:
    Las Vegas
    I suppose I could see +1/+1/+2 being reasonable. A trait with a lesser focus on that tag could go: +0/+1/+1.

    The tech for promos that are only supposed to be given for free is:
    <TechPrereq>TECH_DUMMY</TechPrereq>

    The flavors are tough to do. I had been creating a tally system so that each tag value would add or subtract an amount of a flavor type and I was using that to keep all traits in balance, ensuring that each trait had the same overall amount of total flavor values. For what you're doing, you'll probably have to just 'feel it out'.
     
  16. majaczek

    majaczek Chieftain

    Joined:
    Feb 12, 2013
    Messages:
    282
  17. Dancing Hoskuld

    Dancing Hoskuld Chieftain

    Joined:
    Jul 5, 2004
    Messages:
    22,867
    Gender:
    Male
    Location:
    Canberra, Australia
    Worker Speed itself is not a percent. Many techs and some bonuses improve all workers Work Speed by a percent. I do not know what the tag is on traits.

    Workers have a "Work Speed" and improvements have a "Work Cost". The time it takes for a worker to complete an improvement is "Work Cost"/"Work Speed"
     
  18. majaczek

    majaczek Chieftain

    Joined:
    Feb 12, 2013
    Messages:
    282
    okay... so what are reasonable values for iWorkerSpeed? I made it 64/96/128 on Expansive line. It seems I may given too much...
     
  19. Dancing Hoskuld

    Dancing Hoskuld Chieftain

    Joined:
    Jul 5, 2004
    Messages:
    22,867
    Gender:
    Male
    Location:
    Canberra, Australia
    Most changes are in increments of 5-10. Giving a worker +5% at the start of the game will put those workers ahead by 5% throughout the game. I would think 5/5/5, as they are cumulative also, may be enough.
     
  20. Faustmouse

    Faustmouse Chieftain

    Joined:
    Jan 31, 2012
    Messages:
    3,484
    Workers get so much speed enhancements through the tech tree. Last time I've looked it was about 50% with each of these techs. Then 15% doesn't seem that much.

    Is the 5% additive with other bonuses?

    Or is the 5% added afterwards, on the already modified value?
     

Share This Page