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

Upgradable Unit Not Working {like Troll Headhunter to Troll Berserker}

Status
Not open for further replies.
Level 24
Joined
Feb 28, 2007
Messages
3,479
Hi, I want to make an Ogre that can be upgraded into an Ogre-Mage, just as the Headhunter can be upgraded into a Berserker. I created my custom units, copied the Berserker Upgrade and Ability and changed them into my units etc. When I was done I tested, and all worked, except that even when I had not upgraded to Ogre-Mage, the Mage's icon was still visible in my custom unit barracks, which of course I cannot accept. So I tried and tried and failed and failed, always the same bug. So I copied the Headhunter and Berserker, changed NOTHING on them, then I copied the ability / upgrade and just changed into my new version of Headhunter / berserker, on those two custom units I changed upgrade etc. into my custom ones. Still same bug, and that is with NO changes whatsoever. Can anyone help me, please?
 
Level 36
Joined
Feb 5, 2009
Messages
4,630
I agree. A trigger would be a waste of time, especially seeing as how the problem is simple to fix. You see, there's an ingame function that initially makes the Troll Berserker unavailable for all players. Basically, you just have to make your own function.

To do this, go to the Scenario tab of your editor. Go to Techtree Properties. Alter every player so that the Ogre Mage is unavailable. Once you done that, click ok and save. Test. Feel overjoyed that you have accomplished what you set out to do. Move on to the next phase of whatever you're doing.

Well, if there are any other problems, it's to do with something else, so just make sure that you have done your best to replicate the relationship between the Headhunter and the Berserker. Good luck!
 
Status
Not open for further replies.
Top