.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   How happiness works? (answer is here) (http://forum.shrapnelgames.com/showthread.php?t=8540)

Asmala February 7th, 2003 11:05 PM

How happiness works? (answer is here)
 
I made a test. My empire was alone in the system, and it's happiness type was peaceful and modifer 100%. I did nothing but clicked end turn. At first my people was happy, but at turn three they became indifferent. I went to the turn 30 and they still were indifferent.

Natural Decrease := -20

30 - 44 Indifferent 100%
15 - 29 Happy 120%

So why my people became angrier though they should be happier?

Btw, does anybody know how the happiness affects reproduction?

[ February 15, 2003, 23:02: Message edited by: asmala ]

Suicide Junkie February 7th, 2003 11:09 PM

Re: How happiness works? (answer is here)
 
IIRC, natural decrease moves your mood towards indifferent.

So if your people are rioting, and there are no modifiers making them angry, they will eventually get bored and go back to work.
If they are super-happy, with no modifiers making htem happier, they will eventually settle back into the drudgery of day to day work.

The natural decrease for other races is of the opposite sign, so if they are happy, they get happier, and if they are angry, they get angrier.

Asmala February 7th, 2003 11:30 PM

Re: How happiness works? (answer is here)
 
Quote:

Originally posted by Suicide Junkie:
The natural decrease for other races is of the opposite sign, so if they are happy, they get happier, and if they are angry, they get angrier.
<font size="2" face="Verdana, Helvetica, sans-serif">IMO that's now very well planned. Is natural decrease only modifier which moves mood towards indifferent? This make neutral happiness type even more for the worse.

If my planet is jubiliant and I have ten troops there then its mood doesn't change, right?

How much Urban Pacification Center affects? There is only 1, 2 and 3 at ability value in facility.txt. That can't mean # points decrease which almost same than troop has.

Fyron February 7th, 2003 11:39 PM

Re: How happiness works? (answer is here)
 
The happiness file alters Anger levels, not Happiness levels. The Happiness level is a result of the anger level. Check SE4 Modding 101 Tutorial (linked in my sig) for lots of info on the happiness file. http://forum.shrapnelgames.com/images/icons/icon7.gif

Instar February 8th, 2003 02:15 AM

Re: How happiness works? (answer is here)
 
to get happiness you must take valium or prozac... oh you mean SEIV
heh, n/m

Asmala February 16th, 2003 12:49 AM

Re: How happiness works? (answer is here)
 
I made lots of experiments and found how the happiness works. I don't know if this is already known but nobody answered to my question so I assume this is new information. Therefore I'll post this to Newbie FAQ too.

First, every new colonization (including homeworld) has 25% angry people, and that means the happiness level is Happy.

In every turn all positive and negative events are add up, round down and then added to angry level.

Every +5% in Happiness causes -0,1% and every -5% in Happiness causes 0,1% change in anger level. For example if you have +20% Happiness bonus, it's like you have two troops on your every planet.

I also noticed that homeworlds doesn't riot.

Some comments would be nice. Although this looks very simple it took very long time for me to solve it.

Asmala February 16th, 2003 01:11 AM

Re: How happiness works? (answer is here)
 
Max Positive Anger Change := 200

This is the maximum amount that the anger level of a planet can change in a positive direction in 1 turn.

Max Negative Anger Change := -200

This is the maximum amount that the anger level of a planet can change in a negative direction in 1 turn.

That is copied from SE4 Modding 101 Tutorial and now I have a question (again http://forum.shrapnelgames.com/images/icons/icon7.gif ). I changed the following in the happiness.txt
Our Troops on Planet := 100
Our Ship in Sector := -3000
The planet was first jubiliant. I built there one turn's worth troops and it started rioting immediately. Then I built one ship, and the planet became jubliant again in one turn. So how that max anger change actually works? http://forum.shrapnelgames.com/image...s/confused.gif

couslee February 16th, 2003 01:26 AM

Re: How happiness works? (answer is here)
 
max positive anger change means MORE anger. Putting "Our Troops on Planet := 100" told the game to have your people get real pissed off if you have your troops on your planet. Not sure how the max anger was bypassed, but one turn worth of troops is how many? 10? 18? 6?

From what I know, a planet will not go from riot to jubilant in one turn. I am sure the more proficent modders will be able to answer that better.

Fyron February 16th, 2003 01:41 AM

Re: How happiness works? (answer is here)
 
First off, I notice that I have 2 typoes in the modding tutorial. http://forum.shrapnelgames.com/images/icons/icon9.gif

"Our Ship in Sector" and "Our Ship in System" have this in their descriptions:

"This value supercedes the Enemy Ship in System value."

and they should not have that. I will fix it later when I get back home (in a few days http://forum.shrapnelgames.com/images/icons/icon7.gif ).

Now to your question:

My guess would be that se4 does not take the max change per turn values in absolute when dealing with such large numbers for anger modifiers (such as -3000, or 100 for each troop). If you can, run this same test on an older Version of SE4, to see if it was always like this, or if this is a recent change in the latest patch (could be a new bug or something).

Asmala February 16th, 2003 01:46 AM

Re: How happiness works? (answer is here)
 
Quote:

Originally posted by couslee:
max positive anger change means MORE anger. Putting "Our Troops on Planet := 100" told the game to have your people get real pissed off if you have your troops on your planet.
<font size="2" face="Verdana, Helvetica, sans-serif">Yep I know and that was the purpose.

Quote:

Not sure how the max anger was bypassed, but one turn worth of troops is how many? 10? 18? 6?
<font size="2" face="Verdana, Helvetica, sans-serif">One turn worth troops was 16.

Quote:

From what I know, a planet will not go from riot to jubilant in one turn. I am sure the more proficent modders will be able to answer that better.
<font size="2" face="Verdana, Helvetica, sans-serif">I thought so but when I tested it the planet indeed went from riot to jubilant in one turn!

Asmala February 16th, 2003 01:54 AM

Re: How happiness works? (answer is here)
 
I run it on Version 1.67 with the same result. First I built one ship (do you know that ships are in sector OR in system, you don't get double bonus) and the planet went jubiliant. Then I built 32 troops and after the troops were ready the planet went to the angry (it was homeplanet and they don't riot).

Fyron February 16th, 2003 01:59 AM

Re: How happiness works? (answer is here)
 
Quote:

(do you know that ships are in sector OR in system, you don't get double bonus)
<font size="2" face="Verdana, Helvetica, sans-serif">That is what the "superscedes system bonus" was for in the modding tutorial, but I just copied it wrong for those entries. http://forum.shrapnelgames.com/images/icons/icon12.gif

Quote:

(it was homeplanet and they don't riot).
<font size="2" face="Verdana, Helvetica, sans-serif">Home planets will indeed riot. I have seen it happen many times before. I think there just might be an extra anger-reduction bonus for HWs, which would explain what people have seen with them not rioting. But, they will indeed riot with enough anger increasing events.

Quote:

quote:
--------------------------------------------------------------------------------
From what I know, a planet will not go from riot to jubilant in one turn. I am sure the more proficent modders will be able to answer that better.
--------------------------------------------------------------------------------

I thought so but when I tested it the planet indeed went from riot to jubilant in one turn!
<font size="2" face="Verdana, Helvetica, sans-serif">It might just be that with the default settings, "a planet will not go from riot to jubilant in one turn". Giving extremely different values to some entries may change the happiness system enough to nullify that statement.

[ February 16, 2003, 00:03: Message edited by: Imperator Fyron ]

Asmala February 16th, 2003 02:17 AM

Re: How happiness works? (answer is here)
 
Quote:

Originally posted by Imperator Fyron:
Home planets will indeed riot. I have seen it happen many times before. I think there just might be an extra anger-reduction bonus for HWs, which would explain what people have seen with them not rioting. But, they will indeed riot with enough anger increasing events.
<font size="2" face="Verdana, Helvetica, sans-serif">OK. Perhaps this 100 for troops is too big and it stirs up everything. But when I had 100 anger for one troop I build 400 troops on my homeplanet and it was still only angry.

Quote:


It might just be that with the default settings, "a planet will not go from riot to jubilant in one turn". Giving extremely different values to some entries may change the happiness system enough to nullify that statement.

<font size="2" face="Verdana, Helvetica, sans-serif">Yep, that might be true. I'll go to sleep now so I can test with different values only tomorrow, hmm, actually today because it's 2 AM... http://forum.shrapnelgames.com/images/icons/icon7.gif

Grandpa Kim February 16th, 2003 03:46 AM

Re: How happiness works? (answer is here)
 
From Asmala:
Quote:

Every +5% in Happiness causes -0,1% and every -5% in Happiness causes 0,1% change in anger level.
<font size="2" face="Verdana, Helvetica, sans-serif">Sounds like you tested this thoroughly but that ratio sounds awfully low to me. Raising your happiness characteristic to 20% would not even come close (only.4%) to counter-acting the 2% natural anger increase of alien races. Seems modifying your your happiness upward would be a waste of points, yet it has always paid dividends for me.

Perhaps I am reading you wrong; my experience says its better than this.

Fyron February 16th, 2003 03:50 AM

Re: How happiness works? (answer is here)
 
Taking 110% in happiness gets your homeworld (that is doing nothing each turn, just sitting there to eliminate other variables in the calculations) to become jubilant in under 10 turns (I forget exactly how long). Leaving it at 100% causes the HW to become indifferent in about a year. So, the happiness trait gives more of a bonus than Asmala's numbers would indicate.

[ February 16, 2003, 01:51: Message edited by: Imperator Fyron ]

Asmala February 16th, 2003 11:19 AM

Re: How happiness works? (answer is here)
 
Quote:

Originally posted by Imperator Fyron:
Taking 110% in happiness gets your homeworld (that is doing nothing each turn, just sitting there to eliminate other variables in the calculations) to become jubilant in under 10 turns (I forget exactly how long). Leaving it at 100% causes the HW to become indifferent in about a year. So, the happiness trait gives more of a bonus than Asmala's numbers would indicate.
<font size="2" face="Verdana, Helvetica, sans-serif">My tests indicates different results. I started new game with 110% in happiness and pressed end turns. At turn 2400.5 the people became indifferent. 2% (natural decrease) - 0,2% (race bonus) = 1,8% round down = 1%. Five turns elapsed so 25% + 5* 1% = 30% -> indifferent.

I noticed that people become indifferent even if you have 150% in happiness, but then at next turn they became happy, then indifferent, then happy etc. That happens because when the people are indifferent there is no natural decrease so what is left is -1% by race bonus.

Asmala February 16th, 2003 11:25 AM

Re: How happiness works? (answer is here)
 
Quote:

Originally posted by Grandpa Kim:
From Asmala: </font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Every +5% in Happiness causes -0,1% and every -5% in Happiness causes 0,1% change in anger level.
<font size="2" face="Verdana, Helvetica, sans-serif">Sounds like you tested this thoroughly but that ratio sounds awfully low to me. Raising your happiness characteristic to 20% would not even come close (only.4%) to counter-acting the 2% natural anger increase of alien races. Seems modifying your your happiness upward would be a waste of points, yet it has always paid dividends for me.

Perhaps I am reading you wrong; my experience says its better than this.
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">You're reading perfectly right and I agree, the ratio is very low. You can test it: even if you have 150% in happiness you're own people still become indifferent.

I made another test with 250% in happiness. The result was that my people became jubiliant in 11 turns. 2% (natural decrease) - 3% (race bonus) = -1%. 11 turns -> 25% - 11 * 1 = 14 -> jubiliant.

Grandpa Kim February 16th, 2003 08:15 PM

Re: How happiness works? (answer is here)
 
I did some testing myself and came up with substantially the same results as Asmala. Using v.1.84 and keeping all factors default except happiness here is what happened.

Happiness setting_________Drop to indifferent date

100%___________________2400.3
105%___________________2400.5
110%___________________2400.5
115%___________________2400.5
120%___________________2400.5
125%___________________2400.5
150%___________________2400.5

using v.1.78

110%___________________2400.5

It looks like this Asmala is right, and this is the way its always been, yet it does seem to make a difference in the game. Seems awfully wimpy but it does work when combined with all other factors. Remember, this small bonus/penalty acts each and every turn.

orev_saara February 18th, 2003 08:30 PM

Re: How happiness works? (answer is here)
 
I'd just like to say that this thread makes me feel very buddhist. How does Happiness work?... http://forum.shrapnelgames.com/images/icons/tongue.gif

Fyron February 18th, 2003 10:14 PM

Re: How happiness works? (answer is here)
 
I don't think this is how it always worked...

Asmala February 19th, 2003 06:45 PM

Re: How happiness works? (answer is here)
 
Quote:

Originally posted by Imperator Fyron:
I don't think this is how it always worked...
<font size="2" face="Verdana, Helvetica, sans-serif">I don't know how it worked but I'm absolutely sure now it works like I told.

Grandpa Kim February 20th, 2003 12:32 AM

Re: How happiness works? (answer is here)
 
Quote:

Originally posted by Imperator Fyron:
I don't think this is how it always worked...
<font size="2" face="Verdana, Helvetica, sans-serif">True, I did only test the two Versions, but within my games, populations seem to be reacting the way they always have. Just my empirical opinion.


All times are GMT -4. The time now is 06:43 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.