Im having a hard time understand persistants and how they work. I have yet to find a good tutorial on making a DOT effect. I can apply a DOT easily through an Ability but im trying to make it apply when you attack with a Weapon.
People say use a persistant, which i have tried, but i dont understand how to link them up or get it to apply properly. I have a Missile Weapon that shoots Roach Acid for example, and i want it to Apply a DOT effect dealing dmg over 15 seconds. Also what Validator do i use so the DOT can only be Applied once at a time and not infinite.
Another thing is a Critical Hit Type ability. How do i make it so it applies anytime you attack. Like every attack has a 15% chance todo double damage.
If anyone knows a really good tutorial for Dots please post it, for i have yet to find a good tutorial about persistants or actually creating an on Attack Effect (aside from that one where he makes Photon Cannons Shoot Psi storms, but the English is horrible and there is Little to no Explaining of what or Why hes doing certain things.
My Data Editor skills would be around intermediate, so i dont really need step-by-step instructions. Just need some concept of how it works so i can grasp persistants and On-Attack Effects.
add the campaign dependencies to a map and take a look at the brutalisk. he has an attack that ticks one time to imitate two weapon swings if my memories are correct
Here's how I did it:
1. Go to "Effects" and make a new Effect with "Apply behaviour".
2. Also make a new effect with "Damage".
3. Go to the DOT (step 2) => Combat => Amount. Fill in for how much the DOT should do damage per tick.
4. Go to "Behaviour" and make a "Buff" behaviour.
5. Select the just created buff => "Effect" => Set Effect Periodic to the DOT (step 2)
7. Click Stats => fill in the Duration (for example 5.0 will lead to a DOT lasting 5 seconds)
8. Also fill in Period to 1.0 (could be different. This sets on how many times per second the DOT should tick. Here the dot will tick every second).
9. Go to Weapons and make a new weapon.
10. Go to the just created weapon => Effects => Apply step 1
Now you just need to apply the weapon to the desired unit and see the DOT being applied :)
Basically what Schwick said, but since you're using a weapon that already exists, just also create a "Set" effect, add the "Apply Behavior" for the DOT and add whatever the impact effect for the weapon is into the set. Then change the impact effect of the missile to the newly created Set effect. This will make it apply both effects upon impact, one of them doing what the weapon did till now, the other one adding a (de)buff that deals damage over time.
Basically what Schwick said, but since you're using a weapon that already exists, just also create a "Set" effect, add the "Apply Behavior" for the DOT and add whatever the impact effect for the weapon is into the set. Then change the impact effect of the missile to the newly created Set effect. This will make it apply both effects upon impact, one of them doing what the weapon did till now, the other one adding a (de)buff that deals damage over time.
You don't need a Set. In the behavior, you can edit the "Initial" effect and change it to the direct damage portion of the attack.
Im having a hard time understand persistants and how they work. I have yet to find a good tutorial on making a DOT effect. I can apply a DOT easily through an Ability but im trying to make it apply when you attack with a Weapon.
People say use a persistant, which i have tried, but i dont understand how to link them up or get it to apply properly. I have a Missile Weapon that shoots Roach Acid for example, and i want it to Apply a DOT effect dealing dmg over 15 seconds. Also what Validator do i use so the DOT can only be Applied once at a time and not infinite.
Another thing is a Critical Hit Type ability. How do i make it so it applies anytime you attack. Like every attack has a 15% chance todo double damage.
If anyone knows a really good tutorial for Dots please post it, for i have yet to find a good tutorial about persistants or actually creating an on Attack Effect (aside from that one where he makes Photon Cannons Shoot Psi storms, but the English is horrible and there is Little to no Explaining of what or Why hes doing certain things.
Thanks for Any Help.
Anyone?
My Data Editor skills would be around intermediate, so i dont really need step-by-step instructions. Just need some concept of how it works so i can grasp persistants and On-Attack Effects.
I appreciate any Help.
Bump.
I cannot find any Tutorials that actually explain how to make a weapon apply DOTs.
@RockJohnAxe: Go
add the campaign dependencies to a map and take a look at the brutalisk. he has an attack that ticks one time to imitate two weapon swings if my memories are correct
Science vessel irritate or w.e perhaps? Can't recall if that does damage.
@b0ne123: Go
ok i see. But basically it has 2 periods running the Damage effect twice.
How would i run a damage effect and the Apply Buff Effect? If i change my weapons effect from the Launch to a PErsistant it doesnt shoot the missile.
@RockJohnAxe: Go
the persistent should be the impact effect of the launch effect?!
and if you want a debuff icon on the unit, call an set effect with the persistent and an apply behavior effect
@b0ne123: Go
btw thanks for the help... this is really connecting the dots for me. (PUN)
EDIT #2: Setting my Missiles Impact to the Persistant isnt properly triggering the persistant... or any of the impact effects/actors
@RockJohnAxe: Go
sry I've got no editor here, maybe anybody else want to jump in
Here's how I did it:
1. Go to "Effects" and make a new Effect with "Apply behaviour".
2. Also make a new effect with "Damage".
3. Go to the DOT (step 2) => Combat => Amount. Fill in for how much the DOT should do damage per tick.
4. Go to "Behaviour" and make a "Buff" behaviour.
5. Select the just created buff => "Effect" => Set Effect Periodic to the DOT (step 2)
7. Click Stats => fill in the Duration (for example 5.0 will lead to a DOT lasting 5 seconds)
8. Also fill in Period to 1.0 (could be different. This sets on how many times per second the DOT should tick. Here the dot will tick every second).
9. Go to Weapons and make a new weapon.
10. Go to the just created weapon => Effects => Apply step 1
Now you just need to apply the weapon to the desired unit and see the DOT being applied :)
Basically what Schwick said, but since you're using a weapon that already exists, just also create a "Set" effect, add the "Apply Behavior" for the DOT and add whatever the impact effect for the weapon is into the set. Then change the impact effect of the missile to the newly created Set effect. This will make it apply both effects upon impact, one of them doing what the weapon did till now, the other one adding a (de)buff that deals damage over time.
You don't need a Set. In the behavior, you can edit the "Initial" effect and change it to the direct damage portion of the attack.
@ProxyTooMuch: Go
o beautiful the Set effect works perfectly! The Create Persistant wasnting triggering on missile impacts before but the Set is working great.
Thanks again for the help