Garry's Mod

Garry's Mod

43,998 ratings
CS:GO Knives SWEPs
2
11
7
2
3
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Realism
File Size
Posted
Updated
388.868 MB
Aug 25, 2015 @ 11:37am
Jan 21, 2020 @ 8:22am
42 Change Notes ( view )

Subscribe to download
CS:GO Knives SWEPs

In 1 collection by xdshot
xDShot's Dedicated Server goodies
2 items
Description
Now you can use the knives from Counter-Strike: Global Offensive as weapons in Garry's Mod!

Features:
  • 12 different knives;
  • New sounds;
  • Viewmodel arms (c_arms) compatible;
  • Press Reload button ('R' button) to inspect knife;
  • Backstabs do more damage!

To add them press green Subscribe button on this page. They will appear next time you load the game.

Mini-FAQ:
Q1: I can't see new skins when I spawn them!
Q2: Garry's Mod is crashing when I enable this!
Q3: I see errors instead of knives!
Q4: All knives have black-purple grid texture!
Q5: I can't hear sounds!
A1: You probably use too many addons! Unsubscribe addons for Garry's Mod that you don't need.
If it still occurs, purge all .gma files and folders in <Steam Location>/steamapps/common/GarrysMod/garrysmod/addons folder. Next time you launch Garry's Mod it will re-download all addons you subscribed before.

A2: Make sure you're running Garry's Mod in Directx 9.0+ mode. Add '-dxlevel 95' into launch properties.
A3: Disable all other addons. If problems stopped occurring, then it means some of addons conflicts with it.

Q: I'm receiving lua/weapons/csgo_baseknife.lua:229: attempt to index a nil value error in console when I attack!
A: I've fixed it already, but if still appears, type 'csgo_knives_oldsounds 0' in server's console. Or set it to 1.

Q: Does it require CS:GO/additional addons/weapon bases etc.?
A: No!

Q: I've found a bug related to your knives...
A: Write about it in Bug Reports topic.

Server ConVars:
Type these in console or in server config:
Variable name
Default value
Description
Bool variables
cl_csgo_knives_lefthanded
0
(Clientside) Flip knives viewmodel and hold knives on left hand
csgo_knives_backstabs
1
Allow backstabs
csgo_knives_canbuy
1
Allow buying knives from traitor shop in TTT. May require server restarting if changing
csgo_knives_decals
1
Paint wall decals when hit wall
csgo_knives_force_ttt
0
Forces knives to enable TTT mode. For debug purposes. Normally you shouldn't enable it unless you haven't any trouble getting it work in ttt
csgo_knives_hiteffect
1
Draw effect when hit wall
csgo_knives_inspecting
1
Allow inspecting
csgo_knives_oldsounds
0
Play old sounds when swinging knife or hitting wall
csgo_knives_primary
1
Allow primary attacks
csgo_knives_secondary
1
Allow secondary attacks
csgo_knives_tfaskins
1
Add skins for TFA knives using this pack's base if any of them installed
Numerical variables
csgo_knives_dmg_prim_back
90
How much damage deal when hit with primary attack from behind
csgo_knives_dmg_prim_front1
40
How much damage deal when firstly hit with primary attack in front or from side
csgo_knives_dmg_prim_front2
25
How much damage deal when subsequently hit with primary attack in front or from side
csgo_knives_dmg_sec_back
180
How much damage deal when hit with secondary attack from behind
csgo_knives_dmg_sec_front
65
How much damage deal when hit with secondary attack in front or from side


Alternate links
Download latest release from github:
https://github.com/xDShot/csgo_knives_sweps/

Credits:
Models, sounds and textures are belong to Valve Corporation and other respective creators.
Lua-code is based on CS:Source knife's, with some changes made by me.

Preview videos - by elitepanda

If you like this addon, please don't forget to vote up!
Enjoy! :)



P.S. This addon doesn't contain any files from any addons by users Clout or Roby!
Popular Discussions View All (46)
278
May 11 @ 12:40pm
PINNED: Bug Reports
xdshot
8
May 22, 2020 @ 9:43am
CS:GO Knives default skins on Arizard's DR gamemode
darka
11
Aug 17, 2018 @ 6:10pm
Deathrun Pointshop
Red Apple
< >
1,324 Comments
Dominic 9 hours ago 
:missing:
千里凡 Apr 30 @ 8:44pm 
2022
Reckless Apr 30 @ 6:14am 
very nice
AOneVersus Apr 20 @ 4:52am 
:missing:
Elite Metrocop Apr 6 @ 7:40pm 
yay :missing:
Nocturne Op. 9 No. 2 Apr 3 @ 2:17am 
london
grimreaper Mar 24 @ 3:46pm 
Heeey, I installed the pack, but for some reason knives are showing as errors? I disabled all addons, and it still does it, And it's not just one knife, its every knife, Can someone help me out?
Sergeant_Otaku Mar 21 @ 3:37pm 
love it
xdshot  [author] Mar 17 @ 10:02am 
local Act = DidHit and ( Altfire and ( Backstab and ACT_VM_SWINGHARD or ACT_VM_HITCENTER2 ) or ( Backstab and ACT_VM_SWINGHIT or ACT_VM_HITCENTER ) ) or ( Altfire and ACT_VM_MISSCENTER2 or ACT_VM_MISSCENTER )
Agent S.P.A.M. Mar 17 @ 9:37am 
как называется анимация атаки?