Jump to content

Home

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


g-spot

Recommended Posts

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

Link to comment
Share on other sites

  • 6 months later...
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:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...