• 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 Skills

Status
Not open for further replies.
Level 3
Joined
Oct 3, 2008
Messages
41
Hello Everyone

I know Others have posted threads like this before, but they either dont have the right answer I'm looking for or havnt been answered at all. The tutorial does not say how to make skill that you dont start off with, but have to level up instead with skill points. I want to make buyable skills that you dont start off with (active) but have to put skill points in to, Like Custom Hero Line Wars.
Please Help
 
Level 3
Joined
Oct 3, 2008
Messages
41
That would'nt work would it? because a hero can only have a max of 5 abilities, so I cant hide all of them
 
Level 3
Joined
Oct 3, 2008
Messages
41
Is there any way to make it like normal heros?

I mean No spellbooks, just like a custom ability shop where you buy abilities, then you are able to put skill points into them which you get by leveling.
 
Level 10
Joined
Jun 16, 2007
Messages
415
yes, but that way you still have the limit of 5. If you use normal spells you cannot level them normally, but you can add up to 7. Otherwise simply make an event that detects when a unit buys an item, and add the corresponding ability to the unit. i.e.: Unit buys Item "Blink" then Unit - Add Blink Spell to Buying Hero. You would have to make players incapable of buying new spells once they own 5. Hope this helped.
 
Level 3
Joined
Oct 3, 2008
Messages
41
For making it so that you could only get 5 skills, I could make it so you are in an area where u buy skill at a cost of 1 lumber (you dont get lumber in game) out of the 4 lumber you et, then you tele to the next area where you buy your ultimate skill for 1 lumber, which is given when you tele to the ultimate shop.

But how would I make it so that the heros can put skill points into the abilities that they have purchased?
 
Level 10
Joined
Jun 16, 2007
Messages
415
Well, when you purchase an item, you associate each item with a spell. The item is then removed (powerup) and the spell added. If the spell you add is a hero spell, then you won't have to do anything, since it will automatically add it to his spell-book and not the User Interface. Thus problem solves itself.

Hope this solves all your problems.
 
Level 3
Joined
Oct 3, 2008
Messages
41
Anachron, Can you please tell me how to do it, provide a tutorial or if you're willing, Give me a Map that only shows how to do it.
 
"For making it so that you could only get 5 skills, I could make it so you are in an area where u buy skill at a cost of 1 lumber (you dont get lumber in game) out of the 4 lumber you et, then you tele to the next area where you buy your ultimate skill for 1 lumber, which is given when you tele to the ultimate shop.

But how would I make it so that the heros can put skill points into the abilities that they have purchased?"

That is very ineficent as you may want to use wood in your map for other things. I suggest using a global integer array variable. Make each player's number of skills that they have purchased the variable array number of the player's number. This way you can give them more too.

Also I suggest giving them dummy abilities that are passive and do nothing, that way when they upgrade the dummy ability with thier skill points you can have triggers changing the ability it corresponds to. Make sure to hide dummy abilities though and dont base them all off of the same ability.
 
Level 3
Joined
Oct 3, 2008
Messages
41
Big Dub, I am only using wood for purchasing skills, because I wont use it anywhere else in my game, That solves the amount of skills problem, but I still need to know how to make it so that the bought skills are able to be leveled up using skill points, and have my characters even be able o level up their skills.
 
Level 3
Joined
Oct 3, 2008
Messages
41
Yes, Please make a tutorial, It would help me so much, my game would almost be completed.

I have another question though, Currently, My walls Are made using the cityscape tileset brick wall thingy. The siege ladder system thingy that I used works fine. The Question is, If I removed the terrain-Wall and Put a custom Unit/Doodad as A wall, would I still be able to put regions on top of the wall so that when an enemy unit goes close to the siege tower, it goes on top of the wall that is a custom Unit?

I hope you understand what I mean, thanks
 
Level 3
Joined
Oct 3, 2008
Messages
41
There is a tutorial in the tutorial section on how to do walkable walls, the question im asking is would I be able to implement the walkable walls and still have unit move into a region which is on top of the wall, or would the automaticly appear on top if they were moved instantly to a region under the wall?
 
Level 3
Joined
Oct 3, 2008
Messages
41
If I am using siege ladders (with regions to get ontop of walls), would I still be able to use custom doodads for the walls, or do I have to use cliffs as walls? And can you please tell me when you have finished the tutorial please.
 
Status
Not open for further replies.
Top