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

New Beta Version - March 14th (3-14)

Discussion in 'Community Patch Project' started by Gazebo, Mar 14, 2019.

  1. Gazebo

    Gazebo Lord of the Community Patch

    Joined:
    Sep 26, 2010
    Messages:
    17,469
    Gender:
    Male
    Location:
    Little Rock
    It does still matter. I’m not sure what he’s going on about with that.

    G
     
  2. Gazebo

    Gazebo Lord of the Community Patch

    Joined:
    Sep 26, 2010
    Messages:
    17,469
    Gender:
    Male
    Location:
    Little Rock
    I appreciate the post, but I’ll admit, you might be the only person I’ve encountered who seemed to enjoy the tedious micro of the other happiness system. Also, while the new system isn’t perfect, you are looking at the old system with rose-tinted glasses. The random happiness swings, the spirals, the arcane UI, the learning curve barrier to entry...all of those things were major problems.

    You’re also viewing the new system as complete - this is a beta. Rather than waxing poetic about what was, perhaps focus on how we can enhance what is?

    G
     
  3. tu_79

    tu_79 Deity

    Joined:
    Feb 11, 2016
    Messages:
    6,575
    Location:
    Malaga (Spain)
    Where can I find how much each luxury in my empire is affecting my cities happiness? Or, how can I know whether a new purchased luxury will have an effect on the secondary cities?

    Edit. I'm just getting all luxuries I can get, as always, but I'm not sure what it is actually doing now.

    Edit. I used to look here, but the info is not complete:
    luxury happiness.jpg

    Edit. Could be this? 'Empire Luxuries/Monopolies', 2 happiness in medieval in my capital for all my luxes? 2 in Barcelona, which has more than 10 people, and 1 in the rest.
    Capital happiness.jpg
     
    Last edited: Mar 24, 2019
    phantomaxl1207, vyyt and Txurce like this.
  4. Txurce

    Txurce Deity

    Joined:
    Jan 4, 2002
    Messages:
    8,259
    Location:
    Venice, California
    What if we start by deciding how much local and/or global happiness each luxury should give — what feels right, out of context — and then consider how to depress the resultant excess happiness with growth penalties?
     
    phantomaxl1207 and vyyt like this.
  5. Stalker0

    Stalker0 Baller Magnus

    Joined:
    Dec 31, 2005
    Messages:
    5,350
    So under the old system, a luxury granting 2 happiness was pretty good. When it was changed to 1, it was on the edge of being unacceptably low....depending on who you talked to.

    I think those are the lower limits to work with. Whatever that equivalency would be in the new system. I can say we are definitely under that limit in the current iteration, I do consider luxury trading "worthless" at the moment.
     
    Rhys DeAnno, vyyt and Txurce like this.
  6. Omen of Peace

    Omen of Peace Warlord

    Joined:
    Mar 22, 2018
    Messages:
    291
    Gender:
    Male
    To reinforce what has been already said:
    - happiness penalties shouldn't impact worker / trade unit / work boat production. I have no issue with it impacting military units and settlers. For diplomatic units and archeologists, this could go either way for me since these are just nice-to-have.

    - luxuries should be more impactful in terms of happiness, and in terms of trading with other civ (as has been mentioned, they tend to trade for ~2 gp nowadays vs a much bigger interval before 1 - 10 gp/turn). I would say the first 3-5 luxuries should grant at least +2 happiness; after that, I could imagine that diminishing returns are necessary in some cases. (I haven't delved into the formulas that were used over time - the old one, the one proposed by ilteroi, the current one, so I can't be more specific.)
    For reference, I play on Small and Standard maps, so I'm not familiar with Large/Huge constraints.
     
  7. HorseshoeHermit

    HorseshoeHermit 20% accurate as usual, Morty

    Joined:
    Apr 5, 2013
    Messages:
    1,274
    Location:
    Canada
    Prefer to that if luxuries have a constant value of happiness, but happiness gives diminishing returns.
     
    wobuffet likes this.
  8. pineappledan

    pineappledan Deity

    Joined:
    Aug 9, 2017
    Messages:
    4,220
    Gender:
    Male
    Location:
    Alberta, Canada
    Perhaps if the local luxury bonus was reduced to .5:c5happy: for every local resource, we could make room for unique luxuries to have more of a global effect. Currently, there is too much happiness bloat for local and global luxuries to both be effective.
     
    Maxxim69, Asterix Rage and vyyt like this.
  9. tu_79

    tu_79 Deity

    Joined:
    Feb 11, 2016
    Messages:
    6,575
    Location:
    Malaga (Spain)
    I proposed it (this is the advantage of proposing thousand things, sometimes one of those hits the nail). It was 1 flat happiness, plus 1-3 happiness depending on average city size (total population / number of cities) for each different luxury. The novelty was to sum up first the total number of luxuries, so decimals were not lost. (We were trying to reduce swinginess at the time). Ilteroi added a degradating scaler, so every new luxury were reduced to 95% of its possible value.
    G has adapted this somewhat, but cities need to reach sizes of tenths (10-20-30) to notice any difference, apparently.

    Let's say we replace the 1 flat happiness with the local happiness bonus (which is what I think G has done), and the variable bonus 1-3 still depends on the size of the city.

    It should be
    NumLuxuries * min(3, AverageCitySize / 10),
    where NumLuxuries is the number of different luxuries available at the empire, and AverageCitySize is the mean city size of the player. For example, if we had 4 luxuries available, 6 cities and a total population of 30, it would give
    4 * min(3, 5 / 10) = 2 happiness.

    But I fear that currently, min(3, 5/10) is giving 0, since it returns an integer. To avoid such rounding, this could be calculated as this:
    min(3 * NumLuxuries, NumLuxuries * AverageCitySize / 10)
    Am I mistaken?

    Edit. Actually,
    min(3 * NumLuxuries, NumLuxuries * AverageCitySize / 10) / NumCities,
    since the bonus must be distributed among all cities.
     
    Last edited: Mar 24, 2019
  10. Gazebo

    Gazebo Lord of the Community Patch

    Joined:
    Sep 26, 2010
    Messages:
    17,469
    Gender:
    Male
    Location:
    Little Rock
    Can't calculate .5 as a value, since happiness isn't managed as a decimal.

    Close; replace AverageCitySize with the actual size of the city.

    I'm on the fence about this. I agree that empire resources aren't as useful as before, and trading too. I actually really like the 'distributed modulo' that was introduced earlier, it would be easier to balance if the entire remainder of empire division didn't go to the capital. It would allow me to push resources back to the empire level as well, which would be nice.

    G
     
    JamesNinelives likes this.
  11. tu_79

    tu_79 Deity

    Joined:
    Feb 11, 2016
    Messages:
    6,575
    Location:
    Malaga (Spain)
    I think we all liked the idea of distributed empire happiness. Should it be upwards (from the newest city to the older ones) or downwards? This is, to the capital and below, or sparing the capital?

    Another thing to decide on luxuries. Should they scale locally (CitySize) or globally (AverageCitySize)? Scaling globally, the smaller cities (those that are usually the worst) would get an edge.
     
  12. BiteInTheMark

    BiteInTheMark Emperor

    Joined:
    Aug 23, 2016
    Messages:
    1,591
    Gender:
    Male
    Location:
    Germany
    No, he isnt. I think the most people try to fix the next system into the direction they wish it would be and hope it will get better. Nearly anything is better than the broken national-median system in the previous version, but the version before with global median was working mostly as intended.
    Everything you say negative about the previous happiness system is also true for this new version. The system goes crazy if you wait too long with new cities, cause a single citizen can have huge effects to percentual global happiness. Spirals can be created by this too, if rebels appear, plunder luxuries or your settler productions is slowed down extremly to solve it. The UI is arcane too, nobody knows what one more luxury will bring. And now people are talking about more changes to solve little problems, making it even more complicated than the previous versions and less understandable for new players.

    I thought a change to city happiness level might make things easier, but the changes youve made make it even more complicated and need more mechanics to let the system work.Cities have local happiness and local unhapiness which influences the city directly, but also global happiness which gets distributed weirdly on the cities, and the final result is again transported to a global happiness comparison which influences the cities again locally. Happiness from luxuries is pure magic. The advantage from luxuries is reversed from good for tall to very good for wide. The more cities you have the more happiness generates one luxury, additional to the more luxuries you gain by beeing wide. While we had former a smooth distribution of modifiers from -30 to +10, we have now steps with huge effect differences, and everything can change from one turn to another.

    I dont see a reason why this system should be superior to the previous one. I appreciate your work you invested into the mod and the happiness sytem. But the changes are going again into the completly wrong direction into more mechanics, more complexity, less transparency. The saved median mechanic and the unhappiness prediction UI were already a wrong investment (my opinion), even they look good on paper, they only try to mitigate the effects of a problem, but not to solve the problem themselves. (as example what I mean)
    If half the system is local happiness and other half is empire happiness, why even the try to go down to a local happiness to simlify it?
     
    Tantro likes this.
  13. Rhys DeAnno

    Rhys DeAnno Warlord

    Joined:
    Feb 22, 2011
    Messages:
    121
    Gender:
    Male
    I'm not as critical of the new system, but I do think it's a serious problem that it's very unclear how much additional happiness a new lux will bring (or 2, 3, 4 etc), if any. Even if the function that controls the luxes works well to smooth the AI patterns, its also important that it's something a human can understand and respond to. Nothing feels worse than trading 2gpt for a lux trying to dig out of a happy pit and getting no happiness for it.

    Even a tooltip indicating what happy the next lux will bring isn't totally sufficient, since if it brings 0 you wouldn't know if you needed 2 or 3 or how many more luxes.
     
  14. Txurce

    Txurce Deity

    Joined:
    Jan 4, 2002
    Messages:
    8,259
    Location:
    Venice, California
    This is being addressed.
     
    JamesNinelives and tu_79 like this.
  15. Gazebo

    Gazebo Lord of the Community Patch

    Joined:
    Sep 26, 2010
    Messages:
    17,469
    Gender:
    Male
    Location:
    Little Rock
    "I think the most people try to fix the next system into the direction they wish it would be and hope it will get better"
    Once again, your compelling arguments take the day.

    "but the version before with global median was working mostly as intended."
    No. No, it wasn't - you of all people should know this, you commented on nearly every thread and post that complained about the prior system and said something along the lines of "see? the system is broken!" But hey, keep trying to play both sides.

    "The UI is arcane too, nobody knows what one more luxury will bring. "
    It's really not. There's one issue - empire wide luxuries - that is in flux. Everything else is far easier to understand.

    "Happiness from luxuries is pure magic."
    Or math. Either way.

    "While we had former a smooth distribution of modifiers from -30 to +10, we have now steps with huge effect differences, and everything can change from one turn to another."
    Smooth yes, but it was never engaged in a 'smooth' way - swings of 10-20 were common, which mean a swing of 20% national yields (if it happened to go from +10 to -10, which was not uncommon). And yes, the current system has 'steps,' but the buffer between them is quite wide, so it allows for more 'play' if there is a swing.

    "But the changes are going again into the completly wrong direction into more mechanics, more complexity, less transparency."
    Everything you said is untrue. The new system is less complex (all happiness/unhappiness calculations are localized), has fewer moving parts (no more median math, as buildings are integer unhappiness modifiers now), and more transparent (every modifier and function is exposed to the player).

    I realize you don't want to like this, and I realize that disliking things is a boost to your ego, but - once again - you are flat-out wrong. Not just subjectively wrong, but objectively wrong. I would appreciate your opinion more if it were grounded in anything other than abject obstinance and antagonism.

    G
     
  16. tu_79

    tu_79 Deity

    Joined:
    Feb 11, 2016
    Messages:
    6,575
    Location:
    Malaga (Spain)
    Guys, this is an experimental beta. We're learning by doing. It is by no means complete, so let's try to fix it.

    I don't think that letting everything be local is a good idea. What would be trading a luxury good for in this case? Or where should bonuses from city states apply?

    The more immediate fix I can think of is not punishing the production of civil units while unhappy.
    Another fix could be more readability for the effects of growing. You know, currently I'm reading 4 happiness in the city, and there are 6 sources of happiness, but since the city has only 4 citizens, only 4 happiness apply. This would allow my city to grow to 6 pops without worrying about unhappy people, but I don't see this clearly from outside the happiness tooltip.
     
    JamesNinelives and vyyt like this.
  17. Txurce

    Txurce Deity

    Joined:
    Jan 4, 2002
    Messages:
    8,259
    Location:
    Venice, California
    Given your objection to everything being local, I again tried to think simply.

    Let's say that making all luxuries global is ideal out of context, since it addresses the benefits of trade and doesn't penalize cities without a luxury. In this scenario x population requires 1 luxury to stay happy, and so on. A deficit slows or stops growth, and a surfeit increases it. The increase is consequently self-regulating. A decrease can be addressed by expansion, trade, Wonders, policies, etc. Buildings wouldn't help, since they're local.

    Local unhappiness could also come from population, but from the era as well. With each succeeding era, new buildings, techs allowing tiles to be developed, and other Wonders and policies would all alleviate local unhappiness. It effectively comes down to an equation that incorporates size and era. So, for example, a smaller city may not need a med lab or museum to stay happy. (This approach would penalize low-hammer cities, but I think that's okay. They shouldn't be as successful, but the deficit can still be addressed by either importing hammers via trade routes, or rushing improvements with gold.)
     
    JamesNinelives likes this.
  18. Gazebo

    Gazebo Lord of the Community Patch

    Joined:
    Sep 26, 2010
    Messages:
    17,469
    Gender:
    Male
    Location:
    Little Rock
    One thing I'm cutting out is the 'pop scaler' for resources. It's not an interesting mechanic, and it makes the whole system arcane. Better to deal in absolute values.

    G
     
    John.B.C, Rhys DeAnno and vyyt like this.
  19. tu_79

    tu_79 Deity

    Joined:
    Feb 11, 2016
    Messages:
    6,575
    Location:
    Malaga (Spain)
    Easier said than done. I'm not sure if I understand what you want to say, either.

    Is it going back to flat happiness per luxury, like in vanilla? Each different luxury you gain for the empire will make 4 people happy (+4 global happiness actually). Getting a happiness surplus makes the empire more efficient, so cities grow faster. Kind of what you said.

    Or is it something local like +1 happiness in every city per each different luxury in the empire?
    Because this one would scale horribly. Bigger maps, with more luxuries, would allow for taller cities, breaking any balance we might attempt.

    Isn't it how it works now? Techs are used instead of eras, but the effect is the same (even better).
    Take a look at your cities. You get something like +6 happiness from many sources, and then 8 unhappiness from your pop needs, in a 10 pop city. So you end up with 2 unhappy people. Should you increase this city to 16 pop, unhappiness would rise (needs take city size into account) but happiness would not, so your city would gain 6 extra unhappy people, requiring more happiness buildings.

    I don't get it. Which scaler? From needs? From local happiness source? From global luxuries?
    If it is global luxuries, think how this would affect different map sizes.
     
  20. Txurce

    Txurce Deity

    Joined:
    Jan 4, 2002
    Messages:
    8,259
    Location:
    Venice, California
    1. Right the first time — flat global happiness per luxury.
    2. Yes, that's kinda how it works now.

    I'm essentially saying put the two of them together.
     
    tu_79 likes this.

Share This Page