• 🏆 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!

Upgrade annoyingly effecting whole team?

Status
Not open for further replies.
Level 2
Joined
Mar 14, 2012
Messages
20
Each team builds a building that will auto train a unit, when the unit is trained it's automatically changed to a unit of player 6 (12 if your on the other team).

The issue im having is with the upgrades, I want to create a building that will contain all the upgrades needed, but is accessible to all the team players. I can't seem to make the building have upgrades accessible for all players which are also payed for with their own gold
 
Last edited:
Level 10
Joined
Mar 19, 2010
Messages
622
So you can make several units of the same type, but mark them for different players.

Like for example, If i want to do this to a footman:
I'll have 12 types of footman in total, they all have the exact same hp, dmg, armor, everything. But, they are named differently:
footman (p1)
footman (p2)
footman (p3)
...

And for upgrades, same as the units, make several same upgrades but for different players. Also, make a trigger to, once a player completed an upgrade, make the player what will own it later on, like in your case, Player 6 or 12, to have the same upgrade. You can done it through trigger it.

So footman (p1) will get the effect from Iron Shield (p1), while...
footman (p2) will get the effect from Iron Shield (p2),
footman (p3) will get the effect from Iron Shield (p3),
... ... ... ... ...

So do the upgrade building, like your blacksmith. Makes different version for each player. Each contains upgrades for that particular player.

And when the unit is spawned and changed owner to Player 6(12), they looks exactly the same but they receive effect from particular upgrades the player had.

This is one of the way I know to archive the goal you wanted to, but it may not be the perfect one and it's a whole bunch of work if you have many units or upgrades.
 
Status
Not open for further replies.
Top