HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Requirements for upgrades

06-06-2003, 12:45 AM#1
flybong
ok I was wondering if I can change the requirements for upgrades?? can I research marksmanship without the tree of eternity?:bgrun:
06-06-2003, 03:34 AM#2
Hivemind
Another way is to create a unit with the name and picture of the upgrade. Set the cost and req to whatever u want. Then make a trigger that looks kinda like...

Player X finishes training a unit

Unit type of trained unit = to your new unit

Set current research lvl of tech type to 1 (1-3 for multi lvl tech) for owner of trained unit

Remove trained unit from the game


Note: We dont have access to a editor right now (just going from memory) so u will have to search around for the trigger functions. The main one should be under players. This same basic idea can be used to make a button for almost anything. It is often used in combination with replace unit to upgrade buildings.