smurfboy
New Member
Smurfboy Just Gone 3D
Posts: 17
|
Post by smurfboy on Aug 4, 2006 14:55:29 GMT -5
Is there anyway to get a random number of bots to join from the list of names I have without the same name being used twice.
As you end up with e.g john (1)john
and they can even be on the same team, its kinda crappy
Anyway to resolve this?
|
|
|
Post by Grubber on Aug 4, 2006 19:48:54 GMT -5
Go into your (Foxbot\tfc\configs\) folder. There's a file in there called mapname_bot.cfg. Substitue (mapname) for the map that you want the specific bots joining on. Example: Create a new file named 2fort_bot.cfg
Ok, now i want John_doE as a medic on team 2
Example of syntax: addbot <team> <model> <name> <skill> addbot 2 5 John_doE
That right there will give me a bot on Red Team, as a Medic, with the name John_doE
Then just proceed with as many addbot as above with specific class & name for ANY Map! Then whatever maps you play as they change, so will the bots names & classes if you choose to change that to.
Here's an example of badlands_bot.cfg:
//Bot cvars bot_chat 0 botskill 1 min_bots -1 max_bots 10 bot_team_balance 0 bot_bot_balance 0 pause 3 bot_xmas 0 defensive_chatter 1 offensive_chatter 1
//misc cvars mp_timelimit 60 mp_flashlight 1 mp_footsteps 0 sv_gravity 500 maxplayers 20
//addbot section addbot 1 9 Grubber 1 addbot 2 6 Phi|-DeGrave addbot 1 5 DrEvil addbot 2 4 BoneCrusher 2 addbot 1 8 Stabby
Any configs that you make for any map go into the configs folder. FoxBot\tfc\configs\
Then when your listenserver changes to that map it will load all your settings.
|
|
smurfboy
New Member
Smurfboy Just Gone 3D
Posts: 17
|
Post by smurfboy on Aug 5, 2006 7:25:52 GMT -5
Thanks again mate.
Ive got plenty questions for you still to come lol
|
|