What I have going is a base sprite of a character in armor I made in my drawing program, minus the glowing eyes, then I saved the glowing eyes part as a separate sprite that's basically a brightmap, then create a separate Decorate definition for it and spawn it on top of the base sprite at runtime. I looked at Brutal Doom and how the light flare was added on top of the lamps in-game.
My two graphics:
It's supposed to make this:
But when I run the map, the knight's eyes are still black, with no glow.
Here is my code:
Code: Select all
// Kyrdan knight actor (Simple actor replacement test)
actor KyrdanKnight : TechLamp replaces Techlamp
{
Radius 20
Height 56
Scale 0.3
States
{
Spawn:
KYRD A -1
TNT1 A 0 A_SpawnItemEx("KyrGlowmap", 0, 0, 0)
Stop
}
}
// The eye glow (software-friendly brightmap!)
// Still needs some fine-tuning though...
Actor KyrGlowmap
{
// Copypasted from Brutal Doom "Flare_General"
+NOINTERACTION
+NOGRAVITY
+CLIENTSIDEONLY
+NOTONAUTOMAP
renderstyle Add
States
{
Spawn:
KGLW A -1 Bright
Stop
}
}
https://drive.google.com/file/d/1xrXaKK ... sp=sharing