HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Making upgrades appear when upgraded X-unit

10-07-2003, 05:38 PM#1
Omega_Destroyer
ok i am trying to make an AOE 2 (Age of Empires 2) game for warcraftm but beacause of all the upgrades used, they wont fit in the buildings. Houw would i got about this


Player X in Barrrack (dark age) the only button you can see (no disabled ones) is Create Milita. Player X then upgrades into Feutal Age. Barracks now has Tracking and Upgrade to Men-At-Arms.

When this upgrade is complete, the Milita Icon disappears and is re-placed by the Men-At-Arms icon.


Is this even possible?
10-07-2003, 05:42 PM#2
35263526
Use triggers to do what you want. It might not seem it, but it is a much faster way to do what you want.
10-07-2003, 05:43 PM#3
Coffein
Hm, you could replace the barrack so it can train the unit..maybe I missunderstood something
10-07-2003, 06:20 PM#4
ABM
Yep just replace the building when the age is upgraded with trigger. u will be able to train new unit and to give new research option....

event.......

condition age feudal = true

action pick everyunit owned by player X matching unit type of matching unit = casern then do replace picked unit with casern (feudal) at position of picked unit.

seems easy that way for i don't know anyway to remove from an allready existing building an unit and replace it by another...

maybe exception with the research upgrade for priest that can become adept and so on... that way u could keep the building and unit and get the unit upgraded with even new icon...

thats the only two way to get it from my point of view.