So after wrestling with my tanks for a little while I have them sieging, unsieging and continuing on to their destination when they become idle. One problem I have though is the last line of defense has two turrets with a larger range than the siege tanks and as soon as the tanks get hit they jump into siege mode and sit there doing nothing while they die. If I shorten the range on the turrets, the tanks behave as expected.
I could give the turret the same range as the tanks but I would prefer to figure out and know why the tanks are sieging out of range.
Siege Tank - Siege
Flags = Auto Cast, Auto Cast (On), Ignore Placement, Suppress Mover, Wait Until Stopped
Probably your engange siege mode trigger fires upon taking damage.
In my map I changed the normal attack range of the unsieged tanks and made the trigger to engage siege mode "a unit starts attacking (namely the siege tank)" and then they will siege up immediatly if something enters range. The increased range on the regular weapon is not even a balancing issue since they will never fire it.
Not sure how to load the Campaign AI, asked about that when I first started but never got an answer.
I more or less want to know why they were sieging out of range. I have things working I just messed around with the turrets range a bit. I don't have anything balanced yet so it probably would have gotten changed anyways so no big deal. I just don't like not knowing why my tanks were being dumb.
I have just figured out how to make tanks act correctly. First prepare validator called "SiegeTankHostileSearch (Unnamed)". Edit it's areas values to:
0. Equal to: 0, Radius: 2
1. Greater or equal to: 1, Radius: 13
(i have no idea why they were set wrong by default)
Then set this validator to your automatic siege mode ability (Tank will autocast siege mode if there is nothing to close, and there is anything hostile in range of siege weapon). Its important to set siege ability not just on "auto cast" but also on "automatic". Remember to set this validator under "Validator Array" - not on "Auto Cast Validators".
Hope its gonna help you :)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So after wrestling with my tanks for a little while I have them sieging, unsieging and continuing on to their destination when they become idle. One problem I have though is the last line of defense has two turrets with a larger range than the siege tanks and as soon as the tanks get hit they jump into siege mode and sit there doing nothing while they die. If I shorten the range on the turrets, the tanks behave as expected.
I could give the turret the same range as the tanks but I would prefer to figure out and know why the tanks are sieging out of range.
Siege Tank - Siege Flags = Auto Cast, Auto Cast (On), Ignore Placement, Suppress Mover, Wait Until Stopped
Ability - Auto Cast Filters = Required: Visible; Excluded: Player, Ally
Ability - Auto Cast Maximum = -1
Ability - Auto Cast Minimum = 1
Ability - Auto Cast Range = 8
Everything else is still the default values.
Probably your engange siege mode trigger fires upon taking damage.
In my map I changed the normal attack range of the unsieged tanks and made the trigger to engage siege mode "a unit starts attacking (namely the siege tank)" and then they will siege up immediatly if something enters range. The increased range on the regular weapon is not even a balancing issue since they will never fire it.
I'm not using triggers. I tried and started getting too many thread errors. I'm doing all my abilities through autocast now.
Not sure how to load the Campaign AI, asked about that when I first started but never got an answer.
I more or less want to know why they were sieging out of range. I have things working I just messed around with the turrets range a bit. I don't have anything balanced yet so it probably would have gotten changed anyways so no big deal. I just don't like not knowing why my tanks were being dumb.
@Mastershadow: Go
I have just figured out how to make tanks act correctly. First prepare validator called "SiegeTankHostileSearch (Unnamed)". Edit it's areas values to:
0. Equal to: 0, Radius: 2
1. Greater or equal to: 1, Radius: 13
(i have no idea why they were set wrong by default)
Then set this validator to your automatic siege mode ability (Tank will autocast siege mode if there is nothing to close, and there is anything hostile in range of siege weapon). Its important to set siege ability not just on "auto cast" but also on "automatic". Remember to set this validator under "Validator Array" - not on "Auto Cast Validators".
Hope its gonna help you :)