Garry's Mod

Garry's Mod

Buu342's Weapon Base 2
114 Comments
аБИБАс Jun 18 @ 10:34am 
I fixed all, dont worry
Buu342  [author] Jun 18 @ 10:22am 
@аБИБАс
1) You will need to derive the weapon base and add this functionality on your own or combine the animation.
2 and 3) I can't debug these issues without code seeing code.
It will be a better idea for you to open a thread because the comment section is harder to read.
аБИБАс Jun 17 @ 12:53pm 
And also, when I pick up weapons by spawning them with the middle mouse button, it gives me this error:
[mmod_usp_w_o_the_match_3112674215] addons/mmod_usp_w_o_the_match_3112674215/lua/weapons/weapon_buu_usp.lua:1704: Tried to use a NULL entity!
1. GetNWBool - [C]:-1
2. Cleanup - addons/mmod_usp_w_o_the_match_3112674215/lua/weapons/weapon_buu_usp.lua:1704
3. unknown - addons/mmod_usp_w_o_the_match_3112674215/lua/weapons/weapon_buu_usp.lua:524
аБИБАс Jun 17 @ 12:42pm 
And also, when I reload my pistol, I get this error:
[mmod_usp_w_o_the_match_3112674215] addons/mmod_usp_w_o_the_match_3112674215/lua/weapons/weapon_buu_usp.lua:1813: attempt to call method 'ShouldDrawLocalPlayer' (a nil value)
1. unknown - addons/mmod_usp_w_o_the_match_3112674215/lua/weapons/weapon_buu_usp.lua:1813
аБИБАс Jun 17 @ 12:29pm 
@Buu342 Okay, but what if the shotgun has separate pump-action animations? Because the firing animation on my shotgun model isn't combined with the pump-action animation. Is there a way to add the pump-action animation somehow?
Buu342  [author] Jun 17 @ 11:14am 
@аБИБАс "SWEP.Shotgun = true" for a shotgun reload. For pump action, just set the "SWEP.Primary.Delay" to a higher number so it plays the whole animation.
аБИБАс Jun 17 @ 4:41am 
how to make pump shotguns?
would be amazing to get l4d1 weapons on this base or l4d2
geogray Mar 2 @ 2:57pm 
[buu342_s_weapon_base_2_2428764566] addons/buu342_s_weapon_base_2_2428764566/lua/weapons/weapon_buu_base2.lua:1935: attempt to call method 'ShouldDrawLocalPlayer' (a nil value)
1. unknown - addons/buu342_s_weapon_base_2_2428764566/lua/weapons/weapon_buu_base2.lua:1935
Lucorn Jul 3, 2024 @ 2:30pm 
cold
Zippy Jun 16, 2024 @ 7:47am 
hot
The_Doom_Guy23 Apr 9, 2024 @ 10:51am 
wont let me slide please help
deniel.htut Nov 26, 2023 @ 1:02pm 
Prolly a dumb question, why is the Farcry scopes missing when I scope in?
Lombaxtard Aug 13, 2023 @ 7:18pm 
reelistik handz pleaz(((9(((9(9(99((
Pickle toast Feb 11, 2023 @ 7:36am 
man, it's a shame no one made more weps for this
matthewwwww Nov 11, 2022 @ 12:48pm 
where did the smg swep come from in the gif?? i dont know if it comes with the mod or if its seperate
Apis Sep 3, 2022 @ 4:32pm 
Please make this work with the far cry stuff.
berkshire boar Jun 9, 2022 @ 4:29pm 
Make this work with the Far Cry bundle
John Marui May 12, 2022 @ 5:32am 
stalker weapons on this base would be epic
Jareef Ginquiddle Feb 21, 2022 @ 5:40pm 
r you going to make new guns
dakillaxx Jan 5, 2022 @ 10:54am 
idk i'm getting lot of errors and i cant shoot. i can use only knifes
mrf Dec 28, 2021 @ 3:59pm 
buu if you have a swep creator then you should make a swep creator for this because yknow ¯\_(ツ)_/¯

but i dont care really so yeah
Mannytko Nov 8, 2021 @ 4:08am 
make hl2 weapons on this base
Jareef Ginquiddle Aug 15, 2021 @ 12:29pm 
uno buu
Jareef Ginquiddle Aug 15, 2021 @ 12:28pm 
wtf
[IWIN].Jerru.Freakman Jul 22, 2021 @ 6:58pm 
Seems i cannot slide n stuff i read all the stuff & checked the things you can check in game not sure if i am missing something :sentry:
Buu342  [author] Jul 21, 2021 @ 9:17am 
@mish1 No
basement dweller gaming Jul 21, 2021 @ 12:39am 
Is this reverse compatible with the first base?
𝘊𝘻𝘪𝘯𝘥𝘺 ✦ Jul 4, 2021 @ 12:58pm 
Can we have the old csgo weapons for this base? Please?
Bruhmangaming Jun 24, 2021 @ 4:03pm 
Uh...Does It Work On The Half Life Weapons?
Krimzon Raven Jun 24, 2021 @ 3:00am 
@ManiaSonic he said that " If they come back, it'll be a separate addon. "
sysop Jun 24, 2021 @ 2:39am 
Nice. It would be really great if you could rewrite your Realistic Hands thingy.
Doma Jun 12, 2021 @ 11:16am 
Thanks, I'll see what I can do
Buu342  [author] Jun 12, 2021 @ 11:12am 
@gatis kandis Any functions which overwrite base functions (such as SWEP:Initialize()) will require you to call the BaseClass' version of the function. For an example of what I mean, check the source code for my RAGE SWEPs, which derive from this weapon base.
Doma Jun 12, 2021 @ 11:07am 
Yes I am referring to that and what sort of tweaking do I need to do if its possible. Thanks for the quick response :)
Buu342  [author] Jun 12, 2021 @ 11:00am 
@gatis kandis If you're referring to the SWEP Construction Kit, not without tweaking.
Doma Jun 12, 2021 @ 10:49am 
Hello, just come to ask if your base supports adding VElements and WElements to models?
Thanks in advance!
Buu342  [author] Jun 11, 2021 @ 5:28am 
@◥◣Avocado◢◤ I don't recommend using the original code at all because it's very messy, but feel free to do whatever you want with it (even re-upload). As for models, I have guides (check my profile) on both how to make SWEPs, and how to make models.
Krimzon Raven Jun 11, 2021 @ 5:07am 
@Buu342 thats nice to hear in the meantime i just extracted the code from the original and made into a little personal thing but im not sure how to add the model any tips? (btw i dont plan to upload it)
Buu342  [author] Jun 11, 2021 @ 5:00am 
@◥◣Avocado◢◤ If they come back, it'll be a separate addon.
Krimzon Raven Jun 11, 2021 @ 4:58am 
ALSO i was wondering is you where planning on adding the realistic hands thingy because that was gold i miss it :missing:
Krimzon Raven Jun 11, 2021 @ 4:56am 
also you can tell this was made with true passion

RunConsoleCommand("GiveMeAGun")
GiveMeAGun NOW
Krimzon Raven Jun 11, 2021 @ 4:55am 
Looked at the originals code found something funny

local active_weapon = ply:GetActiveWeapon()
if( IsValid( active_weapon ) )then
local modelview = ply:GetActiveWeapon():GetModel();

if modelview == ("models/weapons/c_falling.mdl") then
print("penis")
LMAO them print "penis"
Cpol May 20, 2021 @ 9:20am 
Can you make yourself a good day?
Rocket May 17, 2021 @ 7:30am 
@Buu342 Thanks
Buu342  [author] May 16, 2021 @ 5:31pm 
@the consul from the hl2 beta It's the weapon base itself.
Rocket May 16, 2021 @ 5:02pm 
whats the weapons pack in the Gif?
sysop Apr 12, 2021 @ 8:23pm 
such a shame it has no realistic hands
Fishermann Apr 11, 2021 @ 8:34pm 
can you make the gif weapon accessable through the spawn menu?
Mainxenter Apr 9, 2021 @ 9:53pm 
hi datae