Garry's Mod

Garry's Mod

Buu342's Weapon Base 2
Počet komentářů: 114
аБИБАс 18. čvn. v 10.34 
I fixed all, dont worry
BOO342  [autor] 18. čvn. v 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. čvn. v 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. čvn. v 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. čvn. v 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  [autor] 17. čvn. v 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. čvn. v 4.41 
how to make pump shotguns?
⋆。˗ˏˋsfXˎˊ˗ 。⋆ 17. čvn. v 1.45 
would be amazing to get l4d1 weapons on this base or l4d2
geogray 2. bře. v 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. čvc. 2024 v 14.30 
cold
Zippy 16. čvn. 2024 v 7.47 
hot
The_Doom_Guy23 9. dub. 2024 v 10.51 
wont let me slide please help
deniel.htut 26. lis. 2023 v 13.02 
Prolly a dumb question, why is the Farcry scopes missing when I scope in?
Lombaxtard 13. srp. 2023 v 19.18 
reelistik handz pleaz(((9(((9(9(99((
Pickle toast 11. úno. 2023 v 7.36 
man, it's a shame no one made more weps for this
matthewwwww 11. lis. 2022 v 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. zář. 2022 v 16.32 
Please make this work with the far cry stuff.
berkshire boar 9. čvn. 2022 v 16.29 
Make this work with the Far Cry bundle
Oborlex 12. kvě. 2022 v 5.32 
stalker weapons on this base would be epic
Bingleflopple Jinflogglelor 21. úno. 2022 v 17.40 
r you going to make new guns
omen 5. led. 2022 v 10.54 
idk i'm getting lot of errors and i cant shoot. i can use only knifes
mrf 28. pro. 2021 v 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. lis. 2021 v 4.08 
make hl2 weapons on this base
Bingleflopple Jinflogglelor 15. srp. 2021 v 12.29 
uno buu
Bingleflopple Jinflogglelor 15. srp. 2021 v 12.28 
wtf
[IWIN].Jerru.Freakman 22. čvc. 2021 v 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  [autor] 21. čvc. 2021 v 9.17 
@mish1 No
basement dweller gaming 21. čvc. 2021 v 0.39 
Is this reverse compatible with the first base?
Czindy ✦ 4. čvc. 2021 v 12.58 
Can we have the old csgo weapons for this base? Please?
Bruhmangaming 24. čvn. 2021 v 16.03 
Uh...Does It Work On The Half Life Weapons?
Krimzon Raven 24. čvn. 2021 v 3.00 
@ManiaSonic he said that " If they come back, it'll be a separate addon. "
Dанечка 24. čvn. 2021 v 2.39 
Nice. It would be really great if you could rewrite your Realistic Hands thingy.
Doma 12. čvn. 2021 v 11.16 
Thanks, I'll see what I can do
BOO342  [autor] 12. čvn. 2021 v 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. čvn. 2021 v 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  [autor] 12. čvn. 2021 v 11.00 
@gatis kandis If you're referring to the SWEP Construction Kit, not without tweaking.
Doma 12. čvn. 2021 v 10.49 
Hello, just come to ask if your base supports adding VElements and WElements to models?
Thanks in advance!
BOO342  [autor] 11. čvn. 2021 v 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. čvn. 2021 v 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  [autor] 11. čvn. 2021 v 5.00 
@◥◣Avocado◢◤ If they come back, it'll be a separate addon.
Krimzon Raven 11. čvn. 2021 v 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. čvn. 2021 v 4.56 
also you can tell this was made with true passion

RunConsoleCommand("GiveMeAGun")
GiveMeAGun NOW
Krimzon Raven 11. čvn. 2021 v 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. kvě. 2021 v 9.20 
Can you make yourself a good day?
X 17. kvě. 2021 v 7.30 
@Buu342 Thanks
BOO342  [autor] 16. kvě. 2021 v 17.31 
@the consul from the hl2 beta It's the weapon base itself.
X 16. kvě. 2021 v 17.02 
whats the weapons pack in the Gif?
Dанечка 12. dub. 2021 v 20.23 
such a shame it has no realistic hands
Gary "Jimbo" McCready 11. dub. 2021 v 20.34 
can you make the gif weapon accessable through the spawn menu?
Mainxenter 9. dub. 2021 v 21.53 
hi datae