View Full Version : Happiness change mod
Oct 07, 2010, 01:21 PM
I made the changes below to adjust the happiness, because I do not feel that balanced when playing on huge maps. For example the huge map is 2.3 times bigger than a standard map (so the population can be much higher), but luxuries still provide the same amount of happiness. This is also true for wonders and some social policies. I added a happiness bonus to some buildings also to make them worthwhile to build and increased it for a few to have more benefit.
These are the changes:
1) Happiness for Luxories doubled (each will give 10),
2) Buidling happiness changes:
-Temple will give 2 happiness
-Burial Tomb 4
-Mud Pyramid 2
-Satrap court 4
-Broadcast tower 3
3) Wonders will give 4x happiness.
-Hanging Garden 12
-Notre Dame 20
-Eiffel Tower 32
4) Social Policies
-Piety happiness increased to 10
-Military Caste happiness increased to 2
-Meritocracy happiness increased to 2
Part of the changes were mainly to start learning modding, so in case you have suggestions these can be adjusted. The mod can be downloaded from CIV5 modbrowser (Happiness change for Huge maps v1) or if required I can upload it to this site.
Oct 07, 2010, 05:44 PM
This is a great way to learn how to mod, congratulations on getting it all working! :) I haven't ever tried fiddling with the happiness mechanics yet, so it's interesting to see your take on it. I agree that a lot of things in the game feel they're not scaled well to map size.
Oct 11, 2010, 12:27 PM
I learnt a lot from the uploaded mods,I checked one of your mods to see how to adjust social policies :-).
What I tried a few days ago to make the colosseum, theatre and stadium to work in a similar way as the library. So that for example for every 4 pop to get 1 happiness, and maybe also to get a base happiness.
Unfortunately I can not get this working, the problem is as far as I see that happiness is not defined as yield and I don't know how to add it. I checked the yields file, something probably has to be added there and into some other files :-).
Is there a solution for this or a mod which can do something similar?
Oct 15, 2010, 01:40 AM
Happiness is actually a variable in Civ5Buildings.xml. To add happiness, I think all you need to do is add <happiness> Amount </happiness>. You don't have to tweak yields at all for that.
Oh, that's under the building in question. For instance, here is the temple's entry:
To add happiness, you just add
Oct 15, 2010, 07:51 AM
Well, I would like to make that more complicated :). So that the happiness to change based on the city population, in a similar way as science output from library. This way it would not be a good strategy to have lots of small cities and just put lots of happiness buildings in it to have a net happiness increase in the empire.
After every 4 population in the city to get 1 additional happiness from a building.
Size 1: 0 happiness from the building
Size 2: 0
Size 4: 1
Size 8: 2
For this I think happiness should be defined as yield, but I am not sure.
Jan 07, 2011, 07:47 AM
I am uploading 2 mods:
Happiness Adjustment - Social Policies
The mod will not change the default bonuses of the policies, only adds new bonuses:
Monarchy +1 :) from every Wonder.
Landed Elite +1 :) from every Wonder.
Representation: :mad: from number of Cities reduced by 25%.
Republic +0.5 :) for each City you own connected to the Capital.
Warrior Code +1 :) from every Barrack.
Military Tradition +1 :) from every Castle and Wall.
Professional Army +1 :) from every Armory.
Piety: +1 :) bonus to every Temple. (removed the +2 base :))
Theocracy: Reduces :mad: from Citizens in non-occupied Cities by 15%. (reduced from 25% the difference was added to Free Religion)
Free Religion: +1 :) from every Monastery and Reduces :mad: from Citizens in non-occupied Cities by 10%.
Cultural Diplomacy: :) from gifted Luxuries increased by 100%.
Communism +1:) from every Workshop and +2:) from every Factory.
Total War: +2:) from every Arsenal and Military base.
Free Speech: +2:) from every Broadcast Tower.
Democracy: +1:) from every Garden.
Sovereignty: +1:) from every Public School.
Scientific Revolution: +1:) from every Library (or paper maker in case of China).
Commerce: +1:) from every Lighthouse and Harbor.
Protectionism: +1:) from every Market or Bazaar.
Merchant Navy: +1:) from every Seaport.
Happiness Adjustment - Wonders
1) Hanging Garden: +1 Population and +1 :) in all Cities.
2) Notre Dame: +4 :) and +:)in all Cities
3) Eiffel Tower +8:) and +1:) in all Cities
4) Forbidden Palace: changed from World Wonder to National Wonder
Oct 10, 2011, 01:17 AM
I am uploading 2 mods:
Where are they uploaded too? I don't see any download links.
Oct 15, 2012, 02:39 PM
Is there any way you can upload this on to the new mod database or possible onto this site. Please.