Hey everyone, i have searched google and these forums and cant seem to find what i am looking for. I also tried figuring it out on the SC2 editor.
I am trying to give units agility but also in an icon or text when you select a unit. Kind of like when you drag over the weapon box on a marine it says weapon damage speed etc. Also how to make agility effect a dodge percentage.
Thanks for your help.
You need attributes, a type of behaviour. You can set the icon and tooltip in UI - Icon and UI - Tooltip. For making evasion a factor of agility you will need a stackable buff with a damage response that reduces damage received to 0 with a fractional chance of the damage response occuring. You then need two buff behaviours which add and subtract the stackable evasion buffs using requirements to calculate the ratio of your attribute to evasion %. For visuals you could then use a textkicker like that of the automated refinery to say miss.
there is a guide to this. the basic hero creation tutorials will show you how to do this. I know there are a few of them in the tutorials section of these forums as well as on youtube.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey everyone, i have searched google and these forums and cant seem to find what i am looking for. I also tried figuring it out on the SC2 editor. I am trying to give units agility but also in an icon or text when you select a unit. Kind of like when you drag over the weapon box on a marine it says weapon damage speed etc. Also how to make agility effect a dodge percentage. Thanks for your help.
You need attributes, a type of behaviour. You can set the icon and tooltip in UI - Icon and UI - Tooltip. For making evasion a factor of agility you will need a stackable buff with a damage response that reduces damage received to 0 with a fractional chance of the damage response occuring. You then need two buff behaviours which add and subtract the stackable evasion buffs using requirements to calculate the ratio of your attribute to evasion %. For visuals you could then use a textkicker like that of the automated refinery to say miss.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
a guide on this would be handy I want to do this as well
@trentonx: Go
there is a guide to this. the basic hero creation tutorials will show you how to do this. I know there are a few of them in the tutorials section of these forums as well as on youtube.