Garry's Mod

Garry's Mod

548 ratings
Call of Duty-like Weapon Swapping [ARC9 / TFA/ ArcCW / MW Base]
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay, Scenic
File Size
Posted
Updated
562.731 KB
4 Oct, 2022 @ 3:09am
11 Jan @ 1:43am
24 Change Notes ( view )

Subscribe to download
Call of Duty-like Weapon Swapping [ARC9 / TFA/ ArcCW / MW Base]

In 1 collection by Froze
Campaignifier Part 2 - DMZ Requirements
68 items
Description
COD-like weapon switching / swapping for ARC9, ArcCW, TFA, and MW Base weapons.

Get near a weapon and press your chosen swap button to swap weapons, and get near a thrown grenade to throw it back.
Supports attachments.

Please report any errors made by this addon with details thank you.

VManip Manual Pickups is necessary to prevent automatic weapon pickups.

To get white colored MW base weapon icons, download GWZ HUD
Doesn't support marksman weapons.

Console Commands:

cod_pickups_enable
1/0


cod_pickups_key
+walk/+use / +zoom / +score (USE "", ex: "+walk")


cod_pickups_load_preset
1/0

Loads the preset setting on the weapon customization menu instead of the attachments on the weapon when picking up an MW Base weapon.

cod_pickups_throw_back
1/0


cod_pickups_switching_fix


IF AN ERROR SHOWS UP AND SWAP BUTTON IS UNRESPONSIVE, USE cod_pickups_switching_fix

If you want to donate:[sociabuzz.com]
238 Comments
BonegraVE 20 Jun @ 9:34pm 
Would be cool if you could set how many weapons you can carry and a blacklist.
(Insert Username Here) 26 Mar @ 11:19pm 
Yeah it might be because Insane stats has settings for autopickup which might be what is causing problems. Trying to use Insane Stats, plus a entity replacer, TFA CSO sweps and half life coop to make a sort of rouge lit mode, but you can only take four weapons.
Froze  [author] 26 Mar @ 10:33pm 
insane stats? i kind of like that addon so maybe i can look into this
(Insert Username Here) 26 Mar @ 4:34pm 
Ok well that sucks Insane Stats completely breaks this. That destroys what I'm trying to do.
(Insert Username Here) 26 Mar @ 4:28pm 
[Call of Duty-like Weapon Swapping [ARC9 / TFA/ ArcCW / MW Base]] lua/autorun/sh_cod_interactions.lua:190: attempt to index global 'new_wep' (a nil value)
1. func - lua/autorun/sh_cod_interactions.lua:190
2. unknown - lua/includes/extensions/net.lua:38 (x16)
Wondering if the TFA CSO sweps don't work with this for some reason.
(Insert Username Here) 26 Mar @ 4:24pm 
[Call of Duty-like Weapon Swapping [ARC9 / TFA/ ArcCW / MW Base]] lua/autorun/sh_cod_interactions.lua:535: bad argument #1 to 'upper' (string expected, got no value)
1. upper - [C]:-1
2. v - lua/autorun/sh_cod_interactions.lua:535
3. unknown - lua/includes/modules/hook.lua:96 (x180)
Happened when I tried to pickup a weapon.
Strangely I cannot spawn gear in my inventory.
Omarb10legends 15 Mar @ 11:44am 
This happens anytime you drop a weapon. On the ground and if you are standing near it, the errors stop if you walk away from it
Omarb10legends 15 Mar @ 11:43am 
[Call of Duty-like Weapon Swapping [ARC9 / TFA/ ArcCW / MW Base]] lua/autorun/sh_cod_interactions.lua:524: bad argument #1 to 'SetMaterial' (IMaterial expected, got userdata)
1. SetMaterial - [C]:-1
2. v - lua/autorun/sh_cod_interactions.lua:524
3. unknown - lua/includes/modules/hook.lua:96
Froze  [author] 6 Mar @ 3:13pm 
can't test the dedicated server part, but it does not break ulib if you use the github version and it works for peer to peer gmod hosted servers
breaks dedicated servers. Breaks ULib. Do not use in multiplayer