[4.0.0] Pointlights no longer follow their targets

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.
User avatar
Major Cooke
Posts: 8176
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: [4.0.0] Pointlights no longer follow their targets

Post by Major Cooke »

I made that documentation after checking the source code a while ago. Just how do you plan on resolving this, then? Because this is bad. This has admittedly broken a few things in a few different mods of mine and something needs to be done about this.

Here's the problem with GLDefs that make it impossible for me to use it: the ability to define my own light patterns and color changes. I would have to write... at least a thousand different lights just to achieve the effect that I want.
Last edited by Major Cooke on Mon Apr 22, 2019 11:20 am, edited 2 times in total.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49073
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [4.0.0] Pointlights no longer follow their targets

Post by Graf Zahl »

The problem here is, that an attached light is now a completely different entity than before, so there is no simple way to resolve this. The entire functionality this depends on no longer exists - and it was removed for good reasons.
User avatar
Major Cooke
Posts: 8176
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: [4.0.0] Pointlights no longer follow their targets

Post by Major Cooke »

So the only thing we can do now is SetOrigin?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49073
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [4.0.0] Pointlights no longer follow their targets

Post by Graf Zahl »

Ideally this should be resolved by adding manually attached lights but I cannot give you any time table on such a feature.
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: [4.0.0] Pointlights no longer follow their targets

Post by Matt »

For what it's worth, I ended up writing this:
Spoiler:
and having all my lights inherit from it, though later I scrapped it in favour of just doing all the lights directly because I had fewer than 20 to worry about and about a third of them already had their own Tick() overrides.
Post Reply

Return to “Closed Bugs [GZDoom]”