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: 12623 This post has been edited by Cheeseh: Nov 7 2018, 06:50 AM |
madmax2 |
Jul 25 2020, 06:33 PM
Post
#42
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
Okay, yeah it might be best to remove the auto_wait at ladders. I played last3, and everything was working ok including the HT, but inside those vents there, I think the bots were having some extra difficulty climbing the ladders. They eventually (2 bots) sorted out and made it through both directions, but it took many attempts. I will go back and check the vents again and look at the wpts, once you make the change...
I have fixed the problems in last2, I don't think those problems were caused by the auto_wait? It should be easy to retest that area once the change is done... I'm still working on some improvements to last4, been having problems at the doors, mainly the front door to the base. They get through the doors, but a bot will sometimes stop and stand at the the door for a while as other bots try to go around. Anyways, I think i have the spawnroom door working good now (no door button), but the front door with a button is still a small problem... they tend to turn around at that door and go up the ladder, either to get the RPG or go up into the tower. Initially bots go through the door good, there are 3 or 4 important wpts outside, but after a while bots stop at the front door, most turn around & go up the ladder. There has been more ammo/health/armor/weapon wpts inside the base/tower vs outside. So I'm not sure if it is a door issue, or there are just not enough special wpts to keep them going outside consistently? I've added some fake ammo/health/armor wpts outside to see if that helps. I tried A oneway path at the door to keep bots outside, which helps, but I'm not sure I want to do that? I kinda rambled on there, lol... Can you give me a few tips on waypointing doors, such as positioning the waypoints? I found by moving the wpt just inside the spawn room, close to the door (no button) and crouch tagging it seemed to of fixed bots getting stuck at the door. The front door might just be a buggy door, I moved the door wpts/path closer to the button and the button has an important wpt on it. I think it is better, but an occasional bot will stop at the door & not press the button Thanks for any suggestions/info... [Edit] Build: 1b3a79fb1b1279324b585dcd54d7f68bc6c61b0d Last4: Bots are not looking up at sky when stopped at the front door, its from jumping/falling down from level above and they just haven't locked on to a waypoint yet. It's not that bad, I'll upload it soon once I'm done tweaking it. Adding some fake ammo/health/armor outside did help draw the bots out, but I think I may make the front door oneway. Bots still go up into the tower before going outside, frequently. Last2: It's still working good with the new build and the wpt changes ... should be releasing it soon... Last3: With the new build and auto_wait removed from the ladder wpt, the bots are doing much better at all the vent ladders, as they are waypointed now (including the last ladder into a vent, they were having problems there too, but it is all better now). Bots really get through this map fast now, opening all the shortcut doors quicker than the older builds, it seems. The big rotating gear is probably the only place they are slowed down, I might try tweaking the wpts there? |
Lo-Fi Version | Time is now: 28th September 2024 - 09:22 PM |