Garry's Mod

Garry's Mod

468 个评价
Sandbox Weapon Shop
9
2
5
4
2
2
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 实体
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
645.119 KB
2024 年 10 月 3 日 下午 12:17
9 月 16 日 上午 7:10
46 项改动说明 ( 查看 )

订阅以下载
Sandbox Weapon Shop

在 w.black57 的 3 个合集中
WeMods
25 件物品
Sandbox Game-ifyers
7 件物品
Pseudo-Zombie Survival PvE
13 件物品
描述
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 >.<
热门讨论 查看全部(2)
1
9 月 24 日 上午 11:11
Bugs/Errors
General Malcolm Granger
161 条留言
Suzumu 9 月 13 日 上午 5:18 
@w.black57

Yes, but it disappears, that's the whole problem.
w.black57  [作者] 9 月 13 日 上午 4:59 
@Suzumu

Did you save your preset? There is a button to save your preset.
Suzumu 9 月 13 日 上午 4:41 
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 4 月 30 日 上午 5:34 
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  [作者] 1 月 29 日 下午 9:35 
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 1 月 29 日 上午 10:43 
[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 1 月 14 日 下午 9:49 
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.
Famous5000  [作者] 1 月 11 日 下午 5:17 
I genuinely have no idea. What is it you're trying to do with it? If you can tell me what it is you are trying to achieve with the crate shop I might be able to create a variant which doesn't freeze on placement, wouldn't work with the wall mounted one though.
KannedKielbasa 1 月 11 日 下午 2:55 
Is there any way to make the crate shop entity a configurable entity?
I want to create a "portable" shop dupe but there's no way I can add the crate shop into it
cole 2024 年 12 月 16 日 下午 6:36 
COAL