Headshot Darkness 1.2.1

Please do not ask when mod authors will update their mods to 3.10 or if they can upload older versions of their mods.
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

Instant feedback for when you get head, eyes'd.

What does this mod do?

This mod makes getting headshot more... headshotty, by instantly fading your screen to black when you get killed with a headshot.


Tbd060N.gif

INSTALLATION

Like any other mod, just drag and drop the BepInEx folder into your SPT folder.


wByb5Ln.gif

  • Version 1.2.1

    • Fixed audio not being re-enabled when entering spectator mode with Fika. Oops.
  • Version 1.2.0

    • Substantial refactor
    • Fixed an issue where the headshot effect wouldn't occur properly

    Happy new year! :)

  • Version 1.1.1

    • Updated to 3.10
    • Hopefully fixed an issue where the screen flash would happen when extracting with Fika (untested lol)
    • Audio should now fade back properly when switching to Spectator Cam with Fika (untested lol)
  • Version 1.1.0

    Better late than never, right? Also, thank you for all the support!

    • Refactored some code
    • Added config options to change darkness type per death type
    • Removed ScreenFadeTime because I could not get it to work the way I wanted to (thanks bsg)
    • Surely fixed the Fika screen fade bug this time around
    • Fixed an error when skipping the UI death sound
  • Version 1.0.5

    • Added config option DisableUIDeathSound which disables the UI death sound for all deaths
    • Fixed an issue with screen fading when using Fika
  • Version 1.0.4

  • Version 1.0.3

    IF UPDATING DELETE OLD HeadshotDarkness.dll

    added config option ExplosionsDoDarkness

    added config option DeathTextContextual (gets random death string from deathstrings.json based on death type)

  • Version 1.0.2

    added DoScreenFlash config option (flashes white on death, disables screen fading)
    added death text (dayz inspired...)

    iyEv3T2.gif

  • Version 1.0.1

    added 2 config options (ScreenFadeTime, AudioFadeTime)
    audio should now fade better

  • Version 1.0.0

  • I love the idea of this mod. Definitely going to give it a try. Funny thing is, I look for this exact kind of mod every time I play Stalker Gamma. But none exists.

  • You're the man, Pein! Haven't tested the newest version yet but definitely plan on it.

    Thanks!!

    Heart 1
  • I played around with this mod a lot and sadly couldn't ever get it to work right. I uninstalled all mods and made sure it was a clean start to test.


    The audio options work perfectly as well as the on screen text (both contextual and preset texts).

    I could never get the full affect of the black screen though. It was always a vanilla style camera regardless of what setting I had for style.


    No error logs in the console either. Super strange since it seems like there aren't many people with this issue. On SPT 3.10 btw. Love the work you put in though!!

    • sorry for the late reply, thanks for reporting.

      Heart 1
    • No worries! I did a bit more testing to try and get some more information for you since "it doesn't work" isn't exactly a great bug report lol.

      My friend's client (who was identical to mine, bone stock with just headshot darkness) was able to get the screen flash to work (sort of). When he would die, his screen would flash white for a split second and then it would proceed to be a vanilla death. No error logs or any other verbose issues either. Strange for sure but I really want this mod to work so I'm going to keep trying things.

      tldr: On both of our clients, neither would bring up the black screen, but on his client (when set right) it would flash white for a second then go back to vanilla. It's like the black overlay is missing or something (Ik it's not actually missing but that's just the best way I could describe it)

      Thanks for the reply btw!

    • yea, something wrong with the patch or whatever, ive been trying to figure out what it could be but so far nothing. ill try to get an update out asap

      Heart 1
    • updated

    • Absolutely immersive and horrifying! The visual aspect works with the latest update.

      I did notice that on Fika, the audio no longer fades back in after dying. Not sure if it was a one off thing since I have only tested the new update once but regardless I would much rather have the effect working and no audio!

      Thanks for your hard work btw!!

      Heart 1
  • Simple, but really immersive.

    Heart 1
  • Thanks for updating this quick!

    Heart 1
  • 欢迎来到地狱! :D

    Heart 1
  • neat :!: :!:

    Heart 1
  • Working great now on Fika!

    Heart 1
  • Heyo, just reporting a error thrown by this mod! Hope it helps and keep up the good work!

    • already know about it but thanks for reporting it anyway (shooouuulllddd be fixed next update? whenever that comes out)

      Thumbs Up 1
    • Damn, glad you know though and keep up the good work!

  • Would it be possible to make an option where headshots cut to black and grenades flash to white?

    • currently reworking some of the code and ill most likely make that a possibility

      Thumbs Up 2
  • Whenever I die to an explosion or a headshot, I just ragdoll and don't actually die. I can't do anything but look at the ground until I alt F4 and re enter raid. No black, No text, nothing but ragdoll.

    • clip? errors? config? enabled mods? anything to help me debug the issue? feel free to send me a message request on discord

  • On ultrawide 21:9 aspect ratio the black screen doesn't quite cover the whole screen, I believe you can see what looks like the outline of an eye at the top and bottom of the screen. Any chance of ultrawide support?

  • Honestly I prefer the original version where it just cuts to black. No sound, no text, no music, just... complete void for 5-6 seconds. It's so horrifying every time.

    • luckily everything is configurable

  • The "deathstrings.json" file included can edit some custom text for like the dying of headshot or dying of a explosion but could there be ever possible to include lines for custom text option dying in a specific map for example or dying to some specific boss?

    • most likely no

  • Headshot darkness my old friend.
    I have been head-eyes'd again.

    Thumbs Up 5
  • Haven’t had the chance to use it yet and I already love this mod.

  • im guessing this would conflict with solaraints headshot damage redirection ?

    • wouldn't think so

    • your screen only becomes dark if the headshot is fatal

  • Love this mod!!

  • Pretty cool Mod.

    Thanks =)

  • Oh damn, would I be able to use this with 3.8.3?

    • no but it isnt too hard to get it working with 3.8.3 since it was originally written for that version, just have to change around some references and dependencies

      Heart 1
  • very immersive

  • extremely lore accurate, love this mod

  • it's cool.

  • honestly if you get headshot in general i think it should be like this. plus itll feel alot more real

    • If it were real, just one shot to the head would break your neck and kill you.

      Thinking 1
    • if your getting shot in the head your neck breaking is moot point bruh...? and if your argument is that getting headshot w a helmet would break your neck that's false. there are videos on youtube of desert storm soldiers getting headshot by dragunov 54R and laughing moments later with there battle buddies about getting shot in the head.

    • @hwangilseok it depends on the caliber and the place where you got hit tbh

    • i havent been shot in the head but i think you'd see black if you were shot in the head

    • Just to be that guy, buddy of mine took a round to the helmet in AFG. Knocked him uncon, but didn't really snap his head back. Thankfully the round skirted the inside of the fabric cover and out the other side. Getting shot in the head area doesn't defacto break your neck or cause massive injuries like that, that logic lies right beside the whole "Even if you miss with a .50 it'll tear their limbs off".

      Thumbs Up 1
  • Will it be completely black?

    Personally, I wish it were adjustable. Only about half

    • This only occurs when a headshot kills you I'm pretty sure, not when you get headshot and survive

  • Great job! So since youve figured it out, how hard would be it to make the fadeout longer/configurable?

    Or instant for everybody part?

    • shouldnt be too difficult, ill add more config options in the next version

      Heart 1
    • Great news!

      I really liked the effect of "death" in buckshot roulette:

      You see just a tiny bit of flash and sound of the shot and it all instantly cuts out to black.

      But sometimes I like to see my character falling down and slowly blacking out like in body cam

      Hope to see it with this mod!

  • another great realism mod

  • Wait so does this confirms death? Cuz you can get shot in the head and live.

    • havent personally survived one but it should since it patches deathfade

  • DayZ vibes, awesome mod!!

    Thumbs Up 1
  • Man, that's spooky. Cool mod!