Figured some of my recent developments may be useful for others to use in their mods or for learning purposes. Most of these assets are the product of research for my latest (side) project, Resistor(), to further my own data skills.
Better Floating Combat Text
Dependency Mod. This mod provides an action to create beautiful customizable floating combat text inspired by Heroes of the Storm. Includes options for directions (left, right, middle, random, vertical) and font styles (basic, ability, healing, status, and crit variants).
Easy Unit Status Bars
Demo Map. This function constructs and returns a customizable status bar as a dialog item. Contains variation for each race, options to show/hide energy, and to add a behavior duration timer (stimpack is shown in the gif). Note that in order to use these status bars you must copy both the function (CreateStatusBarForUnit) and the UI layout (PiratedStatusFrameTemplate).
Global Backstab Vulnerability
Demo Map. A backstab vulnerability behavior that increases all damage a unit takes by 50% if the attacker is behind the target. Note that the behavior is given to the target unit. Useful for games with a global backstab mechanic.
Defendable Neutral Bunkers
Demo Map. These neutral bunkers can be commandeered by any unit. Empty bunkers revert back to their neutral capturable state. Reducing the bunker to 20% life forces out any occupants and prevent use until the damage is repaired.
That's part of the equation. And you can add that validator to a single ability to give it bonus backstab damage. My behavior is constructed through a series of damage responses that yields backstab from ANY attack/ability/unit based damage source. I could be mistaken but I don't believe any current existing mod uses such functionality.
Figured some of my recent developments may be useful for others to use in their mods or for learning purposes. Most of these assets are the product of research for my latest (side) project, Resistor(), to further my own data skills.
Better Floating Combat Text
Dependency Mod. This mod provides an action to create beautiful customizable floating combat text inspired by Heroes of the Storm. Includes options for directions (left, right, middle, random, vertical) and font styles (basic, ability, healing, status, and crit variants).
Easy Unit Status Bars
Demo Map. This function constructs and returns a customizable status bar as a dialog item. Contains variation for each race, options to show/hide energy, and to add a behavior duration timer (stimpack is shown in the gif). Note that in order to use these status bars you must copy both the function (CreateStatusBarForUnit) and the UI layout (PiratedStatusFrameTemplate).
Global Backstab Vulnerability
Demo Map. A backstab vulnerability behavior that increases all damage a unit takes by 50% if the attacker is behind the target. Note that the behavior is given to the target unit. Useful for games with a global backstab mechanic.
Defendable Neutral Bunkers
Demo Map. These neutral bunkers can be commandeered by any unit. Empty bunkers revert back to their neutral capturable state. Reducing the bunker to 20% life forces out any occupants and prevent use until the damage is repaired.
To Do
@PirateArcade | I make games | Ask me things on Discord
well this is in tutorial section for a years now http://www.sc2mapster.com/forums/resources/tutorials/17644-data-data-driven-caster-behind-target-validator/
@abvdzh: Go
That's part of the equation. And you can add that validator to a single ability to give it bonus backstab damage. My behavior is constructed through a series of damage responses that yields backstab from ANY attack/ability/unit based damage source. I could be mistaken but I don't believe any current existing mod uses such functionality.
@PirateArcade | I make games | Ask me things on Discord
Updated with the Pirated Status Bars asset. Data driven status bars for all!
@PirateArcade | I make games | Ask me things on Discord
Updated with Pirated Floating Text asset. Don't let your beautiful combat text be dreams.
@PirateArcade | I make games | Ask me things on Discord