Age of Wonders III

Age of Wonders III

Community Made Maps & Campaigns
Welcome to the Age of Wonder III Workshop. The place on Steam to get and share handcrafted scenarios, epic campaigns and mods that implement little tweaks to full game overhauls.
Learn More
Jake 28 Dec, 2018 @ 4:09pm
Modding help required
So the story goes like this.

So in one of my games being a human sorcerer against a King Ai, I might have used lightning storm too many times. Also, it may have been on a city of my starting race. I was annoyed by the fact that my racial happiness of my starting race has gone to ♥♥♥♥ permanently and searched the modding community for a solution, but to no avail.

Therefore, I have come up with my own idea, the problem is that I have absolutely no idea how to make it work. I have little to nothing in prior experience of modding so understanding the already simple mod editor was hell for me.

My idea is to make race happiness a exponential function of how many happy/unhappy cities a leader have of a race. The population of the cities talk good/♥♥♥♥ about you depending on the state of happiness in the city. The thing is, I already have figured out a nice little formula of an equation, but I have no idea where and how to implement it. I thought it would be somewhere in RacialLogic.rpk but that's as far as I've come.

I also would like to add a racial governance happiness event, giving racial governance XP depending on city size. I've tried it several times but it doesn't quite seem to add up.

Help appreciated
Thanks for reading :cozycrashfish: