Garry's Mod

Garry's Mod

48,218 ratings
CS:GO Knives SWEPs
3
14
8
3
5
3
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
8
May 22, 2020 @ 9:43am
CS:GO Knives default skins on Arizard's DR gamemode
Ize
1
Apr 19, 2024 @ 11:12am
Players are not getting damaged when hit with any knife in the game.
smashhh
1,444 Comments
xdshot  [author] May 14 @ 4:05am 
Из кс2 вытащить бы. Ещё планирую переписать "шейдер"
AnFektor May 13 @ 7:19am 
больше ножиков не планируется? просто там еще всякие ножи выживания, скелетон и тп были
The_Loki May 10 @ 4:36pm 
how to get on inventory i dont have
xdshot  [author] May 2 @ 9:17am 
in base lua? theres dedicated variable
Miracle May 2 @ 9:04am 
how i can change viewmodel fov??? make the knife more closer
Janks Apr 3 @ 3:59am 
Имба
Zab⁴² Mar 30 @ 1:34am 
во
Metatop32 Mar 23 @ 9:36am 
как скины осматривать:steamhappy:
xdshot  [author] Mar 19 @ 6:21am 
To difficult to implement
丂の丂ムレ? Mar 19 @ 4:50am 
где скины доплер и их фазы есть где?