Download |
Download |
Cheeseh |
Oct 28 2018, 09:55 PM
Post
#41
|
Admin Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 |
RCBot for Svencoop 5 (Angelscript)
This version of RCBot has been created from scratch with some code converted from RCBot1 and inspired by RCBot2 code. It uses the built in plugin system "AngelScript" that comes with Svencoop 5. instructions and download here: https://github.com/rcbotCheeseh/RCBotSven5 Usage just download all files (Download/Clone as zip) extract into the BotManager directory in scripts/plugins. (overwrite) The files will overwrite the current "Bot" scripts as it was based on the sample. Features Bots can run around / shoot enemies, pick up ammo/health/weapons/armor, use health/HEV chargers, use teleports, take cover, press buttons (at objective points -- not tested), shoot breakables (not tested). (i.e. its a work in progress). Bots CAN'T use ladders yet, or secondary fire, or use grapple etc yet or other fancy stuff. Commands: CODE addbot Adds a new bot waypoint_off Display waypoints off waypoint_on Displays waypoints on waypoint_add Adds a new waypoint waypoint_delete Adds a new waypoint waypoint_load Loads waypoints waypoint_save Saves waypoints pathwaypoint_create1 Adds a new path from pathwaypoint_create2 Adds a new path to pathwaypoint_remove1 pathwaypoint_remove2 waypoint_clear waypoint_info (print waypoint types on current waypoint) waypoint_givetype give waypoint type waypoint_removetype remove waypoint type waypoint_toggletype waypoint_convert_type (from) (to). Convert waypoint types debug debug messages toggle godmode god mode noclip noclip notarget (no target mode) killbots kills all bots <to add - notouch (needed for waypointing)> all commands accessible via command "as_command rcbot.<command>" e.g. "as_command rcbot.addbot" DEBUGGING if you run into trouble (usually becuase of a nightly build) find the problem by first using the commands CODE developer 1 as_log_level 2 as_reloadplugins note down any errors and report them I'm needing waypoints redone These are now "rcwa" files in a different format. I made a program to convert rcbot1 waypoints to these. Downloadable here: RCBotWPTConverter.zip ( 502.51k ) Number of downloads: 12570 This post has been edited by Cheeseh: Nov 7 2018, 06:50 AM |
madmax2 |
Jul 24 2020, 09:28 PM
Post
#42
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
Build: de6598ea0a98e8efdc679bed8e110187a60b0bf3
I see that bots are now waiting at the bottom of ladders for other bots/players, excellent work Cheeseh, I like it... It seems at some point over the last year the coding changes has effected the performance of some of the waypoints in my pack/git. I'm not saying this is a bug, or anything needs changing in the code to correct it. I'm just notifying everyone that some difficult to navigate areas may not work as well as they once did. Some rcwa's may need some adjustments? I was playing last series with rcbot_as Last2: At the elevator cables bots are falling much more in both directions, they were near perfect with the older build. I can solve the down direction by raising up the top ladder wpt so it is more straight across from the ledge, it was angled down with the git rcwa. The up direction is difficult, bots rarely can make the jump from the cable to the ledge now. I've got them doing a little better by moving the path from where it was to the nearest ledge wpt, and removing the SN (Stay Near) flag from the top ladder/jump wpt. It might be acceptable this way, but I will try to get it working better. Last2: At the long grapple, bots are failing much more with the current git wpt, but it's not a grapple wpt problem. The problem is at the launch wpt, which is currently a wait/SN wpt. With the So, this brings up a question, about the build changes over the last year (since march 2019)... 1. Has the bots run up speed to certain types of wpts been changed (SN, wait, jump, or ladder)? It looks like i'll need to remove SN flags in some locations on some maps and do a new waypoints pack perhaps? At my last check on the Dec 2019 build, sc_persia peg jumps were still working ok, as well as the jumps in sc_doc and sc_royals2. I also began to rework crystal rcwa, I don't think it is fully functional (bots fail at HT into vent, and other issues). I played through both maps with old rcbot on sc4.8 so I could remember how everything works on those maps . [edit] Looks like I'm 2 builds behind, I'll check out the HT improvements, sounds great... |
Lo-Fi Version | Time is now: 27th September 2024 - 01:57 PM |