How is Unrest determined - Pocus?

Moderator: Pocus

Post Reply
Bombax
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 220
Joined: Sat Jul 02, 2016 1:44 pm

How is Unrest determined - Pocus?

Post by Bombax » Sun Aug 09, 2020 11:39 am

I understand some of the factors that impact the Unrest level for slaves and citizens, but I would really appreciate a detailed explanation of how the final value is calculated - and if possible where/how to tweak it. Also, presumably the factors that determine level of unrest for slaves are different from those that determine unrest for citizens?

Thanks in advance,
Jay.

Pocus
Ageod
Ageod
Posts: 2684
Joined: Tue Oct 02, 2012 3:05 pm

Re: How is Unrest determined - Pocus?

Post by Pocus » Tue Aug 11, 2020 2:08 pm

Unrest is using the sum of unrest generated by all the pops. It would be better for you to consult the actual function, because I would end up paraphrasing it in any case. It is there:

\Data\scripts\Population.bsf\

FUNCTION Population_Unrest(popID)

I can reply focused questions though!
AGEOD Team - Makers of Empires, ACW2, WON, EAW, PON, AJE, RUS, ROP, WIA.

Bombax
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 220
Joined: Sat Jul 02, 2016 1:44 pm

Re: How is Unrest determined - Pocus?

Post by Bombax » Wed Aug 12, 2020 11:18 am

That's just what I needed, many thanks :D

Pocus
Ageod
Ageod
Posts: 2684
Joined: Tue Oct 02, 2012 3:05 pm

Re: How is Unrest determined - Pocus?

Post by Pocus » Thu Aug 20, 2020 9:16 am

You're welcome! :D
AGEOD Team - Makers of Empires, ACW2, WON, EAW, PON, AJE, RUS, ROP, WIA.

Post Reply

Return to “MOD”