- 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
parent 5e086ec384
commit 36058df025

View file

@ -13,18 +13,29 @@ class StrifeHumanoid : Actor
States States
{ {
Burn: Burn:
BURN A 3 Bright A_PlaySound("human/imonfire", CHAN_VOICE); BURN A 3 Bright Light("PhFire_FX1") A_PlaySound("human/imonfire", CHAN_VOICE);
BURN B 3 Bright A_DropFire; BURN B 3 Bright Light("PhFire_FX2") A_DropFire;
BURN C 3 Bright A_Wander; BURN C 3 Bright Light("PhFire_FX3") A_Wander;
BURN D 3 Bright A_NoBlocking; BURN D 3 Bright Light("PhFire_FX4") A_NoBlocking;
BURN E 5 Bright A_DropFire; BURN E 5 Bright Light("PhFire_FX5") A_DropFire;
BURN FGH 5 Bright A_Wander; BURN F 5 Bright Light("PhFire_FX6") A_Wander;
BURN I 5 Bright A_DropFire; BURN G 5 Bright Light("PhFire_FX7") A_Wander;
BURN JKL 5 Bright A_Wander; BURN H 5 Bright Light("PhFire_FX6") A_Wander;
BURN M 5 Bright A_DropFire; BURN I 5 Bright Light("PhFire_FX5") A_DropFire;
BURN N 5 Bright; BURN J 5 Bright Light("PhFire_FX4") A_Wander;
BURN OPQPQ 5 Bright; BURN K 5 Bright Light("PhFire_FX3") A_Wander;
BURN RSTU 7 Bright; 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; BURN V -1;
Stop; Stop;
Disintegrate: Disintegrate:
@ -38,6 +49,7 @@ class StrifeHumanoid : Actor
} }
} }
// Fire Droplet ------------------------------------------------------------- // Fire Droplet -------------------------------------------------------------
class FireDroplet : Actor class FireDroplet : Actor