I made an upgrade which can be used 30 times to add extra life to a wave of units, so how do i show the upgrade image in the ui of the effected units and let it show how many times the unit has gotten the upgrade?
there are several ways to do so. you could just increase the armor lvl (not the actual armor) with the upgrade. you can also add an additional icon to the unit info panel with UI-editor (needs a trigger to switch on/off) or have a buff for each level. it's really up to you, where exactly should it be visible?
Make a dummy weapon that has a set effect as it's effects. Link nothing to the set effect (making it useless). Give this dummy weapon the same icon as your upgrade for added polish, and put this weapon on each affected unit. Now increase the weapon's level in your upgrade.
Make a dummy weapon that has a set effect as it's effects. Link nothing to the set effect (making it useless). Give this dummy weapon the same icon as your upgrade for added polish, and put this weapon on each affected unit. Now increase the weapon's level in your upgrade.
This is how I would do it.
The set effect isnt necessary though right? I never did that and it looks and works exactly the same or have I been missing something?
I kinda want it to show like the regular upgrades, like i show in the screnshot. And maybe on hover show how much life he has gained, not most important.
The set effect isnt necessary though right? I never did that and it looks and works exactly the same or have I been missing something?
It's more to stop it from ever automatically linking to a similarly named effect, like putting a plug in an electrical outlet. It's just for completeness' sake.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey,
I made an upgrade which can be used 30 times to add extra life to a wave of units, so how do i show the upgrade image in the ui of the effected units and let it show how many times the unit has gotten the upgrade?
thanks
there are several ways to do so. you could just increase the armor lvl (not the actual armor) with the upgrade. you can also add an additional icon to the unit info panel with UI-editor (needs a trigger to switch on/off) or have a buff for each level. it's really up to you, where exactly should it be visible?
Make a dummy weapon that has a set effect as it's effects. Link nothing to the set effect (making it useless). Give this dummy weapon the same icon as your upgrade for added polish, and put this weapon on each affected unit. Now increase the weapon's level in your upgrade.
This is how I would do it.
The set effect isnt necessary though right? I never did that and it looks and works exactly the same or have I been missing something?
@FunkyUserName: Go
I kinda want it to show like the regular upgrades, like i show in the screnshot. And maybe on hover show how much life he has gained, not most important.
tya's method
It's more to stop it from ever automatically linking to a similarly named effect, like putting a plug in an electrical outlet. It's just for completeness' sake.