Garry's Mod

Garry's Mod

471 ratings
Sandbox Weapon Shop
9
2
5
4
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Entity
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
645.119 KB
3 Oct, 2024 @ 12:17pm
16 Sep @ 7:10am
46 Change Notes ( view )

Subscribe to download
Sandbox Weapon Shop

In 3 collections by w.black57
WeMods
25 items
Sandbox Game-ifyers
7 items
Pseudo-Zombie Survival PvE
13 items
Description
Sept 16, 2025
- Splitted the money system for other mods
- Added the ability to remove ammo cap

WeMoney System is now a requirement

*********************************************************************

A fun little script to make weapons worth getting by buying through hard earned blood money.

Features:
Money System
- You Kill, You earn Money
- Dynamic money value given depending on how much HP an NPC have
- Configuration Presets
- Option to split cash between players (Co-op Mode)
- Option to replace vanilla ammo with pickable cash
- Option to replace vanilla Wall chargers to become shops
- Option to disable pickups on vanilla weapons
- If you want to replace other entities with shop/money i suggest using the Total Replacer mod
- Option to buy anywhere (If enabled, you can say "!wblbuy in chat")
- and others!

Weapon/Entity Buying System
- Spend your hard earned cash on Weapons, ammunition and entities!
- Add your own weapons/entities or workshop SWEPS in the shop
- Organize weapons/entities in shop by adding them in categories
- Two weapons with the same "SlotID" will make it so only one of the weapons can be bought
- Option to disable pickup for same slot ID weapons
- Add Weapon list Presets and create your own weapon shop list
- Quickly edit ammo and weapons in the list by right clicking to open context menu
- Quick add option uses an algorithm to do the setup for you (about 90% correct setup)
- Use "wblmoney_showsuggestedprice" to see suggested price of your currently held weapon

How to have fun with it:
Make your own weapon list. If you don't want, I actually made a built-in preset for you to try:
Half-life 2 Tiered weapon list preset contains the following addons and must be subscribed to, so you can use it:
RTB:R Weapons Pack
Entropy: Zero 2 SWEPs
Entropy: Zero 2 Xen Grenade
ZBase EZ NPCs Content


After that, just go in game in gmod then open up the Spawnmenu -> Options -> WeTools -> Shop Options (Admin)
then select Half-life 2 Tiered under Weapon/Ammo List Preset.

Make the Weapon Shop entity under Spawnmenu -> entities -> Weshop

Get some profit by killing your enemies or friends!

Recommended to play with npc battle maps/scripts, here are some suggestion workshop mods to play with it:
Simple Horde Mode for Sandbox
gm_devbattle
Reinforcements System


I also made a guide in making it work in HL2 Campaign, check it out:
Play HL2 Campaign with Weapon Shops

Other useful mods:
Weapon: Setup, Transfer And Restore - Workshop If you get frustrated on losing your weapons (keep inventory)
Weapon Editor & Replacer for balancing/editing weapons
Alternate Model for Weapon Shop by Neeko
Customizable Entity Spawner after adding the shop entity on the list, should spawn around you
Modest Map Manipulator A mod that makes entities (like the weapon shop) to persist in maps

Credits to Famous5000 helping out in updating the mod!

Donation for us would be appreciated ^_^



Check out my other mods!


Note
- If you are using Manual pickup (i.e. Vmanip manual pickup), this will conflict with my "Disable All Vanilla Weapon Pickup" and "Disable pickup for same slot ID weapons" feature. Simply uncheck them in my option and manual pickup will work
- I'm not gonna be invested too much in this mod, i simply want to share it. I mainly made this so that i can play with it myself so please don't expect too much support on my end :)
- Inspired by Counter-Life, a half-life 1 mod you should try it!
- This is also my first mod :3
- Dont look at my codes its messy >.<
Popular Discussions View All (2)
3
9 Oct @ 1:03am
Bugs/Errors
General Malcolm Granger
164 Comments
box tank 6 hours ago 
I don't know if it's possible but could you try making lambda players be able to use this? (or someone else who knows how to make lambda player addons)
Famous5000  [author] 7 Oct @ 3:20am 
@𝕝𝕠𝕔𝕜𝕗𝕘𝕗

Do you have a log that we could look at? It may also help if you reinstall the addon, as Steam can sometimes be a bitch with addon installs.
pretty much broken in multiplayer... sad :steamsad:
Suzumu 13 Sep @ 5:18am 
@w.black57

Yes, but it disappears, that's the whole problem.
w.black57  [author] 13 Sep @ 4:59am 
@Suzumu

Did you save your preset? There is a button to save your preset.
Suzumu 13 Sep @ 4:41am 
Please tell me! when I made my store completely, then if I re-enter the game, I'll just spend a certain amount of time in the game, my store just disappears completely. Is there any way to solve this, or just save the file so that it can be downloaded every time the store breaks down?
Deton 30 Apr @ 5:34am 
i don't get any money by killing, not even with vanilla npc's. neither with dynamic money nor with fixed rewards and yes i checked the “activate money system” box. maybe i just overlooked some step. but i still think this mod is extremely good and would appreciate some help.
Famous5000  [author] 29 Jan @ 9:35pm 
This addon is no longer being maintained; however, you should be able to unsubscribe from this one and subscribe to either my BETA or my STANDARD branch.
Vauk 29 Jan @ 10:43am 
[Sandbox Weapon Shop and Money System [Legacy Ver.]] lua/entities/weshop/init.lua:1206: bad argument #1 to 'ipairs' (table expected, got nil)
1. ipairs - [C]:-1
2. RemoveWeaponByClass - lua/entities/weshop/init.lua:1206
3. func - lua/entities/weshop/init.lua:2673
4. unknown - lua/includes/extensions/net.lua:37 (x4)


if u add too much items
KannedKielbasa 14 Jan @ 9:49pm 
Basically create a dupe that contains various necessary survival items.
Health, ammunition, random crate and then the shop itself.

Which I'm not capable to attach to the dupe itself in order to deploy it quickly in various maps because the shop itself doesn't have the property to be weld among other entities and props of the dupe.