Making my first upgrade. One of my units has weapon that is normally disabled, this upgrade is suppost to enable it. So I created new upgrade and gave it effect: weapon (my weapon name) Options:disabled set off. Copied armory upgrade ability and made new icon. Everything works except: ability is being completed but not implemented, weapon is still not turned on, even worse: upgrade can be researched again, it didn't disapear!
@ZenonMalinowski: Go To make the upgrade icon disappear you need to give it a requirement (in the research ability), check how Blizzard did them and make one for your upgrade.
I think there is a bug in the editor and to make a weapon "enabled", your upgrade should actually say the opposite, something like Weapon Set Disabled.
Soulfilcher is right about the second point: you need to add a requirement to the research ability. Hence create a Requirement.
Assuming your upgrade is called "Death Weapon Upgrade", it the requirement look like:
Okay so I copied all raven's requirements and stuff and it worked - upgrade is now allowed only once. But my unit still doesn't unlock it's weapon neither when it's set on nor when it's set off. By the way: when I give my upgrade different effect - like adding max health - it works... weird.
i am using the disabled flag for weapons in my map too and it works just fine (but i am using catalogs, but that should be the same). does your weapon work with that one flag enabled?
Thank you all for help, problem solved! It turns out I needed to add my unit to group of units that uses upgrade and it works now. +rep for all anyways :)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Making my first upgrade. One of my units has weapon that is normally disabled, this upgrade is suppost to enable it. So I created new upgrade and gave it effect: weapon (my weapon name) Options:disabled set off. Copied armory upgrade ability and made new icon. Everything works except: ability is being completed but not implemented, weapon is still not turned on, even worse: upgrade can be researched again, it didn't disapear!
@ZenonMalinowski: Go To make the upgrade icon disappear you need to give it a requirement (in the research ability), check how Blizzard did them and make one for your upgrade.
Assuming your upgrade is called "Death Weapon Upgrade", it the requirement look like:
Okay so I copied all raven's requirements and stuff and it worked - upgrade is now allowed only once. But my unit still doesn't unlock it's weapon neither when it's set on nor when it's set off. By the way: when I give my upgrade different effect - like adding max health - it works... weird.
@ZenonMalinowski: Go
i am using the disabled flag for weapons in my map too and it works just fine (but i am using catalogs, but that should be the same). does your weapon work with that one flag enabled?
Thank you all for help, problem solved! It turns out I needed to add my unit to group of units that uses upgrade and it works now. +rep for all anyways :)