Garry's Mod

Garry's Mod

36,188 ratings
CS:GO Knives SWEPs
 
Rate  
Favorite
Favorited
Unfavorite
Type: Weapon, Addon
Tags: Fun, Realism
File Size
Posted
Updated
63.520 MB
Aug 25, 2015 @ 11:37am
Aug 3, 2018 @ 8:18am
39 Change Notes ( view )

Subscribe to download
CS:GO Knives SWEPs

Subscribed
Unsubscribe
In 1 collection by xDShot
xDShot's Dedicated Server goodies
2 items
Description
Gamma Skin Pack is available! Grab it here:
https://steamcommunity.com/sharedfiles/filedetails/?id=709243995


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 (35)
257
Aug 23 @ 12:04pm
PINNED: Bug Reports
xDShot
6
Sep 27 @ 12:25am
CS:GO Knives default skins on Arizard's DR gamemode
Darker
8
Feb 22, 2018 @ 3:28pm
Knives question
Ginah
< >
1,185 Comments
xDShot  [author] Oct 19 @ 1:31am 
LMAO they added classic knife
xDShot  [author] Oct 2 @ 12:34pm 
CS 1.6 source code was recently disassembled, not surprising.
xDShot  [author] Oct 2 @ 11:50am 
I'd think of making them like in CS:Source (I know where to look for a code ( ͡° ͜ʖ ͡°) ), but in CSGO I believe it's totally changed.
xDShot  [author] Oct 2 @ 11:49am 
Well, it is possible to convert all animations properly, but it's a total pain to re-implement the recoil mechanics.
xDShot  [author] Oct 2 @ 11:41am 
I always had the game.

There are weapons already ported.
пажилой Пон4ик Sep 8 @ 9:01am 
как отодвинуть нож?
скины не видно((
mr blek Aug 29 @ 4:53am 
ah i fixed it
mr blek Aug 29 @ 4:49am 
ìt tells me in console [CS:GO Knives SWEPs] lua/weapons/csgo_baseknife.lua:362: attempt to call global 'Sound' (a string value)
1. DoAttack - lua/weapons/csgo_baseknife.lua:362
2. unknown - lua/weapons/csgo_baseknife.lua:251

i do the stuff it says in the description it does not work
ikerdani10 Aug 16 @ 4:41am 
there doesnt appear anything in my weapon section about these knives