Garry's Mod
Оценок: 559
Call of Duty-like Weapon Swapping [ARC9 / TFA/ ArcCW / MW Base]
2
   
Наградить
В избранное
В избранном
Удалить
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay, Scenic
Размер файла
Добавлен
Изменён
562.731 KB
4 окт. 2022 г. в 3:09
11 янв в 1:43
Обновлений: 24 (просмотреть)

Подпишитесь, чтобы загрузить
Call of Duty-like Weapon Swapping [ARC9 / TFA/ ArcCW / MW Base]

В 1 коллекции, созданной Froze
Campaignifier Part 2 - DMZ Requirements
Предметов: 68
Описание
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
BonegraVE 20 июн в 21:34 
Would be cool if you could set how many weapons you can carry and a blacklist.
(Insert Username Here) 26 мар в 23:19 
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  [создатель] 26 мар в 22:33 
insane stats? i kind of like that addon so maybe i can look into this
(Insert Username Here) 26 мар в 16:34 
Ok well that sucks Insane Stats completely breaks this. That destroys what I'm trying to do.
(Insert Username Here) 26 мар в 16:28 
[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 мар в 16:24 
[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 мар в 11:44 
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 мар в 11:43 
[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  [создатель] 6 мар в 15:13 
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
⚫        ⚫ 6 мар в 12:56 
breaks dedicated servers. Breaks ULib. Do not use in multiplayer