From e47aa3532b6227c7854ac8af3107b041523292b7 Mon Sep 17 00:00:00 2001 From: Tommy Date: Sat, 30 Jul 2022 15:25:49 +1200 Subject: [PATCH] SotA:17: Use screen_fade for sacrifice fade-out There is a problem that the skeleton reverts to the base frame during the fade. Previously the skeleton was deleted so this was not evident. --- .../scenarios/17_Mortality.cfg | 15 +++++++++++---- .../units/Skele_Sacrifice.cfg | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/data/campaigns/Secrets_of_the_Ancients/scenarios/17_Mortality.cfg b/data/campaigns/Secrets_of_the_Ancients/scenarios/17_Mortality.cfg index a61108b0154..1cece2c4d9d 100644 --- a/data/campaigns/Secrets_of_the_Ancients/scenarios/17_Mortality.cfg +++ b/data/campaigns/Secrets_of_the_Ancients/scenarios/17_Mortality.cfg @@ -322,11 +322,18 @@ Not far inside the cave was a ruined castle built in a style I did not recognize flag=sacrifice [/animate_unit] - [hide_unit] - # All units. - [/hide_unit] + # TODO: The skeleton should keep the final animation frame here, + # rather than flipping back to the standing animation for the fade. - {FADE_TO_BLACK_HOLD 1000} + [screen_fade] + red,green,blue=0,0,0 + alpha=255 + duration=1000 + [/screen_fade] + + [delay] + time=2000 + [/delay] [fire_event] name=lichify # See: sota-utils.cfg diff --git a/data/campaigns/Secrets_of_the_Ancients/units/Skele_Sacrifice.cfg b/data/campaigns/Secrets_of_the_Ancients/units/Skele_Sacrifice.cfg index 4707d6b2717..76f4c652dc2 100644 --- a/data/campaigns/Secrets_of_the_Ancients/units/Skele_Sacrifice.cfg +++ b/data/campaigns/Secrets_of_the_Ancients/units/Skele_Sacrifice.cfg @@ -22,7 +22,7 @@ layer=100 [/frame] [frame] - image="units/undead/skeleton-se-sacrifice7.png:1000" + image="units/undead/skeleton-se-sacrifice7.png:500" x=33 y=0 layer=100