[Duplicate] Actors not emitting dynamic lights

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Actors not emitting dynamic lights

Postby Night Falls » Sat Sep 25, 2021 7:57 pm

I've found that any actor which was not spawned with the map (I.E. was summoned by the player or another thing) and does not emit a dynamic light in it's first frame won't emit dynamic lights at all.

For example:
Code: Select allExpand view
class LightTest : Actor
{
   States
   {
   Spawn:
      PLAY A -1 Light("BIGREDTORCH");
      Stop;
   }
}

class LightTest2 : Actor
{
   States
   {
   Spawn:
      PLAY A 1;
      PLAY B -1 Light("BIGREDTORCH");
      Stop;
   }
}

If you place lighttest from the above code in a map via a map editor or whatever, it'll emit light, but if you summon it, it won't. As for lighttest2, it seemingly won't emit light no matter what.
User avatar
Night Falls
 
Joined: 09 Mar 2020
Location: A hole in the bottom of the sea
Operating System: Windows 10/8.1/8/201x 64-bit

Re: Actors not emitting dynamic lights

Postby drfrag » Sun Sep 26, 2021 4:06 am

But on 4.7.0? If so try the latest x64 devbuild. https://devbuilds.drdteam.org/gzdoom/
User avatar
drfrag
Os voy a romper a pedazos!
Vintage GZDoom Developer
 
Joined: 23 Apr 2004
Location: Spain
Discord: drfrag#3555
Github ID: drfrag666

Re: Actors not emitting dynamic lights

Postby Player701 » Sun Sep 26, 2021 7:33 am

Same issue here, and since I posted it after this one, I guess that one should be closed as a duplicate. It's still present in development builds after 4.7.0.
User avatar
Player701
 
 
 
Joined: 13 May 2009
Location: Russia
Discord: Player701#8214
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest