Soldiers of Fortune
November 21 2018: You will now notice about a 1 second delay after pressing the purchase contract button or cancel contract button. This is to add better support for slower computers, as not all computers were able to run the scripts before the menu closed. Do not press the check mark exit button while waiting for this to execute, just give it a second and it will finish. This should also help to prevent desyncs in multiplayer.
November 11 2018: Mercenary armies will now spawn with your army if you have one. This will make mercenaries way more viable, as they are very expensive and should not have to march all the way from your capital to get to battle. Also, this should prevent mercenaries from spawning in areas where they get stuck. As long as your general is in an open enough area, the mercs should not get stuck in anything on the campaign map. If you have no armies, they will still spawn near your capital but keep in mind certain capitals are too close to mountains and the mercenaries can get stuck.
—————————————————————————————————————————
This mod allows the player to hire rogue armies as mercenaries. These mercenary bands have increased upkeep and an initial cost up front based on the strength of the armies. After hiring a mercenary band, the rogue army will be teleported to your capital (or to your army if you are a horde) and they will join your country. You can fight alongside your mercenaries of varied races in battle.
Mercenary armies cannot disband units or exchange units with other armies. They will stay together as a mercenary band. Should you become bankrupt and unable to pay your mercenaries, they will break off from your country and return to their original rogue army and declare war upon you to get their due pay through violence. If you wish to avoid this, you are able to cancel your contract with a mercenary band at any time, and they will peacefully return to their rogue army.
This AI does not use this feature. If they were able to purchase mercenaries, they would immediately buy every rogue army that appeared because they are always extremely rich.
Keep in mind, the Mercenary Market consists only of rogue armies that exist in the world. If there are no rogue armies in your game when you check, nothing will be in your Mercenary Market. Rogue armies can appear at any point in your playthrough though so keep an eye out for any mercenaries becoming available.
I based my idea for this off of mercenary bands in Crusdaer Kings. Unlike Total War mercenaries of titles past, where units are just recruited into your army, Crusader Kings implemented a neat feature where mercenary bands stayed together as a group. I feel rogue armies are great candidates for becoming mercenaries as gold is their primary concern and they have no allegiance to any one faction.
I designed the mod with multiplayer in mind, so it should be fully compatible. If you notice any issues in multiplayer let me know what happened so I can try to fix it.
This mod might be incompatible with other mods that edit the animations of existing units. I have made my mod have high priority as it adds each races animations to all other races. If another mod overwrites my mod and edits that table, you may see units t-posing.
This is save game compatible.
There is a bug where the general of the mercenary band you enlist will have no name. You will have to give him a new name or leave it blank.
A lot is going on in this mod, so if you find any bugs please let me know about them with specifics of what happened.
Vanish for creating the UI Framework. Without the framework so many mods like this would not be possible.
Drunk Flamingo for his constant help in answering questions and also for his Lords in Exile mod. That mod showed me how to create forces from other races and how to make it so that these armies cannot exchange units or disband
C&C Modding discord for always helping with any questions
I will always make mods for free but any help is appreciated and great encouragement![www.patreon.com]