Skip to content

ed0ard/CS2-Bot-NadeSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS2-Bot-NadeSystem

CS2-Bot-NadeSystem is a plugin based on CounterStrikeSharp that allows bots to replay lineups recorded by players and throw nades deftly according to the situation.

Features

  1. Bots can "rethrow" the nades recorded by players on every map.

  2. Bots can make their own decisions to throw nades or not when passing by recorded lineups.

  3. Players can record lineups in an intuitive way on every map for bots to use.

Requirement

NadeLauncher

Ray-Trace

Installation

  1. Download the latest RayTrace-MM.tar.gz and RayTrace-CSS-API.tar.gz from Ray-Trace

  2. Extract the folders and upload them to game/csgo/addons on your server

  3. Download the latest NadeSystem.zip from here and NadeLauncher.dll from here

  4. Extract the NadeSystem folder and upload it to game/csgo/addons/counterstrikesharp/plugins on your server

  5. Upload NadeLauncher.dll to game/csgo/addons/counterstrikesharp/plugins/NadeLauncher/NadeLauncher.dll on your server

Commands

bot_nades
Shows the current nade throwing mode

bot_nades off
Bots won't throw any nades

bot_nades normal
Bots follow almost the same count limits as human players (default)

bot_nades more
Bots use the same decision logic as normal mode with higher count limits (recommended)

bot_nades max
Bots have minimal limitations and think less before throwing nades

Instructions

Record Lineups

Record lineups using NadeLauncher.

730_71

(You can find your lineup libraries in game\csgo\addons\counterstrikesharp\plugins\NadeLauncher\data\lineups)

Add Descriptions

If you want the bots to only use the lineups at round start, add uppercase T for Terrorists and uppercase CT for Counter-Terrorists at the start of lineup descriptions.

If your lineup needs to break the window first, stand in the same position and throw a flashbang to smash the window, and add decoy to the lineup description. Then the bots will throw a decoy first to break the window before triggering your lineup.

Convert Lineups

Run convert_lineups.py in your CMD or PowerShell with the command python convert_lineups.py "NadeLauncherPath" "NadeSystemPath".

(For example, python convert_lineups.py "C:\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\addons\counterstrikesharp\plugins\NadeLauncher" "C:\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\addons\counterstrikesharp\plugins\NadeSystem")

If you don't have Python installed on your computer, double-click convert_lineups.exe to convert lineups automatically.

(After conversion, you can check lineup libraries for bots in game\csgo\addons\counterstrikesharp\plugins\NadeSystem\grenades)

So bots can "rethrow" the nades recorded by you now

730_73

Credits

Special thanks to QQundalf and DANK1NG1I45l4.

About

CS2-Bot-NadeSystem is a plugin based on CounterStrikeSharp that allows bots to replay lineups recorded by players and throw nades deftly according to the situation.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors