Jump to content

Home

Call the Console Patrol!!


The Mad Hatter

Recommended Posts

Ok, so I need a console command that will print a message every time I select a certain weapon. (example: In Game, I pull out my lightsaber, and a message flashes on the top of the screen saying,"Hello, my name is Inigo Montoya, you killed my father, prepare to die.") How would I bind a console command to that sort of function, if it is possible?

Link to comment
Share on other sites

If it were plain Q3A, this would be it. It'll prolly work in JK2. Also, I'm not sure the lightsaber is weapon 1; check your config file to make sure.

 

set inigo "weapon 1; say Hello, my name is Inigo Montoya, you killed my father, prepare to die."

bind x "vstr inigo"

Link to comment
Share on other sites

I was wondering if there was anyway to make it permanently load in single player the following commands:

 

helpUsObi 1

g_saberRealisticCombat 1

g_dismemberment 1

 

I heard that this is what you use to get more realistic saber fighting, but it's a pain to type it in every game. Thanks.

Link to comment
Share on other sites

In your GameData/Base folder, create a new text file.

 

Open the file and type in those commands, giving each one a line

 

HelpUsObi 1

g_saberrealisticcombat 2

g_dismember 1

 

like that, save it and close the file. Then change the file type to ".cfg" without the quotes. When in the game, go into the console and type "exec (name of file).cfg" again, without the quotes. And there you go...if that doesn't work:

 

type all those commands in the game, so its all set just as you like it and go into the console and type "writeconfig autoexec.cfg" and it will make the file for you, and since its called "autoexec.cfg" it will automatically run everytime the game is started.

Link to comment
Share on other sites

Again, I'm not at home so I can't check the commands. Replace (sabercolor blank) with whatever the real command is. Also, replace weapon 1 with whatever the command for the lightsaber is.

 

(see below for update)

 

I can't try it out here, but that's what it would be in Q3.

Link to comment
Share on other sites

set saber0 "seta color1 0; set lsaber vstr saber1"

set saber1 "seta color1 1; set lsaber vstr saber2"

set saber2 "seta color1 2; set lsaber vstr saber3"

set saber3 "seta color1 3; set lsaber vstr saber4"

set saber4 "seta color1 4; set lsaber vstr saber5"

set saber5 "seta color1 5; set lsaber vstr saber6"

set saber6 "seta color1 6; set lsaber vstr saber0"

vstr saber0

set lsaber vstr saber0

bind x "vstr lsaber"

 

 

That works. Try it out and see. Copy and paste into your jk2mpconfig.cfg file. Each time you press x you'll change your saber color.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...