Graphics and Sound Double-Whammy

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
ImpieTwo
Posts: 912
Joined: Sun Aug 16, 2015 11:52 pm

Graphics and Sound Double-Whammy

Post by ImpieTwo »

Using 4.2.4 release and have two issues.

1) The strobe lights in the juno mods no longer emit colored light beams regardless of gl settings: they simply appear as animated sprites with no open gl effects. they don't seem to emit beams at all. any other wad using the same strobe lights has the same issue. They worked fine before when I used older versions of gzdoom.

Every locked door in the Juno mods is marked with these lights. You can see them at the start of map 1 of Operation Sea Wolf: a yellow one is next to the starting position after the briefing.

2) ambient sounds had pitch randomization even when i have it set to "off". this issue seems to have randomly corrected itself, and I'm not sure how to recreate it. toggling the setting didn't have any effect at the time, but i did hard reboot my computer today, and i wonder if that had something to do with it. seems odd to require a restart though, as i use the binaries download and not the installer.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Graphics and Sound Double-Whammy

Post by _mental_ »

Please do not report unrelated bugs in one topic. It’s hard to manage such issues, and it’s rather easy to miss something.

Regarding the problem with lights, it would help to know in which version they worked correctly.
Actually, the same applies to the second bug as well.
User avatar
Enjay
 
 
Posts: 26534
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Graphics and Sound Double-Whammy

Post by Enjay »

I wonder if the lights thing is just another manifestation of this: viewtopic.php?f=7&t=65856&p=1122149

IIRC those lights work by spawning a bunch of short-lived actors with dynamic lights attached in a rotating pattern around the central actor. If those short-lived actors only have a 1 tic state duration (like the actors in LWM's flashlight) then the reason they no longer work could be the same as for the flashlight.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49071
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Graphics and Sound Double-Whammy

Post by Graf Zahl »

No, the state in question is not the spawn state and it has a two tic duration.
User avatar
Enjay
 
 
Posts: 26534
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Graphics and Sound Double-Whammy

Post by Enjay »

Ah, OK, not that then.

@ImpieTwo, if you look at the automap with the IDDT cheat used twice, are the rotating light actors still actually spawning (easy to see if they are with the cheat active)?
User avatar
Rachael
Posts: 13571
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Graphics and Sound Double-Whammy

Post by Rachael »

It does seem to be related, actually. When I played Einherjar, I noticed that freezing the level caused the lights to appear, but unfreezing it caused the lights to disappear once more.

This is pretty big, imo, since the lights were a Realm667 resource, which means there's no telling how many mods may have used them.
User avatar
Enjay
 
 
Posts: 26534
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Graphics and Sound Double-Whammy

Post by Enjay »

ImpieTwo certainly uses them heavily, but I've seen them in a lot of other mods too.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49071
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Graphics and Sound Double-Whammy

Post by Graf Zahl »

I cannot easily fix this with the current light code. Once the actor is gone, so is the light. These depend on the light's removal being delayed by one frame, but the only way to achieve that would be adding gross hacks.

This light effect is a gross hack anyway - stuff I'd normally classify under "Don't do that!".
ImpieTwo
Posts: 912
Joined: Sun Aug 16, 2015 11:52 pm

Re: Graphics and Sound Double-Whammy

Post by ImpieTwo »

Enjay wrote:@ImpieTwo, if you look at the automap with the IDDT cheat used twice, are the rotating light actors still actually spawning (easy to see if they are with the cheat active)?
They are indeed still spawning. So it seems they're there, and just not spawning the gldefs.
Post Reply

Return to “Closed Bugs [GZDoom]”