Hire Reinforcements
This mod allows the player to hire an allied army that will follow the hiring general for the remainder of the turn, and when the player ends his turn, the army will disappear.
This is meant to allow the player to summon reinforcements from aligned races in order to have fights alongside allied forces, which happens too little in the base game.
HOW IT WORKS
1. On the recruitment window, the player will now have a new button called "Call for Reinforcements".
2. Once pressed, the player will be presented with a dilemma which allows him to hire an army of an aligned race whose units will be chosen at random from a pool of units. The cost for hiring the army is 2500 gold. The player can only call ONE reinforcement per turn, when he has summoned an army, successive presses of the button will do nothing until the next turn.
3. When the player has made the selection, the desired reinforcement army will appear, which will shadow the hiring character’s every move, allowing the player to attack and move with an army that will reinforce in whichever offensive battle the army fights.
IMPORTANT: The game will only register and move the reinforcing army when the player stops moving. For the army to actually reinforce battles, the player should move as close to the enemy as possible first, allowing the reinforcements to catch up. The way the reinforcement army follows the hiring army is done by teleporting it to a valid position around the army of the player. Since there is no way to tell which direction the player is moving, this can result in the reinforcing army being slightly too far to reinforce at times so it might be necessary to readjust in tiny movements until the reinforcing army is in range of the enemy. I have taken steps to reduce the incidence of this last thing so hopefully its no longer an issue, leaving this for now.
4. When the player’s turn ends, the army is destroyed.
COMPATIBILITY
This should work with most stuff and should be savegame compatible.
Requires UI Modding Framework to work.
Only tested on Mortal Empires so far.