You can now fold backpacks and vests!
Foldables introduces the ability to fold your gear, collapsing into smaller grid sizes. This way you can save space in your stash, or keep valuable backpacks/vests you find in-raid.
Features
- Every compatible gear now has a folded state: Fold like you would a gun by using
middle mouse clickor by using the context menu - Compatible gear includes: Backpacks, Unarmored Vests
- Realism and balancing: Folded gear cannot be opened and cannot contain any items. Folding in-raid takes time, scaled based on the size of the gear
- Seamless experience: Unfold gear on equip. Unfold gear when trying to open it. Ask to spill the contents when folding a container that is not empty. Ability to fold/unfold items on the ground in-raid, by holding the interaction button (
F) - Configurable: Configuration is available server side and client side
Installation
- Extract the contents of the .zip archive into your SPT folder.
Note to Fika users:
- Must also be installed in the headless client
Thank you DrakiaXYZ for the gif
Configuration
Server Side
In the config.json file:
MinFoldingTime- Minimum folding time in-raid for the smallest gear. Default is1secondMaxFoldingTime- Maximum folding time in-raid for the largest gear. Default is5seconds. Setting both to0effectively removes the delay in-raid
For a more tailored experience:
Overrides- Override foldable properties for certain gear. Seeconfig.jsonfor an exampleBackpackFoldedCellSizesandVestFoldedCellSizes- Folded sizes are calculated based on this, for example (using default values) all backpacks with a grid count of <=15will have a folded size of1x2
Client Side
In the BepInEx configuration manager (F12)
Fold While Equipped- Allow folding while gear is equipped. Default istrueSpill Confirmation- Show a confirmation dialogue before spilling contents, if possible. If disabled, always spill without asking. Default istrue
Support
If you find bugs, or have feature suggestions, feel free to post them on the comment section, or open an issue on GitHub, or most preferably through the SPT Discord, ozen
Contributing
- I would appreciate it if you could help translate this mod into your language. Locale files are inside
config/locales/, with your language__.json
Future Plans
- Folded static loot
- Custom folded models (okay, maybe not)
Credits
- Thanks to Tyfon for entertaining my questions, and for his work on UIFixes which showed what else can be possible
- Thanks to BloodRain13 for helping test this mod extensively
- Thanks to Gleneth for his help on initial testing
- FlatIcon - 1, 2
34.55 KB
3.6K Downloads
Released Nov 11, 6:11 PM
Added:
- Foldable headsets
Fixed:
- Foldable items ending up on top when sorting
- Image scale when folded item is rotated
- Some cases of null ref exceptions
Modified:
- Smaller default folding sizes to encourage folding
- Try optimize mod’s server start
- Use SPT patch manager
Note: This update changes the config’s default values, it is recommended to make a backup of your current config then migrate your changes
32.65 KB
1.7K Downloads
Released Nov 7, 6:39 PM
Initial release
No Addons Yet
This mod doesn't have any addons yet.
Details
-
GUID
com.ozen.foldables
-
Category
-
License
-
Source Code
-
Latest Version VirusTotal Results
-
Fika Compatible Version Available
Would it be okay to include 4.03 in your 1.0.1 release? What a great mod, thanks
The only things this mod is missing is a progress ring for folding/unfolding items on the ground, and custom models for folded items, even if not accurate to the real items (referring to the headsets that may not actually be foldable IRL) to properly illustrate an item is folded. backpacks look identical when on the ground in raid and it irks me a little
Can we fold items while playing as scav?
@ozen love the mod helps with the loot goblin in me, just wondered if posters could get added as a 2x2 for paper, that you could roll up gets my goat a little. ty in advance if u decide to :)
A screenshot would be nice
mine is causing my server to fail to load and it only lets me close it. is it not compatable with some mods? like maybe a mod that modifys backpack size?
Thank you for the amazing mod. Is it possible to change it so that the backpack comes to the top when sorting items?
Noice. Can you do foldable headsets into a 1x2 like IRL
holy moly
Genius!