Giter Club home page Giter Club logo

cs2-css-flashlight's Introduction

๐Ÿ”ฆ Flashlight

Flashlight is a plugin for Counter-Strike 2 that adds a flashlight feature for players. It is written in C# and uses the CounterStrikeSharp API. ๐ŸŽฎ

โญ Features

  • ๐Ÿ’ก Players can toggle the flashlight on and off using Use key (the default key for this is E) or /fl_toggle in chat which could be bind to a different key.
  • ๐Ÿ’€ The flashlight is automatically turned off when the player dies or respawns.
  • ๐Ÿšซ The flashlight is only available to human players, not bots.

๐Ÿ”ง Installation

  1. โฌ‡๏ธ Download the latest release from the GitHub repository.
  2. ๐Ÿ“ Extract the ZIP file.
  3. ๐Ÿ“‚ Place the plugin in the game/csgo/addons/counterstrikesharp/plugins/Flashlight directory.

๐Ÿ’ป Usage

โŒจ๏ธ Use the Use key to toggle the flashlight on and off. The default key for this is E. Or use the /fl_toggle command in chat which could then be bind to a different key.

๐Ÿค Contributing

Contributions are welcome. Please open an issue or submit a pull request on GitHub. ๐Ÿ™

๐Ÿ“ Development Tasks

  • Change crouch-tracking to a more elegant solution
  • Add config to make flashlight enabled or disabled (to be able to allow or disallow flashlight on some maps)
  • Add config and make light entity values configurable
  • Maybe replace light_omni2 with light_rect or something else

๐Ÿ“ƒ License

This project is licensed under the GNU General Public License. โš–๏ธ

โœ๏ธ Author

This project was created by creazy.eth

cs2-css-flashlight's People

Contributors

creazy231 avatar himenekocn avatar

Watchers

 avatar

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.