IPB

Welcome Guest ( Log In | Register )

> Loading bots via cfg...
genmac
post Jan 30 2015, 06:11 AM
Post #1


RCBot Guru
*****

Group: Waypointers
Posts: 571
Joined: 11-November 11
Member No.: 2,098



yo cheeseh sorry to interrupt you again but I made a little cfg to spawn bots the way I like and it load all of them on the blue team all of them named red. this is for tf2 but I think it's also the same effect on dods.
Here's the cfg....
---------------------------------------------------------
//Rcbot addbot <class> <team> <name>

//red
rcbot addbot 1 2
wait
rcbot addbot 2 2
wait
rcbot addbot 3 2
wait
rcbot addbot 4 2
wait
rcbot addbot 5 2
wait
rcbot addbot 6 2
wait
rcbot addbot 7 2


//blue
rcbot addbot 1 3
wait
rcbot addbot 2 3
wait
rcbot addbot 3 3
wait
rcbot addbot 4 3

-------------------------------------------------

any way to make this work so?




User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
Cheeseh
post Jan 31 2015, 01:51 AM
Post #2


Admin
*****

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



QUOTE(genmac @ Jan 30 2015, 07:11 AM) *

yo cheeseh sorry to interrupt you again but I made a little cfg to spawn bots the way I like and it load all of them on the blue team all of them named red. this is for tf2 but I think it's also the same effect on dods.
Here's the cfg....
---------------------------------------------------------
//Rcbot addbot <class> <team> <name>

//red
rcbot addbot 1 2
wait
rcbot addbot 2 2
wait
rcbot addbot 3 2
wait
rcbot addbot 4 2
wait
rcbot addbot 5 2
wait
rcbot addbot 6 2
wait
rcbot addbot 7 2
//blue
rcbot addbot 1 3
wait
rcbot addbot 2 3
wait
rcbot addbot 3 3
wait
rcbot addbot 4 3

-------------------------------------------------

any way to make this work so?


I don't think this will work right now, but I'm adding a feature for next version to make it work. Whenever you add a bot in the next version it will just be added to a queue which slowly ads all the bots no matter how fast you add a bot
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
madmax2
post Jan 31 2015, 08:27 PM
Post #3


RCBot Guru
*****

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



QUOTE(Cheeseh @ Jan 30 2015, 05:51 PM) *

I don't think this will work right now, but I'm adding a feature for next version to make it work. Whenever you add a bot in the next version it will just be added to a queue which slowly ads all the bots no matter how fast you add a bot

Hey guys,

So, what is the reason there needs to be delay added to bots joining? For dods, when playing solo on a listenserver, I like all bots to join before the warmup period is over, so all bots will be ready for the start of the round. Will this cause bots to join late? unsure.gif

If so, could it be done as a cvar, to adjust the delay from 0 or higher ?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Jan 31 2015, 11:22 PM
Post #4


Admin
*****

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



QUOTE(madmax2 @ Jan 31 2015, 09:27 PM) *

Hey guys,

So, what is the reason there needs to be delay added to bots joining? For dods, when playing solo on a listenserver, I like all bots to join before the warmup period is over, so all bots will be ready for the start of the round. Will this cause bots to join late? unsure.gif

If so, could it be done as a cvar, to adjust the delay from 0 or higher ?


the delay will not be noticeable.it'll be like 0.1 seconds. smile.gif the reason for this is because if you add many bits with one console command, out well be trying to add many bots one frame possibly causing a crash. so just to separate one bit for each frame will do the trick. smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic


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

 



- Lo-Fi Version Time is now: 16th June 2025 - 02:18 PM