• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Abilities and Upgrades

Status
Not open for further replies.
Level 2
Joined
Jun 21, 2009
Messages
11
Would anyone know how to turn an ability into an upgrade,
For example: Cleaving Attack is an ability and I want to make that an upgrade or research. I know it's possible, I just don't know how to do it.

Thank You in advance!! :thumbs_up:
 
Create custom upgrade, copy it's name and tooltip. Then, select ''Cleaving Attack'' ability in object editor and add your upgrade in ''Techtree Requirements''.

60384d1247467932-abilities-and-upgrades-untitled.jpg


Don't forget to set ''Check Dependencies'' to true.

If you want to hide ''Cleave'' icon create ''Spell Book'' ability with your ''Cleave'' and copy this trigger:
  • Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • Player - Disable <Spell Book> for (Player((Integer A)))
 

Attachments

  • untitled.JPG
    untitled.JPG
    16.3 KB · Views: 182
I'll use cleaving attack as an example.

Take Defend, the upgrade, change the name and icon to that of cleaving attack.
Then take Cleaving Attack, the ability, and under Techtree - Requirements add the newly made Cleaving Attack upgrade. Then add the ability and the upgrade to the unit you want.

Now, for the unit to be able to use Cleaving Attack, he must first research it.

Edit: You beat me to it. :D
 
Last edited:
Status
Not open for further replies.
Back
Top