Download |
Download |
Cheeseh |
Oct 28 2018, 09:55 PM
Post
#1
|
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: 4413 This post has been edited by Cheeseh: Nov 7 2018, 06:50 AM |
madmax2 |
Jul 28 2020, 09:02 PM
Post
#61
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
Hey Cheeseh,
I think for last4 front door, I think I may go with oneway path, one direction, bots forced to stay outside. bots go up into the tower often before going outside as it is. I was concerned they would run out of ammo if forced to stay outside, but it seems ok that way, I think? This is the way I normally do doors with door buttons, with a button on each side & a bidirectional path. I think this is what you are saying... But for last4 door, I'm testing something different, I don't think I can draw it with the keyboard, lol? CODE | | -----x---|---x----- \ | / b | b -----main path ----- x door wpts on each side b button wpts, I add these if they have trouble seeing buttons or pressing them, sometimes I don't add them Doe's it make any difference how close the door wpts are to the door? Usually I try to put them near the door and the button. I haven't tried moving them way back from the door or the button. I usually have the path centered through the door, but on a wide problem door (last4) I've slid the path over closer to the button side, but can't put it too close or they can jam the door mechanism. They actually work ok most of the time, but frequently a bot will stop at the door for a while, like it can't decide which way to go (might be able to debug it)? Bots that do this usually either back away from the door and go the other way into the tower, or if another bot or player/npc opens the door for them they might go outside? It doe's seem less frequent since I made the door path oneway, I think? Thanks for the tips, and yes I have used the botcam to find lost bots (old rcbots), thanks. To be honest, thats the way I type with a good keyboard, constantly correcting my typos, . |
Cheeseh |
Jul 29 2020, 07:54 AM
Post
#62
|
Admin Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 |
I think the way you're doing the door is fine. I think it's best if the last waypoint the bot touches before it goes through the door also has visibility to the button, which i think is what you're doing. I'm on my phone now rather than keyboard. Will have a look tomorrow when i get my new keyboard
|
Lo-Fi Version | Time is now: 21st May 2024 - 02:06 PM |