Alright, so I'm working on a new game and doing a bit of terraining for it and I decided I wanted to have one room (also full of destructible egg sacks) to be covered in green slime. I knew I'd seen this effect somewhere before in WC3 and then realized that the 'blood' left by dead egg sacks was in fact exactly what I was looking for. Spider blood from dead spiders would also look just about right.
Anyway, I'm unaware of any way to just place the blood without the actual corpse directly, so what I've been doing is pre-placing some extra egg sacks and then killing them offscreen before the player's forces arrive. This sort of works.
The trouble is that I want the slime effect to be permanent- rather than slowly fading over time. I tried setting the animation speed for those destructibles to 0 but that only slowed down the fade time and it also created some new problems:
1) obviously the animation speed can't be set to 0 immediately after killing them or the eggs would freeze looking like they were still alive, so I need to freeze them after a wait. Waits of course are inconsistent. This one has been bizarrely so. The eggs actually freeze up as if they were still alive and completely unchanged regardless of wait length about 25% of the time. Other times they burst and then are frozen as pools of blood as normal.
2) killed destructibles have this habit of not playing their animations until they go into your vision range. This makes it so sometimes the eggs stay unharmed until you walk nearby and then suddenly explode. That's obviously not what I'm going for.
I'm open to other solutions to this problem besides the killed egg destructibles of course.
Anyway, I'm unaware of any way to just place the blood without the actual corpse directly, so what I've been doing is pre-placing some extra egg sacks and then killing them offscreen before the player's forces arrive. This sort of works.
The trouble is that I want the slime effect to be permanent- rather than slowly fading over time. I tried setting the animation speed for those destructibles to 0 but that only slowed down the fade time and it also created some new problems:
1) obviously the animation speed can't be set to 0 immediately after killing them or the eggs would freeze looking like they were still alive, so I need to freeze them after a wait. Waits of course are inconsistent. This one has been bizarrely so. The eggs actually freeze up as if they were still alive and completely unchanged regardless of wait length about 25% of the time. Other times they burst and then are frozen as pools of blood as normal.
2) killed destructibles have this habit of not playing their animations until they go into your vision range. This makes it so sometimes the eggs stay unharmed until you walk nearby and then suddenly explode. That's obviously not what I'm going for.
I'm open to other solutions to this problem besides the killed egg destructibles of course.