Garry's Mod

Garry's Mod

Buu342's Weapon Base 2
114 kommentarer
аБИБАс 18. juni kl. 10:34 
I fixed all, dont worry
BOO342  [ophavsmand] 18. juni kl. 10:22 
@аБИБАс
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.
аБИБАс 17. juni kl. 12:53 
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
аБИБАс 17. juni kl. 12:42 
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
аБИБАс 17. juni kl. 12:29 
@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?
BOO342  [ophavsmand] 17. juni kl. 11:14 
@аБИБАс "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.
аБИБАс 17. juni kl. 4:41 
how to make pump shotguns?
⋆。˗ˏˋsfXˎˊ˗ 。⋆ 17. juni kl. 1:45 
would be amazing to get l4d1 weapons on this base or l4d2
geogray 2. mar. kl. 14:57 
[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 3. juli 2024 kl. 14:30 
cold
Zippy 16. juni 2024 kl. 7:47 
hot
The_Doom_Guy23 9. apr. 2024 kl. 10:51 
wont let me slide please help
deniel.htut 26. nov. 2023 kl. 13:02 
Prolly a dumb question, why is the Farcry scopes missing when I scope in?
Lombaxtard 13. aug. 2023 kl. 19:18 
reelistik handz pleaz(((9(((9(9(99((
Pickle toast 11. feb. 2023 kl. 7:36 
man, it's a shame no one made more weps for this
matthewwwww 11. nov. 2022 kl. 12:48 
where did the smg swep come from in the gif?? i dont know if it comes with the mod or if its seperate
Apis 3. sep. 2022 kl. 16:32 
Please make this work with the far cry stuff.
berkshire boar 9. juni 2022 kl. 16:29 
Make this work with the Far Cry bundle
Penjamin Danklin 12. maj 2022 kl. 5:32 
stalker weapons on this base would be epic
Bingleflopple Jinflogglelor 21. feb. 2022 kl. 17:40 
r you going to make new guns
omen 5. jan. 2022 kl. 10:54 
idk i'm getting lot of errors and i cant shoot. i can use only knifes
mrf 28. dec. 2021 kl. 15:59 
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 8. nov. 2021 kl. 4:08 
make hl2 weapons on this base
Bingleflopple Jinflogglelor 15. aug. 2021 kl. 12:29 
uno buu
Bingleflopple Jinflogglelor 15. aug. 2021 kl. 12:28 
wtf
[IWIN].Jerru.Freakman 22. juli 2021 kl. 18:58 
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:
BOO342  [ophavsmand] 21. juli 2021 kl. 9:17 
@mish1 No
basement dweller gaming 21. juli 2021 kl. 0:39 
Is this reverse compatible with the first base?
Czindy ✦ 4. juli 2021 kl. 12:58 
Can we have the old csgo weapons for this base? Please?
Bruhmangaming 24. juni 2021 kl. 16:03 
Uh...Does It Work On The Half Life Weapons?
Krimzon Raven 24. juni 2021 kl. 3:00 
@ManiaSonic he said that " If they come back, it'll be a separate addon. "
Dанечка 24. juni 2021 kl. 2:39 
Nice. It would be really great if you could rewrite your Realistic Hands thingy.
Doma 12. juni 2021 kl. 11:16 
Thanks, I'll see what I can do
BOO342  [ophavsmand] 12. juni 2021 kl. 11:12 
@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 12. juni 2021 kl. 11:07 
Yes I am referring to that and what sort of tweaking do I need to do if its possible. Thanks for the quick response :)
BOO342  [ophavsmand] 12. juni 2021 kl. 11:00 
@gatis kandis If you're referring to the SWEP Construction Kit, not without tweaking.
Doma 12. juni 2021 kl. 10:49 
Hello, just come to ask if your base supports adding VElements and WElements to models?
Thanks in advance!
BOO342  [ophavsmand] 11. juni 2021 kl. 5:28 
@◥◣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 11. juni 2021 kl. 5:07 
@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)
BOO342  [ophavsmand] 11. juni 2021 kl. 5:00 
@◥◣Avocado◢◤ If they come back, it'll be a separate addon.
Krimzon Raven 11. juni 2021 kl. 4:58 
ALSO i was wondering is you where planning on adding the realistic hands thingy because that was gold i miss it :missing:
Krimzon Raven 11. juni 2021 kl. 4:56 
also you can tell this was made with true passion

RunConsoleCommand("GiveMeAGun")
GiveMeAGun NOW
Krimzon Raven 11. juni 2021 kl. 4:55 
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 20. maj 2021 kl. 9:20 
Can you make yourself a good day?
X 17. maj 2021 kl. 7:30 
@Buu342 Thanks
BOO342  [ophavsmand] 16. maj 2021 kl. 17:31 
@the consul from the hl2 beta It's the weapon base itself.
X 16. maj 2021 kl. 17:02 
whats the weapons pack in the Gif?
Dанечка 12. apr. 2021 kl. 20:23 
such a shame it has no realistic hands
Gary "Jimbo" McCready 11. apr. 2021 kl. 20:34 
can you make the gif weapon accessable through the spawn menu?
Mainxenter 9. apr. 2021 kl. 21:53 
hi datae