Garry's Mod

Garry's Mod

529 평점
Buu342's Weapon Base 2
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Realism
파일 크기
게시일
업데이트일
6.069 MB
2021년 3월 18일 오후 4시 30분
2021년 8월 2일 오후 2시 25분
업데이트 노트 13개 (보기)

다운로드 위해 구독하기
Buu342's Weapon Base 2

설명
A complete rework (from the ground up) of my original Buu342 Weapon Base. The original was buggy, contained code from a myriad of sources, and in general was a mess to maintain. I've been trying to refurbish it for quite some time, with this version being the final one that I'm happy to release to the wild.

I've done the best I could to keep the code as clean as possible, commenting whenever I could. This should hopefully contain a lot of cool stuff for people to learn from! Hey, maybe someone will end up using it :)

Special SWEP Base Controls
- Right click to ironsight
- Press ALT while scoped to hold your breath
- E and Right Click to change fire mode
- Run and hold CTRL to slide

Features
- Fully commented source code
- Fully predicted, so that laggy clients have the best experience
- Super customizable and easy to edit
- Shotgun reloading
- Sniper scope with swaying
- Ironsights
- Sprinting animations
- Near-Wall detection
- Ladder detection
- Barrel smoke trail
- Low ammo clicking
- Silencer
- Multiple crosshairs, customizable too
- Firemode switching
- Burst fire
- Tactical Sliding
- Laser Pointer (Also in thirdperson)
- Flashlight that follows the gun (Also in thirdperson)
- Idle, holster, ironsight, and empty animation support
- Lua based animations, including breathing, idle, bobbing, swaying, crouching, and jumping
- Ammo being given during animation, instead of at the end
- Clientside magazine dropping
- Holding breath while scoping with ALT
- Shotgun door destruction
- Lots of clientside and serverside settings, also available in the Q menu
- Thirdperson animations

Credits
- Everything here is pretty much mine, scope textures are inspired from Far Cry 3, and there's a ZDoom crosshair texture
- A huge thank you to Mushroom Guy, for putting up with me for so many years and teaching me so much valuable information. None of this would've been possible without you!
- And love to all the following people, for being awesome, for teaching me things, providing feedback, testing, and so much more (in no particular order):
* Ghetto
* BFG9000
* Matsilagi
* Stiffy
* Pyromancer
* Demo/CougarMagnum
* Trigger Hurt
* Spastik
* ErrolLiamP + Blaziken
* ZeqMacaw
* xDShot
* datae
* Spartains

FAQ
Q: I didn't notice any new weapons in my Q menu?
A: Well duh, this is a weapon base. You'll need something that uses this weapon base.

Q: I don't like X feature
A: Disable it in the Q menu.

Q: Are you going to release the weapons in the videos?
A: Probably.

Q: Are you making going to release more stuff regularly?
A: Probably not.

Q: Where are the Reelistik Handz?
A: If they ever make a return, they'll be a separate addon.

Q: Gmod says "Buu342's Weapon Base 2" is creating script errors!
A: Watch this video.

Q: Can you please make X
A: No. I'm fine with taking suggestions but don't ask me to make stuff for you. I have my own projects and things to do, and making something for someone I've never met for no incentive whatsoever is not one of them. I am perfectly fine with adding additional content to my current work, however.
인기 토론 모두 보기(2)
7
2023년 4월 1일 오전 10시 33분
Weapons that use this base
Courier 6
0
2021년 3월 18일 오후 6시 22분
고정됨: Code source
BOO342
댓글 114
аБИБАс 2025년 6월 18일 오전 10시 34분 
I fixed all, dont worry
BOO342  [작성자] 2025년 6월 18일 오전 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.
аБИБАс 2025년 6월 17일 오후 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
аБИБАс 2025년 6월 17일 오후 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
аБИБАс 2025년 6월 17일 오후 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  [작성자] 2025년 6월 17일 오전 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.
аБИБАс 2025년 6월 17일 오전 4시 41분 
how to make pump shotguns?
⋆。˗ˏˋsfXˎˊ˗ 。⋆ 2025년 6월 17일 오전 1시 45분 
would be amazing to get l4d1 weapons on this base or l4d2
geogray 2025년 3월 2일 오후 2시 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 2024년 7월 3일 오후 2시 30분 
cold