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 |
Nov 3 2018, 08:18 AM
Post
#2
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
Thanks, but the converter still won't install on XP... Here is the log, maybe that can be some use?
[edit] Again, I can work around this issue, just FYI... Dialog Box Error: CODE Prerequisite check for system component Microsoft .NET Framework 4.5 (x86 and x64) failed with the following error message: "Installation of the Microsoft .NET Framework 4.5 is not supported on this operating system. Contact your application vendor." See the setup log file located at 'C:\DOCUME~1\Owner\LOCALS~1\Temp\VSD2.tmp\install.log' for more information. Install Log: CODE The following properties have been set: Property: [AdminUser] = true {boolean} Property: [InstallMode] = HomeSite {string} Property: [NTProductType] = 1 {int} Property: [ProcessorArchitecture] = Intel {string} Property: [VersionNT] = 5.1.3 {version} Running checks for package 'Microsoft .NET Framework 4.5 (x86 and x64)', phase BuildList Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full' Read string value '4.0.30319' Setting value '4.0.30319 {string}' for property 'DotNet45Full_TargetVersion' The following properties have been set for package 'Microsoft .NET Framework 4.5 (x86 and x64)': Property: [DotNet45Full_TargetVersion] = 4.0.30319 {string} Running checks for command 'DotNetFX45\dotNetFx45_Full_x86_x64.exe' Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true Result of checks for command 'DotNetFX45\dotNetFx45_Full_x86_x64.exe' is 'Bypass' Running checks for command 'DotNetFX45\dotNetFx45_Full_setup.exe' Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false Result of running operator 'VersionGreaterThanOrEqualTo' on property 'DotNet45Full_TargetVersion' and value '4.5.50709': false Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false Result of running operator 'VersionLessThan' on property 'VersionNT' and value '6.0.0': true Result of checks for command 'DotNetFX45\dotNetFx45_Full_setup.exe' is 'Fail' 'Microsoft .NET Framework 4.5 (x86 and x64)' RunCheck result: Fail A prerequisite failed for Package "Microsoft .NET Framework 4.5 (x86 and x64)" Package failed with message "Installation of the Microsoft .NET Framework 4.5 is not supported on this operating system. Contact your application vendor." I think with last build the openslater flags may no longer work. They are trying to run through every door on quarter that has an openslater behind it (1 OL per door). Been experimenting with important flags on the spawn room door buttons in this map, they were not opening the doors at all without them, but it is still a big problem (they were kinda wonky at these doors with the old rcbot_MM too). Will you have them see the buttons like before? I know they had problems seeing the door button entities on some maps (all tetris maps, 1st button in sc_doc...). Either way, some kind of door wpt is probably a good idea, maybe create a USE wpt that helps the bots locate where to press E key, a wpt that doesn't depend on them seeing the entity? You could still have them auto detect (see) door buttons, which is nice when it works... I assume with the important wpt the are looking for the entities? QUOTE Also just added auto waypoint typing -- if you can think of other situations to auto waypoint type. let me know (i.e. if healthkit nearby it sets added waypoint to health type) Ok, I will keep that in mind... It's late now... Time to snooze... keep up the good work, seems like you are making good progress... |
Lo-Fi Version | Time is now: 21st May 2024 - 01:20 PM |