Page 1 of 2

Steve's Flashlight Mod

Posted: Sat Feb 10, 2018 1:40 am
by SuaveSteve
Intro

This uses the new spotlight actors in GZDoom.

Preview: https://my.mixtape.moe/dfnlrl.m4v Click and your browser should just play.

Requirements

Needs a release from at least 2018-02-10.

Setup

Assign a key to toggle the flashlight in your controls menu right at the bottom of "customise controls".
Under options, you can select Flashlight and customise it. Options take affect next time it switches on.

Known Issues

There is some jitter in the changing of location and orientation of the spotlight. Using the target pointer of lights doesn't solve the jitter and is not suitable anyway as the light should emit from the actor's "shoulder". I'm not sure this will ever be fixed or can even be fixed given the way ZDoom updates actors. You can stop it right now by turning off rendering interpolation off but then you only get 35 FPS. Suggestions very welcome.

Releases

12 Feb, 2018

Image

https://www.dropbox.com/s/kz4tp5nhog772 ... 2.pk7?dl=1
  • You may now choose a location for the light to emit from.
  • The light now reacts to crouching.
  • Multiplayer now supported. Settings are shared.
10 Feb, 2018
https://www.dropbox.com/s/vbwsji4l6e85m ... 0.pk7?dl=1

License

Unlicense. (That means do what you want, no credit needed.)

Re: Steve's Flashlight Mod

Posted: Sat Feb 10, 2018 1:43 pm
by XavierStudios
Thank you. It's refreshing to have a real flashlight and not the rough approximation that Dark DooM offered. If there was any criticism I could offer, it would be that the spotlight doesn't lower when crouching. Not a big deal, though. I mean, who crouches in DOOM?

Re: Steve's Flashlight Mod

Posted: Sat Feb 10, 2018 1:58 pm
by Machine-Reaper
Real shadows in doom!

Re: Steve's Flashlight Mod

Posted: Sat Feb 10, 2018 2:21 pm
by Trusty McLegit
This is awesome! However, the flashlight is in a weird spot in relation to the player, a little to the right and up a bit from where you would expect.

Re: Steve's Flashlight Mod

Posted: Sun Feb 11, 2018 2:29 am
by Dwailing
Trusty McLegit wrote:This is awesome! However, the flashlight is in a weird spot in relation to the player, a little to the right and up a bit from where you would expect. *snip*
I think it's supposed to be a shoulder mounted flashlight ala the flashlight from Doom 3: BFG Edition. I could be wrong, tho...

Re: Steve's Flashlight Mod

Posted: Sun Feb 11, 2018 9:40 am
by Mynameislol
For some reason loading this in GZDoom on a multiplayer game, the coop player spawns in a multiplayer location! The host does not see this, and we get out of sync.

Re: Steve's Flashlight Mod

Posted: Sun Feb 11, 2018 11:07 am
by Someone64
It literally says that it's shoulder mounted in the first post.

Re: Steve's Flashlight Mod

Posted: Mon Feb 12, 2018 12:53 am
by SuaveSteve
New release. Please check release notes in OP.

Re: Steve's Flashlight Mod

Posted: Mon Feb 12, 2018 12:20 pm
by muhnwalker
I searched so long for a good flashlight, and tried to modify some myself, but they are either ugly or my framerate drops...

But your flashlight is really sweet!!!
You made me very happy, thanks! :wub:

I use it with Brutal Wolfenstein and changed it to a yellow/brown color so it looks like an older flashlight from the 40s :mrgreen:

But it does not work with the latest Project Brutality Beta, Do you know, why?
Edit: works now, changed the load order.

Re: Steve's Flashlight Mod

Posted: Tue Feb 13, 2018 2:46 am
by ramon.dexter
Can you make a version compatible with the official stable gzdoom? Not all of us can use the unstable releases (ie. its little bit hard on linux than on windows).

Re: Steve's Flashlight Mod

Posted: Tue Feb 13, 2018 3:37 am
by dpJudas
That's not possible as this relies on a new feature currently only available in nightly builds. The upcoming 3.3 release should be able to support this mod, though.

Re: Steve's Flashlight Mod

Posted: Tue Feb 13, 2018 3:50 am
by Rachael
ramon.dexter wrote:Can you make a version compatible with the official stable gzdoom? Not all of us can use the unstable releases (ie. its little bit hard on linux than on windows).
If you need a Linux binary, just ask me in Discord and I'll build one. It will require Ubuntu 16.04 or a system with a similar or more recent library set, though. (It might run on the latest Debian)

That being said, it takes all of 2 minutes even on the worst system to compile GZDoom for me. GCC is pretty fast.

Re: Steve's Flashlight Mod

Posted: Thu Feb 15, 2018 4:07 am
by ramon.dexter
Ok, I will just wait for the stable 3.3 then :)

Re: Steve's Flashlight Mod

Posted: Thu Feb 15, 2018 10:12 am
by wildweasel
Best screenshot.

Re: Steve's Flashlight Mod

Posted: Sun Apr 22, 2018 12:03 pm
by FanDooM
and the sound of turning on and off can be added?