VScript to use almost all knife models on a local server.
The kc.nut needs to be placed in "<your csgo directory>/csgo/scripts/vscripts"
To run it in-game: start a local server (for example 'Offline with Bots') and write "script_execute kc" in your console. Then you can:
- Press INS (or Insert) to switch to the next available knife
- Press DEL (or Delete) to switch to the previous available knife
- Press HOME (or Home) at every roundstart to actually load the script again. (It resets every round - game limitation)
You don't know which keys We are talking about? We mean these, above your arrowkeys:
Or you can force-set the desired knife using "kc_<knife's name>"(example: kc_daggers) All available knives:
- flip
- gut
- falchion
- huntsman
- karambit
- m9
- bayonet
- daggers
- bowie
- butterfly
- stiletto
- ursus
- talon
- navaja
- ghost
- default
- Add an option to customize binds
- Add a little menu(though I have no idea how to implement it yet)
Gamebanana OUTDATED
Youtube Preview Video(a little bit outdated, but still shows what the script does)
Valve disallowed direct access to the weapon_knife entities, so we can't just change the weapon to the desired knife. What the script does is it uses Entities.SetModel() vscript function to change your knife model to another one. But because the function is one-off, we would need to run it every time we change our weapon to a knife. To make the change automatic and almost instant the script creates on the map an invisible logic_timer entity, which searches for a standard knife model every 0.5 seconds and if finds, it changes it to the knife of your choice. But 'cause the logic_timer entity is located DIRECTLY on the map, every round start it disappears(just like weapons, nades etc). What happens when you press 'HOME' is you create a new logic_timer entity, and everything is working just again.