+NOLIGHTS Actor Flag

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
Major Cooke
Posts: 8176
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

+NOLIGHTS Actor Flag

Post by Major Cooke »

Disables all GLDEF or Light(<name>) assigned lights whenever this flag is present on an actor.
User avatar
Rip and Tear
Posts: 185
Joined: Tue May 02, 2017 3:54 pm

Re: +NOLIGHTS Actor Flag

Post by Rip and Tear »

Can you give an example of a situation where this would be useful?
User avatar
Major Cooke
Posts: 8176
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: +NOLIGHTS Actor Flag

Post by Major Cooke »

Players that are morphed can sometimes leave a glow behind if they are firing their weapon and they have a flash, such as the Light command. In D4D, this is a notable effect when picking up a demon rune for example.

In another scenario I plan on having a blackout effect with one growing black light enveloping other things like projectiles, that disables all lights which have GL lights defined to them manually. I don't want to 'replace' them because this may interfere with other mods who have their own replacements.

I've quite a few more I have in mind.
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: +NOLIGHTS Actor Flag

Post by Graf Zahl »

Major Cooke wrote:Players that are morphed can sometimes leave a glow behind if they are firing their weapon and they have a flash, such as the Light command. In D4D, this is a notable effect when picking up a demon rune for example.
If you want a bug fixed, report it, not make suggestions for a workaround!
User avatar
Major Cooke
Posts: 8176
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: +NOLIGHTS Actor Flag

Post by Major Cooke »

I didn't think that was an ENGINE bug. I thought that was just more a bug on my end.

But like I said there's more use cases for this.
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

Re: +NOLIGHTS Actor Flag

Post by Matt »

Where is that glow coming from? Surely the morphed actor would not have a light attached to its firing frame?
User avatar
Major Cooke
Posts: 8176
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: +NOLIGHTS Actor Flag

Post by Major Cooke »

No, not the morphed body, it's the hidden invisible original player body.
Post Reply

Return to “Feature Suggestions [GZDoom]”