Garry's Mod

Garry's Mod

47,370 ratings
CS:GO Knives SWEPs
2
12
7
4
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Realism
File Size
Posted
Updated
407.758 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 (48)
281
Apr 22, 2023 @ 12:06pm
PINNED: Bug Reports
xdshot
1
Apr 19 @ 11:12am
Players are not getting damaged when hit with any knife in the game.
8
May 22, 2020 @ 9:43am
CS:GO Knives default skins on Arizard's DR gamemode
Ize
1,408 Comments
twisle Apr 23 @ 9:23am 
skins wouldnt show up for me in dark rp
fxxblood Apr 15 @ 10:05am 
ну ваще круто реал
xdshot  [author] Apr 4 @ 8:39am 
It doesn't have gibs
josaic Apr 4 @ 7:42am 
how do i disable the gibs that appear when i backstab an npc? i dont have any sort of gibmod enabled
LAIYZZ Apr 1 @ 11:49pm 
Hey, cant find the file in my addons folder?
sleeper Apr 1 @ 7:51am 
i love it
beaujex Mar 29 @ 4:00pm 
congrats my dude
beaujex Mar 29 @ 3:59pm 
YOU MADE TWO OF THE MOST POPULAR WEAPONS?! IM PRETTY IMPRESSED!
Valerii-Albertovich Mar 21 @ 5:16am 
add kukri pleaseee/добавьте кукри пожалуйста
xXMcCreeperXx64 Mar 20 @ 7:24pm 
how to do spinny animation or inspect for knifes