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

Custom Hero Spells?

Status
Not open for further replies.
Level 13
Joined
Oct 16, 2010
Messages
737
Hi

I was wondering how to make a hero pick system where the player would pick a hero then pick 3 normal spells and one ultimate spell and from then on that hero would learn those 4 spells like a normal hero would.

This concept is used in Custom Hero Line Wars and Custom Hero Footman Wars.

Cheers for any help! :)
 
Level 28
Joined
Sep 26, 2009
Messages
2,520
Don't know the map.
I guess heroes don't have any ability set and then when player chooses one ability, it is add via the "Unit - Add ability" action.

There are probably integers and booleans that control how many "normal" abilities you have picked and if you have picked ultimate ability.
 
Level 13
Joined
Oct 16, 2010
Messages
737
The abilities were placed in shops as items and you had 3 lumber for the basic spell area and then you went through a teleport to the ultimate area and got 1 extra lumber for one from those shops. Would the "Unit - Add ability" cause the spells to still use hero attributes then? If so that's easier than expected!!
 
I think you mean the skill points. Adding an ability with "Unit - Add Ability" will treat it as a regular unit ability (non-hero). If you want to allow skill points to be spent in it, then you should read through this thread:
http://www.hiveworkshop.com/forums/triggers-scripts-269/adding-spell-hero-ability-218522/

You can take advantage of the ability Engineering Upgrade, and it'll allow you to add an ability with skill points. (see Halo's post)

As for the other matters, perhaps this tutorial will help:
http://www.hiveworkshop.com/forums/...79/abilities-purchases-upgrades-items-205576/
 
Status
Not open for further replies.
Top