Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
BlueEagle

Silent Hill 2 Flashlight with GZdoom possible?

Recommended Posts

I was searching all forums I know about this topic, but I didn't find anything helpful. My question is simple the same one as in the title: is there a way to make a flashlight with GZdoom that looks like the one in Silent Hill 2 (or somewhat similar)? Meaning it just brightens an area in front of the player no matter what gun you use etc.

Here's a pic of what I mean:

Share this post


Link to post

Something similar is possible with dynamic lights. If you want it to be on regardless of weapon, you can simply put it in the player's own states. The typical method involves constantly spamming invisible, ultra-fast projectiles with collisions disabled (THRUACTORS flag) and a wide attached dynlight (attach them to the trail actors as well).

However it's not perfect. No matter how fast you make them, they're still not instantaneous, so in wide area it can be very noticeable that the ray of light curves when you turn. Further, the beam will be wobbly, because it will not be a straight cone of light, but something more like a series of light bubbles.

So it is possible; but it will not be perfect.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×