- gave the strifehumanoid's burn states dynamic lights.

Unlike everything else from the IWADs this had to use the 'light' keyword in ZScript because this is merely a base class for many others and the light definitions here need to be inheritable.
This commit is contained in:
Christoph Oelckers 2018-12-22 16:09:58 +01:00 committed by drfrag
parent 0dcbc02cd7
commit 18dd23c79d

View file

@ -13,18 +13,29 @@ class StrifeHumanoid : Actor
States
{
Burn:
BURN A 3 Bright A_PlaySound("human/imonfire", CHAN_VOICE);
BURN B 3 Bright A_DropFire;
BURN C 3 Bright A_Wander;
BURN D 3 Bright A_NoBlocking;
BURN E 5 Bright A_DropFire;
BURN FGH 5 Bright A_Wander;
BURN I 5 Bright A_DropFire;
BURN JKL 5 Bright A_Wander;
BURN M 5 Bright A_DropFire;
BURN N 5 Bright;
BURN OPQPQ 5 Bright;
BURN RSTU 7 Bright;
BURN A 3 Bright Light("PhFire_FX1") A_PlaySound("human/imonfire", CHAN_VOICE);
BURN B 3 Bright Light("PhFire_FX2") A_DropFire;
BURN C 3 Bright Light("PhFire_FX3") A_Wander;
BURN D 3 Bright Light("PhFire_FX4") A_NoBlocking;
BURN E 5 Bright Light("PhFire_FX5") A_DropFire;
BURN F 5 Bright Light("PhFire_FX6") A_Wander;
BURN G 5 Bright Light("PhFire_FX7") A_Wander;
BURN H 5 Bright Light("PhFire_FX6") A_Wander;
BURN I 5 Bright Light("PhFire_FX5") A_DropFire;
BURN J 5 Bright Light("PhFire_FX4") A_Wander;
BURN K 5 Bright Light("PhFire_FX3") A_Wander;
BURN L 5 Bright Light("PhFire_FX2") A_Wander;
BURN M 5 Bright Light("PhFire_FX1") A_DropFire;
BURN N 5 Bright Light("PhFire_FX2");
BURN O 5 Bright Light("PhFire_FX3");
BURN P 5 Bright Light("PhFire_FX4");
BURN Q 5 Bright Light("PhFire_FX5");
BURN P 5 Bright Light("PhFire_FX4");
BURN Q 5 Bright Light("PhFire_FX5");
BURN R 7 Bright Light("PhFire_FX8");
BURN S 7 Bright Light("PhFire_FX9");
BURN T 7 Bright Light("PhFire_FX10");
BURN U 7 Bright Light("PhFire_FX11");
BURN V -1;
Stop;
Disintegrate:
@ -38,6 +49,7 @@ class StrifeHumanoid : Actor
}
}
// Fire Droplet -------------------------------------------------------------
class FireDroplet : Actor