• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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,202
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