Jump to content

Home

Is there a way to autoload commands in SP?


Usurper

Recommended Posts

Hello all....

 

Is there a way to make it so commands load up every time you run the SP game? Like an autoexec file of some sort?

 

I want to run these commands every time I play without having to input them manually every time I load the game....

 

helpusobi 1

g_saberrealisticcombat 3

g_dismemeberment 1

 

If anyone could point me in the right direction, I'd appreciate it.

 

[usurper]

Link to comment
Share on other sites

create a text file in your Base directory and name it autoexec.cfg

 

then add the commands you want to autoload when you start a game.

 

the only caution is this:

it auto loads for both SP and MP, so make sure the commands you put into the config, are ones you don't mind loading in BOTH styles.

 

I made the mistake of adding my MP control commands to the file and when I loaded up SP I couldn't do anything I was used to for my SP controls.

 

the purple one

Link to comment
Share on other sites

  • 3 weeks later...
Originally posted by patchx

will that overwrite the config in JK2config.cfg?

 

 

-patch

 

If you're referring to autoexec.cfg, then no. It will add it to jk2config.cfg.

After checking, it also seems to add it to jk2mpconfig.cfg.

 

Although some commands won't work unless the server also sets them, unless I'm terribly mistaken (like seta g_dismemberment "3").

Link to comment
Share on other sites

ok, i've known about autoexec's for a long time, but mine never seem to load!! if i exec it from the console, it works fine. what the hell am i doing wrong? it's in the base directory, and only has two lines in it (so it doesn't exceed the autoexec.cfg size limit). aarrgghhhhhh!

 

Irimi-Ai

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...