HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Attack Range Aura

05-26-2004, 03:51 AM#1
TheXenocide
I am not sure if this is the correct section, or if i even need triggers to do this... I am creating a TD and would like to have a building that gives all my other buuildings a percent increase to their range, in addition, I would like the building to have an aura range indicator similar to healing ward or stasis trap. I am fairly new to trigger editing so if this is complicated could you please explain in detail.
Thanks in advance.
05-26-2004, 10:05 AM#2
Anitarf
This is difficult.

First of all, there is no way I know of to dinamically alter attack range. You could use upgrades, but that cannot be unlearned and it works for all towers at once.

The only way this could be done is if you made an alternate version of each tower with an increased attack range, and then, whenever a player built the tower with the aura, a trigger would pick all "normal" towers on the map that are under effect of the aura and would replace them with the alternate towers that have their attack range increased. There would be another trigger that would, when an aura tower is destroyed or sold, pick every alternate version of a tower that no longer is under the effect of the aura, and change them back to the normal version.

As for the display of the aura's range, similar to that of healing wards, I once again am not sure if it can be done. That display is hardcoded into AoE spells, so the only way I see this could be used would be if you somehow managed to get the tower placement made as a spell.
05-26-2004, 10:58 PM#3
qmrcool
If you use the new World Editor Unlimited you can directly change units stats. You can find the editor in the Editing Tools forum section.
05-27-2004, 08:26 AM#4
TheXenocide
i downloaded WE Unlimited and i read the tutorial on using triggers to increase units range but i am very confused. could sombody please explain to me how i can do this? Thanks.
05-28-2004, 05:12 PM#5
xGT4x
@qmrcool: You're noob in editor, I see because the WEU uses invisible upgrades for range increase, you can only increase ALL units range which use the upgrade so it's useless for an aura.

To your question: The % thing is actually very hard to do because you would have to save every unit's range or i got an idea, give every tower a second attack which has for example 10% more range and rest same stats but make it that only first attack is activated. Then make new ability based on any orb without effects, only set activated attack index to 2 and unit ability and rest to nothing, now you must do a trigger which adds the ability to all units in the aura, for that you should ask Lord Vexorian or Darky27 which made jass using auras which add abilities, I got my own triggers for doing that but they're very complicated so betetr use theirs, it's easier to use!
05-28-2004, 07:30 PM#6
TheXenocide
Thanks XIID.GT4 thats a good idea, but poses one problem which is: i could only make one aura tower and it wouldnt be able to be upgraded to a better aura tower. If it isn't possible to do what i had wanted :( , a range upgrade is the next best thing (i might even do both GT4's idea and the upgrade), so could sombody please explain how to make a range upgrade, and i think i have seen similar things on this fourm to GT4's idea so i'll search there. Thanks.
05-28-2004, 09:53 PM#7
qmrcool
[quote=XIID.GT4]@qmrcool: You're noob in editor, I see because the WEU uses invisible upgrades for range increase, you can only increase ALL units range which use the upgrade so it's useless for an aura.

Please do not call me a newb at the editor because i have used the wc3 editor since July 3, 2002 (that is the date wc3 came out). I never had needed to use the trigger "increase unit range" in WEU so I did not know how it worked. Just because I didn't know how the specific trigger works does not mean I am a newb at the entire editor. Please do not go around acusing people of being newbish when you do not know the truth.
05-29-2004, 12:09 AM#8
TheXenocide
I think that this aura could be created if i set all the units attack range to something absurdly high then set their acquisition range to the range that i want the unit to be able to attack to. Then with triggers i could increase thier acquisition range if they are in the aura. Would this work? Hopefully i will be able to set the acquisiton range based on percentage of the origional acquisition range. I am going to try and make the triggers right now.
05-30-2004, 01:03 AM#9
qmrcool
Well the only problem you would have with using aquisition range is that is your unit directly attacks a unit like you click attack then select a unit across the map your unit will be able to attack him no matter where he is.
05-30-2004, 05:59 PM#10
GaDDeN
I got a weird idea by reading this post... not sure it works though, but it can be worth a test:

If this tower is built, you move a hidden unit to the position of the unit and makes it use a altered "thunder clap" skill. The altered thunderclap skill is changed so its range is the same as the auras, no damage and then you change the attack rate value to 1.25 instead of 0.25 (which would give you 25% increase, instead of a 75% decrease) and set duration to something like 99999999999 (using shift + enter click)

As i said, i havent bothered testing and i dont think it will work.. but i guess its worth a test

- and btw, i might have wrong about 0.25 (it might be 0.25 decrease instead of setting it to 0.25 of the default value), in that case you need to change value to -0.25 using shift+enter click on value.
05-31-2004, 11:27 AM#11
xGT4x
Quote:
Originally Posted by Kejos
I got a weird idea by reading this post... not sure it works though, but it can be worth a test:

If this tower is built, you move a hidden unit to the position of the unit and makes it use a altered "thunder clap" skill. The altered thunderclap skill is changed so its range is the same as the auras, no damage and then you change the attack rate value to 1.25 instead of 0.25 (which would give you 25% increase, instead of a 75% decrease) and set duration to something like 99999999999 (using shift + enter click)

As i said, i havent bothered testing and i dont think it will work.. but i guess its worth a test

- and btw, i might have wrong about 0.25 (it might be 0.25 decrease instead of setting it to 0.25 of the default value), in that case you need to change value to -0.25 using shift+enter click on value.
This would definitively NOT work since A He wanted an aura that increases the attack RANGE and not RATE and B if you build new towers there they wouldnt get the increase!
05-31-2004, 01:20 PM#12
GaDDeN
LOL now thats a big miss.... i though range, and even when i made the topic i though of the range DECREASE that thunderclap would give... lol i must have been drunk or something...

Ahh well, IF (big if) the thunderclap was a range decreaser you could simply make another hidden thunderclap at same position every time a unit was built...

hah nvm :P
05-31-2004, 01:44 PM#13
xGT4x
^^Lol, I could also say: If there was a Range Aura we could use it as base ability:D
05-31-2004, 04:26 PM#14
Anitarf
The thingy with acquisition range will not work, because the acquisition range in Object editor is not the same as acquisition range in trigger editor. The one in object editor is practically identical to weapon range; units are unable to fire further than that range. The one in trigger editor would be where the unit auto acquires targets; but you can still shoot farther with manualy ordering the unit to attack.

I know this, because I have been trying to make an autocast attack that would increase range, and it couldn't be done with altering acquisition range... The acquisition range in the object editor does seem redundant, though, since it in my experience affects the unit's ability to attack in the same way as attack range, so Blizzard may change this... perhaps they already had in 1.15. But when last I looked, attack range couldn't be increased in this way...
06-01-2004, 05:16 PM#15
TheXenocide
I was reading in the fourms that a unit won't attack farther than its individual sight range so if this is true couldn't you just change a units attack range by changing its sight range?