• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Removing text from upgrade

Status
Not open for further replies.
Level 3
Joined
Nov 26, 2004
Messages
23
Is there a way to remove the text "Requires:" so all I am left with is the yellow text "- <upgrade name here>"? (See screenie if you dont know what I'm talking about)

Edit: Or maybe someone could suggest a different method for me.. I have a list of 10 spells in a spellbook. I need them all to initially show up, but disabled and unable to click on, so my 2 options that I know of, are a passive ability that does nothing, or setting a research dependency on the skill and setting current research level to 0. This way I could just enable it easily enough by setting research level up, instead of fussing with remove passive ability, add ability into spellbook. BUT I want the yellow text to display something like "- You do not have <this> yet" instead of "Requires: <this>"
 

Attachments

  • stupidtext.jpg
    stupidtext.jpg
    94 KB · Views: 169
Last edited:
Go to the Object Editor, go to the ability you like to change it with and change 'Techtree - Requirements' to whatever research you want to be completed before that ability can be used.
You can't manually place a text there unless you make a dummy Upgrade that only has a name and has no effect. Then you add that Upgrade to 'Techtree - Requirements' and you'll see only the requirement, but no effect. Be aware with this that this way you also need to make a trigger that makes sure that the dummy Upgrade is researched when the requirement in the Upgrade's name is fulfilled.
 
You could make a dummy spell for each of the spells in your spellbook and exchange them when they should be available
 
Go to the Object Editor, go to the ability you like to change it with and change 'Techtree - Requirements' to whatever research you want to be completed before that ability can be used.
You can't manually place a text there unless you make a dummy Upgrade that only has a name and has no effect. Then you add that Upgrade to 'Techtree - Requirements' and you'll see only the requirement, but no effect. Be aware with this that this way you also need to make a trigger that makes sure that the dummy Upgrade is researched when the requirement in the Upgrade's name is fulfilled.

I already have the dummy upgrade to changes the text after the "-", and triggers. What I needed is to change is the line "Requires:"


You could make a dummy spell for each of the spells in your spellbook and exchange them when they should be available

I was trying to avoid exchanging abilities like this



On the plus side, while working on something completely unrelated to this, I accidently found what I was looking for.
Advanced > Game Interface.. > Text - General '|Cffffff00Requires:':
 
Status
Not open for further replies.
Back
Top