A friend of mine and I are currently trying to develop an extension mod which pretty much adds every single upgrade to their specific unit, be it Campaign or Multiplayer, as well as changing some units in some way. I've just started working on it, working on Zerg stuff with Zerglings, Larvae, Overlords and Hatcheries, but so far, I've been completely unable to add any upgrade whatsoever.
I've been trying to work on the Zergling most of the time so far, I've modified the Raptor strain since I was having an issue with the Actor not being assigned to the new unit I tried to create, and tried to make it have Metabolic Boost, Adrenal Overload, and Hardened Carapace, while at the same time being able to morph in groups of 3 and instantly like the Swarmling. Unfortunately, I was forced to directly modify the Morph Zergling ability from the larva to do the last part, as well as set the mineral cost to -25 to make it cost the regular 50, and even then, the supply cost ends up being 1.5, instead of 1. Besides that, none of the upgrades are actually activated, just shown on the command card.
I've also tried to add the Improved Overlords upgrade to Overlords, but like the Zergling, nothing is activated: they don't spawn instantly, nor do they give 12 supply instead of 8.
Finally, I've tried to set Hatcheries to naturally spawn a max of 6 larvae, with half the delay between larva production, the latter seems to have worked, but the former hasn't at all.
I have tried to find tutorials for this kind of thing, but I can't seem to be able to find any. All the upgrades are available on the actual units, and I did set the requirements to None, but despite that, nothing seems to work. If anyone could help me out here, I'd really appreciate it.
What you're seen is the result of several different issues, so its hard to help you from this point. Upgrades can have so many different effects, and they are not always working as they do in the campaign. Often you have to do a lot of fixing to get what you want to get from them. Some can even be mutually exclusive requiring additional work. That's why you won't find specific tutorials, because what you want to do isn't specific at all.
As a good start I suggest using a "fix mod" instead of Blizzard's campaign dependency. There are a few around, for example Alfx01's in the Assets section. These are mods that just try to fix things for anyone that may want to use them, so they are perfect for you. From there you will have an easier time adding the upgrades.
I see. I didn't think about them being mutually exclusive, but the fact that none of the upgrades seem to activate is quite odd in itself. If anything, at least one of them should be active. I have tested the Campaign's Metabolic Boost alone on a normal Arcade Map through triggers, and that one worked perfectly, I have to try and see if all of them work together. If they do, maybe the problem is the fact that the upgrade level is always 0 without a trigger or any kind of research. I'll try that tomorrow when I have the time.
I am using Alfx01's fix mod for this, with the mod added as a dependency, followed by the Void Multi Mod as instructed, so I don't think that is the cause of the problem. I will try and see if there's another mod that might help me out on this, though.
EDIT: I have tested all the upgrades together in the test map, with triggers to set them to level 1, and they all work together. I have tried to create a trigger library for my mod, but for some reason, I can't seem to be able to do so, is there any way to do it? Triggers seem to be the only way to make this work well. Never mind, turns out I needed to right-click on the area where the Triggers are supposed to be in, not the Libraries' sub-menu.