I work on a "fear" ability.
if the caster use this fear ability, all nearby enemy units (excluded massive / robotic) should flee (move AWAY) from the caster unit.
I start by looking at Jcup ignition ability, so i think i got useless effect in it... i think i dont need to use "his" effect structure.
So far, i got the base behavior and ability :
- Abilities - FEAR (Effect Instant) : which only launch the Fear Scream (search) effect.
- Effect - Fear Apply (apply behavior) : witch only apply the Fear behavior to the enemy units.
- Behavior - Fear (buff): 5 seconds duration, period 0.5, periodic effect Fear Target (set)
- Effect - Fear Target set (set) : (this one may be useless,I think) : cause it just set ONE effect : Fear Target Offset Order (create persistent)
- Effect - Fear Target Offset (create persistent) :
expire delay : 5 sec
Flags : radom Offset
initial delay 0.1
period count : 1
period effect : Fear Issue Order
target Location : target Unit
Target Location Offset end : Target point
Target Location Offset start : caster unit
- Fear Issue Order :
Ability : move
effect player + : source
Target - Target + : Caster unit
unit unit + : Source
But actually, It work exactly the opposite ! it's more a "magnet effect" than a fear.. all target unit move forward, to my caster.
I just cut out the Effect - Fear target set , and link directly the behavior to the Fear Target Offset Order, so i know now that the Fear target set is useless.
but it doesnt solve my "magnet instead of Fear" issue =)
- Effect - Fear Target Offset (create persistent) : expire delay : 5 sec Flags : radom Offset initial delay 0.1 period count : 1 period effect : Fear Issue Order target Location : target Unit Target Location Offset end : Target point Target Location Offset start : caster unit
I think you need to change the bold. But I don't know in what
try changing "Target - Target + : Caster unit" to "Target - Target + : Outer Point"
if that doesn't work you could try Apply Force instead of Search Area. or Apply Behaviour with settings to disable weapons and make them flee. I think the "State Flags" are where you should look. Passive and Suppress Attack and maybe uncommandable if you're planning on using it against player units. I have not tried this myself so do not be surprised if it doesn't work how you want. If nothing works, triggers might be your only option.
With lot of help from here and the IRC channel, i'have manage to get it almost work :
the "new" set up is :
So far, i got the base behavior and ability :
- Abilities - FEAR (Effect Instant) : which only launch the Fear Scream (search) effect.
- Effect - Feat Scream Search (search area): ((360,-1, 10) - Fear Apply) , exclude caster, filter robotic / massive
- Effect - Fear Apply (apply behavior) : witch only apply the Fear behavior to the enemy units.
(no change to this 3, they work perfectly) (just need to add sound, and icon over the targeted unit heads !)
- Behavior - Fear (buff): 5 seconds duration, period 0.5, periodic effect Fear Target Offset (create persistent)
(here, I just remove the "set" effect, i dont need it)
- Effect - Fear Target Offset (create persistent) :
expire delay : 5 sec
(I remove the flags)
initial delay 0.1
period count : 1
period effect : Fear Issue Order
Effect - periodic Offset : 3 / 3
Target Location : Target Unit
Target Location Offset end : Caster Unit
Target Location Offset start : Target Unit
- Fear Issue Order :
Ability : move
effect player + : source
Target - Target + : Target Unit
unit unit + : Fear Target Offset Order (create persistent) ; Outer
Now the targeted units move "away" from my caster, that's nice !
i try to solve some issue, mainly with pathing : If the caster and target are in a small area, the target sometime move forward the caster to try to go away. if possible it will be better that they just move as far away from the caster as possible and never come "closer" for any reason...
If I cant find a way to do that, it's no so bad, my UMS gameplay will still be ok with that, just need to adapt the maps design.
hi,
i've tried to use your way to build a fearability, but its not working :/
here are my problems:
Fear Issue Order:
Target-Target+: Target Unit and
unit unit+: Fear Target offset order ;outer
this doesnt work. the units do nothing if i leave it like that (btw, you meant fear target offset, witout order or did i miss any effect?)
if i edit this sothat its like that:
target-target+:OffsetEffect
unit unit+: source
they move with that, but just to the bottom left corner, regardless where the caster stands :/ everything else is the exact same as yours. even if i add anything to the target target+ thing, like source unit, they still move to the bottom left corner so i think the bug is in the offset effect, but its exactly liek the one you did :/ is there maybe a typo or something? im not expirienced enough with offsets and such things to find that bug, so i would love to get help
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi again !
I work on a "fear" ability. if the caster use this fear ability, all nearby enemy units (excluded massive / robotic) should flee (move AWAY) from the caster unit. I start by looking at Jcup ignition ability, so i think i got useless effect in it... i think i dont need to use "his" effect structure.
So far, i got the base behavior and ability :
- Abilities - FEAR (Effect Instant) : which only launch the Fear Scream (search) effect.
- Effect - Feat Scream Search (search area): ((360,-1, 10) - Fear Apply) , exclude caster, filter robotic / massive
- Effect - Fear Apply (apply behavior) : witch only apply the Fear behavior to the enemy units.
- Behavior - Fear (buff): 5 seconds duration, period 0.5, periodic effect Fear Target (set)
- Effect - Fear Target set (set) : (this one may be useless,I think) : cause it just set ONE effect : Fear Target Offset Order (create persistent)
- Effect - Fear Target Offset (create persistent) : expire delay : 5 sec Flags : radom Offset initial delay 0.1 period count : 1 period effect : Fear Issue Order target Location : target Unit Target Location Offset end : Target point Target Location Offset start : caster unit
- Fear Issue Order : Ability : move effect player + : source Target - Target + : Caster unit unit unit + : Source
But actually, It work exactly the opposite ! it's more a "magnet effect" than a fear.. all target unit move forward, to my caster.
Help !!!
I just cut out the Effect - Fear target set , and link directly the behavior to the Fear Target Offset Order, so i know now that the Fear target set is useless.
but it doesnt solve my "magnet instead of Fear" issue =)
Try making -1 to 1, and 10 to -10, and look what is happening.
It will select only One unit in the area, and the range of the spell will be -10 .. i'm not sure it's what i need
Almost solved thx to IRC, I will edit my first post with the "working think" when i get it exactly as I want.
- Effect - Fear Target Offset (create persistent) : expire delay : 5 sec Flags : radom Offset initial delay 0.1 period count : 1 period effect : Fear Issue Order target Location : target Unit Target Location Offset end : Target point Target Location Offset start : caster unit
I think you need to change the bold. But I don't know in what
try changing "Target - Target + : Caster unit" to "Target - Target + : Outer Point" if that doesn't work you could try Apply Force instead of Search Area. or Apply Behaviour with settings to disable weapons and make them flee. I think the "State Flags" are where you should look. Passive and Suppress Attack and maybe uncommandable if you're planning on using it against player units. I have not tried this myself so do not be surprised if it doesn't work how you want. If nothing works, triggers might be your only option.
With lot of help from here and the IRC channel, i'have manage to get it almost work :
the "new" set up is :
So far, i got the base behavior and ability :
- Abilities - FEAR (Effect Instant) : which only launch the Fear Scream (search) effect. - Effect - Feat Scream Search (search area): ((360,-1, 10) - Fear Apply) , exclude caster, filter robotic / massive - Effect - Fear Apply (apply behavior) : witch only apply the Fear behavior to the enemy units. (no change to this 3, they work perfectly) (just need to add sound, and icon over the targeted unit heads !)
- Behavior - Fear (buff): 5 seconds duration, period 0.5, periodic effect Fear Target Offset (create persistent) (here, I just remove the "set" effect, i dont need it)
- Effect - Fear Target Offset (create persistent) : expire delay : 5 sec (I remove the flags) initial delay 0.1 period count : 1 period effect : Fear Issue Order Effect - periodic Offset : 3 / 3 Target Location : Target Unit Target Location Offset end : Caster Unit Target Location Offset start : Target Unit
- Fear Issue Order : Ability : move effect player + : source Target - Target + : Target Unit unit unit + : Fear Target Offset Order (create persistent) ; Outer
Now the targeted units move "away" from my caster, that's nice !
i try to solve some issue, mainly with pathing : If the caster and target are in a small area, the target sometime move forward the caster to try to go away. if possible it will be better that they just move as far away from the caster as possible and never come "closer" for any reason... If I cant find a way to do that, it's no so bad, my UMS gameplay will still be ok with that, just need to adapt the maps design.
hi,
i've tried to use your way to build a fearability, but its not working :/
here are my problems:
Fear Issue Order:
Target-Target+: Target Unit and
unit unit+: Fear Target offset order ;outer
this doesnt work. the units do nothing if i leave it like that (btw, you meant fear target offset, witout order or did i miss any effect?)
if i edit this sothat its like that:
target-target+:OffsetEffect
unit unit+: source
they move with that, but just to the bottom left corner, regardless where the caster stands :/ everything else is the exact same as yours. even if i add anything to the target target+ thing, like source unit, they still move to the bottom left corner so i think the bug is in the offset effect, but its exactly liek the one you did :/ is there maybe a typo or something? im not expirienced enough with offsets and such things to find that bug, so i would love to get help