HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Custom Auras: A demo map.

10-31-2003, 03:58 AM#1
Grater
This map includes two custom auras, the first is a "frostbite" aura, the trigger is very simple - only 6 actions.

The other is a "Stealth Aura", you cast an ability I called "Raiding Party" and your hero temporarly gains an aura that makes all nearby friendly units invisible (unless attacking).

The basic method demonstrated can be used to make any passive (or even active) single unit ability into an aura, examples include frost attack, bash, invunerability etc

This demo does not show how to make multi-level trigger enhanced custom skills, it's aimed at people who already know how to make a trigger enhanced skill and want to know how to make custom auras and other area of effect.
10-31-2003, 08:22 AM#2
Zachary_Shadow
Thanks alot Grater, expect some points from me soon :)
11-01-2003, 07:07 PM#3
Vexorian
Too bad we can't rate repository posts, the auras are great btw
11-02-2003, 04:42 PM#4
YellowSubmarine
Of course, the problem with these auras is that they require an every x seconds of game time function. The worst two problems with that are:

-Units entering or leaving the radius have up to 1 second's worth of inaccuracy when learning or unlearning the ability.
-They cause lag when too many are had.

What Blizzard needs to do is add something for when a unit leaves a radius of a unit. They've already got a function for entering such a radius.
11-02-2003, 10:06 PM#5
Grater
Quote:
-Units entering or leaving the radius have up to 1 second's worth of inaccuracy when learning or unlearning the ability.
Normal auras also suffer from this "problem".
Quote:
-They cause lag when too many are had.
I havn't seen any hard evidence of this, I think it's actually from periodics that cause memory leaks, I've done everything I can to make these triggers not leak memory. Note it's extremely easy to make a periodic that leaks scads of memory which could easily lead to the conclusion periodics = lag.
11-03-2003, 12:54 AM#6
YellowSubmarine
Most everything I have to say is unfounded anyway and can be disregarded.
11-03-2003, 12:03 PM#7
PitzerMike
If you're afraid of lag you can still put all your auras in one and the same periodic trigger and I guess it wouldn't make much difference.
11-09-2003, 08:52 PM#8
Dyne
I liked them!
11-18-2003, 12:07 AM#9
YellowSubmarine
This may be a Map Development question, but I think it best suits this topic because it's based on the aura.

I've made a custom aura based on stealth. It decreases the magic resist of enemy units nearby. The ability it gives enemy units is based off of Runed Bracers with negative spell reduction. The catch is that I want it to give this ability to enemies multiple times as the storm lord levels up, because the ability stacks and I really don't want to make one ability per each of the aura's 15 levels. The enemies will learn the ability X number of times, X being equal to the level of the spell.

The thing is, the only way I know how to create a loop is to have a trigger that adds the ability running itself until it exhausts a variable equal to the number of times the ability is needed. That doesn't work with the custom aura's periodic trigger, considering that that's a bunch of triggers loading all at once-- the game crashes. How could I create such a loop?

I'm also willing to create a few extra abilities for level batching; as in creating a version of the ability equal to like 3 levels of it, and then just giving that to the enemy and subtracting three from the exhaustion variable. Anything, I supppose, to make this work.
12-24-2003, 08:19 PM#10
Captain Griffen
Your stuffed now I'm afraid...with 1.13. The stackin 'abuse' has been removed...I hate blizzard...
12-24-2003, 08:32 PM#11
Extrarius
For 15 levels of the ability, if it goes up linearly, you only need to make 4 abilities. One for level one, two, four, and eight. Then you can combine them to get any level, like for 15=8+4+2+1, or 10=8+2, or 5=4+1
It's just simple binary math to get any X level skill by making only log2(X) custom abilities.

If you need more info, check out the map attached to Damage/Armor Bonus modifier
12-24-2003, 09:42 PM#12
Grater
hmm does magic damage reduce stack tho? I could see problems with a hero having two, or three ruined bracers. The only way may be to make 15 abilities, altough atleast you can use an array and the new ability level function.