LUA+Hero+Balance Question, I need some details.
Posted: Wed Dec 10, 2008 10:53 pm
I have been playing for long and modding for a while, there has been always the eternal quest for balance in our mods, either by tweaking a unit's arsenal or even tunning down some stuff, but sometimes having the enemy hero wandering around when your team is losing tends to be unfair, so my question is the same as before.
Can we make script to do something like this?
If team X has equal or more than 50% advantage over team Y (being reinforcements count, command posts, flag points, elimination kills, etc.) disable heroes for team X until advantage equals 10% or less.
That might sound a little complicated, conquest being the more complex with CPs and Reinforcements, one team could have the lead by reinforcements but only one CP left, pretty unfair to not have a hero, it may require to declare an internal variable for CPs and reinforcements to add their values and make them count as 100/100 and recalculate every time heroes are enabled... or something like that.
Anyway, just tell me if that's possible, if not then I might consider using the AI hero to spawn as long as there is a player hero on the battlefield, but you know that's not always effective.
Thanks.
Can we make script to do something like this?
If team X has equal or more than 50% advantage over team Y (being reinforcements count, command posts, flag points, elimination kills, etc.) disable heroes for team X until advantage equals 10% or less.
That might sound a little complicated, conquest being the more complex with CPs and Reinforcements, one team could have the lead by reinforcements but only one CP left, pretty unfair to not have a hero, it may require to declare an internal variable for CPs and reinforcements to add their values and make them count as 100/100 and recalculate every time heroes are enabled... or something like that.
Anyway, just tell me if that's possible, if not then I might consider using the AI hero to spawn as long as there is a player hero on the battlefield, but you know that's not always effective.
Thanks.