Game
Empires in Ruins - The bastard child of 4X and Tower Defense

6 years ago

Each turn during the EiR campaign, the provinces tend to lose more or less stability to the Rebellion according to the way they are managed...


Each turn during the EiR campaign, the provinces tend to lose more or less stability to the Rebellion according to the way they are managed.

Rebellion is the value that determines the occurrence of rebellious events that can range from almost harmless ones (Someone drawing mustaches on the princess’ statue) to catastrophic ones (A riot and your governor being hanged).

In this blog entry we do explain how all this is calculated by the algorithms turn by turn.  A province heavily out of control will soon become a huge pain in the arse for your campaign, requiring constant attention, fights, and causing loss of money and resources.

The chance for rebellion to increase at each turn is determined with the following formula:
ChanceOfIncrease = Clamp(CeilToInt(100-Authority/1.5-Happiness/2),5,90)

Some factors do influence the chance additionally, for example:

  • +3 per neighbor province belonging to Kingdom of Krovan

  • +1 per neighbor province belonging to the Rebels

  • -3 per neighbor province belonging to the player

Therefore the chance is strongly influenced by the province authority value, happiness influences it but has a lesser impact, and no matter what, the chance will never bew lower than 5% and higher than 90%.

5d093e192924c.png
5d093e1cf2628.png

Before a new turn starts, we generate a random value between 0 and 99 (included) and compare it with the chance of rebellion increase in the following way:
If the roll is lower than the chance of rebellion increase by at least 5 points, rebellion will increase in the province during the current turn. The increase is a random number between 1 and 5 (included).
If the roll is high than the chance of rebellion increase by at least 5 points, rebellion will decrease in the province during the current turn. The decrease is a random number between 1 and CeilToInt(Authority/10).
If the roll is between 5 points lower and 5 points higher than the chance to increase, nothing will happen instead.

5d093e2279884.png

Once we determined if the rebellion increased or not, we do figure out if an event is gonna happen the next turn. This is determined by generating one random value between 0 and 99 (included) and comparing it with the Rebellion statistic of the province. The difference between the roll and Rebellion will determine the type of event (the lower the roll, the more serious the event).If the roll is greater than the rebellion value, no event will occur.

  • With a difference of 0 to 25 -> Soft event

  • With a difference of 26 to 45 -> Medium event

  • With a difference of 46 to 65 -> Hard event

  • With a difference of 66 or more -> Catastrophic event

5d093e264e517.png
5d093e2a140a7.png

To rise Authority in the province:

  • Hire a governor with good social skills

  • Build a Command Post or Guard Post and level it up

  • Distribute your men, assigning more to the guards and less to the army (it will lower your military but increase authority)

  • Move the HQ to the province to provide Heimer’s authority bonuses

5d093e2dc549a.png

Soon a few more details on HQ, Heimer’s skills and Rebellious events!
Cheers,Dr.H, Lead Designer & Dev



0 comments

Loading...

Next up

We're reworking the guidance/notification system for the player action based on testers feedback, we hope you guys will like it!

How do we feel about a more diegetic UI approach to shuffle through the Recipe Creation stages?🍻⛪Something less direct but more natural looking like Ribbon Markers on the sides of your Recipe Book in Ale Abbey?🧐

#indiegame #pixelart #screenshotsaturday

A quick screenshot directly from Ale Abbey's Brewery... well it's scene-based UI, that is🍻⛪ And you bet that smile says it all!😉

#indiegame #pixelart #screenshotsaturday

So many things to research, and so little time🧐thankfully Ale Abbey's Laboratorium creates the best of spaces for uninterrupted studying about life, beer, and everything!🍻⛪

#indiegame #pixelart #screenshotsaturday

Yep, we've been silent for a while, but did you guys see what we've been doing? New demo, tons of maps, campaign almost done, etc etc!

What's in the flask?

We did open up our latest beta testing, now only as a "closed" round on our discord channel. Wanna try our Campaign, Sandbox and Arcade mode ? https://discord.gg/neWuUG8

Amazing Next Fest results come with amazing feedback... And we hear you! Based on player feedback, we will be testing non-pixelated fonts in Ale Abbey for the sake of readability🍻⛪ Looks appropriate so far 👀

#indiegame #pixelart #screenshotsaturday

Sketching some new styled promo assets, what do you guys think?

Wanna sneak a peek at what Chapter 1 and Chapter 2 battlefields look like? Wanna Join our Discord to try them? http://bit.ly/eir_discord