How is Unrest determined - Pocus?

Moderator: Pocus

Post Reply
Bombax
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 251
Joined: Sat Jul 02, 2016 1:44 pm

How is Unrest determined - Pocus?

Post by Bombax »

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: 5669
Joined: Tue Oct 02, 2012 3:05 pm

Re: How is Unrest determined - Pocus?

Post by Pocus »

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 Kingdoms, Empires, ACW2, WON, EAW, PON, AJE, RUS, ROP, WIA.
Bombax
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 251
Joined: Sat Jul 02, 2016 1:44 pm

Re: How is Unrest determined - Pocus?

Post by Bombax »

That's just what I needed, many thanks :D
Pocus
Ageod
Ageod
Posts: 5669
Joined: Tue Oct 02, 2012 3:05 pm

Re: How is Unrest determined - Pocus?

Post by Pocus »

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

Return to “MOD”