Steve's Flashlight Mod

Projects that alter game functions but do not include new maps belong here.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.

Steve's Flashlight Mod

Postby SuaveSteve » Sat Feb 10, 2018 2:40 am

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/kz4tp5nhog772s5/steve_flashlight_2018.02.12.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/vbwsji4l6e85mpl/steve_flashlight_2018.02.10.pk7?dl=1

License

Unlicense. (That means do what you want, no credit needed.)
Last edited by SuaveSteve on Mon Feb 12, 2018 1:53 am, edited 1 time in total.
SuaveSteve
 
Joined: 05 Jul 2014

Re: Steve's Flashlight Mod

Postby XavierStudios » Sat Feb 10, 2018 2:43 pm

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?
User avatar
XavierStudios
 
Joined: 24 Jan 2017

Re: Steve's Flashlight Mod

Postby Machine-Reaper » Sat Feb 10, 2018 2:58 pm

Real shadows in doom!
User avatar
Machine-Reaper
commander tea cup reporting for duty!
 
Joined: 09 Aug 2013

Re: Steve's Flashlight Mod

Postby Trusty McLegit » Sat Feb 10, 2018 3:21 pm

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.
User avatar
Trusty McLegit
 
Joined: 07 Feb 2016

Re: Steve's Flashlight Mod

Postby Dwailing » Sun Feb 11, 2018 3:29 am

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...
Dwailing
 
Joined: 28 Jun 2017
Discord: 5896
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: ATI/AMD with Vulkan Support

Re: Steve's Flashlight Mod

Postby Mynameislol » Sun Feb 11, 2018 10:40 am

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.
User avatar
Mynameislol
 
Joined: 02 Feb 2017

Re: Steve's Flashlight Mod

Postby Someone64 » Sun Feb 11, 2018 12:07 pm

It literally says that it's shoulder mounted in the first post.
Someone64
 
Joined: 23 Feb 2016

Re: Steve's Flashlight Mod

Postby SuaveSteve » Mon Feb 12, 2018 1:53 am

New release. Please check release notes in OP.
SuaveSteve
 
Joined: 05 Jul 2014

Re: Steve's Flashlight Mod

Postby muhnwalker » Mon Feb 12, 2018 1:20 pm

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.
muhnwalker
 
Joined: 05 Nov 2017

Re: Steve's Flashlight Mod

Postby ramon.dexter » Tue Feb 13, 2018 3:46 am

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).
User avatar
ramon.dexter
rudebwoy
 
Joined: 20 Oct 2015
Location: Kozolupy, Bohemia

Re: Steve's Flashlight Mod

Postby dpJudas » Tue Feb 13, 2018 4:37 am

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.
dpJudas
 
 
 
Joined: 28 May 2016

Re: Steve's Flashlight Mod

Postby Rachael » Tue Feb 13, 2018 4:50 am

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.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Graphics Processor: nVidia with Vulkan support

Re: Steve's Flashlight Mod

Postby ramon.dexter » Thu Feb 15, 2018 5:07 am

Ok, I will just wait for the stable 3.3 then :)
User avatar
ramon.dexter
rudebwoy
 
Joined: 20 Oct 2015
Location: Kozolupy, Bohemia

Re: Steve's Flashlight Mod

Postby wildweasel » Thu Feb 15, 2018 11:12 am

SuaveSteve wrote:https://i.imgflip.com/24egfa.gif

Best screenshot.
User avatar
wildweasel
change o' pace.
Moderator Team Lead
 
Joined: 15 Jul 2003

Re: Steve's Flashlight Mod

Postby FanDooM » Sun Apr 22, 2018 1:03 pm

and the sound of turning on and off can be added?
FanDooM
 
Joined: 31 Jan 2018

Next

Return to Gameplay Mods

Who is online

Users browsing this forum: bingojohnson, HeemboGlobin, PresBarackbar, Se7eNytes, Simple Pie [RSS] and 12 guests