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.
[4.0.0] Pointlights no longer follow their targets
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.
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.
- 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
Last edited by Major Cooke on Mon Apr 22, 2019 11:20 am, edited 2 times in total.
- Graf Zahl
- 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
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.
- 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
So the only thing we can do now is SetOrigin?
- Graf Zahl
- 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
Ideally this should be resolved by adding manually attached lights but I cannot give you any time table on such a feature.
- 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
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.