I wanted to use lurkers in my map, and for them to work properly, they should be able to autocast their burrow ability.
So I enabled the autocast flags and tried to ge the autocast to work. But I encountered some strange issues:
using the "enemy nearby"- validator as autocast validator causes the lurker to burrow instantly always. It doesn't matter, if an enemy is nearby.
using any other validator does not seem to work at all, the lurker just does not want to burrow, even if I use basic validators like CasterInCombat, which should burrow the lurker, when he takes damage.
(this is the most weird part:) even when using no validator at all, the lurker won't burrow. So far the only way to make him burrow was using the enemy nearby validator.
I sort of got something now. I thought, if "enemies nearby" kind of enables the autocast, maybe just include it and add another validator, which will actually limit the autocast to situations, when the lurker should actually burrow.
Long story short: Using "enemies nearby" and "caster in combat" makes the lurker burrow, whenever it takes damage. Now I will just need a working enemies nearby validator :p
Yes, there is a "validator array" field. I thought, you needed the smart validator specifically (since this field is present for other types of abilities).
Adding validators in the validator array field did not have much of an effect, however, aside of breaking the autocast again (but not limiting manual cast) - this time I used "enemies nearby" for both validator fields :p (tested some other validators as well).
I did not care for unburrow yet, I want to get my burrow working first. Burrow when taking damage is not what I want; I want him to burrow when in attack range of an enemy.
I encountered several more strange issues. Just to give you a taste: At some point, my own siege mode ability worked like this
sieging up was fine, when an enemy entered 12 range.
I added a cooldown to unsiege, unsiege did only work, if it was used immediately after the cooldown.
if used later on, the ability was used, but the tank stayed a siege tank visually, did not become mobile, was not able to attack or use unsiege anymore (he was basically stuck using the ability), and when clicking him, he would not respond using siege tank soundset, but it was actually the changeling one!
Hey, I looked at the file you posted and the auto burrow works great. However, I can't figure out what data you changed to get it to work. Can you post some steps if it's not too long or step on how to copy the modified lurker to another map project? Thanks.
Nvm, looked at the burrow ability in table view and saw the validator that needed changing. Great file!
Hey.
I wanted to use lurkers in my map, and for them to work properly, they should be able to autocast their burrow ability.
So I enabled the autocast flags and tried to ge the autocast to work. But I encountered some strange issues:
Seriously, whats happening here?
going to test it when I'm back home, had similar problems with the siege tank autocast (what is basically the same, autocast morph)
edit: don't use auto cast validators, use ability smart validators
go test it! have no sc2 here ;)
I sort of got something now. I thought, if "enemies nearby" kind of enables the autocast, maybe just include it and add another validator, which will actually limit the autocast to situations, when the lurker should actually burrow.
Long story short: Using "enemies nearby" and "caster in combat" makes the lurker burrow, whenever it takes damage. Now I will just need a working enemies nearby validator :p
Morph abilities do not seem to have an ability smart validator field
hm there should be 2 different validator fields
screen!^^
Yes, there is a "validator array" field. I thought, you needed the smart validator specifically (since this field is present for other types of abilities).
Adding validators in the validator array field did not have much of an effect, however, aside of breaking the autocast again (but not limiting manual cast) - this time I used "enemies nearby" for both validator fields :p (tested some other validators as well).
my tanks are sieging and unsieging with just an enemy nearby validator. have to look at home, how exactly
is your unburrow autocast?
I did not care for unburrow yet, I want to get my burrow working first. Burrow when taking damage is not what I want; I want him to burrow when in attack range of an enemy.
lol first try
I encountered several more strange issues. Just to give you a taste: At some point, my own siege mode ability worked like this
:) wait a moment, going to add a working siege tank
my lurker doesn't attack, do you know why?
If you use the standard lurker, the burrowed version has burrow AND unburrow. Make sure to remove burrow, otherwise he will still try to autocast it.
My siege tank works now, exactly same settings, but I removed and re-added the abilities once :-/
smart siege and unsiege^^
and burrowing lurker. have a look at the cooldown of the tanks, to make it proper
@b0ne123: Go
Hey, I looked at the file you posted and the auto burrow works great. However, I can't figure out what data you changed to get it to work. Can you post some steps if it's not too long or step on how to copy the modified lurker to another map project? Thanks.
Nvm, looked at the burrow ability in table view and saw the validator that needed changing. Great file!