Is there a way to make a custom zealot charge ability that deals damage and stuns on impact? I've tried making charge a set effect but it deals damage the moment the ability starts and not on impact and the stun doesn't work.
Augment abilities use an effect and then issue an ability command. You need to apply a buff with a damage response on attacker to the unit that does your set effect with the damage/stun and removes the damage response buff on the caster.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I found damage response in the buffs, and I found that I could apply it to the default charge ability, but it does not seem to take. Should this be on a negative buff? And how would I do what you describe?
So the damage response goes on a new buff effect? Here's a screenshot of what I did. So I need to go into the effects, create a new set effect, put the charge (apply buff) and damage effect and stun effect into the set and change the ability to do the set instead of the normal charge (apply buff)?
The field highlighted in the images is for the death response not the damage response. Under your charge you have a set that uses an Apply Behavior effect to apply the buff and the normal charge effects. The damage, stun and Remove Behavior effects go in a second Set effect used as the handled effect of the damage response of the buff.
You want the Handled field in the second image of the first link.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I think I set it up correctly. For the moment I just want to get the damage working, then I'll start adding extra effects. However, it doesn't inflict the 1000 damage on the target.
To the caster (the zealot with charge) or the target? Because I don't know how to apply the buff to the target enemy unit.
EDIT: And if you look at my screenshots, you can see that I have it set up as you said. What am I missing?
EDIT 2: I don't think I'm supposed to apply the buff in the behaviors field of the unit using this ability, yes? Since it doesn't have it by default and it would make it be doing 1000 damage on every attack and moving at double speed
EDIT 3: Perhaps if we could find a way to make it work like the Ultralisk's burrow charge... I'll look at that ability
EDIT 4: Never mind on that, it's almost 20 different effects all linked together, and if I try to change the charge ability to use a set effect it doesn't actually do the charging anymore (the part where it moves at double speed to the target, but it still goes on cooldown)
The buff with the damage response must be on the caster. You want your ability to use an Apply Behavior effect to apply the buff and have the handled effect use a set that does your stuff and then removes the buff using a Remove behaviour effect on the caster.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I can't just add the damage effect to the default charge ability's damage response field?
EDIT: So, in the data editor, the zealot using this charge ability would need a separate buff in its behaviors field that only does damage, the damage should be part of a set effect that has "remove behavior" as part of it as well as the damage. Right?
EDIT 2: Screenshots of my work. I would change the charge ability to use a set effect, but it makes charge not work.
You can not use the default charge buff since that is removed by a validator when the weapon begins firing so would be removed before the damage response occurs.
So you have your ability that uses a Set effect. The first set effect uses the default Apply Behavior effect for the charge and one for your damage effect tree. Your custom buff has no validators and a damage response on attacker that uses a second set effect that uses a Damage effect and a Remove behaviour effect.
With the remove behaviour effect you need to set the count to 1 and the target to caster.
So I should change the default charge ability to be using a set effect with the first of the set effects being the apply charge buff and the second of the set effects to be applying the custom buff that does the damage response? Like in this screenshot?
Then in the damage response of the damage response of the new damage buff, I should have it, in handled, use a set effect that damages, then removes, the buff from the caster? Like in these screenshots?
EDIT 2: In testing, my setup makes it so that charge doesn't occur (as in, the unit does not get the double speed boost towards its target). What happens is the custom buff gets applied when charge starts, but is not removed upon hitting the target.
So your damage effect is called Zealot - Charge? It should be working with that setup. If you want to make sure the damage response is procing you can use the Create Persistent effect from psi storm as a placeholder since it has a clear visual.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
So your damage effect is called Zealot - Charge? It should be working with that setup. If you want to make sure the damage response is procing you can use the Create Persistent effect from psi storm as a placeholder since it has a clear visual.
The effect I'm using is called "Zealot - Charge Damage Set" as seen in this screenshot:
And I provided a screenshot of the set back in post 13 so you can see it has damage and remove behavior effects on it.
Here is a screenshot of what I think you told me to do (add the high templar's psi storm - create persistent effect to the set effect of the damage set used in the buff's damage response handled field):
Unfortunately, this still doesn't work. The damage response is not "connecting" as it were. Also, I determined that the "charge" works, but only 50% of the time (and I do mean exactly 50%, it doesn't work the first time, works the second time, doesn't work the 3rd time, works the 4th time, etc).
EDIT: In order to figure this out, could you try it independently on your end or would you like me to upload the map to dropbox or something so you can take a look at what's happening to me?
Is there a way to make a custom zealot charge ability that deals damage and stuns on impact? I've tried making charge a set effect but it deals damage the moment the ability starts and not on impact and the stun doesn't work.
Augment abilities use an effect and then issue an ability command. You need to apply a buff with a damage response on attacker to the unit that does your set effect with the damage/stun and removes the damage response buff on the caster.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
I found damage response in the buffs, and I found that I could apply it to the default charge ability, but it does not seem to take. Should this be on a negative buff? And how would I do what you describe?
https://imgur.com/a/M3s7Z
Would I need a validator to check the unit being charged at?
Check the damage response chance is set to 1 and the location is set to attacker. Make the Handled effect do your set.
By does not take are you talking about the buff or the damage response?
Reason it is not working is because you have no effect specified under handled.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
So the damage response goes on a new buff effect? Here's a screenshot of what I did. So I need to go into the effects, create a new set effect, put the charge (apply buff) and damage effect and stun effect into the set and change the ability to do the set instead of the normal charge (apply buff)?
https://imgur.com/a/eO5YT
EDIT: Or is the "handled" entry here in combat: effect in the behavior modifications?
https://imgur.com/W6hFZkB
The field highlighted in the images is for the death response not the damage response. Under your charge you have a set that uses an Apply Behavior effect to apply the buff and the normal charge effects. The damage, stun and Remove Behavior effects go in a second Set effect used as the handled effect of the damage response of the buff.
You want the Handled field in the second image of the first link.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
https://imgur.com/VjHMVCR
https://imgur.com/TpvWhQM
I think I set it up correctly. For the moment I just want to get the damage working, then I'll start adding extra effects. However, it doesn't inflict the 1000 damage on the target.
The buff definitely being applied to the unit?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
To the caster (the zealot with charge) or the target? Because I don't know how to apply the buff to the target enemy unit.
EDIT: And if you look at my screenshots, you can see that I have it set up as you said. What am I missing?
EDIT 2: I don't think I'm supposed to apply the buff in the behaviors field of the unit using this ability, yes? Since it doesn't have it by default and it would make it be doing 1000 damage on every attack and moving at double speed
EDIT 3: Perhaps if we could find a way to make it work like the Ultralisk's burrow charge... I'll look at that ability
EDIT 4: Never mind on that, it's almost 20 different effects all linked together, and if I try to change the charge ability to use a set effect it doesn't actually do the charging anymore (the part where it moves at double speed to the target, but it still goes on cooldown)
The buff with the damage response must be on the caster. You want your ability to use an Apply Behavior effect to apply the buff and have the handled effect use a set that does your stuff and then removes the buff using a Remove behaviour effect on the caster.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
I can't just add the damage effect to the default charge ability's damage response field?
EDIT: So, in the data editor, the zealot using this charge ability would need a separate buff in its behaviors field that only does damage, the damage should be part of a set effect that has "remove behavior" as part of it as well as the damage. Right?
EDIT 2: Screenshots of my work. I would change the charge ability to use a set effect, but it makes charge not work.
https://imgur.com/a/YI4Ph
You can not use the default charge buff since that is removed by a validator when the weapon begins firing so would be removed before the damage response occurs.
So you have your ability that uses a Set effect. The first set effect uses the default Apply Behavior effect for the charge and one for your damage effect tree. Your custom buff has no validators and a damage response on attacker that uses a second set effect that uses a Damage effect and a Remove behaviour effect.
With the remove behaviour effect you need to set the count to 1 and the target to caster.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
In reply to DrSuperEvil:
Does it do the damage?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
The extra damage does not occur.
So the buff is being applied and the damage response is set to attacker?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Yes, here is a screenshot of the damage response of the custom buff.
https://imgur.com/a/iP4we
So your damage effect is called Zealot - Charge? It should be working with that setup. If you want to make sure the damage response is procing you can use the Create Persistent effect from psi storm as a placeholder since it has a clear visual.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
I would prefer to see the map.
Sounds like the set is using only one of the total number of possible effects.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg