Quite a vexing problem this is. I cleaned my entire GZDoom build out.
I tested it with a fresh, brand new INI, and it still doesn't light terrain. It lights up sprites but not the map terrain.
Code: Select all
Class LightTest : Actor
{
Default
{
+NOINTERACTION
+NOBLOCKMAP
}
override void PostBeginPlay()
{
Super.PostBeginPlay();
A_AttachLight("dummy", DynamicLight.PulseLight, Color(255, 255, 255, 255), 128, 192,
DynamicLight.LF_ATTENUATE, (0, 32, 0), 1);
}
States
{
Spawn:
TNT1 A -1;
Stop;
}
}
Again, fresh INI, but when summoning this, the light doesn't even work on sprites. All options are at default.
I'll try it again and report back if it succeeds or not.