HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Attack Range Switching

05-14-2006, 09:10 PM#1
Sharingan
...
I have been using long rifle upgrades, and it worked fine..
But i can't get the switching (ranged > melee > ranged > melee)to work, like i can't make some researches undone(or not?)...
Is there any way arround?
05-14-2006, 09:19 PM#2
aquilla
You cannot lower a research level, you couldmake several upgrades with different increases in range and then make them require a specific unit each. Then create a unit for the player and thus enabling the associated upgrade (remove the unit to disable). Four abilities with 50/100/200/400 for example could give a bonus of 750 :)

Ofcourse this would only really work if each player only has one hero
05-14-2006, 09:21 PM#3
iNfraNe
ranged/melee switching can be done by using orb abilities
05-14-2006, 09:28 PM#4
Sharingan
Quote:
Originally Posted by iNfraNe
ranged/melee switching can be done by using orb abilities
Zomg, you are officially allowed to kill me if that's true.
*goes checking*
Um...can you explain how plz?
05-14-2006, 09:37 PM#5
iNfraNe
Well, orbs switch between attack1 and attack2, thats why melee heroes can attack air when they have an orb.
How it exactly works I dont know, cuz ive never tried it myself.
05-14-2006, 09:58 PM#6
MysticGeneral
I think when editing an orb ability, there's a field called "Attacks Enabled". Set it to Attack 2 and stick the ability on the hero. Or stick it off.

EDIT: It's not "Attacks Enabled". It's "Data - Enabled Attack Index"
05-14-2006, 11:25 PM#7
Sharingan
...does not work as it should
If you enable Attack 2, which is ranged, you will only be able to do ranged attacks while fighting airs...
05-14-2006, 11:32 PM#8
MysticGeneral
Did you make it so that Attack 2 can target ground as well?
05-14-2006, 11:37 PM#9
shadow1500
Both attacks must be disabled, have one orb ability enable attack 1, and the other enable attack 2.
05-15-2006, 05:10 AM#10
Sharingan
Does not work....
First of all, the GUI of your Attack-Type / DMG does not even show up anymore, after you picked either item.
Second, both abilities grant you ranged attack, oddly enough ....
@MysticGeneral:
It's targeting ground by default
05-15-2006, 02:43 PM#11
Sharingan
Quote:
Originally Posted by aquilla
You cannot lower a research level, you couldmake several upgrades with different increases in range and then make them require a specific unit each. Then create a unit for the player and thus enabling the associated upgrade (remove the unit to disable). Four abilities with 50/100/200/400 for example could give a bonus of 750 :)

Ofcourse this would only really work if each player only has one hero
How does creating a unit that is required for the upgrade enable the associated upgrade?(and removing would do the disabling?)
If i have a unit required for the research, i would only be able to begin the research and finish it, removing does not make the research undone...
Or did i missunderstand you?
05-16-2006, 02:30 AM#12
TaintedReality
That's the whole point of using units. Using upgrades as requirements they aren't "un-upgradable", but with units you can simply remove the unit and then it will be disabled.
05-16-2006, 11:15 AM#13
Siphonized
Set the units Max Range in "Attack 1 - Range" and then put the Min Range in "Aqusition Range" or whatever... Then just use triggers to increase/decrease Aquisition Range.
05-16-2006, 03:02 PM#14
shadow1500
Changing range back and forth can only be done in three ways:
  • Use drunken haze with the field "Data - Attacks Disabled" set to Melee and have both attacks enabled.
  • Use chaos to morph the hero from a melee hero to a ranged hero.
  • Use a triggered attack system.

Each solution has its own disadvantages..
Drunken haze will hide the UI display for the ranged damage.
Chaos will add bonuses and buffs to the unit.
triggered attack system also means you cant show damage on UI.
05-17-2006, 04:53 PM#15
Sharingan
Hmm, using chaos appears to be the best way, though not very nice....
I wonder how IceFrog did it in DotA with Throll Berserker........