Garry's Mod
Оценок: 528
Buu342's Weapon Base 2
   
Наградить
В избранное
В избранном
Удалить
Тип контента: Дополнение
Тип дополнения: Оружие
Метки дополнений: Развлечение, Реализм
Размер файла
Добавлен
Изменён
6.069 MB
18 мар. 2021 г. в 16:30
2 авг. 2021 г. в 14: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
1 апр. 2023 г. в 10:33
Weapons that use this base
Courier 6
0
18 мар. 2021 г. в 18:22
ЗАКРЕПЛЕНО: Code source
BOO342
Комментариев: 114
аБИБАс 18 июн в 10:34 
I fixed all, dont worry
BOO342  [создатель] 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.
аБИБАс 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
аБИБАс 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
аБИБАс 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  [создатель] 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.
аБИБАс 17 июн в 4:41 
how to make pump shotguns?
⋆。˗ˏˋsfXˎˊ˗ 。⋆ 17 июн в 1:45 
would be amazing to get l4d1 weapons on this base or l4d2
geogray 2 мар в 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 июл. 2024 г. в 14:30 
cold