IPB

Welcome Guest ( Log In | Register )

> Download
Cheeseh
post Oct 28 2018, 09:55 PM
Post #1


Admin
*****

Group: Admin
Posts: 3,018
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:


Attached File  RCBotWPTConverter.zip ( 502.51k ) Number of downloads: 741


This post has been edited by Cheeseh: Nov 7 2018, 06:50 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
madmax2
post Oct 30 2018, 05:46 AM
Post #2


RCBot Guru
*****

Group: Waypointers
Posts: 858
Joined: 2-March 12
From: USA, WA state
Member No.: 2,162



QUOTE
the WP converter keeps all types.
no trouble to make it net 4 I don't think.
just fixed bad bot aiming, at least they are getting frags now. Theyre pretty hardcore now

Sounds good
QUOTE
TBH I think most waypoints need fixing / redone anyway.

Yeah I agree, many of the old maps have broken or incomplete wpts. We should focus on the stock maps first.

You may want to put all the untested wpts into a seperate pack, at some point? So people know they may not
work well. We could add them back in as we test/fix them, which would take forever without more help...

I'll work on converting the wpts I've uploaded first, so you can know which ones I'll be working on. Most
of them are stock maps...

Request/question : Would it be difficult to change the givetype/removetype commands to a "toggle givetype"
command. This would cut the needed binds in half. I don't see a big need for having the multiple givetype
option on each bind in this game, if removing that would make it easier to implement? Isn't that the way
givetypes work with rcbot2, as a toggle? Maybe copy the code from rcbot2?

I just received my new 24inch monitor/tv for my new/old PC, I'm feel like a kid in a candy store, weeee... tongue.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Oct 30 2018, 08:41 AM
Post #3


Admin
*****

Group: Admin
Posts: 3,018
Joined: 11-September 03
From: uk
Member No.: 1



QUOTE(madmax2 @ Oct 30 2018, 05:46 AM) *

Sounds good

Yeah I agree, many of the old maps have broken or incomplete wpts. We should focus on the stock maps first.

You may want to put all the untested wpts into a seperate pack, at some point? So people know they may not
work well. We could add them back in as we test/fix them, which would take forever without more help...

I'll work on converting the wpts I've uploaded first, so you can know which ones I'll be working on. Most
of them are stock maps...

Request/question : Would it be difficult to change the givetype/removetype commands to a "toggle givetype"
command. This would cut the needed binds in half. I don't see a big need for having the multiple givetype
option on each bind in this game, if removing that would make it easier to implement? Isn't that the way
givetypes work with rcbot2, as a toggle? Maybe copy the code from rcbot2?

I just received my new 24inch monitor/tv for my new/old PC, I'm feel like a kid in a candy store, weeee... tongue.gif


Great -- will need to,as you say, identify broken waypoints. I re-did sandstone cos they were totally off - but the git still contains loads of waypoints that might be of no use. The HL1 campaign in Svencoop has changed and doesn't use the default maps any more so they might need redone somehow

I added a new command "waypoint_toggletype" blindly -- see if it works.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic
Cheeseh   Download   Oct 28 2018, 09:55 PM
madmax2   Sounds good Yeah I agree, many of the old maps h...   Oct 30 2018, 05:46 AM
Cheeseh   Sounds good Yeah I agree, many of the old maps h...   Oct 30 2018, 08:41 AM
madmax2   I added a new command "waypoint_toggletype...   Oct 30 2018, 08:25 PM
Cheeseh   should work now madmax ,, just me being silly sinc...   Oct 31 2018, 07:04 PM
Cheeseh   should work now madmax ,, just me being silly sin...   Oct 31 2018, 08:55 PM
madmax2   Cool, that will help me, as I don't have sven ...   Nov 1 2018, 03:02 AM
madmax2   The new wpt converter didn't work for me, same...   Nov 1 2018, 06:04 PM
Cheeseh   The .net issue night have something to do with the...   Nov 2 2018, 07:39 AM
Cheeseh   Hi madmax, fixed the waypoint diplay bug -- I thin...   Nov 2 2018, 08:14 PM
madmax2   Hi madmax, fixed the waypoint diplay bug -- I thi...   Nov 2 2018, 08:47 PM
Cheeseh   Great, yeah there are a lot of wpts in that map, ...   Nov 2 2018, 09:07 PM
Cheeseh   BTW also just updated the converter to make it mor...   Nov 2 2018, 10:52 PM
Ryusho   ------------------------------------------------...   Dec 6 2018, 11:14 PM
madmax2   Heh, well at the moment I am manually Waypointing...   Dec 7 2018, 12:55 AM
Ryusho   Heh Heh, yeah go for it, tetris maps were like th...   Dec 22 2018, 03:43 AM
danylopez123   The buttons work with the new bots, THough someti...   Sep 14 2019, 02:54 PM
danylopez123   No offence but... No one is answering so... the Fo...   Nov 9 2019, 03:18 PM
RoboCop   No offence but... No one is answering so... the F...   Nov 10 2019, 01:55 AM
danylopez123   Join Bots United's Discord https://discordap...   Nov 13 2019, 07:04 PM
Ryusho   It's wonderful to see that RCbot is back in ac...   Nov 2 2018, 01:33 PM
madmax2   Thanks, but the converter still won't install ...   Nov 3 2018, 08:18 AM
Cheeseh   Looks like its still looking for .net framework 4....   Nov 4 2018, 04:27 PM
Gordon9999   Will you make the random choose of models and colo...   Nov 4 2018, 11:20 AM
madmax2   Yes, that fixed it, Thanks :) The openslater b...   Nov 5 2018, 07:45 AM
Cheeseh   Yes, that fixed it, Thanks :) The openslater bu...   Nov 5 2018, 09:04 AM
Cheeseh   cool , on the cusp of fixing the openslater stuff...   Nov 5 2018, 08:10 PM
Cheeseh   opens later should be fixed now .. also buttons d...   Nov 7 2018, 06:48 AM
madmax2   Sorry for late reply, having a mechanical problem ...   Nov 7 2018, 06:43 PM
Cheeseh   Sorry for late reply, having a mechanical problem...   Nov 7 2018, 06:50 PM
madmax2   You seem to be making good progress, been followin...   Nov 9 2018, 06:41 PM
Poka   Cool to see RCBot active again B) I tested it o...   Nov 10 2018, 07:11 AM
Cheeseh   Cool to see RCBot active again B) I tested it ...   Nov 10 2018, 08:52 AM
Poka   Try to run with "as_log_level 3" and de...   Nov 10 2018, 12:43 PM
RoboCop   Cant get anything but the bad pointer error in th...   Nov 10 2018, 01:55 PM
Poka   Well those BAD POINTER crashes appear to occur a ...   Nov 10 2018, 02:41 PM
Solokiller   The Bot Manager script was a sample that i made, i...   Nov 12 2018, 01:46 PM
Cheeseh   The Bot Manager script was a sample that i made, ...   Nov 12 2018, 08:00 PM
Solokiller   Unless they've changed it plugins are not relo...   Nov 12 2018, 08:06 PM
Cheeseh   Unless they've changed it plugins are not rel...   Nov 14 2018, 06:41 PM
Solokiller   Hi solokiller , just to confirm --- which handle ...   Nov 14 2018, 06:49 PM
w00tguy123   Someone ran the osprey map with some bots and a de...   Nov 16 2018, 09:11 PM
Solokiller   Yeah the problem is probably that the entity that ...   Nov 16 2018, 09:16 PM
Cheeseh   Yeah the problem is probably that the entity that...   Nov 17 2018, 11:40 AM
Solokiller   Just store entities in an EHANDLE if you intend to...   Nov 17 2018, 11:42 AM
Poka   Seems like the crash issues have mostly gone after...   Nov 17 2018, 03:51 PM
RoboCop   A guy was asking me how to install RCBot AS for Sv...   Dec 15 2018, 07:38 PM
Cheeseh   A guy was asking me how to install RCBot AS for S...   Dec 17 2018, 07:05 PM
RoboCop   Well its hard for me to see from their point of vi...   Dec 18 2018, 09:28 PM


Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th January 2020 - 01:05 PM