Full Helmet Coverage 1.1.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.

Helmets and face shields will protect the full head.

This simple mod edits helmets and face shields to cover all head hitboxes:
Face, Top of Head, Nape, Ears, Eyes, Jaws, Throat, and Back neck.

Showcase bugcatrainbow

Overview

Enjoy the thrill of being able to peek your head out of cover without worrying about being one-shot in the face by a small caliber. Helmets now work with the rest of your gear as a vital piece of armor. The armor class difference between a SSh-68 (level 3) and a ULACH (level 4) will impact your raids.


This affects ALL helmets, including helmets worn by bots.


All bots have their equipped helmets reduced down to 1 durability by default. This allows players to use small-caliber guns like SMGs and pistols while aiming for the head, as all headshots will almost immediately zero out any bot's helmet.


You can change the above using the configuration file if you want enemy bots to have normal helmet durability. Just keep in mind that this will cause enemy bots to potentially become major threats - don't expect pistols or SMGs to be viable for headshotting a PMC if you toggle this option to false.



Install

Extract directly into the SPT folder. Mod folder can be located in user/mods/.


Other Mods

I recommend using my other mods, Get Concussed and Clean Face Shields, to receive concussions/tinnitus when your helmet takes headshots and also clean up that visor. kana_oO


Configuration

Specifics

  • Version 1.1.1

    Updated for SPT 3.10

  • Version 1.1.0

    LAST UPDATE FOR 3.9.8


    New: Helmet protection will only benefit the player for those looking for an alternative mod to prevent headshot deaths while still maintaining usual game balance. Bots will have their helmet durabilities reduced down to 1 when they spawn into the raid.


    Change ReduceBotHelmetDurability to false to disable this feature in config.json.

  • Version 1.0.3

    Fixed an error that would occur with headwear loaded in from other mods.

  • Version 1.0.2

    Changed how durability works to make it more readable: all helmet plates are now set to 1 max durability, meaning that the helmet's total durability numbers will almost 100% accurately reflect how much full-head durability is left in the helmet.

    (i.e. If a helmet has 100 durability and 3 plates, 97 out of the 100 durability will cover the entire head).


    In line with moving back to vanilla durability numbers, face shields' durabilities have been moved back to default numbers.


    The changes will not apply to current helmets equipped.

  • Version 1.0.1

    Added configuration options in ../config/config.json, for setting values if user does not want either helmets or face shields to be affected by this mod.

  • Version 1.0

  • So does wearing the CQM Face Mask cover the whole head?

  • Do the helmets also cover the face? Or is it just the face shields?

    • helmets and face shields both cover the entire head, including the face :)

    • Would there be a way to make it so the helmets only cover all head areas (including neck & excluding face) But have faceshields cover only the face?

    • you'll have to change it yourself, but the code is pretty straightforward. in mod.ts, see the below:

      If you want to keep the armor buff to face shields so that get +2 to armor class, then change the below:

      If you don't want face shields to receive ANY buffs, then there's a config option where you can disable face shields from being modified by this mod.


      ideally all of this should work, but you'll have to test it 8)

    • Sweet, thanks for laying it all out for me!

  • Okay, so forgive me for the dumb comment - so is the durability change just a numerical one or does it actually impact stopping power?

    So, for example, if I get hit once in the head with a low caliber round- my helmet will have no more durability and be subject to a follow up headshot, if I understand the description correctly?

    • the durability number impacts stopping power - basically, if your helmet has 50 durability, then all of that durability (besides the 1/1 plates) will cover your entire head until the durability is zeroed.


      that example you provided applies only for enemy bots by default, so if you shoot them in the face/head/neck/wherever with something like a pistol round, then they might tank one or two before their helmet's zeroed out, and then they are subject to essentially death by headshot :P

  • when I launched my server with this installed I got some kind of error with conflicting IDs i'll try and replicate it so I can post it in here for ya


    EDIT:


    The Error is the following - In response to 26.80.50.130:6969/client/items: Error converting value {null} to type 'System.Int32'. path 'Durability', line 1, position 13524431

    don't worry about the IP it's a vpn IP from radmin


    Edit- don't click the highlighted text :) don't know what that is but in front of the IP there's Http//:

    • thanks for the error log - I think it might be a mod conflict. I haven't been able to recreate this on my end with an existing environment or a clean environment. I'm not familiar with parsing that line, are you running on fika? do you have any mods that add headwear?

    • yeah iv got a few mods that add gear/headwear and i'm also running fika. so it could be a conflict with that. iv got a fairly large modpack and this is the first error iv enounced in a while after spending months getting everything working together

    • Thought id post the error just in case anyone else posts about it, at least you're then aware of it

    • I'm thinking that it might be one of the mods that adds in headwear that's causing the error when used with my mod. If you can, can you send me the links to them and I'll see if I can replicate the error on my end :)

    • yeah i'll go through my mod list and try and find the ones for ya buddy, you'll have to give me a bit like xD as iv got a mod list thats 200 long lmao

  • AI强化?真不错,我喜欢这个,漂亮 :thumbup:

    Heart 1
  • Its amazing, is it possible for you to make arrmor version too?

    • Thanks - I'm learning how to make plugins for SPT and I'd like to make a mod like that eventually

    • Hope you succeed, Good luck

  • GOOD

    Heart 1