How do you make a unit deal blow through damage. The effect I am looking for is something similar to what the Hellion does. It hits units that stand in a line. I have looked at the weapon for the hellion, but for some reason I can't find what sets it apart from other attacks. Anyone know?
The Hellion's Weapon calls the effect type "Create Persistent". This fires off several things at a "periodic interval" of 0, with an increasing offset each time. This calls a "search area" that deals damage. Basically, it creates a line of overlapping circles and uses Markers to insure the same target isn't hit multiple times.
Or maybe you can use the cleave ability of the ultralisk.
AoE damage can have a arc applied to it, so technically you should be able to damage all units in a cone. I think I heard some people talking about that arcs don't work, but it can be done quickly and might be worth a try.
well the way they made the hellion work is pretty stupid. it actually shoots a lot (25) of little shots along the line of the fire, and each of this shots is a tiny 360-degree regular splash..
if u check the data editor u can see that the hellion's weapon's effect is to call 'Hellion - battle canon(persistent)'. and what this persistent does is to first call 'Hellion - battle canon(damage)' (thats under 'Effect - initial') - this will make the unit u targeted take the damage.
after that, under the 'Effect - Periodic Effect' it calls the the 'Hellion - battle canon(search)' to do splash damage. now look at 'Effect - Periodic offset', it have 25 values that represents the places where the splash damage will occur. all this values represent the line from the hellio. the 'Effect - periodic count' is set to 25 so that all 25 locations of splash will be called and thats pretty much it..
a bit confusing but ask if something isnt clear.
Yeah, I understand what's going on now, however what I don't get is how it is shooting the range of 6 every time regardless of the range of it's target. I can't seem to find that anywhere.
i think this is because the field 'Target - Location Offset - Start - Value' is set to 'Source Unit' and not to 'Target unit'. i think this is what causes the line of damage to emerge from the hellion but im not quite sure..
another thing that confuses me is that the last hit takes place at distance 6.5 and not 6. is it because of the hellion's radius? and why all hits are at intervals of 0.25 except the last one where it jump from 6 to 6.5? the radius of the splash is only 0.15 so is there a dead spot just before the end of the fire where units dont get hit? seems strange :P
The hellion's attack does seem to be quite odd. For instance why does it do negative offsets if the offset starts at the hellion? I would think that would make the damage go the opposite direction from the target unit. it also seems like there is some overlap in the damage, so if collision isn't properly set, some units could take double damage.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
How do you make a unit deal blow through damage. The effect I am looking for is something similar to what the Hellion does. It hits units that stand in a line. I have looked at the weapon for the hellion, but for some reason I can't find what sets it apart from other attacks. Anyone know?
The Hellion's Weapon calls the effect type "Create Persistent". This fires off several things at a "periodic interval" of 0, with an increasing offset each time. This calls a "search area" that deals damage. Basically, it creates a line of overlapping circles and uses Markers to insure the same target isn't hit multiple times.
Or maybe you can use the cleave ability of the ultralisk.
AoE damage can have a arc applied to it, so technically you should be able to damage all units in a cone. I think I heard some people talking about that arcs don't work, but it can be done quickly and might be worth a try.
well the way they made the hellion work is pretty stupid. it actually shoots a lot (25) of little shots along the line of the fire, and each of this shots is a tiny 360-degree regular splash.. if u check the data editor u can see that the hellion's weapon's effect is to call 'Hellion - battle canon(persistent)'. and what this persistent does is to first call 'Hellion - battle canon(damage)' (thats under 'Effect - initial') - this will make the unit u targeted take the damage. after that, under the 'Effect - Periodic Effect' it calls the the 'Hellion - battle canon(search)' to do splash damage. now look at 'Effect - Periodic offset', it have 25 values that represents the places where the splash damage will occur. all this values represent the line from the hellio. the 'Effect - periodic count' is set to 25 so that all 25 locations of splash will be called and thats pretty much it.. a bit confusing but ask if something isnt clear.
Yeah, I understand what's going on now, however what I don't get is how it is shooting the range of 6 every time regardless of the range of it's target. I can't seem to find that anywhere.
@puritysdisciple: Go
i think this is because the field 'Target - Location Offset - Start - Value' is set to 'Source Unit' and not to 'Target unit'. i think this is what causes the line of damage to emerge from the hellion but im not quite sure.. another thing that confuses me is that the last hit takes place at distance 6.5 and not 6. is it because of the hellion's radius? and why all hits are at intervals of 0.25 except the last one where it jump from 6 to 6.5? the radius of the splash is only 0.15 so is there a dead spot just before the end of the fire where units dont get hit? seems strange :P
The hellion's attack does seem to be quite odd. For instance why does it do negative offsets if the offset starts at the hellion? I would think that would make the damage go the opposite direction from the target unit. it also seems like there is some overlap in the damage, so if collision isn't properly set, some units could take double damage.