Giter VIP home page Giter VIP logo

knifechoose.nut's Introduction

kc.nut

VScript to change knives on a listen(local) server

Installation and Usage

The script file 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 type "script_execute kc" in the console Then type in the desired knife using "kc_<knife's name>"(example: kc_daggers). All available knives will have been listed in the console previously

knifechoose.nut's People

Contributors

p410n3 avatar sergeykasmy avatar sjain882 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

st0le sjain882

knifechoose.nut's Issues

Major issues with the script / the script doesn't function well on older CS:GO builds

Hey,

First thanks for making such an amazing script.

I often play CS:GO copies from 2014, 2015 and 2016 (download_depot then running game while Steam is running) for fun on my old PC.

The script worked a dream before v3.0 major rewrite where you change the knife instead of the viewmodel, which fixes issues. All I have to do is not select knives not added that year to prevent a game crash if I accidentally select it (as the models obviously didn't exist in the game at that year).

However in v3.0 the script barely works, nothing works at all. Trying to select a knife simply primary fires the current weapon silently.

I also tried mp_drop_knife_enable 1 to fix it. And tried pressing HOME key before and after using this command. Here is the problem:

https://streamable.com/0vjya

I know you guys don't really have the time or incentive to support older version but I would appreciate if anyone could look into it. Perhaps the script uses a function only added in later versions of the game?

Thanks

Serversided script

Would it be possible to make the script work on a server?

As it stands right now, the vscript works for all users with the default knife enabled but only with the hardcoded standard-knife (flip).

Froster

Script fails to load in-game (17th September 2020)

It just returns kc.nut line = (77) column = (9) : error expected '.' in console.

It seems there is a space where this column is: Knife <- , and maybe something is meant to be after that space, not sure.

I tried playing around with it a lot but was unable to get the script to work

EDIT 17/09/2020 22:07 UTC: I seemed to have been able to fix the issue. Created a pull request, details of what it was are there: #8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.