| 01-30-2003, 05:57 PM | #1 |
Guest | I want upgrades that upgrade every unit in the game, across all races and creeps, but they seem to affect only the race they are set to. I could change all my units to "human" but high level units only get hero magic resistance if set to "creep" and I don't think the game applies upgrades to creeps. If anyone knows how to make universal upgrades, please reply. |
| 02-04-2003, 12:37 AM | #2 |
Guest | Bump! Someone must know how to do universal upgrades, as I have heard the claims! However, don't say that it "just works" because it doesn't. It claims to work (the displayed damage/armor rank will go up for example), but the unit's damage etc only actually increases for units from one race. |
| 02-04-2003, 01:08 AM | #3 |
i belive there is a "set current research level" trigger So i would asume you can detect when a upgrade is researched. And when 1 upgrade does, you can then set all the other upgrades to the next level... I do not have the editor with me ATM so i cannot give exact code... |
| 02-04-2003, 01:56 AM | #4 |
There's a field in the unit editor. You have to set each unit to use the upgrades you want. |
| 02-04-2003, 05:24 AM | #5 |
Guest | fear factor, trust me I have no trouble comprehending every column of the upgrade slk and setting each unit to use the upgrades I want in unitbalance slk. Problem persists. Dakan, do you by chance know the jass script to create such a trigger? I am making an actual mod; not maps, so I would have to script any triggers in blizzard.j. |
| 02-04-2003, 06:23 AM | #6 |
dont think you need jass for that.. under actions there is Player - Set Current Research Level choose the update you want, and set it to a varible # For instance using Scio's editor, you can do a Player owned unit event with a condition. a unit owned by Player X finishes an upgrade - condition Upgrade is of type... whatever set a interger varible say MeleeUpgrade to 1 then for actions Player - Set Current Research Level (tech) to MeleeUpgrade then repeat for all the techs you wanted to upgrade with the 1 tech the player just did upgrade... Unless i misunderstood your problem, that should do it |
| 02-05-2003, 05:18 PM | #7 |
Guest | The reason I need jass is that it is not a map; it is a custom mpq Preferrably though I wish someone who has a mod where all races including creeps actually benefit from upgrades would see this thread and impart any secrets! |
