On my Moonlords map most heroes have a point-target missile attack.
I changed many skills to data and now it sometimes happens that one of the missiles doesnt impact but instead travels to the target point and then just circles that point for ~30 seconds before it despawns.(to be precise: hero position offset by range towards target point direction not target point)
I cant figure out what causes this (no reliable way to reproduce) and it seems like it doesnt happen to all hero skills with the same % chance.
Fireball seems to fail most often at a ~3% chance.
My temporary fix idea includes adding a timed buff to the missiles that will self-destruct them but the missiles will still not hit anything making the spell weaker than intended.
I dont think the mover is the problem ... thats the only thing that actually works: moving towards target.
Problem is that the impact detection & eol timer dont work.
But if you really think the mover produces the problem: please be a bit more specific.
try boosting it's turn rate, in mover play around with fields, make sure your target is target point/unit in launch effect
any way it means your missile can't reach it's target
It is not supposed to reach the target point .. .it is supposed to fly into the direction impact on any valid target on the way or just die just before it reaches the target.
In first post you complain about the missile not reaching impact location (-> circling around it, despawns after 30 seconds [default time set in mover]).
Now you state that the missile shouldn't ever reach that position.
We are clearly missing some info about what your missile should do.
How does the missile hit other things? Buff + periodic search effect?
What's happening in detail? What's the desired scenario?
It is not supposed to reach the target point .. .it is supposed to fly into the direction impact on any valid target on the way or just die just before it reaches the target.
than create behavior for that missile that will kill it after x amount of seconds. Note that coliding with terrain may be tricky. And you need to change mover to linear or something
What I want:
Target a point "a" -> launch missile towards "a" for up to x seconds then "impact" or if the missile gets close enough to a valid target on it's way "impact" there instead.
This happens most of the time 95%+
Sometimes however this happens:
Target a point "a" -> launch missile towards "a" for up to 30 seconds(or whatever the default max is) then despawn.(-> valid target are ignored)
persistent launch effect: loaction(source unit), periodic effect(impact detection), expire effect(impact) , 48 periods at 0.125s
impact detection: area search range&filter-> impact
impact set: damage , add debuff, damage (suicide source unit(missile)), destroy persistent launch-persistent at source unit
-> somehow the launch effect doesnt work in rare cases.
There is as alternate launch mechanism: behavior damage response -> init -> same as above : this seems to fail more often
unrelated: editor has some weird red-shift over the terrain maybe some kind of filter? I guess I pressed some weird hotkey combo but Id like to reverse it ...
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
On my Moonlords map most heroes have a point-target missile attack.
I changed many skills to data and now it sometimes happens that one of the missiles doesnt impact but instead travels to the target point and then just circles that point for ~30 seconds before it despawns.(to be precise: hero position offset by range towards target point direction not target point)
I cant figure out what causes this (no reliable way to reproduce) and it seems like it doesnt happen to all hero skills with the same % chance.
Fireball seems to fail most often at a ~3% chance.
My temporary fix idea includes adding a timed buff to the missiles that will self-destruct them but the missiles will still not hit anything making the spell weaker than intended.
Tinker with the missile's mover.
You seem to have some settings that do not guarantee a hit as you can drift around the target.
@Ahli634:
I dont think the mover is the problem ... thats the only thing that actually works: moving towards target.
Problem is that the impact detection & eol timer dont work.
But if you really think the mover produces the problem: please be a bit more specific.
try boosting it's turn rate, in mover play around with fields, make sure your target is target point/unit in launch effect
any way it means your missile can't reach it's target
@Nerfpl:
It is not supposed to reach the target point .. .it is supposed to fly into the direction impact on any valid target on the way or just die just before it reaches the target.
@Zytrug: Go
In first post you complain about the missile not reaching impact location (-> circling around it, despawns after 30 seconds [default time set in mover]).
Now you state that the missile shouldn't ever reach that position.
We are clearly missing some info about what your missile should do.
How does the missile hit other things? Buff + periodic search effect?
What's happening in detail? What's the desired scenario?
than create behavior for that missile that will kill it after x amount of seconds. Note that coliding with terrain may be tricky. And you need to change mover to linear or something
@Ahli634:
What I want:
Target a point "a" -> launch missile towards "a" for up to x seconds then "impact" or if the missile gets close enough to a valid target on it's way "impact" there instead.
This happens most of the time 95%+
Sometimes however this happens:
Target a point "a" -> launch missile towards "a" for up to 30 seconds(or whatever the default max is) then despawn.(-> valid target are ignored)
Example ability:
effect target ability -> create persistent (source point) offset -17 -> launch missile - launch effect (persistent) - impact effect (impact) (target location: target point) (source location: caster unit)
persistent launch effect: loaction(source unit), periodic effect(impact detection), expire effect(impact) , 48 periods at 0.125s
impact detection: area search range&filter-> impact
impact set: damage , add debuff, damage (suicide source unit(missile)), destroy persistent launch-persistent at source unit
-> somehow the launch effect doesnt work in rare cases.
There is as alternate launch mechanism: behavior damage response -> init -> same as above : this seems to fail more often
unrelated: editor has some weird red-shift over the terrain maybe some kind of filter? I guess I pressed some weird hotkey combo but Id like to reverse it ...