Addon Entry

Now supporting the newest garrysmods.org

New : UserScript to add a search button to any garrysmod.org download page Script Page Install It!

Mirrors

Mirror 1 - Show

File: Customizable Weaponry 1.24
Version: 0
Garrysmod.org URL: http://www.garrysmod.org/downloads/?a=view&id=131277
Description: !!! YOU CAN GET Extra Customizable Weaponry HERE:
http://www.solidfiles.com/d/be261005e0/

1.24:
+ Added a weapon customization menu:
* THE MENU REQUIRES A SCREEN RESOLUTION OF AT LEAST 1024x768
* it can be opened/closed by pressing your context menu key (default is C)
* you can toggle various weapon attachments there
* suppressors are still attached by holding the USE KEY and pressing the SECONDARY ATTACK KEY
* weapons that have their muzzle attachment put somewhere in the ass to avoid muzzleflashes (MP5SD in the Extra pack, for example) will just have the attachment menu displayed in the middle left corner
* ATTACHMENT ENTITIES ARE NOW NEEDED TO BE PICKED UP IF YOU WANT TO BE ABLE TO ATTACH AN ATTACHMENT TO A WEAPON THAT SUPPORTS IT
* UPON DEATH THE PLAYER LOSES ALL COLLECTED ATTACHMENTS

+ Added firemode selections for G3SG/1 and SIG SG550
+ Added appropriate firemode text for some weapons (pump-action, bolt-action, etc.)

/\ Revamped the aim-assisting weapon attachments:
* Aim-assisting sights no longer increase accuracy, as such, aimed accuracy on all weapons has been greatly increased
* EoTech 557's, Aimpoint's, Docter's and ACOG's reticules now stay in position and behave like a holo-sight would behave in real life
* The ACOG scope's lens has been moved further into the model, to increase realism

/\ Replaced the stock Source weapon sway code with custom code which gets rid of the "shaky arms" bug
/\ Weapon sway from view movement while aiming brought back
/\ Increased firerate on G3SG/1 and SIG SG550
/\ Fixed sniper rifle scope zoom binds being backwards (mouse wheel up - zoom out, mouse wheel down - zoom in; wat)
/\ Fixed a bug regarding attaching an attachment and other players
/\ Fixed an infinite ammo exploit as long as you had 1 round in reserve
/\ Fixed being able to reload weapons infinitely that are not chamberable
/\ Corrected ironsight positions on: AK-47, Desert Eagle, Five-Seven, Glock-18, P228, IMI Galil ARM, M249 Para, MP5
/\ Increased firerate on: Desert Eagle, P228, Five-seveN
/\ Updated EoTech 557's crosshair texture
/\ Global recoil modifier (cstm_recoilmod) now defaults to 100% (was 60%)
/\ Various client-side optimizations
/\ Slightly increased maximum accuracy on sniper rifles
/\ Slightly changed weapon reload code, which should fix various bugs related to reloading and switching weapons
/\ The Foregrip no longer increases hip fire accuracy
/\ Increased transparency on muzzleflash particles

!!!BEFORE YOU GO ON TO THE DESCRIPTION: IF YOU HAVE LOTS OF VARIOUS ADDONS INSTALLED, YOU WILL MOST LIKELY EXPERIENCE THOSE ADDONS CONFLICTING.
PLEASE, REMOVE ALL ADDONS THAT CONFLICT WITH THIS ADDON. (I do not know which are they, because I develop these SWEPs on a nearly vanilla GMod)

YOU'RE NOT SUPPOSED TO USE THESE IN GMOD 13 - THEY HAVE NO OFFICIAL SUPPORT YET AND ARE PRETTY MUCH BROKEN IN GMOD 13.

I am not going to set up an SVN. Get over it.

Ever wanted no additional viewmodels for various weapon attachments? Well guess what, this pack provides just what you wanted!

How to install:
1. Download and extract somewhere
2. Check if there is no duplicate folder called "Customizable Weaponry" inside
3. Cut/Copy-paste into your Addons folder
4. Enjoy!

Features
- Ironsights
- Dynamic accuracy
- Dynamic recoil
- Additional first-person effects, such as gunfire heat and gunfire smoke
- Crosshair customization in the Q menu (Q > Utilities > Customizable Weaponry > Client)
- Global weapon behaviour for server admins in the Q menu (Q> Utilities > Customizable Weaponry > Admin)
- Super loading/Bullet chambering
- Manual reload
- Optimized (only 2 DTInts and 1 DTFloat)
- Console variable that slightly changes the weapon's origins
- Full compability with addons such as WAC, SCars, etc (or at least it should be that way)
- Custom ammo types (5.56x45 NATO, 7.62x39, 7.62x51, etc)
- Mouse wheel based zoom with sniper rifles
- Damage is affected by distance
- Thin surface penetration (disabled at the moment)
- Moving your mouse fast decreases your accuracy
- Melee system. Bind a key to cstm_melee, and you can melee stuff with your weapon!
- Weapon customization menu similar to that in Crysis

- 2 Firemodes (semi-auto/automatic):
* Taking aim with an assault rifle while using the semi-auto firemode slightly increases your accuracy

- Various other customizations in the Q menu (Q > Utilities > Customizable Weaponry):
* You can customize your crosshair
* You can turn off various parts of your crosshair
* You can toggle various effects for the SWEPs
* You can use different weapon origin positioning
* You can toggle a view bob effect when reloading (like in Battlefield: Bad Company 2 and the like)

- Weapon customization:
* 4 Aim-assisting attachments:
- ACOG scope
- Aimpoint scope
- EOTech 557 red-dot sight
- Docter red-dot sight

* M203:
- 3 Grenade types:
* HE 40MM Grenade (normal)
* CE 40MM Grenade (150% blast damage, 50% blast radius)
* Smoke 40MM Grenade

* Vertical grips
* Beta C-Magazines
* Suppressors are toggleable on most weapons, excluding shotguns
* Laser sights

- Ammo types:
- FMJ Ammo (normal)
- Hollow-point ammo
- Armor-piercing ammo
- Magnum ammo
- "Masher" ammo (special ammo for Model 627 in the "Extra" pack
- Incendiary ammo
- Explosive ammo (ammo for shotguns)
- Slug ammo (ammo for shotguns)

- Sprinting affects your weapon:
* Cannot reload while sprinting
* Cannot fire while sprinting
* Sprinting interrupts weapon reload

- Reload varies depending on how much ammo is left in the weapon:
* Reloading an empty weapon results in a longer reload
* Reloading a non-empty weapon results in a shorter reload
* Reloading a non-empty weapon leaves a single bullet in your weapon (chambered bullet) and moves the amount of ammo left in the mag to your ammo in reserve

Controls
Primary attack key - fire
Secondary attack key - use ironsights
Use key + secondary attack key - attach suppressor (if possible)
Use key + reload key - change firemode (if possible)
Use key + primary attack key - toggle between M203 and rifle modes (WHEN SWITCHED TO M203, TAKE AIM TO FIRE OUT A GRENADE)

FAQ:

Q: How do I attach an attachment to a weapon?

A: Open your Q menu, and go to 'Entities'. Then, find a category called "Weapon Upgrades".
Spawn attachments from there, pick them up by looking at them and pressing your use key.
After that, open up the weapon customization menu by pressing C and select the attachments you want!
Simple, isn't it?

Q: I cannot see the attachments!
A: Some addons conflict with this. As such, you will not be able to see attachments. People with Macs seem to have problems like these too. Sorry, I'm on a PC, so I can't really fix this.

Q: How can I increase my accuracy?
A: You can: stop moving, switch to semi-auto, crouch down, aim down the sights.

Q: The ACOG scope is fucked when using the new behavior.
A: That's because the current render target system in GMod is not working properly. Revert back to old ACOG scope behavior in the Q menu.

Q: I have 2 red dots when using the Aimpoint holo-scope.
A: That's because you have another aim2 texture that's interfering with the new one.
Search for aim2 and delete all of them (both the .vmts and .vtfs) that are not in the Customizable Weaponry folder.

Q: I don't have any ammo in reserve for some weapons!
A: Spawn the "Ammokit" SWEP in category "Throwable Weapons"

Q: The ACOG scope has this reflection on it and I can barely see anything.
A: You have another ACOG model in your GMod folder somewhere, which is over-writing the current ACOG lense texture

List of weapons:
Desert Eagle; P228; FiveSeven; Glock 18; AK-47; Galil ARM; Famas; M249; M3; XM1014; MAC-10; MP5; TMP;
UMP .45; AWP; G3SG1; Steyr Aug; SG550; SG552

Known bugs:
Weapons start shaking a whole lot after some time. I have no idea why this happens, but I can't fix it either. It's Source engine's fault.
... or Garry's LerpVector code's fault.

Features video:
http://www.youtube.com/watch?v=Vk6iThrfoUc

FP Thread:
http://www.facepunch.com/threads/1060381-Customizable-Weaponry

Credits:
Clavus - SWEP Construction Kit
Kogitsune - giving me the ACOG render target code, being awesome and teaching me Lua since 2008.
wystan - attachment models
MrBunneh - custom silencer texture, slightly changing the EoTech and Docter models to support the new holo-sight behavior
Kopimi - helping me out with the compability for SharpEye, WAC, etc.
SentrySappinMySpy - ballistic scope model, scopeless AWP model, scopeless Scout model

Image: Customizable