- Joined
- Oct 11, 2024
- Messages
- 4
Hello Hive Workshop, I am new to tinkering with these custom maps, and I am trying to create 2 custom units, a Giant Gummy Bear and regular Gummy Bears that the Giant one splits into upon death.
Creating the custom bears, making them green, modifying a custom version of the hydra split ability to create gummy bears and making a trigger so that gummy bears drop a custom sugar item upon death was easy enough, but then I got the idea to make them a bit transparent to better convey their gummy-ness and this is where it is breaking me. So I learned that this is not possible via a unit's own settings, only tinting is available there, so I found that this is done via Vertex Coloring trigger. Unfortunately all I can seem to make it work is making a trigger individually for every single giant or regular gummy bear on the map (tedious and messy) and making a trigger for gummy bears that enter the map, but doesn't effect existing gummy bears. I tried making a unit type variable array for transparency (and tried it without arrays) but the action editor is not allowing me to use those variables, global or not, instead forcing me again to chose specific individual units.
I tried creating a spinoff of the passive evasion ability to see if I could add the vertex color change effect to that, but to my surprise the ability templates seem pretty immutable with no ways to add Data fields.
This is driving me up the wall, and I would like some advice on how to apply these kinds of effects to every existing and future unit of certain types cleanly and simultaneously (if possible).
Creating the custom bears, making them green, modifying a custom version of the hydra split ability to create gummy bears and making a trigger so that gummy bears drop a custom sugar item upon death was easy enough, but then I got the idea to make them a bit transparent to better convey their gummy-ness and this is where it is breaking me. So I learned that this is not possible via a unit's own settings, only tinting is available there, so I found that this is done via Vertex Coloring trigger. Unfortunately all I can seem to make it work is making a trigger individually for every single giant or regular gummy bear on the map (tedious and messy) and making a trigger for gummy bears that enter the map, but doesn't effect existing gummy bears. I tried making a unit type variable array for transparency (and tried it without arrays) but the action editor is not allowing me to use those variables, global or not, instead forcing me again to chose specific individual units.
I tried creating a spinoff of the passive evasion ability to see if I could add the vertex color change effect to that, but to my surprise the ability templates seem pretty immutable with no ways to add Data fields.
This is driving me up the wall, and I would like some advice on how to apply these kinds of effects to every existing and future unit of certain types cleanly and simultaneously (if possible).
Last edited: