![]() |
![]() |
bir3yk |
![]()
Post
#1
|
RCBot Fan ![]() ![]() ![]() ![]() Group: Members Posts: 107 Joined: 4-June 09 Member No.: 1,566 ![]() |
I compiled a linux RCBot2 0.5
1. Folder Structure : .../hl2 .../orangebox <-- srcds_run is here (for TF2 and Orange-Box games) .../orangebox/bin <-- HPB_bot2_i486.so files copied here .../rcbot2/ .../rcbot2/config/ .../rcbot2/profiles/ .../rcbot2/waypoints/ .../rcbot2/waypoints/orangebox/tf/ <-- waypoint and scripts files copied here .../steam 2. Edit .../rcbot2/config/bot_mods.ini mod = TF2 steamdir = orangebox gamedir = tf bot = TF2 3. Add ./srcds_run ..............+plugin_load ../bin/HPB_bot2 146 SVN revisions 119 SVN revisions RCbot2 0.52 121 SVN revisions 121 SVN revisions RCbot2 0.53 122 SVN revisions 122 SVN revisions 124 SVN revisions 124 SVN revisions 126 SVN revisions 126 SVN revisions 146 SVN revisions 146 SVN revisions |
![]() ![]() |
madmax2 |
![]()
Post
#2
|
RCBot Guru ![]() ![]() ![]() ![]() ![]() Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 ![]() |
Do you know if there is a way to manually reload the bot config.ini via rcon/console? If so, I think I can fix my problem by just adding the commands inside that config file because it executes it with the names correctly. It would have to be thru a rcbot command, and I don't see it, so I don't think it's possible ![]() But since you can load bots with names one at a time on the console, doe's it not work to execute a cfg file with addbot commands after map load. I believe most rcbot commands/cvars can be done this way... Try creating a cfg file like this, name it something like rcbotsadd.cfg and place it in the /dod/cfg folder... QUOTE rcbotd addbot 2 2 DeathFromAbove rcbotd addbot 2 3 v0x rcbotd addbot 3 2 Wall-E rcbotd addbot 1 3 stealth rcbotd addbot 0 2 Foo rcbotd addbot 0 3 Bar After the map has loaded, you should be able to type exec rcbotsadd.cfg in the console and 6 bots should join. Now I thought this wasn't working for names on linux servers, but maybe it was just a problem of reading names from the profiles? On listen server, I add bots this way from the rcbot config.ini, but without the names, names get added from the profiles the way I have it set up. If this works, you should be able to exec this file from a server cfg file that executes after map load, I'm just not sure what server cfg does that. On HL1 engine, you can have map cfg files for each map in the maps folder, I would think source has this too, but I'm not sure if the timing of execution is late enough to work? ![]() |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 16th September 2025 - 07:17 AM |