• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

"Buying" Spells?

Status
Not open for further replies.
Level 3
Joined
Feb 22, 2008
Messages
18
Ok, I am making a map with custom heroes, where you choose a hero and "buy" his spells, and I have never done something like that before. I'm not too good with triggers, I know the basics and can do simple things, but I can't figure this out. As a test I decided to make the power bloodlust into a hero ability, gave it 3 levels, all that stuff, and i made a simple (but probably wrong) trigger to just give it to a demonhunter. When I tested the game, power was nowhere to be found in on the hero, and he didn't have the option to learn it either. Whats going on? Take a look at the trigger, or maybe give me a trigger that I could use. I want to be able to have the hero go to a store and just buy the spell.
 

Attachments

  • Snapz Pro XScreenSnapz001.jpg
    Snapz Pro XScreenSnapz001.jpg
    46.3 KB · Views: 105
Level 11
Joined
Aug 1, 2009
Messages
714
I think I can help.
I am working on a Custom Map with Custom Heroes and Custom Skills.
If you want players to buy their own skills and when they level up they can manually learn it unlike automatic learn it which you need another trigger to level them up. I think you need these things in this triggering.

4 Spell Book (Ability)
4 Engineer Upgrade (Ability)
4 Skill (Your own skill)
4 Channel Ability

Ok let's start explaining.
First You need to think on how many skills you want to be custom.
I want 4 skills to be custom so you need to do is to copy the Channel Ability four times and rename it so it can be easy to remember. I rename it
Skill Slot 1, Skill Slot 2, Skill Slot 3, Skill Slot 4
Give these skill to your custom hero
I think you need to change the icon of the Skill Slot. I am using a question mark icon here. ReplaceableTextures\CommandButtons\BTNSelectHeroOn.blp
Now select your ability. I am using Wind Walk for the Skill Slot 1, Mirror Image for the Skill Slot 2, Critical Strike Strike for the Skill Slot 3, and Blade Storm for the Skill Slot 4. Now set the abilities you want. Ok make the Engineer Upgrade a unit type ability and make it ONLY a level 1 ability then copy four of them. Now I rename one of them Wind Walk - Skill for the Wind Walk ability and blah blah blah you can rename the same for the rest of the skills. Now in the Wind Walk - Skill find the
Data - Ability Upgrade 1
Data - Ability Upgrade 2
Data - Ability Upgrade 3
Data - Ability Upgrade 4
Remove the skills that put there.
Now in Data - Ability Upgrade 1 put the Skill Slot 1 Ability.
and then put the Wind Walk Ability.
It should be look like this.
Data - Ability Upgrade 1 Skill Slot 1 , Wind Walk
Then go to the Spell Book Ability. Again copy it four times and rename one of it like Wind Walk - Spell Book.
Then in the Spell Book find Data - Spell List
Remove all the skill and find Wind Walk - Skill
Then to it again to the rest of the spells
Then move to the items
Create an item change the name of the item to it's own skill
Like I got a Wind Walk Item and it will give a Wind Walk ability on Skills Slot 1
Change the details (If you want) and the icon like the ability it will give.
Now it's triggering time.
:Sigh: I'm tired now. This is not a tutorial. ^^ Here's the map
 

Attachments

  • Custom Skjlls.w3x
    34.6 KB · Views: 67
Status
Not open for further replies.
Top