Help: How do I turn off happiness?

masterookoo

Chieftain
Joined
Jan 28, 2012
Messages
15
Hello.

So I've become increasingly sick of how Civ 5 handles happiness, partially because it's unrealistic (if it were realistic happiness would be linked to production, as more production = more consumer goods) and also because it is nigh impossible to forge an empire capable of competing with the continent-spanning NPC empires.

This fact becomes especially noticeable when fighting on huge/large maps, where you HAVE to forge a large and highly-populated empire in order to keep up on Science. While I HAVE been able to keep the riots away by making my state religion based ENTIRELY around happiness and making sure to get every happiness-producing wonder, I've found it impossible to keep the citizenry happy long-term, especially when I get bogged down in long-term wars in the Information Era.

TL;DR Happiness sucks as it is.

I apologize for the rant, but the point I'm trying to make is that unless you want to make every city in your empire have 5 or less citizens, playing the game is impossible. What I want, thus, is to turn happiness off.

The way I was told to do this is via the GlobalDefines file. I found the file and set all unhappiness factors to 0, and what happened? The game went right ahead and pretended that I had done nothing. I've tried this on modded and unmodded, saves and unsaves, and had no success.

So I'm guessing (more hoping, really) that there's another way I can make happiness go away or at least be less of a problem, because otherwise I might just have to stop playing.
 
Hello.

So I've become increasingly sick of how Civ 5 handles happiness, partially because it's unrealistic (if it were realistic happiness would be linked to production, as more production = more consumer goods) and also because it is nigh impossible to forge an empire capable of competing with the continent-spanning NPC empires.

This fact becomes especially noticeable when fighting on huge/large maps, where you HAVE to forge a large and highly-populated empire in order to keep up on Science. While I HAVE been able to keep the riots away by making my state religion based ENTIRELY around happiness and making sure to get every happiness-producing wonder, I've found it impossible to keep the citizenry happy long-term, especially when I get bogged down in long-term wars in the Information Era.

TL;DR Happiness sucks as it is.

I apologize for the rant, but the point I'm trying to make is that unless you want to make every city in your empire have 5 or less citizens, playing the game is impossible. What I want, thus, is to turn happiness off.

The way I was told to do this is via the GlobalDefines file. I found the file and set all unhappiness factors to 0, and what happened? The game went right ahead and pretended that I had done nothing. I've tried this on modded and unmodded, saves and unsaves, and had no success.

So I'm guessing (more hoping, really) that there's another way I can make happiness go away or at least be less of a problem, because otherwise I might just have to stop playing.

As for what you did in the GlobalDefines....

Some things are hard-coded, and we don't have the DLL. It's unfortunate and screwy, but we can't change the deep-set things. I don't know if that is the case with the happiness/unhappiness factors because I haven't tried, but growth integers are locked in I think because I tried making a mod with lower unhappiness and higher populations (meant for Epic Speed), but it didn't work :(

If you downloaded the "workshop" thing through Steam and you go into world builder, there is an option to disable happiness, but I would not know how to do this for random maps. You would have to play the same map(s) all the time which sucks.

Maybe someone on the forums knows better :dunno: that's just my 2¢
 
I certainly hope that isn't the case. The only other option I can see is setting Colloseums and whatnot to have a million happiness or something; which I'm worried will screw up the AI.
 
Post the XML changes you made. You might have made an error.

Actually no, I think that Define is broken. You can probably change this through Civ5Worlds.xml.
 
Here's the stuff I changed (after placing a fresh copy in).

<Row Name="UNHAPPINESS_PER_POPULATION">
<Value>0</Value>
</Row>
<Row Name="UNHAPPINESS_PER_OCCUPIED_POPULATION">
<Value>0</Value>
</Row>
<Row Name="UNHAPPINESS_PER_CITY">
<Value>0</Value>
</Row>
<Row Name="UNHAPPINESS_PER_CAPTURED_CITY">
<Value>0</Value>
</Row>

Where is this Civ5Worlds file?

EDIT: Found it. Maybe I have the wrong file, but it seems to me the file just lists of the various map sizes and their features.

EDIT 2: Alright, just tried adjusting the Colloseum happiness, which didn't work. I'm getting very annoyed here; this game is supposed to be easily mod-able and I'm increasingly convinced it isn't. Here's the code for that change as well.

<Row>
<Type>BUILDING_COLOSSEUM</Type>
<BuildingClass>BUILDINGCLASS_COLOSSEUM</BuildingClass>
<FreeStartEra>ERA_INDUSTRIAL</FreeStartEra>
<Cost>100</Cost>
<GoldMaintenance>1</GoldMaintenance>
<PrereqTech>TECH_CONSTRUCTION</PrereqTech>
<Help>TXT_KEY_BUILDING_COLOSSEUM_STRATEGY</Help>
<Description>TXT_KEY_BUILDING_COLOSSEUM</Description>
<Civilopedia>TXT_KEY_CIV5_BUILDINGS_COLISEUM_TEXT</Civilopedia>
<Strategy>TXT_KEY_BUILDING_COLOSSEUM_STRATEGY</Strategy>
<ArtDefineTag>COLESSEUM</ArtDefineTag>
<MinAreaSize>-1</MinAreaSize>
<ConquestProb>100</ConquestProb>
<Happiness>9000</Happiness>
<HurryCostModifier>25</HurryCostModifier>
<DisplayPosition>2</DisplayPosition>
<ArtInfoCulturalVariation>true</ArtInfoCulturalVariation>
<IconAtlas>BW_ATLAS_1</IconAtlas>
<PortraitIndex>23</PortraitIndex>
</Row>
 
Are you creating a new mod for this? If you are, then what you're doing is wrong and the game is breaking it.

Try this:

Code:
<GameInfo>
 <Buildings>
  <Update>
   <Where Type="BUILDING_COLOSSEUM"/>
   <Set>
    <Happiness>9000</Happiness>
   </Set>
  </Update>
 </Buildings>
</GameInfo>

Orrr, what I would recommend:

Code:
<GameInfo>
 <Worlds>
  <Update>
   <Where Type="WORLDSIZE_DUEL"/>
   <Set>
    <NumCitiesUnhappinessPercent>0</NumCitiesUnhappinessPercent>
   </Set>
  </Update>
  <Update>
   <Where Type="WORLDSIZE_TINY"/>
   <Set>
    <NumCitiesUnhappinessPercent>0</NumCitiesUnhappinessPercent>
   </Set>
  </Update>
 </Worlds>
</GameInfo>

Rinse and repeat for WORLDSIZE_SMALL WORLDSIZE_STANDARD WORLDSIZE_LARGE WORLDSIZE_HUGE
 
Also, be sure to give that one policy in piety a rework.
 
If you downloaded the "workshop" thing through Steam and you go into world builder, there is an option to disable happiness, but I would not know how to do this for random maps. You would have to play the same map(s) all the time which sucks.

You can set that option for normal game using Lua (I didn't check if it can work ingame or if it must be set in a pregame file)

Code:
PreGame.SetGameOption("GAMEOPTION_NO_HAPPINESS", true)

or made it available to advanced setting using SQL

Code:
UPDATE GameOptions Set Visible = 1 WHERE Type = 'GAMEOPTION_NO_HAPPINESS';
 
There are lots of buildings, policies, beliefs etc. related to happiness, disabling it will make them useless (or less useful if they have multiple effects), so, to make the game coherent and balanced, your mod should also make many other changes...
 
There are lots of buildings, policies, beliefs etc. related to happiness, disabling it will make them useless (or less useful if they have multiple effects), so, to make the game coherent and balanced, your mod should also make many other changes...

There's no arguing with a Luddite.

But yes, you're going to have to rework that one policy in the Piety tree, Colosseums, Theatres, Stadiums, the Eiffel Tower...

Are you sure you've thought about all the implications of removing Happiness?
 
All this trouble.....it is in Game Options...

Code:
<GameData>
<GameOptions>
<Update>
<Where Type="GAMEOPTION_NO_HAPPINESS"/>
<Set Default="True"/>
<Update>
</GameOptions>
</GameData>

Is how I think it is in xml format. (Not at a comp with Civ5 to go an see)

Code:
UPDATE GameOptions SET "Default" = 1 WHERE Type = 'GAMEOPTION_NO_HAPPINESS';

SQL way.
 
Luxury Resources: Pointless
Happiness Buildings: Pointless
Order Opener: Pointless
Mandate of Heaven: Pointless
Protectionism: Pointless
Netherlands UA: Pointless
Mercantile City States: Pointless
Ceremonial Burial: Pointless

That was all I could think of off the top of my head. I really think that you should reconsider turning off happiness because of all the functionality that you remove.

Why don't you try changing the thresholds for "Unhappy" and "Very Unhappy" (say, to -50) and also changing the malus (to -10% growth instead of -75% growth). It would make it easier to manage your empire and it wouldn't remove so much functionality from the game.
 
Thanks for all your tips. I'll be scrambling around today to teach myself how to mod and (hopefully) the result will be a crude mod that removes happiness but leaves happiness-buildings and whatnot still somewhat useful, or at least removed.
 
Luxury Resources: Pointless
Happiness Buildings: Pointless
Order Opener: Pointless
Mandate of Heaven: Pointless
Protectionism: Pointless
Netherlands UA: Pointless
Mercantile City States: Pointless
Ceremonial Burial: Pointless

That was all I could think of off the top of my head. I really think that you should reconsider turning off happiness because of all the functionality that you remove.

Why don't you try changing the thresholds for "Unhappy" and "Very Unhappy" (say, to -50) and also changing the malus (to -10% growth instead of -75% growth). It would make it easier to manage your empire and it wouldn't remove so much functionality from the game.

Or try learning the ways of the tall empire.
 
Back
Top Bottom