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: 12615 This post has been edited by Cheeseh: Nov 7 2018, 06:50 AM |
madmax2 |
Nov 1 2018, 06:04 PM
Post
#2
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
The new wpt converter didn't work for me, same error message. So I converted a few on my win7 PC. I double checked in installed programs, I have framework 4 Client Profile and Extended v4.0.30319 installed. Also have 3.5, 3.0, 2.0 & 1.1.
The toggletype works perfect, thanks. got my binds set now, notarget & godmode set, think I'm ready... But ran into problems with desertcircle, it might be my XP PC, not sure yet. I did add a couple bots & they did run in the direction they should, but I'm having serious lag on this map, all the wpts refresh every few seconds. I can't see most paths, and the deeper I go into the map even the wpts vanish, but wpt info says they are still there. Think i'll check this map in sc4.8 for lag, but I don't remember having paths and wpts disappear? Quarter was the opposite, it is a perfect match, the bots are working in it, just didn't have time to fully test it. I changed all the objective/EOL (End) flags except the last one to "important" flags. I may need to tweak the important flags, may not need as many. I was using objective flags in many of my rcw's sorta like a navigation flag, to get bots to patrol an area or take an alternate route, is it ok to use important flags that way (ie. no button nearby)? There are some unimplemented wpts in this map (crouchjump), but i'm going to leave them in for now, I assume they will just ignor them. I put the crouchjumps at some spawn room doors the old bots had wierd behavior at, slowing them way down. It will be interesting to see if that behavior is gone now, maybe the crouchjumps won't be needed? Quarter should be ready for upload once I run the bots thru it once or twice, I hope... I noticed on Jumpers, they are missing jumps more, i think? I need to take a close look and see how they are jumping. Many of the more complex maps have some difficult jumping spots that were extremely difficult to waypoint with the old bots. I spent days working on that first area in sc_Persia. I ended up doing non-standard ways to get bots to make those complex jumps (& human towers). Anyways, most of that can wait for latter after you implement more givetypes. I'll try to give you better feedback on that stuff latter... For now I'll focus on converting the easier maps and checking wpts for proper fit to the sc5 maps, etc. |
Cheeseh |
Nov 2 2018, 08:14 PM
Post
#3
|
Admin Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 |
Hi madmax, fixed the waypoint diplay bug -- I think if it draws too many beams it cant draw any more, had to limit the distance.
|
madmax2 |
Nov 2 2018, 08:47 PM
Post
#4
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
Hi madmax, fixed the waypoint diplay bug -- I think if it draws too many beams it cant draw any more, had to limit the distance. Great, yeah there are a lot of wpts in that map, I believe I auto-waypointed parts of it. QUOTE For maps like quarter, i think there was a defend waypoint type. If not i can add it. Defend wpts were for Team Fortress only, I believe that is what you told me... When I tried to add them to sven, they caused strange behavior for the bots, random freezing I believe. I guess there could be some use for them in SC5, but I don't think it needs to be high on the priorities... QUOTE Will need to implement crouchjump. I can't remember or not if there was a long jump type , which I'll also need to do. I checked for you, there was just a Jump & crouch-jump in the menus, but for crouch-jump the effect & console says "Bot will do a LONG JUMP/CROUCH JUMP here". I also combined regular crouch then jump wpts to get a different effect... I used both, for different situations... -------------------------------------------------------------------------------------------------------------------------- Hey Ryusho, Nice to see you back... Let us know which maps you are working on, I'll be testing/fixing all my waypoints first. Let us know if you see anything that looks buggy... |
Ryusho |
Dec 6 2018, 11:14 PM
Post
#5
|
Member Group: Members Posts: 37 Joined: 25-December 08 Member No.: 1,436 |
-------------------------------------------------------------------------------------------------------------------------- Hey Ryusho, Nice to see you back... Let us know which maps you are working on, I'll be testing/fixing all my waypoints first. Let us know if you see anything that looks buggy... Heh, well at the moment I am manually Waypointing SC Tetris 1, ...Apparently I had some waypoints on my system that lead to the spawn area, and it was buggy there, since it had 'tank' waypoints at the buttons to open the spawn gate, but I fixed that and got them to open it.. *well i had to poke one button as they were all clustering on the same button..back and forth* but now I'm working on getting the pathing through it, and it's definitely interesting to do since I don't actually know the map that well myself, so I am learning it as I go. *Edit* ..and akwardly I am having to look up a walkthrough for it because I got lost XD |
madmax2 |
Dec 7 2018, 12:55 AM
Post
#6
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
Heh, well at the moment I am manually Waypointing SC Tetris 1, ...Apparently I had some waypoints on my system that lead to the spawn area, and it was buggy there, since it had 'tank' waypoints at the buttons to open the spawn gate, but I fixed that and got them to open it.. *well i had to poke one button as they were all clustering on the same button..back and forth* but now I'm working on getting the pathing through it, and it's definitely interesting to do since I don't actually know the map that well myself, so I am learning it as I go. *Edit* ..and akwardly I am having to look up a walkthrough for it because I got lost XD Heh Heh, yeah go for it, tetris maps were like the last ones I would attempt ... I remember those buttons would not work for the old bots, and was curious if they would now... |
Ryusho |
Dec 22 2018, 03:43 AM
Post
#7
|
Member Group: Members Posts: 37 Joined: 25-December 08 Member No.: 1,436 |
Heh Heh, yeah go for it, tetris maps were like the last ones I would attempt ... I remember those buttons would not work for the old bots, and was curious if they would now... The buttons work with the new bots, THough sometimes it can be a bit odd to get them to trigger them together, So sometimes you need to give them a hand, but they should get them eventually....I hit a stall where I got completely lost on how to finish a spot and had to take a break from it though as I was getting very annoyed at hearing an enemy I couldn't find, that would -not shut up- XD |
danylopez123 |
Sep 14 2019, 02:54 PM
Post
#8
|
Member Group: Members Posts: 16 Joined: 17-June 19 From: Spain Member No.: 2,598 |
The buttons work with the new bots, THough sometimes it can be a bit odd to get them to trigger them together, So sometimes you need to give them a hand, but they should get them eventually....I hit a stall where I got completely lost on how to finish a spot and had to take a break from it though as I was getting very annoyed at hearing an enemy I couldn't find, that would -not shut up- XD Hello, i saw you were trying to work with the new RCBot waypoints for the Tetris maps, at least for the 1st one. Im just saying if you made now some progress... after almost 9 months without saying anything here, just saying. |
danylopez123 |
Nov 9 2019, 03:18 PM
Post
#9
|
Member Group: Members Posts: 16 Joined: 17-June 19 From: Spain Member No.: 2,598 |
No offence but...
No one is answering so... the Forums might be dead now. If anyone is still alive, contact me in my Discord bellow. |
RoboCop |
Nov 10 2019, 01:55 AM
Post
#10
|
RCBot Fan Group: Admin Posts: 192 Joined: 17-December 15 From: Dundee, Scotland Member No.: 2,435 |
No offence but... No one is answering so... the Forums might be dead now. If anyone is still alive, contact me in my Discord bellow. Join Bots United's Discord https://discordapp.com/invite/zCSvyyC |
danylopez123 |
Nov 13 2019, 07:04 PM
Post
#11
|
Member Group: Members Posts: 16 Joined: 17-June 19 From: Spain Member No.: 2,598 |
Oh... a Discord server... sure i will join but... i don't talk alot in Discord servers, that is why i mentioned to add me in Discord. |
Lo-Fi Version | Time is now: 28th September 2024 - 04:54 PM |