Garry's Mod

Garry's Mod

Not enough ratings
Sandbox Weapon Shop and Money System [BETA BRANCH]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Entity
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
883.639 KB
26 Nov, 2024 @ 5:42pm
27 Nov, 2024 @ 9:57pm
10 Change Notes ( view )

Subscribe to download
Sandbox Weapon Shop and Money System [BETA BRANCH]

In 1 collection by Famous5000
TEMP_Subscribed
196 items
Description
THERE WILL BE DRAGONS! (half joking but this is the unstable branch which has way more updates and will be frequently updated with GitHub pull requests; want to contribute? Check the github linked!)

WeShop BETA BRANCH

This addon is the most bleeding edge upload of the WeShop addons. The stable branch is here; you are subscribing to this at your own peril.

NOTE: The collection this addon is part of is part of the addon testing environment that I have set up. If you wish to participate in making the unit compatible with ANY of the addons in that collection, please do not hesitate to do so.

THIS ADDON IS 100% INCOMPATIBLE WITH STABLE.

However you can swap between the two mods with no problems. Do not complain about the two mods being incompatible because you didn't read this part.
5 Comments
Famous5000  [author] 4 Mar @ 5:16pm 
It actually spawns a little above where you interact, so if your hit normal is the side of the crate, it should spawn it to the side of the crate, from what I've noticed. [Most of the code isn't mine however I took over because of the author requesting for me to do so.]

Yeah, ready configured weapons are not planned or supported. I might be able to create a way for the addon to check if the player is *actually* aiming at the device which could help with better use detection but might cause issues with things like wall charging stations. I'll have to investigate this, otherwise just use something like the `Gravity Gun` with global permissions enabled to pull the box off of the shop and then use it while it's away from the shop itself.
meierhans 4 Mar @ 4:35pm 
To make this clear: I do not expect your addon to support saving ready configured weapons with attachments. This would be silly to implement, as many weapon packs handly things differently afaik.

I just want to be able to let people buy attachments. Right now it works kind of when setting them up as entity, but with the box shop (not the wall charger), they fall on top of the box. Since grabbing them and using the shop is the same button, they are really hard to grab, sometimes impossible.

Would be enough to spawn them a little away. Or maybe inside a breakable box? Just an idea.

Anyhow, thank you for your great plugin, really fun to build your own gamemode around it.
meierhans 1 Mar @ 11:44am 
I plan to have them buyable anyways, so that is good news?
Famous5000  [author] 28 Feb @ 4:22pm 
@meierhans
Likely not. Unless you use a custom SWEP to send the specific data to the weapon required for the gun with the right attachments to be bought.

Or you don't give users the attachments by default and have the attachment entities buyable.
meierhans 28 Feb @ 8:14am 
Wow, first! Will there be support for ARCCW / ARC9 attachments?