The 2.0.4 patch stormed through and broke many things with my map. The most perplexing issue is that some units (maybe about 25% of all custom unit actors) no longer have a death animation... They just disappear when they die. This seems to happen more commonly with flying units, but I have some flying units who still have death animations and a handful of ground units who are missing their death animation.
I've tried re-copying the actor's "Combat: Death Effects" field from the original units, but it has had no impact. I have also tried setting the death animation to be a fresh copy of the original model (like using model "Overlord Death Copy"), again with no impact on the problem.
Even more confusing is this: When I place one of these afflicted units on my terrain, so they exist at the time the map is loaded, these pre-placed units will successfully show the death animation. When that same unit has been spawned by a trigger after the start of the game, the spawned unit will NOT have the death animation.
Has anyone else experienced this problem? Has anyone read about it or know of a fix?
EDIT:
Further testing-
I deleted my original custom actor (based on an Overlord) and made a fresh duplicate of the default Overlord actor, then set the actor to my custom overlord unit. The unit with the new actor copy still has the exact same behavior: the death animation appears on the pre-placed unit but doesn't work on any trigger spawned units.
After much testing, I was able to determine the problem:
Any time you modify a unit's height using "Change Unit Height" trigger, when that unit dies it will have no death animation. This explains why the pre-placed units always worked. This issue can be very easily replicated, even in a brand new map file. As a sample of the bug, I have a map file attached that clearly demonstrates the bug.
I'll open a thread on the Blizzard bug forum on Monday.
Thanks, this is really helpful. Now I know how to fix it and prevent the actor from using the AntiGravTerran death animation.
But... what exactly is the AntiGravTerran death? I'm not familiar with what "Death Custom" does in the actor events and I couldn't find an AntiGravTerran animation anywhere in the editor? Is it just nothing? What gives?
The 2.0.4 patch stormed through and broke many things with my map. The most perplexing issue is that some units (maybe about 25% of all custom unit actors) no longer have a death animation... They just disappear when they die. This seems to happen more commonly with flying units, but I have some flying units who still have death animations and a handful of ground units who are missing their death animation.
I've tried re-copying the actor's "Combat: Death Effects" field from the original units, but it has had no impact. I have also tried setting the death animation to be a fresh copy of the original model (like using model "Overlord Death Copy"), again with no impact on the problem.
Even more confusing is this: When I place one of these afflicted units on my terrain, so they exist at the time the map is loaded, these pre-placed units will successfully show the death animation. When that same unit has been spawned by a trigger after the start of the game, the spawned unit will NOT have the death animation.
Has anyone else experienced this problem? Has anyone read about it or know of a fix?
EDIT: Further testing- I deleted my original custom actor (based on an Overlord) and made a fresh duplicate of the default Overlord actor, then set the actor to my custom overlord unit. The unit with the new actor copy still has the exact same behavior: the death animation appears on the pre-placed unit but doesn't work on any trigger spawned units.
@SkrowFunk: Go
After much testing, I was able to determine the problem:
Any time you modify a unit's height using "Change Unit Height" trigger, when that unit dies it will have no death animation. This explains why the pre-placed units always worked. This issue can be very easily replicated, even in a brand new map file. As a sample of the bug, I have a map file attached that clearly demonstrates the bug.
I'll open a thread on the Blizzard bug forum on Monday.
Changing the unit height now alters a state in the actor. It causes the AntiGrav custom deaths.
I made a picture to show it in more detail...
@Ahli634: Go
Thanks, this is really helpful. Now I know how to fix it and prevent the actor from using the AntiGravTerran death animation.
But... what exactly is the AntiGravTerran death? I'm not familiar with what "Death Custom" does in the actor events and I couldn't find an AntiGravTerran animation anywhere in the editor? Is it just nothing? What gives?
@SkrowFunk: Go NECRO, WITH FIX DETAILS:
The image is no longer available in the thread. Here's how to fix:
Go into the unit's actor, choose field (Basic) Event: Events +
Delete all the events for UnitDeathCustomize. You'll see entries like this:
-ValidateUnit IsTerranUnit
-IsStatus InAir1
-DeathCustomize AntiGravTerran