HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

(Q!)how might one make this spell?

07-11-2003, 09:46 PM#1
zergiler
okay not make but at least edit one or sumthing. I want my hero unit to have an ultimate ability that dramatically increases his and nearby units attack rate. im not sure att all how to go about that. and yes i know about the ability editor i just suck at using it. i want to make an ability called 'impale' but i want the animation to just have the hero walk up to the enemy unit and wack it and the enemy will keep bleeding or sumthin. thats it i think. show off your spell editing knowledge today!:D
07-12-2003, 01:55 AM#2
Zoi
[I want my hero unit to have an ultimate ability that dramatically increases his and nearby units attack rate.]

This will require triggers if it's not to be an aura, as there are no area effect IAS spells as far as I know.

First, you're going to need 2 custom spells. First will be a dummy spell that will activate the triggers. Second will be the buff you want to put on your units.

Base the dummy spell off of something with no target. Big Bad Voodoo is great for this. Just set all the fields to zero, and change the effect art to whatever you want.

Base the buff spell off of Bloodlust or Unholy Frenzy, and set the attack speed bonus to whatever you want, and set move speed
bonus to zero if based on Bloodlust, or if it's based on Unholy Frenzy, set the damage taken per second to zero.

Now that the 2 spells are done. Make a custom unit based off of whatever(I use wisps). Set the model file to ".mdl" by just deleting the filepath in the 3rd field in the dialog box(going off memory). Make this unit have enough starting mana to cast your buff spell once. Give this unit your buff ability(bloodlust/frenzy). Also give it the ability "Invulnerability - Neutral" or whatever it's called.

Now that you've set up your spells and your caster, it's time to use the triggers. Make a new trigger something like this(my trigger for my "Solar Flare" spell).

Events - Unit - A unit Begins casting an ability

Conditions - (Ability being cast) Equal to Solar Flare Cast
----- use your dummy ability here -----
Actions -
------ this loop is only for special effects, OPTIONAL -----
For each (Integer A) from 1 to 15, do (Actions)
Loop - Actions
Special Effect - Create a special effect at (Random point in (Region centered at (Position of (Casting unit)) with size (1500.00, 1500.00))) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Cinematic - Fade out and back in over 0.50 seconds using texture White Mask and color (100.00%, 100.00%, 100.00%) with 35.00% transparency
Special Effect - Destroy (Last created special effect)

------ you NEED this here -----
Unit Group - Pick every unit in (Units in (Region centered at (Position of (Casting unit)) with size (1500.00, 1500.00)) matching (((Owner of (Matching unit)) is an enemy of (Owner of (Casting unit))) Equal to True)) and do (Actions)
---- change this to check if it's an ally, not an enemy ----
Loop - Actions

If (All Conditions are True) then do (Then Actions) else do (Else Actions)

If - Conditions
((Picked unit) is A structure) Equal to False
((Picked unit) is alive) Equal to True
----- checks here so it won't try to cast on buildings or dead units -----
Then - Actions

Unit - Create 1 Solar Flare Effect Caster for (Owner of (Casting unit)) at (Position of (Picked unit)) facing Default building facing degrees
----- change this unit to whatever unit you used to cast your buff ability -----
Unit - Order (Last created unit) to Undead Banshee - Curse (Picked unit)
----- change this to cast your buff ability(bloodlust/frenzy)
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
----- this is added so the casters you just created will die in 2 seconds -----
----- special effects are OPTIONAL -----
Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl

Special Effect - Destroy (Last created special effect)
----- end special effects -----
Else - Actions

Do nothing




You can use this format to cast any spell in an area of effect, just by changing minor things. Sorry if this was too much for you, but this is what is required, unless I'm a retard and there's a spell that can add an area effect attack speed bonus(I really don't know the new spells all that well as I do not play melee)

P.S. My first post on these forums =P
07-12-2003, 06:46 AM#3
Thunder-Hunter
seems easy

change or base a spell off of Endurance Aura (or an aura that speeds up attacks) and set required lvl to 6, and spell lvls to 1 (normaly at 3 if based off aura) (for a normal 10 lvl hero type ultimate) and edit values to suit u
07-13-2003, 07:16 PM#4
zergiler
thanx, worked out nicely 4 me. took me a little while to find all the shit but at least now i have a bit better of an insight.:D