PDA

View Full Version : Can I write a script or something...?


gLIido
05-13-2002, 08:14 PM
...to disable a group of force powers for multiplayer games? Please help.

m64253
05-13-2002, 08:38 PM
I found this in one of the forums:

Use this on to set disable no forcepowers

g_forcePowerDisAble 0

Use this to disable/turn on forcepowers

forcetoggle 1 //JUMP - Status: Enabled
forcetoggle 3 //PUSH - Status: Enabled
forcetoggle 4 //PULL - Status: Enabled
forcetoggle 2 //SPEED - Status: Enabled
forcetoggle 14 //SEEING - Status: Enabled

forcetoggle 10 //ABSORB - Status: Enabled
forcetoggle 0 //HEAL - Status: Enabled
forcetoggle 9 //PROTECT - Status: Enabled
forcetoggle 5 //MINDTRICK - Status: Enabled
forcetoggle 11 //TEAM HEAL - Status: Enabled

forcetoggle 6 //GRIP - Status: Enabled
forcetoggle 7 //LIGHTNING - Status: Enabled
forcetoggle 13 //DRAIN - Status: Enabled
forcetoggle 8 //DARK RAGE - Status: Enabled
forcetoggle 12 //TEAM REPLENISH - Status: Enabled

forcetoggle 15 //SABER OFFENSE - Status: Enabled
forcetoggle 16 //SABER DEFENSE - Status: Enabled
forcetoggle 17 //SABER THROW - Status: Enabled

Hope I helped

gLIido
05-13-2002, 09:09 PM
Originally posted by m64253
I found this in one of the forums:

Use this on to set disable no forcepowers

g_forcePowerDisAble 0

Use this to disable/turn on forcepowers

forcetoggle 1 //JUMP - Status: Enabled
forcetoggle 3 //PUSH - Status: Enabled
forcetoggle 4 //PULL - Status: Enabled
forcetoggle 2 //SPEED - Status: Enabled
forcetoggle 14 //SEEING - Status: Enabled

forcetoggle 10 //ABSORB - Status: Enabled
forcetoggle 0 //HEAL - Status: Enabled
forcetoggle 9 //PROTECT - Status: Enabled
forcetoggle 5 //MINDTRICK - Status: Enabled
forcetoggle 11 //TEAM HEAL - Status: Enabled

forcetoggle 6 //GRIP - Status: Enabled
forcetoggle 7 //LIGHTNING - Status: Enabled
forcetoggle 13 //DRAIN - Status: Enabled
forcetoggle 8 //DARK RAGE - Status: Enabled
forcetoggle 12 //TEAM REPLENISH - Status: Enabled

forcetoggle 15 //SABER OFFENSE - Status: Enabled
forcetoggle 16 //SABER DEFENSE - Status: Enabled
forcetoggle 17 //SABER THROW - Status: Enabled

Hope I helped

Thanks, but I already knew that. Is there anyway I can write a config or something using these commands to disable all force powers except for the neutral powers?

gLIido
05-13-2002, 10:18 PM
BUMP

Kralj
05-13-2002, 10:23 PM
BONK

BlackDove
05-13-2002, 10:36 PM
SPANK

Chastan
05-14-2002, 01:26 AM
save those commands in a textfile named

force.cfg (well whatever.cfg)

put it in the "Main" directory inside Gamedata in the JK2 directory.

Now once your server is started type inside the console

\exec force.cfg


you may be able to type this in before the server starts running I'm not 100% it will keep the values after it starts running though

Anybody else who wants to correct me go ahead I'm not perfect =)