Garry's Mod

Garry's Mod

342 hodnocení
ISAWC: Inventory System and Working Containers
3
3
3
2
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
Velikost souboru
Přidáno
Aktualizováno
797.089 KB
4. bře. 2019 v 4.35
13. čvn. 2024 v 7.20
Poznámky ke změnám (156) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
ISAWC: Inventory System and Working Containers

Popis
This is my idea of an inventory system where you can pick up any entity and store it in your inventory or a container for later use. All entities that do not break when duplicated are supported by this addon.

All players' inventories are saved within sv.db while ConVars and lists are saved in data/isawc_data.dat. You can save the containers' inventories just by saving the map.

All Minecraft assets belong to Mojang AB. I do not own any of them.

Features
Console
- There are many ConVars and ConCommands in this addon, all starting with "isawc_". Type "isawc_help" to view all of them.
- You can use the ConCommands starting with "isawc_activate_options_menu_" to open a more intuitive GUI interface for configuring this addon.

Inventory System
- Non-grid based.
- Amount of space all players have can be modified.
- Any entity can be picked up, as long as the entity is compatible with the Duplicator tool. (A ConVar can be enabled for non-physical entities to be picked up.)
- Range for automatic entity pickup can be configured.
- Bindings can also be configured, see the notifications displayed on spawn to learn how.
- Entities that shouldn't be picked up can be blacklisted. There are also ConVars and ConCommands to enable and manipulate whitelists.
- ConVar to control the maximum distance entities can be picked up from.
- Whole inventories can be dumped into a small box unless disabled.
- Currently held weapons can be stored unless disabled.
- Ammo on a player can be turned into inventory items via item stamps.
- Player inventories are saved by default, this can be controlled with ConVars.
- ConVar to cause players to drop their inventory on death.

Items
- All items have mass and volume. Space occupied by any entity can be modified.
- Additional tooltips and custom images can be defined for picked up items.
- Picked up items can be deleted unless disabled.
- Administrators can save items as item stamps, which can be restored infinitely, regardless of map, until deleted.
- Ammo from weapons can be removed inside an inventory, giving the ammo to the player.

Containers
- Huge array of containers from props of the Half-Life 2 series.
- Custom containers can be made with a special admin-only SWEP.
- 100% save and dupe compatible. You can put containers in containers.
- Range for automatic entity pickup can be configured.
- Containers can be made breakable.
- Containers can be made personal, such that each player will have their own inventory on the same container.
- Containers can be synchronized with other containers. All synced containers will always share the same inventory.
- Highly configurable loot table system, loot tables can be attached to containers using a special SWEP.

Others
- Inventory Exporter, to get items out of containers.
- "Weighing" Scale, to measure how much mass and volume an entity will occupy in an inventory.

Need more models? I've tried to convert some models into backpacks/containers from these addons:
Unofficial Minecraft Model Pack
TDMCars - Trailer Pack
FO3 Backpacks
Simply enable the relevant addon to add additional models.



If you have any suggestions, bug reports, requests or questions, you can feel free to comment down below. I'm pretty attentive towards the comment section, but try to at least read the Frequently Asked Questions discussion before commenting.

Finally, you can find the source code of this addon on my GitHub Repository[github.com].
Populární diskuze Zobrazit vše (4)
3
16. čvn. 2024 v 10.43
My items didn't spawn when I dropped them
Gvbavx
3
17. dub. v 11.21
PŘILEPENO: Frequently Asked Questions
Piengineer12
3
29. úno. 2024 v 17.34
how to use the backpacks
Spo0ds
Počet komentářů: 1 217
Oh, I'm sorry. I hope someday you will get together and do everything!
Piengineer12  [autor] 17. dub. v 22.57 
I honestly don't know. Not only have I lost my motivation, but this addon is now very hard to maintain without introducing new bugs because of the mistakes I've made in the past.

This needs to be rebuilt from the ground up, I feel miserable just by looking at what I've written for this.
джамбо харламик 17. dub. v 11.21 
Hi, when can you go back to updates and finally make Inventoy checker? It would be extremely important and useful(Google Translate)
hdticket 13. dub. v 4.52 
Could you possibly add a system in which other players can search you?
SpicyWaterV1 12. dub. v 22.49 
Hey, was just looking for some help with creating a loot tables for a container, couldnt figure out how to use the Loot Attacher SWEP and couldn't find anything linked here, thanks and great addon!
Sexdarva (Ciel) 6. dub. v 1.01 
I can't convert ammo (even base hl2 ones) into entities
🌟 JacobBoi123 🌟 16. bře. v 13.42 
Nevermind, it works lol.
🌟 JacobBoi123 🌟 16. bře. v 13.34 
@Piengineer12

The container/backpack maker isn't working for me. I can make the containers and backpacks, but the GUI won't work for me.
Piengineer12  [autor] 17. led. v 8.28 
I have not heard of any way for GMod to interface with MySQL nor do I know what GmodAdminSuite is, so this addon probably doesn't.

Player inventories are already saved when players disconnect when "isawc_player_save" is 1, so you can just set "isawc_player_savedelay" to something like 1000000000 so that the periodic saving part doesn't happen, only disconnect saving.
FrostbitTe 17. led. v 7.42 
also i want players inventories to be saved when they disconnect but i dont want periodic saving any way i can do that? sorry for bothering you so much