Point Light On Player?
Moderators: GZDoom Developers, Raze Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Point Light On Player?
I want to create an effect where everything is dark except for an area around the player that I can edit the size of. Basically fog, though for some reason no matter how high I set the fog value it's not nearly close enough to the player, so im resorting to this. However, I can't find ANY tutorials on this at all and most links lead back to "see info on GLDEFS to fix your problem". Thing is, im an absolute begginer who started modding doom yesterday. Could someone please paste code to add a customizable point light to the player? Help would be VERY much appreciated
Re: Point Light On Player?
I wrote a fairly comprehensive thread about adding dynamic lights to actors some days ago:
viewtopic.php?f=122&t=71153
viewtopic.php?f=122&t=71153
-
- Posts: 1
- Joined: Fri Jan 15, 2021 8:34 pm
Re: Point Light On Player?
Cherno wrote:I wrote a fairly comprehensive thread about adding dynamic lights to actors some days ago:
viewtopic.php?f=122&t=71153
Could you please just paste the code to make a light and attach it to the player, I can't understand any of that. Sorry (btw my names different cuz i got an account)