Autocalc and Unit Levels

Users who are viewing this thread

Hello,

I am trying to make a faction that fields a larger number of low quality units to make up the bulk of their forces. My worry is that this will unbalance the game so I made the troop level of their units lower than that of other factions. If another faction spawns a level 16 unit, how many level 3 units of this meatshield faction would have to spawn in order for it to be balanced (with regards autocalc) with other factions who spawn a smaller pool of higher quality troops?
 
Solution
The strength calculation goes something like this:
for each unit stack: get the level of the stack and add 12 to it, square the result, integer divide by 100, multiply by the number of fit troops in the stack, add this to the force's total strength.
Formula should be something like: y=(((x+12)^2)/100) with x as level of the troops and y the strenght of that troop.

If you want to go deeper into the rabbit hole, these are the two threads to read through:
https://forums.taleworlds.com/index.php?threads/improving-the-auto-resolve-system.59553/
https://forums.taleworlds.com/index.php?threads/fun-with-game_event_simulate_battle.58962/
The strength calculation goes something like this:
for each unit stack: get the level of the stack and add 12 to it, square the result, integer divide by 100, multiply by the number of fit troops in the stack, add this to the force's total strength.
Formula should be something like: y=(((x+12)^2)/100) with x as level of the troops and y the strenght of that troop.

If you want to go deeper into the rabbit hole, these are the two threads to read through:
https://forums.taleworlds.com/index.php?threads/improving-the-auto-resolve-system.59553/
https://forums.taleworlds.com/index.php?threads/fun-with-game_event_simulate_battle.58962/
 
Upvote 0
Solution
The strength calculation goes something like this:
for each unit stack: get the level of the stack and add 12 to it, square the result, integer divide by 100, multiply by the number of fit troops in the stack, add this to the force's total strength.
Formula should be something like: y=(((x+12)^2)/100) with x as level of the troops and y the strenght of that troop.

If you want to go deeper into the rabbit hole, these are the two threads to read through:
https://forums.taleworlds.com/index.php?threads/improving-the-auto-resolve-system.59553/
https://forums.taleworlds.com/index.php?threads/fun-with-game_event_simulate_battle.58962/
So I calculate y for each troop in a template and then add up all the values for the force's total strength? Is that right?
 
Upvote 0
Back
Top Bottom