Garry's Mod

Garry's Mod

1,246 ratings
GWS Inventory System
2
6
5
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
38.852 MB
Dec 29, 2020 @ 1:05pm
Jan 24, 2021 @ 1:43am
49 Change Notes ( view )

Subscribe to download
GWS Inventory System

In 4 collections by Worker Random
HARD
55 items
Worker's PUBG
52 items
GWS Addons
27 items
ww2
62 items
Description
About

This addon adds Inventory and Loot drop after death.

Features
1 When player dies he drops his backpack with its loot.
2 You can drop your weapons or move them into your inventory.
3 You can easily add, remove entities to whitelist and to save or load it.
4 You can adjust amount of items with sv_invlimit <number>
5 You can drop ammo from your inventory
6 You can pickup ammo from loot
7 You can choose one from three themes
8 You can store items into storages
9 Supports saves
10 Spawning loot like in battle royals

FAQ

How to pickup something else?
-Add it to whitelist with gws_whitelist_add <Entity Class>, You can copy Entity Class from spawnmenu by rightclicking
item and clicking copy to clipboard.

How to open inventory?
-Open it with F3 or with GWS Inventory SWEP.

What is blacklst?
-Items that are in blacklist do not show up in inventory and wont be added in loot

Is there the player respawn function?
-No, but you can use GWS spectate system overhaul. It could help

Commands

gws_whitelist_add <Entity Class> (iteim)
For example: gws_whitelist_add prop_physics

gws_whitelist_remove <Entity Class>
For example: gws_whitelist_remove prop_physics

gws_whitelist_save
Save your whitelist

gws_whitelist_load
Load your whitelist

sv_gws_invlimit <number>
Inventory capacity

sv_gws_keeploot <0 or 1>
Keep death loot after it was picked up

sv_gws_needinv <0 or 1>
Need inventory swep in hands to open it

sv_gws_wepsinloot <0 or 1>
Add player weapons in loot

sv_gws_nameloot <0 or 1>
Add player's nick to his loot

sv_gws_showammo <0 or 1>
Show ammo in inventory

sv_gws_showlootammo <0 or 1>
Show ammo in loot

sv_gws_addtocleanup <0 or 1>
Add dropped entities to cleanup list

gws_logwhitelist
Log whitelist

sv_gws_lootfadetime <number>, -1 to disable fade out time
Loot fade out time (this is broken)

sv_gws_drawbackpacks <0 or 1>
Draw backpacks on players

sv_drop_loot_on_death <0 or 1>
Drop players loot on death

sv_gws_allowcustomize <0 or 1>
Turn off/on ability to choose themes

cl_gws_invtheme <1 to 3>
Choose inventory theme

gws_blacklist_add <Entity Class>
Items that are in blacklist do not show up in inventory and do not add to loot

gws_logblacklist

sv_gws_smlstoragecapacity <1 to 5>
Small storage capacity

sv_gws_medstoragecapacity <1 to 20>
Medium storage capacity

sv_gws_bigstoragecapacity <1 to 40>
Big storage capacity

sv_gws_lrgstoragecapacity <1 to 100>
Large storage capacity

--EXPERIMENTAL--

You can find guild about global spawn here
https://steamcommunity.com/sharedfiles/filedetails/?id=2370356251

gws_lootlist_add <Entity Class> (iteim)
For example: gws_lootlist_add item_healthkit

gws_lootlist_remove <Entity Class>
For example: gws_lootlist_remove item_healthkit

gws_lootlist_save <name>
Save your lootlist

gws_lootlist_load <name>
Load your lootlist

gws_loglootlist
Log lootlist

gws_storages_save <name>
Example: gws_storages_save NotCrap

gws_storages_load <name>
Example: gws_storages_load NotCrap

gws_lootlist_reset

--OTHER--

sv_gws_limitweps <number>, -1 to disable limit (now this function was deleted, because it breaks manual pickup and some other addons)
Addons with it:
https://steamcommunity.com/sharedfiles/filedetails/?id=2364996088
and special version with manual pickup
https://steamcommunity.com/sharedfiles/filedetails/?id=2364237547

Controls

Press F3 or click mouse 2 when you holding Inventory to open it.

If you set sv_needinv to 1 you cannot open it with F3.

You can copy Entity Class in spawnmenu by just pressing mouse2 button and clicking copy to clipboard.

Future plans:

Add variety of backpacks.
Add some visuals.

Links

Discord server - https://discord.gg/JGHxjsr

Guide about whitelist and global spawn - https://steamcommunity.com/sharedfiles/filedetails/?id=2370356251

Model of backpack is not ours.
This is original work by Luminatas: https://steamcommunity.com/sharedfiles/filedetails/?id=315810701

Recommended addons to play with

https://steamcommunity.com/sharedfiles/filedetails/?id=2342353589
- helping with item drag

https://steamcommunity.com/sharedfiles/filedetails/?id=2156004721
- helping with item pick up

https://steamcommunity.com/sharedfiles/filedetails/?id=638283533
- : DDDD

Conflicts
Zparachut - can give some errors and bugs with. It easly to fix, but I can't publish fixed version because author is loud and ugly (it mean that he always send dmca copyright

DMCA

Feel free to modify or explore this addon. This addon does not require any copyright. But if you would like to re-publish this addon or scripts (including modified versions), PLEASE let me know in the comments section of my profile. Thank you and have fun!


Popular Discussions View All (7)
77
May 18 @ 3:57pm
PINNED: Suggestions
Worker Random
52
Jun 1 @ 6:59pm
PINNED: Bugs and errors
Worker Random
14
Jan 4, 2023 @ 1:49am
PINNED: Need help?
Worker Random
307 Comments
Hi I Am... May 18 @ 11:40am 
When trying to add loot to inventory i get this lua error:
[GWS Inventory System] lua/gwsinv/sv_gwsinv.lua:164: 'for' limit must be a number
1. GWSLootListAddItem - lua/gwsinv/sv_gwsinv.lua:164
2. unknown - lua/gwsinv/sv_gwsinv.lua:689
3. unknown - lua/includes/modules/concommand.lua:54
unlikeaboss May 1 @ 11:45am 
what is the prop pickup command?
Ivy Lyons Apr 22 @ 4:15pm 
existing addons of that character glitch up with gws
Ivy Lyons Apr 22 @ 4:14pm 
weapon drop hotkey? <:3
Mały Głód  [author] Mar 16 @ 5:18am 
@Shadow, We knew about this issue from the start, but it didn't matter to our use case of the addon, so we didn't fix it. Addon was originally created for session like gamemodes (like battle royale).
Shadow Mar 12 @ 8:38pm 
hey, im not sure what seems to be the problem with your addon but not all storages that i place with loot are spawning when you load the storage command, what seems to be the issue with the mod so far?
AsanChik Feb 23 @ 10:56am 
Этот работник просто имба!
Real SHC.Demolisher Feb 7 @ 11:38pm 
@NuclearSwag You do that by clicking the red X in the top right corner, which is hard to see I will admit.
Nacho Juarez Jan 21 @ 12:36pm 
can you maybe add that weapons from the "JMOD" have their own weapon weight or any weapon weight at all?
Mr. Hotdog Jan 19 @ 9:04am 
can you maybe add so that you can add any prop to the inventory