I've made a tut and so have Azumikkel.
USE the gay search button
Edit: Third option after searching and i found my own post...
Originally Posted by TheLynx
"How do i add bots in my mod?"
Open the mod folder and open all the folders and search for _rank.gsc open it.
Scroll through the text until u see the onPlayerSpawned();
Add this line to it
[php]self thread initTestClients(15); //Replace 15 with however many bots you want[/php]
It should look like this
self thread initTestClients(15); //Replace 15 with however many bots you want
If u find any other codes like "self thread *****" in the onPlayerSpawn DON'T delete them, they makes the mod work.
Then u need to add these threads somewhere in the mod
(I added them right below the OnPlayerSpawn(); thread)
for(i = 0; i < numberOfTestClients; i++)
ent[i] = addtestclient();
self endon( "disconnect" );
self notify("menuresponse", game["menu_team"], "autoassign");
self notify("menuresponse", "changeclass", "class" + randomInt( 5 ));
self waittill( "spawned_player" );
[/php] And now u are good to go.
Remember bots fills the lobby so dont choose 17 bots if u want to invite your friends.