.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > RealBot > Help request
Help request Need help? Ask around here! (for questions about the source code, go to the RealBot 'Source')

Reply
 
Thread Tools
Key Bind to add multiple bots pressing just 1 key?
Old
  (#1)
matd
Guest
 
Status:
Posts: n/a
Default Key Bind to add multiple bots pressing just 1 key? - 10-07-2004

hi,

I use RealBot a lot, but it would be a lot easier if i could bind a key or add an entry in commandmenu.txt to add a certain number of Terrorist and Counter-Terrorists rather than having to go through commandmenu and selecting them one at a time.

I have tried both setting up a bind in config.cfg :-

bind "PGDN" "rcon realbot add 1 5;rcon realbot add 1 5;rcon realbot add 1 5;rcon realbot add 1 5;rcon realbot add 1 5;rcon realbot add 1 5;"

And also in commandmenu.txt :

"3" "Add 9 CT and 9 T" "rcon realbot add 1 5; rcon realbot add 1 5; rcon realbot add 1 5; rcon realbot add 1 5; rcon realbot add 1 5; rcon realbot add 1 5; rcon realbot add 1 5; rcon realbot add 1 5; rcon realbot add 1 5; rcon realbot add 2 5; rcon realbot add 2 5; rcon realbot add 2 5; rcon realbot add 2 5; rcon realbot add 2 5; rcon realbot add 2 5; rcon realbot add 2 5; rcon realbot add 2 5; rcon realbot add 2 5"
}

But both just add 3 terrorists and nothing else?.....

Is there a character length limit on realbot commands or am i doing somthing wrong?

I know there is internet mode for realbot but i'd like to have total control over the skill and numbers added to each team and just be able to press 1 key to set this up when playing a game.

Any help greatly appreciated :-)
  
Reply With Quote
Re: Key Bind to add multiple bots pressing just 1 key?
Old
  (#2)
V or 'Tex
Member
 
Status: Offline
Posts: 121
Join Date: Feb 2004
Default Re: Key Bind to add multiple bots pressing just 1 key? - 10-07-2004

You are doing local games or dedicated server?

Why not do this:

alias RBCT "realbot add 2"

alias CT2 "RBCT;RBCT"

alias CT4 "CT2;CT2"

alias CT8 "CT4;CT4"

alias CT16 "CT8;CT8"


Likewise for terrorists. And you can make it even easier if you use ratios at a higher level, lets say...

alias rbadd1 realbot add [?]
alias rbadd2 realbot add [?]
alias rbadd3 realbot add [?]
etc

alias Addbots "rbadd1;rbadd2;rbadd3;rbadd4"

alias Bots8 "Addbots;Addbots"

alias Bots16 "Bots8;Bots8"

etc..
  
Reply With Quote
Re: Key Bind to add multiple bots pressing just 1 key?
Old
  (#3)
matd
Guest
 
Status:
Posts: n/a
Default Re: Key Bind to add multiple bots pressing just 1 key? - 10-07-2004

Thank you V or 'Tex!

Thats just what i wanted, it works very well
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com