Jump to content

Home

escaping the Jedi Console (spawning bots with spaces in names)


g-spot

Recommended Posts

Posted

hi, just wondering how to escape characters in Quake3 engine games (specifically Jedi Knight Jedi Academy):

 

Example:

 

"rcon addbot botname 5 red" is fine if the botname is one word... like "rcon addbot Jedi 5 red"

 

addbot command is:

addbot <botname> <skill> <team>

 

this works if you are the server, e.g.:

addbot "Luke Skywalker" 5 red

 

BUT if you are a remote admin using rcon, the problem of escaping the " (quote character) comes in!!!

:confused:

 

so rcon addbot "Luke Skywalker" 5 red

 

doesn't work...

 

i've tried

rcon addbot \"Luke Skywalker\" 5 red

 

and

rcon "addbot \"Luke Skywalker\" 5 red"

 

but it doesn't work!!!

:confused:

 

always says Luke bot is not defined, so it thinks "Skywalker" is the skill not part of the name...

:(

 

help

 

-g

Posted

I use a modified bot list pk3, that puts underscores in their names.

 

I just assumed you did it like this:

 

 

addbot "Luke Skywalker" 5 blue

 

 

Perhaps try ' instead of " ?

 

Dunno, because the above should work. ; p

  • 6 months later...
Posted

well you can add bots with the menu(press escape).

in the console normally the bots can be spawned by their name. don't try to spawn with the name luke skywalker. try it with luke, it worked for me.

Posted
Originally posted by Ace-_Ventura

well you can add bots with the menu(press escape).

in the console normally the bots can be spawned by their name. don't try to spawn with the name luke skywalker. try it with luke, it worked for me.

 

You can only add bots with the menu if you're the server host. If you're not the server host, it's grayed out.

 

If you type "addbot luke" it just says bot not found. :confused:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...