HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

need help on AoE

12-15-2003, 01:16 PM#1
Shadow_Strike
i went to Stormbolt in the Object editor, and i changed the Aoe to 300, when i played the map with the AOE Stormbolt, it only damaged one unit, whats wrong?
12-15-2003, 01:37 PM#2
th15
Not all spell data are used in-game. Storm bolt quite simply cannot be an area-of-effect spell, as far as i know.
12-15-2003, 03:21 PM#3
Doctus
You can make a spell that has that effect without too much trouble, though. See Elil's AoE Demo for an example.
12-15-2003, 03:59 PM#4
Shadow_Strike
it doesnt give enough info.... i ended up c&p, though i dont even know what to do...:(
12-15-2003, 06:44 PM#5
Taelrie
Storm bolt is a target spell. Frankly if you want to damage everybody you would have to use a trigger because Storm bolt is designed to only hit one person; trying to give it an aoe will confuse the engine and just void the whole field altogether. Here is my suggestion if you want to make this work.

Event- unit casts a spell

Condition- spell is = to stormbolt
level is = X (1, 2, or 3 I know that isn't the exact trigger but I am too lazy to look up the name in WE)

action- move X region to position of target (to do this make a region on a place noone can go and yes I have had this question asked a lot there IS a trigger to move regions)

action- if unit is in X region then do X stuff (damage them, throw them around, you can do practically whatever you want now).

action-move X region to position on map (specify the position which should be back where it was)


There you go now everybody in that region (which I am guessing will be the size of your AoE) will be helpless to whatever you want to do.
12-15-2003, 07:47 PM#6
FerretDruid
I'd advise against using any physical regions.. You can just get the target point of the spell, and select every unit within a radius of that point.

Trigger 1.
Event
Unit is given an order targeting a point (Or unit.. but it's probably better to use a spell like silence or breath of fire as a base so you don't need to target any specific unit).

Conditions (there are a few ways to do condtitions but I would do it this way)
Order being issues is uqual to Silence AND Unit type (or specific unit) of ordered unit uqual to <whatever the caster is>

Actions
Set <pointvariable> = target point of issued order

Trigger 2
Event
Unit starts thee effect of an ability

Condition
Ability being cast equal to <yourdummyspell>

Actions
Pick every unit within <whatever radius you want> of <pointvariable> and do actions
Loop - All your actions here...

I understand you were just trying to edit the already existing ability, but this is what you need to do to get the effect that you were looking for.. If you don't understand something just ask ;)
12-15-2003, 08:11 PM#7
Taelrie
I would use "within radius" myself but I have a very loose definition of what a "point" is. I know 512 is the base use of a tauren's warstomp but that isn't very much to go by. If anybody could take a screenshot and mark off what 1000 range is I would be really grateful (will cut down on a lot of work on my part for the region making
12-16-2003, 12:46 AM#8
Newhydra
...Point with radius means that the 512 or whatever is the radius of the blast. Just make 512x512 region and there you go...a circle which is tangent to each side of the region is what it'd look like. (or a circle inscribed in that square...same thing)
12-16-2003, 12:54 AM#9
Taelrie
no I know that the points of the radius specify how far in a circle it is away but I don't know how much 1 point is. For me a point could be either a foot or a meter for all I know.
12-16-2003, 02:04 AM#10
Newhydra
Yes but you can *see* how far one point is if you create a 1x1 square region in the editor.
12-16-2003, 07:09 PM#11
Shadow_Strike
no cuz then itll be too big fer one "point", cuz stormbolt is 1000 points, so thatll mean bout half the map.
12-16-2003, 08:36 PM#12
Ligature
To hopefully ease some of this confusion -

A Point is not a unit of measurement... it's a location, a set of coordinates designating a particular place on the map. A "Point with Radius" is a function that returns a circular region centered around a location.

A Warcraft3 unit for horizontal distance... well, they don't have names. Just for clarity I'll call them "Warcraft distance units" or Wdu. If you look in the map editor main menu, with the grid turned on:
--The smallest grid squares (default: grey) are 32 Wdu square.
--The medium grid squares (default: white) are 128 Wdu square.
--The large grid squares (default: yellow) are 512 Wdu square.
12-16-2003, 09:19 PM#13
Taelrie
wow someone whoc anactually clarify whats going on with the radius trigger :D . Thx (p.s. I suppose WDU is what they mean when they specify the "range" of attack when you hover the cursor over the attack section