I'm trying to edit Zeratul's blink ability so that it does damage in a straight line to all enemy units caught in its path. Kind of like Raynor's railgun ability, but with the caster being teleported to the target point as well. How would one go about making this?
I haven't played with the editor AT ALL, but is it possible to add two seperate effects to an ability?
I'm working almost solely on SC1 knowledge but it seems to me as long as you were okay with whatever was in between him and his teleport point being killed, you could set a "trigger" (I'll have to look more into this as I get into the editor) for all buildings/units/etc. within the area of his teleport to die. You might also be able to set those units/buildings to take a specific amount of damage but that depends on how robust the command line is. But I wouldn't hold my breath for finding a way to actually get the system to recognize the teleportation itself as an attack. Going to have to be round-about.
Ignore the above. Sorry Jon :\ Create a new effect of type "Create Persistent." Add the raynor snipe create persistent effect and the zeratul blink effect to the Effect - Period Effects data field. Set the Effect - Period Durations to 0. This first bit will combine two effects, the second bit will cause the lag in between each effect to be zero so that they occur simultaneously. Now create a new ability of type "Effect - Target" and add your custom Create Persistent effect to this new ability. You can fiddle around with the two effects you added to get the desired graphical representation of each effect.
I have done as instructed and created the ability, but it does not work. I'm sure I've done everything right, created the unit button and everything. But when I use the ability all the unit does is move to the target and nothing else. What am I missing? Is there something else I have to edit in the effects field?
I tried everything on data, but couldn't get it to work so I instead made a trigger that makes me teleport to the target location whenever I used by railgun ability. And it works! Still thanks for the advice ^^
If you would rather do it without triggers, go ahead and upload your map and I will take a look. While trigger-run abilities are powerful, it is generally smoother to have completely data-driven abilities.
Yea, having it be done by data would be nice. Here is the map. I've edited the few things in railgun ability and blink ability so you might have to reset them before you start.
So that's what I forgot to do, to create a new tag in the effect section and combine the abilities there. Dude you are a lifesaver man. Thanks a bunch ^^
Ok this will hopefully be my last question on this thread; the ability works fine, but it has no sound. I've tried fiddling with sound tags but nothing works. Any way to fix this?
Look at the events for the zeratul-blink effect and the railgun snipe effect. You should be able to copy the events that deal with sound effects. EDIT: I actually think the events are located under Zeratul's actor. Copy the sound effect events from Raynor's actor, maybe?
It worked! I went to the Raynor sniper impact actor and changed the effect to be used on blink. Well I think that's what I did. Thanks mate ^^