HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Heros with +5 abilities

05-23-2004, 02:17 AM#1
duckduck
How do you get a hero with more than 5 abilities with out having one of the abilities changing it into another hero?
05-23-2004, 02:35 AM#2
35263526
1. Wrong forum.

2. It's not possible for have a hero to have more than 5 hero abilities. You can make more complicated systems though (such as spellbook).
05-23-2004, 06:16 AM#3
DarkMage
Quote:
Originally Posted by duckduck
How do you get a hero with more than 5 abilities with out having one of the abilities changing it into another hero?

well set the locations (X and Y) for your spells
First ability: x is 0, y is 2
Second ability: x is 1, y is 2
Third ability: x is 2, y is 2
forth ability: x is 3, y is 2
fith ability: x is 1, y is 1
sixth ability: x is 2, y is 1
seventh ability: x is 3, y is 1 (only works if the seventh ability is the Ultimit with only 1 level.)
05-23-2004, 07:29 AM#4
Armel
What you say is not possible Darkmage : the editor won't let you add more than 5 hero abilities in the Hero-abilities fields. The only working method would be to create a spellbook (don't know how it works) or use more than one unit.
05-23-2004, 07:40 AM#5
DarkMage
I looked it up my self and your right, it will not let you. and thats major crap!

to make the spell book hero spell:
Base it off the Item-ability "spellbook" change it to a hero spell and add how ever many levels you want. set level 1 to have 1 spell a weak spell, level 2 a stronger form of the same spell and 1 new spell. and so on. Change the spell book name to someitng like Fire Spells or somthing like that. is that what you mean?
05-23-2004, 07:54 AM#6
Armel
OK, I see how it works, that's cool.
05-23-2004, 09:53 AM#7
35263526
Yeah, spellbook works, but it doesn't let you level multiple abilities.

Oh, and DarkMage, I reported your rep spam. Hope you're happy.
05-23-2004, 12:55 PM#8
DarkMage
you cal always make 3 normal ver of the spell and every time the spell book gains a level replace the old one with the stronger one.

Did you realy? thats cool. first time i ever used it. and i was in the wrong too lol
05-23-2004, 04:54 PM#9
duckduck
ty darkmage. :D ^_^
05-23-2004, 09:01 PM#10
Diabolo
I have helped my friend to make a system... I will describe:You learn your Skills there a button you click it.It open a list when the mouse is over a skill its describe the skill dmg lvl ect... If u do this you can have like 50 Skill or more ^_^

[edit]Oh and the hotkey work at everytime
05-24-2004, 09:18 AM#11
AIAndy
There is a way to have more than 5 levelable hero abilities using a bug in the engineering ability although only 5 of the abilities can be leveled at a time (the normal way hero abilties are learned). It can be changed which ones are leveled by trigger.
05-26-2004, 08:15 AM#12
Danexx
You can changes Learnable Hero Ability with Engineering Upgrade

1] Add a Hero Ability to your hero ~~ I named this ability A~~if I want to changes A to other ability B ~~
2] made TWO Engineering Upgrade abilities with followed data field:
Code:
Engineering Upgrade A
    Data - Ability Upgrade 1 : Ability A, Ability B

Engineering Upgrade B
    Data - Ability Upgrade 1 : Ability B, Ability C
3] now add Engineering Upgrade A to your hero
4] next ~~ add Engineering Upgrade B to your hero
5] remove Engineering Upgrade A from hero
6] remove Engineering Upgrade B

OK ~~the abiliey called A changes to B now
PS:ability C was no point for the changes~~just a bridge to get B~~

AND:this is my demo map for Unlearnable Non-Hero Ability
http://www.wc3sear.ch/index.php?p=Sp...17249095aa0822
05-26-2004, 08:31 AM#13
Balthamos
Ok. This is possible without spellbooks but not through the conventional hero ability learning system. Now I've done this a million times in my maps, you create a shop for the hero to learn from, give it 'power-up' items, like tomes but with no actual affect to the hero. Set the descriptions of these items to the ability's learning field. Take each ability, say it's got 5 levels? create 5 unit abilities based off the hero ability, call them 'bladestrike1' 'bladestrike2'...etc... Then create 3 arrays, one an ability array, another an integer array and the last an item-type array. Make them all fairly large, if there's 8 players in your map then the integer array will need to be, say 6 heroes * 6 abilities each * 8 players gives 288. While the ability array should be 6 * 6 * 5 levels each, so 180, and the integer array, 6*6 gives 36.

Now create a map initialization trigger, set the first 5 spots of the ability array to the unit abilities "bladestrike1", "bladestrike2" etc...
Set the first position of the item-type array to the item you made as the bladestrike. and leave the integer array blank for now.

Now create another trigger, when unit buys item from shop or something. Run a for loop looking for the item type among the item array...
For a = 1 to 36
if item-type of item being manipulated is equal to ITEMS(integer a) then do
- remove "ABILITIES(((integer a - 1) * 5) + (INTEGERS((((playernumber of owner of "buying unit")-1)* 36) + integer a)))" ability from "buying unit"
- set INTEGERS((((playernumber of owner of "buying unit")-1)* 36) + integer a) = (INTEGERS((((playernumber of owner of "buying unit")-1)* 36) + integer a)) + 1
- add "ABILITIES(((integer a - 1) * 5) + (INTEGERS((((playernumber of owner of "buying unit")-1)* 36) + integer a)))" ability from "buying unit"
else do nothing

Now set up triggers to add lumber to the player whenever their hero levels up. And set the data regarding lumber to something like, 'hero ability points' and set each item to have a lumber cost of 1.

That's a very simple method, you'll find that you'll need to do other stuff like check if the hero has already reached level 5 for the ability etc. but those are pretty easy once you understand what the main learning trigger does exactly.

Enjoy and let no one ever tell you, that you can't have more than 5 hero abilities.
05-26-2004, 03:39 PM#14
35263526
Balthamos, that does work, but it isn't very clean and looks unprofessional. The basic fact is, you'll never be able to have a system that's as good and nice-looking as the standard Blizzard one. Maybe if we setup some sort of petition on their forums we could get them to enable it in the next patch...

Don't rep spam, okay?
05-27-2004, 01:05 AM#15
DarkMage
There is a lot of things that need to be changed in the editor.
-Expanding allowed fields (like ther heros ability limit)
-Allow ability icons to be visable/invisable. (if you want Evation to not take a square)
-allow data strings to be added/removed to/from Units/abilitys/ect.

and also, when 2 abilitys are based off the same one and a hero has both. when he uses 1 the other one is used also. that realy bothers me when im making multiple spellbook based abilitys.

(spelling errers all over)