I'm trying make Zergling, Zealots and Dark Templars have an EMP Shockwave everytime they attack, but its not working...
can someone help me?
Make the unit a spellcaster in Arsenal III.
Give the unit a button for EMP in Stargraft.
Change the "tech use" reqirements to include that unit.
Follow BST's steps: http://www.staredit.net/index.php?showtopic=15761
This will be added to the tutorial soon. That's how you would do it if you wanted it activated through a button. If you want it to be activated every time they attack, you need to use ICE or IceCC. Here's the general steps, they're not a step-by-step tutorial though, I don't have time to write one at this second.
1. Find the weapon ID of EMP Shockwave by clicking on it in Arsenal III. The weapon ID is displayed in the bottom right. Memorise this number (or write it down)
2. In ICE or IceCC, find the iscript for the unit you want (like the Zergling) and open it for editing.
3. Go to the attack animation, find where the attack command is (attack25 or attack26 in IceCC, or whatever the attack command is in ICE).
4. Right next to the attack command (doesn't matter if it's above or below) add a use weapon command. It will take one parameter, change that to the weapon ID you memorised from step 1.
5. Save your edited iscript to scripts\iscript.bin in your MPQ.
I hope you can fill in the blanks. It helps if you try to understand what's happening, don't just follow the steps blindly. You will also learn a lot more if you do it that way.
I vote Rhino to be Mod for Mod's... Those steps were so damn clear if you didn't undersatnd them you need to quit modding...
I don't think he has the time to though.
I don't want it to be activated through a button, what I meant was to have it make an EMP shockwave each time it attacks without a button, just as a default attack. Kind of like a Terran Marine shooting shooting EMP Rockets but its a melee unit meleeing a EMP shockwave, like in BSTRhino's Doom Dragon mod with the Zealot, but without the random and the spinny thing
Did you not read BSTRhino's post?
He said exactly what you're supposed to do.
Out of curiosity, however, are you trying to make it a real EMP that destroys shields, or just make it look like an EMP explosion?
Yes, EMP explosion is entirely different. Graphics and effect are separate in StarCraft. If you want some instructions doing that, I can tell you what to do, it's practically the same steps as last time, except you replace "use weapon" with a different instruction.
I've tried just changing the Psi Blades graphics to EMP Shockwave, but it didnt work
Is there anyway I could do this with just Arsenal III? Or do I need ICE/IceCC?
Yes, you need ICE.
I'm not sure which command in the attack animation tells the unit to do damage(for ranged units, it's the attack with appropriate or attack with(1+)), but it doesn't tell the unit to play the animation you set it to.
ICE:
Load Default.
Entry Header: Terran Ghost
Animation Scripts: Attack Animation: Copy the Attack with Appropriate Weapon
Entry Header: Protoss Zealot
Animation Scripts: Attack/Repeat Animations: Paste the Attack with Appropriate Weapon into whenever you want the explosion(when he hits the first time, when he goes back to a normal stance, w/e)
Safe File: Modfolder\scripts\iscript.bin
The Zealot's natural attack, Psi Blades, has "Normal Hit" for its attack behaviour or whatever it's called (I wish I could lookup what it's called for you but I'm not at home, so I can't look up the name.) That attack type is special because it is designed not to spawn any sprites, so that's why EMP shockwave isn't showing up as some big shockwave. If you're adamant about doing it in Arsenal III, you could try changing that from "Normal Hit" to "Appears on Target." If that works, that will make the shockwave around your target, not around your Zealot. If you want to get closer, you need to use iscript.
Now, my experience tells me that should work, but more of my experience is telling me there is a chance that it won't. I just remembered that melee units like Zealots, Zerglings and Dark Templars have a different attack command, it's one that plays sounds as well as attacks, and there's a chance that that instruction might function differently than other attack commands. So if it works, that's great, but if it doesn't, you will have to use an iscript editor.
I also just realised that this attack command that melee units like Zealots, Zerglings and Dark Templars might be misinterpreted by ICE, and so the tutorial above might be a bit difficult to do with ICE, but I'll have to check that when I get home.
I've tried that, it doesn't work
QUOTE
and there's a chance that that instruction might function differently than other attack commands.
It
is different. You need to place the Attack With Appropriate Weapon or Attack with(X) in ICE, otherwise Appear on Target/Fly To/Seeks/etc won't work.
Before I knew this, I was messing around a lot, and the only time I got it to work(kind of), the attack did no damage, just created the sprite.
QUOTE(Shadow @ Jun 2 2005, 08:57 PM)
I vote Rhino to be Mod for Mod's... Those steps were so damn clear if you didn't undersatnd them you need to quit modding...
[right][snapback]224480[/snapback][/right]
What did that have to do with anything? Seriously.
SO far i think you are all wrong becuz the 2nd mod i ever made (arsenal 3) was a wriath that shot EMP, and all i did was change its weapon to EMP shockwave... and it worked perfectly. Every shot was a EMP shockwave. I dnno if u can do it to zealot or zerglings... maybe u have to set their weapon type to spell type, or maybe explosion, anything but normal probably will do. maybe i will go try zealots now.. if i get it to work, ill let you kno.
ADDITION:
Ok i tried everything so i guess rhino is right after all

he is the expert here after all. I dont kno anything really about ISScripts so i cant help you.
heh thanks.
If you still want to do that EMP shockwave effect, then although I can tell you the answer, I think it might be better if you worked it out for yourself. I'll give you a push in the right direction though.
- This would be really easy to do in ICE if you are not familiar with IceCC or have never used it.
- As always, a good place to is to find something that already does what you want to do *cough*lockdown missile 2 in ICE*cough*
- The command that displays the shockwave for the EMP shockwave missile is called image overlay or something. If you find the EMP shockwave missile *cough*lockdown missile 2 in ICE*cough* and find an image overlay command somewhere in its script, double click it to see the graphic it displays. If it looks like the shockwave of an EMP shockwave, then copy that command and paste it into your Zealot/Zergling/Dark Templar attack animation to achieve the same effect.
Given those hints, I'm sure you can find your way, otherwise I would give you a fuller description. You might find it find going on a crusade around the iscript trying to find out how to mimic the effect of the EMP shockwave, and best of all, you'll learn a lot more than you would if I told you the answer.