HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need help turning damage spells into healing ones.

12-22-2002, 09:40 AM#1
Ultramagnetic
Is this even possible?

I'm trying to turn Blizzard into an aoe healing spell that's aimable and will only effect friendly units and that'll have the tranquiity spell art instead of the blizz shards. (Unless there's a way I can turn them green...).

So far I can't seem to get it. I tried using a negative number in the damage per wave box, but that didn't do it... And I have no idea what to put in the targets box at all...

Anybody got any suggestions?
12-22-2002, 10:55 AM#2
MartinezTG
I suggest making the 'damage per wave' negative and changing the targets into 'friend'. I haven't checked it yet but it might work.

Martinez
12-22-2002, 11:17 AM#3
reaperjt
he said he already tried negative damage and it diddn't work. Hrm I dunno dude, I am still gettin the hang of spell editing
12-23-2002, 09:31 PM#4
Ultramagnetic
BIZUMP!!
12-23-2002, 10:26 PM#5
DemonicSoul
Quote:
Originally posted by Ultramagnetic
BIZUMP!!



please.... never say anything like that again....

yes putting it as negative is the way... and excluding the enemies from targets
12-24-2002, 12:07 AM#6
Electromancer
Im not exactly sure whats wrong with negitive damage. plus you can just give spells that already heal an aoe. Like Holy Light, just give it an AoE, 200 if you want it the same as blizzards AoE.
12-24-2002, 12:56 AM#7
Ultramagnetic
Well yeah, I already thought about doing that, BUT what I want is for the spell to heal in 'waves' like blizz does damage in waves, and holy bolt is a one-shot deal type of spell, and I wouldn't even know how to go about making it do that... unless there's a way to make a spell cast a couple times in a row on it's own.

And if there is, tell me how to do it, heh.
12-26-2002, 05:03 AM#8
Ultramagnetic
Hmm. I'm pretty sure the negative damage thing didn't work when I tried it the first time, but then again I messed with all the targets too, so that coulda been the prob...

...even then though the aoe targeting thing showed up and all the units under it turned green, so
I dunno.
12-26-2002, 07:02 AM#9
Byelobog
Here is what you do. Take a spell that is unused that shows up in the campaign editor as an "ability" and edit it so that it has the same "Code" as tranquility. "AEtq" is tranquility.
Now, make sure the Alias and Uberalias remain the same as what you had before for the unused spell (e.g. pilot tank) "Atlp".

Now, go into the HumanAbilityStrings.txt file de-compressed from the war3patch.mpq, and look for "atlp".

Comment out the existing stuff except for spell code and add in the description for tranquility, change as you want, but use the Atlp for the specific parts which require spell data. Let's say I wanted to call this spell "healing aura". Here is an example where I use a flare effect when the tranquility goes off:

[Atlp]
//Name=Load Pilot
//Tip=Load |cffffcc00P|rilot
//Ubertip="Use this ability on a Rifleman to become a War Wagon that can attack enemy units, but not buildings. Use this ability on a Mortar Team to become a Steam Tank that can siege enemy buildings."
//Hotkey=P
Name=Healing Aura
Tip=H|cffffcc00e|raling Aura
Ubertip="Radiates healing energy for <Atlp,Data11> hit points per second. |nLasts <Atlp,Dur1> seconds."
Hotkey=E
Researchtip="Learn H|cffffcc00e|raling Aura"
Researchubertip="Causes healing energy to radiate healing friendly allied units for <Atlp,Data11> hit points per second. |nLasts <Atlp,Dur1> seconds."
Researchhotkey=T

Now go into HumanAbilityFunc.txt and alter the data as you see fit, choosing your own spell effects (commenting out the old stuff) (you can alter the .mdl to suit your tastes).
Example:
// Tank Load Pilot
[Atlp]
//Art=ReplaceableTextures\CommandButtons\BTNLoadDwarf.blp
Art=ReplaceableTextures\CommandButtons\BTNBronzeBowlFull.blp
Buttonpos=3,1
Targetart=Abilities\Spells\NightElf\Tranquility\TranquilityTarget.mdl
Effectart=Abilities\Spells\NightElf\Tranquility\Tranquility.mdl
Casterart=Abilities\Spells\Human\Flare\FlareCaster.mdl

Now finish up editing the spell data by mimicking the fields in Tranquility, just copy them all over directly and move the abilitydata.slk into your spell editor, which will allow you now to use that in your Editor. When ready, move over the abilitydata.slk into your MPQ (w3m), using units\ as the path name for the 3 files you did, and voila' you have a healing spell that heals in waves. Say for example you wanted to have the target look the same as when you hit them with a holy bolt, then use "Targetart=Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl" instead of "Targetart=Abilities\Spells\NightElf\Tranquility\TranquilityTarget.mdl" and now it should show that art on everybody while they are being healed. Also say you didn't want the rain effect, you could change the casterart to equal something else. Also say you wanted to make the effect look like a fountain of healing, you could use "Targetart=Abilities\Spells\Other\ANrm\ANrmTarget.mdl" instead of the existing targetart, etc etc.

Got all that?
12-27-2002, 07:48 AM#10
Ultramagnetic
That's not a bad idea, but it's still not really what im going for here. Basicly that's just a tranq with new art and a new name... The whole point of me usin blizz for this is it's aimable, and it's got an AoE.

I know how to change the caster and target art of spells already just fine, but what i DONT know how to do, and what the real big problem for me here is, figuring out how to make a damage spell GIVE hps instead of taking them away...


let me simplify this here.

I want to make a tranq spell with an AIMABLE AoE, not one that's stuck to the caster. That's what I wanna know how to do
12-27-2002, 08:04 AM#11
Guest
Triggers. :) My specialty. Make a copied blizzard spell, that says it does all that junk. Now for the triggers.

Events: Specficic unit event: [hero] is issued an order
Condision: Issued order equal to [blizzard]
Actions:
Order [hero] to stop
Move [region1] to: Area of issued order
Special Effect: Create a special effect using <whatever you want> at [region1]
Unit: Add property: +50 Current health
Wait [5] seconds <or what ever>


Do the last two actions for every wave you want. :) Good luck.
12-27-2002, 08:44 PM#12
Guest
Couldn't you just give Holy Light or the Creep Heal ability an AOE by editing the AOE field in AbiltyData.slk? Then just change the allowable targets to include everything you wanted.

I know that this wouldn't give you the wave effect like a Blizzard would, but if you made the cooldown low, the user could micro the same effect.

I was thinking about doing something similar with Antimagic Shell. Except I wanted to make it a persistant item effect...dont know if that's possible however... Haven't had time to mess with it yet.
12-29-2002, 06:50 PM#13
Ultramagnetic
Im not really that good with triggers yet, BUT if I used spectre
s trigger would the spell still be able to level up? Or would I have to make a trigger for each individual level of the spell that'd be dependant on the hero's lvl or something?