ClaudiuHKS / rcbot2

RCBot created by Cheeseh

Home Page:http://rcbot.bots-united.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RCBot2 for Windows and Linux (TF2, HL2:DM, DOD:S)

Information:-

This is a fork of the official RCBot2 plugin written by Cheeseh. Special thanks to pongo1231 for adding more TF2 support and NoSoop for adding AMBuild support and many more!

The bots-united.com discord and forums are the places to ask for general RCBot2 support. I'm not present in either of those; file an issue on this repository if you need support for this particular project.

Changes from upstream:-

  • Build process uses AMBuild instead of make or Visual Studio. This removes the need for Valve's cross platform make conversion tool and keeping copies of modified Source SDK files.
  • The plugin has been split into SDK-specific builds to ensure proper compatibility, using the same loader shim SourceMod uses to load mod-specific builds.
    • The shim is named RCBot2Meta to maintain compatibility with existing files; mod-specific plugins are named rcbot.2.${MOD}.
    • The sdk-split branch only contains modifications to get the project running on the new build tooling and SDK support without issues. It should be fairly painless to merge (though it does remove using namespace std; for sanity).
  • The usage of the install directory has been dropped. In particular, waypoints must be located under rcbot2/waypoints/${MOD} instead of nested under a folder matching the name of the steamdir.
  • Removed custom loadout and attribute support from the TF2 portion of the plugin. Other server plugins (namely tf2attributes and TF2Items, where the implementation was ported from) are better-suited and maintained to handle that stuff; this plugin should only deal with bots themselves.
  • The Metamod:Source plugin can now optionally expose natives to SourceMod, adding some functionality to control the RCBot2 plugin from SourcePawn.

Installation:-

  1. Install MetaMod:Source.
  2. Download or build the RCBot2 package.
  3. Extract the package into your game directory, similar to the process of installing MM:S.
  4. Start the server.
  5. To verify that the installation was successful, type rcbotd in your server console or RCON. You should see multiple lines starting with "[RCBot]".

Things like the waypointing guide, hookinfo updater, and waypoints themselves are currently not available here. You can download those from the official release thread. Waypoints are also available at this page.

Building:-

Cloning from source

RCBot2's repo history had all sorts of build artifacts / binaries at various points in time, so pulling the repository down normally takes an unusually long while. I'd highly recommend passing in --depth 1 or a few to avoid retrieving the files that were removed since then.

Compiling on Windows / Linux

  1. Install the prerequisites for building SourceMod for your OS.
  2. Create a build/ subdirectory, then run configure.py.
    • Use the following options (where ${MOD} is only TF2): python ../configure.py -s ${MOD} --mms_path ${MMS_PATH} --hl2sdk-root ${HL2SDK_ROOT}
    • Specifying an --sm-path argument enables linking to SourceMod.
    • Note that the automatic versioning system requires an installation of git and a relatively modern version of Python 3. Python version 2 is now depreciated.
  3. Run ambuild. MetaMod:Source plugin is built and the base install files will be available in build/package.

License:-

RCBot2 is released under the GNU Affero General Public License. Among other things, this means that any modifications you make to RCBot2 must have the sources available under the same license to players on your server.

Additionally, rcbot/logging.{h,cpp} is released separately under the BSD Zero Clause License.

To-do:-

  • To allow bots to menuselect in order to buy upgrades for MVM
  • To repair Waypoint Menu for TF2 as the latest TF2 VScript update broken it...
  • To improve game detection for non-listed Source gamemods
  • To prevent bots to shoot at ghost players - like in plr_hightower_event Hell Zone
  • Bots needs to understand how to play Kart games from sd_doomsday_event as they only wonder around those minigames
  • CBotTF2::changeClass needs implemented to avoid bots punting when using ClassRestrictionsForBots.smx
  • And to add TF2C support along with Black Mesa Source, Counter-Strike: Source and SDK2013

Credits:-

  • Founder - Cheeseh
  • Bot base code - Botman's HPB Template
  • Linux Conversion and Waypointing - [APG]RoboCop[CL]
  • TF2 support and enhancements - Ducky1231/Pongo
  • SourceMod and AMBuild support - nosoop
  • Synergy and CSS support - Anonymous Player/caxanga334
  • TF2 Classic support - Technochips
  • Linux Black Mesa and SDK2013 mathlib fix - Sappho

Waypointers:-

  • NightC0re
  • wakaflaka
  • dgesd
  • naMelesS
  • ati251
  • Sandman[SA]
  • Speed12
  • MarioGuy3
  • Sjru
  • Fillmore
  • htt123
  • swede
  • Witch
  • YouLoseAndIWin
  • ChiefEnragedDemo
  • madmax2
  • Pyri
  • LK777

About

RCBot created by Cheeseh

http://rcbot.bots-united.com

License:GNU Affero General Public License v3.0


Languages

Language:C++ 97.2%Language:Python 1.3%Language:C 1.0%Language:SourcePawn 0.2%Language:HLSL 0.1%Language:Shell 0.0%Language:Batchfile 0.0%