PDA

View Full Version : help relating to server coding..


saltank
06-22-2002, 04:29 AM
Whenever I make a server, I just want to have force jump and force offence/defence enabled to max for alll players..how do i do that!??!? I cant seem to figure it out :(

Arkule
06-22-2002, 04:49 AM
There is a console command for restricting certain force powers.
g_forcepowerdisable
with a number after it. That number corresponds to the power you want to disable. Add the numbers for multiple power disabling.

0=All Forces Enabled
1=Heal
2=Jump
4=Speed
8=Push
16=Pull
32=Mind Trick (L)
64=Grip (D)
128=Lightning (D)
256=Dark Rage (D)
512=Protect (L)
1024=Absorb (L)
2048=Team Heal
4096=Team Energize
8192=Drain (D)
16384=Seeing
32768=Saber Attack
65536=Saber Defend
131072=Saber Throw
262143=All Forces Disabled

Emon
06-23-2002, 12:55 AM
Ooor, you could just use forcetoggle...

Type forcetoggle xx to disable a certain Force power, just type forcetoggle to get a list of corresponding numbers and what is enabled and disabled.