Jump to content

Jedi Academy turned 20 this year! We celebrated in a ton of different ways: mod contest, server event, podcast, etc. Thank you to all who have been a part of this game for the last two decades. Check out the anniversary content!

Read more

Welcome to JKHub

This community is dedicated to the games Star Wars: Jedi Outcast (2002) and Jedi Academy (2003). We host over 3,000 mods created by passionate fans around the world, and thousands of threads of people showcasing their works in progress and asking for assistance. From mods to art to troubleshooting help, we probably have it. If we don't, request or contribute!

Get started

This game turned 20 years old this year, and it is still one of the greatest Star Wars games of all time. If you're new or returning from a long hiatus, here are the basics of getting started with Star Wars Jedi Knight Jedi Academy in 2023.

Read more

How to rename bots for your Jedi Academy server


Circa

I recommend reading through the RCON guide if you're not familiar with managing your server through the console.

The simplest way to rename bots in basejka is to create new .bot files that use the existing models and then use the "funName" line to name them whatever you want. You can then upload those .bot files to your server either in a PK3 or directly, depending on what works for you.

You can take a pre-existing bot from the game and then just change the name and funName so it's easier to spawn them in the console or type them out in general. Bot files are just text files similar to JSON. You can simply edit them with NotePad or TextEdit. You can create a new file in those programs and save them, just make sure they are saved as .bot, not .txt.

Here is an example of what should be in the .bot file:

{
name		"bot1"
funName		"^1BOT ^5Larry"
model		reborn_twin
color1		0
color2		0
saber1		"single_7"
saber2		"single_7"
personality	/botfiles/Reborn.jkb
}

Save the file as bot1.bot and it will need to go in a folder named scripts. Put that folder in a PK3 or upload it directly to the server in the base folder. You can make as many bots as you want, just make sure they are named something different (bot2, bot3, larry, jerry, gary, etc.).

Once you have them on your server, don't forget to restart the server. You can then use the commands:

rcon addbot bot1

Make sure to also set the amount of minimum amount of bots can be in the server before they get kicked by real people that join. 0-32 (or however many players you allowed). I usually set mine to 3 or 5 depending on activity.

rcon bot_minplayers 5

You can also set the AI level 1-5 after specifying the bot name, and can also specify the team it joins, including spectators.

S = Spectators
R = Red team
B = Blue team

So you'd do it like so:

rcon addbot bot1 5 s
rcon addbot bot2 2 r
rcon addbot bot3 3 b

If you'd like to make them always be spawned in your server on a map rotation, you can add them to your map rotation vstr commands. Here is mine for example:

set d1 "set g_gametype 0; map mp/ffa3 ;set bot_minplayers 3;kick allbots;addbot bot1 5 s;addbot bot2 5 s;set nextmap vstr d2"
set d2 "set g_gametype 0; map mp/ffa2 ;set bot_minplayers 3;kick allbots;addbot bot1 5 s;addbot bot2 5 s;set nextmap vstr d1"

To kick all your bots:

rcon kick allbots

 


User Feedback

Recommended Comments

There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...