• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Upgrading a hatchery to a nexus

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
You will need to alter a great number of things.

I advise looking at how the Zerg buildings upgrade and trying to port that to what you are after.

What I can tell you is you will have to add the button to the unit and attach the correct stuff to it (upgrade related stuff).

Next you have to modify the target units actor and the previous units actor so that on upgrade the previous unit kills its model while the upgrade type unit creates its model. This is important as it is not enabled for all actors by default.
 
Status
Not open for further replies.
Top