You won't lose your equipped items when you die
ANOTHER "NLE" MOD HAS BEEN MADE AND CAN BE FOUND HERE: Yet Another Keep Your Equipment Mod
Description:**
- This mod allows you to keep all your equipped items after your death. Nothing is removed.
IMPORTANT: This mod sometimes doesn't work well with custom/modified items
Configurable values:
-
disableThisMod: true/false => as the name indicate, if you want to go full YOLO then set this value to true
-
backupProfileBeforeSave: true/false => This option will create a backup file of your profile after every raid (whether you character die or live and it will overwrite the previous backup file); one way to prevent broken profile if something went wrong.
-
restoreInitialKit: true/false => when you die you get back everything you had before entering the raid
-
[currently disabled] keepSecuredContainer: true/false => Only matters when "restoreInitialKit" is true. When false your Secured Container also gets reset to its inital State. If true you keep all your items you put in the Secured Container during a raid. Warning can be abused for item duplicating if you put something you brought into raid into your secured Container and then die you have it in your inventory and the secured container.
-
enableFoundInRaid: true/false => If you really want to make things even easier, you can set the "enableFoundInRaid" to true to keep all the items you found during your raid as FIR after your death so you don't have to rat your way to the extract when you have that quest item. Has no affect when "restoreInitialKit" is true.
-
noSaveOnPMCDeath and noSaveOnScavDeath : true/false => means that nothing changes in the profile when a pmc/scav die! the stats for the player will not change anymore so you can't level up your character if they die in raid and anything you put in the secure container will be removed also (set to false by default)
When you die as a PMC you should see this line appear in your server terminal if you wanna verify that the mod works:
How to install:
- extract zip file
- move it to spt folder
- done
Work in progress:
- Add option to recover the items from scav if you die (This probably require modding the game as well so I'm probably not gonna do it because it will take too much time)
20.7K Downloads
- Added new configurable features:
- backupProfileBeforeSave: true/false => This option will create a backup file of your profile after every raid (whether you character die or live and it will overwrite the previous backup file); The backupfile will be in the profiles folder as well next to your character's profile; It's one way to prevent broken profile if something went wrong.
- noSaveOnPMCDeath and noSaveOnScavDeath : true/false => Added by suggestion from MacQba; means that nothing changes in the profile when a pmc/scav die! the stats for the player will not change anymore so you can't level up your character if they die in raid and anything you put in the secure container will be removed also! Also the health will not be updated so you have to heal your character in the profile menu! (These options are set to
false
by default)
2.5K Downloads
- SPT 3.8.0
1.9K Downloads
- SPT-AKI 3.7.6
13.1K Downloads
- Updated for SPT 3.7.3
1.4K Downloads
- Disabled the "keepSecuredContainer" until I find the bug.
- Your secure container should reset back to before the raid and without the items you put inside it during the raid in case your die
3.6K Downloads
- Fix FIR status not applying correctly
1.2K Downloads
- SPT 3.7.1
1.3K Downloads
- Remove some extra lines
177 Downloads
- SPT 3.7.0
11.9K Downloads
- Rewrite the mod, thanks to bluwatch for the help with the code
- The mod now actually resets your character's gear to how to stuff you entered the raid with and all the shit you found in raid is removed when you die (secure container stuff obviously will stuff but added option to remove it as well)
- It is recommended that you don't use insurance
- Also make sure you backup your profile just in case
- Add new config, please check and read the README file
1.8K Downloads
- Remove the no longer used function in the code
352 Downloads
- Fix for previous version maybe
327 Downloads
- AKI-3.5.7
5.7K Downloads
- AKI-3.5.4
2.1K Downloads
4.5K Downloads
- SPT-AKI 3.5
5.2K Downloads
- AKI-3.4.1
- PS: The bug with the MICC case disappearing from your chest rig or backpack when your PMC die is still there, please put your MICC case in the secured container until I can find a fix for this issue
2.3K Downloads
- Issue with gear not saved after pmc dying
132 Downloads
- Issue with resetting quests items when dead
387 Downloads
- AKI-3.3.0
1.6K Downloads
- Added the logic for removing the items from your backpack when you die -> Please note: All the items in your backpack will be deleted when die even the ones you brought with you into the raid
- I'm working on better function to remove only the items found during the raid from backpack, pockets and chest rig
353 Downloads
- AKI-3.2.4
2.3K Downloads
- AKI-3.2.3
2.7K Downloads
- AKI 3.1.1
4.0K Downloads
- Compatibility with AKI-3.0.0
- Notice:
- The optional function to remove the items from the backpack when you die as a PMC is not yet finished, I'll try to migrate it soon
3.3K Downloads
- Fix bug where player scav not generating after death
539 Downloads
- Compatibility with AKI 2.3.1
2.4K Downloads
- Compatibility update with AKI 2.3
1.6K Downloads
- Update to AKI 2.2.3
853 Downloads
- Update to AKI 2.2.1
1.4K Downloads
- Some code refactor
- Add new option to remove the items from the backpack if you die (Warning: everything in your backpack will be removed => no exceptions)
415 Downloads
- Fix issue with "enableFoundInRaid" when set to true in config not working correctly
- Fix a bug where your items will be removed and returned via insurance if you die
606 Downloads
- Add missing logic to custom save progress method
- Insured items will now be back if you insure item from prapor or therapist even if you stay alive (insurance fraud)
451 Downloads
- Compatibility with AKI 2.2.0
962 Downloads
- Update to AKI 2.1.2
2.1K Downloads
- Compatibility changes for AKI 2.1.X
2.8K Downloads
Updated for Aki 2.0.0
2.7K Downloads
- [Fix] update the method to use the new class in aki-1.5
1.6K Downloads
- Fixed a bug where items where not marked as FIR even if player survive the raid
211 Downloads
Not quite yet...