ZeroX2 Posted October 22, 2005 Share Posted October 22, 2005 I know you can use bot_minplayers to automatically add bots to the server when the total number of players drops under a set number - but is there any way to have this add specific bots? For example, if I wanted to have only Desann and Tavion bots join the game? Link to comment Share on other sites More sharing options...
razorace Posted October 22, 2005 Share Posted October 22, 2005 hmmm, that's a tricky one. Maybe just remove all your extra mod botfiles and overwrite the basejka ones (by using a extra .pk3, never directly alter the asset pk3s) with blank files except for the ones you want? Link to comment Share on other sites More sharing options...
-bLaSt Posted October 22, 2005 Share Posted October 22, 2005 If he creates a botfiles.pk3 with only the info from Tavion and Desann, and upload it to the base folder... only those bots should load. I do it on my disruption instagib CTF server for custom bots (the foul-mouthed ba***rds). Link to comment Share on other sites More sharing options...
ZeroX2 Posted October 22, 2005 Author Share Posted October 22, 2005 Are you sure? Why would that stop the other bots from showing up? I'll try it in a bit anyway - thanks. Edit: It didn't work. I made a botfiles.pk3 file with /scripts/ and /botfiles/ folders. Could I be doing something wrong? Link to comment Share on other sites More sharing options...
riceplant Posted October 23, 2005 Share Posted October 23, 2005 Well, if all your new pk3 contained was a couple empty folders, then yes, you're doing something wrong. Link to comment Share on other sites More sharing options...
lukeskywalker1 Posted October 23, 2005 Share Posted October 23, 2005 You have to include the Desann and Tavion files! Link to comment Share on other sites More sharing options...
ZeroX2 Posted October 23, 2005 Author Share Posted October 23, 2005 Well, yeah, I did that of course. >_> I have the personality file under /botfiles and the bot script itself under /scripts. Link to comment Share on other sites More sharing options...
lukeskywalker1 Posted October 23, 2005 Share Posted October 23, 2005 Hmmm... well. IDK... sorry man. I think Kurgan had only custom bots to load on his server. I could be wrong :-\ Link to comment Share on other sites More sharing options...
-bLaSt Posted October 23, 2005 Share Posted October 23, 2005 You need to have the .jkb files for desann and tavion in a folder called botfiles, zip this folder to a .zip file... then change the suffix to .pk3 instead of .zip. The contents of this pk3 will supercede anything in the assets files. Link to comment Share on other sites More sharing options...
razorace Posted October 23, 2005 Share Posted October 23, 2005 I think he's referring to exclusively loading D and V rather than simply using different bot files for D and V. Link to comment Share on other sites More sharing options...
riceplant Posted October 23, 2005 Share Posted October 23, 2005 Which might work if you use blank (i.e. there, but empty) files for all other bots. Simply placing a couple of new bot files won't do it, unlike in JO. Link to comment Share on other sites More sharing options...
-bLaSt Posted October 23, 2005 Share Posted October 23, 2005 [The contents of this pk3 will supercede anything in the assets files.] Meaning the game WON'T see the other bots... hence they can not be loaded by maxbots. Link to comment Share on other sites More sharing options...
ZeroX2 Posted October 23, 2005 Author Share Posted October 23, 2005 You need to have the .jkb files for desann and tavion in a folder called botfiles, zip this folder to a .zip file... then change the suffix to .pk3 instead of .zip. The contents of this pk3 will supercede anything in the assets files. That's what I did. =/ Link to comment Share on other sites More sharing options...
-bLaSt Posted October 23, 2005 Share Posted October 23, 2005 oops... I'm sry, i left out an important part. You ALSO need to put in that botfiles.pk3 a file called bots.txt with the following: { name "Desann" funname "Desann" model Desann color1 0 color2 0 saber1 "single_9" saber2 "none" personality /botfiles/Desann.jkb } { name "Tavion" funname "Tavion" model Tavion color1 0 color2 0 saber1 "single_9" saber2 "none" personality /botfiles/Tavion.jkb } I forget whether or not Desann and Tavion are capitalized in the original files so double check that. Also you can make the funname ANYTHING you want the bots to be named on the server. Configure their sabers and personality files. What I entered here may not be exactly right for Desann and Tavion but it should get you going. Link to comment Share on other sites More sharing options...
ZeroX2 Posted October 23, 2005 Author Share Posted October 23, 2005 It still doesn't work. >_> Link to comment Share on other sites More sharing options...
Kurgan Posted October 23, 2005 Share Posted October 23, 2005 Hmm, I always just did it manually. Create a cfg file where I kick the other bots and add specific bots by name. Then I bind that cfg file to a key. Of course this was before OJP. I still add my own bots by name sometimes, I just don't try and remove the others completely forever... they still show up. But good luck, that sounds like an interesting idea! Link to comment Share on other sites More sharing options...
-bLaSt Posted October 23, 2005 Share Posted October 23, 2005 I'm doing this on my Disruption server. I have a botfiles with 5 custom bots and they are the ONLY bots that can spawn with maxbots. Link to comment Share on other sites More sharing options...
ZeroX2 Posted October 23, 2005 Author Share Posted October 23, 2005 Strange. What could I be doing wrong then? I now have a botfiles.pk3 file containing a /botfiles/ folder, which contains the .jkb file and the bots.txt file. I've tried moving the bots.txt file outside the /botfiles/ folder, and several other things. Nothing works. >_> Link to comment Share on other sites More sharing options...
Kurgan Posted October 23, 2005 Share Posted October 23, 2005 -bLaSt, maybe just send him the file you're talking about (or one like it). Link to comment Share on other sites More sharing options...
lukeskywalker1 Posted October 24, 2005 Share Posted October 24, 2005 oops... I'm sry, i left out an important part. You ALSO need to put in that botfiles.pk3 a file called bots.txt with the following: { name "Desann" funname "Desann" model Desann color1 0 color2 0 saber1 "single_9" saber2 "none" personality /botfiles/Desann.jkb } { name "Tavion" funname "Tavion" model Tavion color1 0 color2 0 saber1 "single_9" saber2 "none" personality /botfiles/Tavion.jkb } I forget whether or not Desann and Tavion are capitalized in the original files so double check that. Also you can make the funname ANYTHING you want the bots to be named on the server. Configure their sabers and personality files. What I entered here may not be exactly right for Desann and Tavion but it should get you going. Sounds like it should work perfectly, given what I know about JKA. I mean, this way JKA only reads the new bots.txt file, which only contains tavion and desann... Link to comment Share on other sites More sharing options...
-bLaSt Posted October 24, 2005 Share Posted October 24, 2005 If you want I'll post a link to my botfiles.pk3 but it's all custom models and skins. Maybe it will show you what you are doing wrong? Link to comment Share on other sites More sharing options...
ZeroX2 Posted October 24, 2005 Author Share Posted October 24, 2005 If you want I'll post a link to my botfiles.pk3 but it's all custom models and skins. Maybe it will show you what you are doing wrong? Yeah, that would help. =) Link to comment Share on other sites More sharing options...
-bLaSt Posted October 24, 2005 Share Posted October 24, 2005 Click me Link to comment Share on other sites More sharing options...
ZeroX2 Posted October 24, 2005 Author Share Posted October 24, 2005 Hmm. I just tried your one, and that's not working for me either. It can't be a problem with the pk3 setup. =/ Link to comment Share on other sites More sharing options...
-bLaSt Posted October 24, 2005 Share Posted October 24, 2005 in your server cfg file you have something like this? seta bot_enable 1 seta bot_minplayers 6 This enables 6 bots that are autokicked as real people join Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.