Jump to content

Home

Note on Disabling Force Powers


ChangKhan

Recommended Posts

I get a lot of e-mail complaints from people saying that we allow saber throwing in no force games. This is incorrect as far as I know. The problem, I believe, is that server admins are still using the g_forcePowerDisable values they were using in 1.02. This is incorrect. In 1.02, there was a bug that disabled all force powers above the one you turned off. So if you set it to "1", it would disable all of the powers. This was fixed in 1.03, which means that if you're using a value less than 262140, you're not diabling *all* the powers. Rather than using g_forcePowerDisable directly and having to do the bitmath, use the new server command "forcetoggle". Type it with nothing after it for an explanation of how to use it to toggle each power on and off (also lists the on/off state of each power).

Link to comment
Share on other sites

seta g_forcePowerDisable "163837"

that works

 

my favourite config too man! they should rename force jump ind force kick, tho...

 

anybody knows something about these commands?

what can be done with them?

 

seta g_saberTraceSaberFirst "1"

seta g_saberDmgVelocityScale "0"

seta g_saberDmgDelay_Idle "350"

seta g_saberDmgDelay_Wound "0"

Link to comment
Share on other sites

Hello!

I need some help.

I have download the jk2win32ded.... file for win32. I dont know why i download the ****... eheh.

I always do a dedicated server but when i download the files and put it in to the right place. I couldn´t find my server on internet. BUT! I find it on Local! After my servers name its written [uPD] Whats that???????????

Please help me! I must create a ded server! so people can go in!!!! Very soon!

 

tHANKS ALL!!!!!!!!!!!!!!!!!!!!!!!!!!!! :mad:

THE FORUM IS LIKE A DEAD GRAVEYARD!

 

bluearmyclan@hotmail.com

Link to comment
Share on other sites

The bit math isn't too hard. I don't run a server right now - 56k - , but I was bored so I put together an HTML document with all the bit flags for force powers and how to use them, hopefully it's usefull to someone. Easier to use and less code than \ToggleForce "N" multiple times ;)

 

Find it: Here

 

Please excuse the bad HTML, I don't use it very often :p

Link to comment
Share on other sites

After trying to figure out why my I couldn't force jump on my server without being lightning'ed (etc) to death for about 2 hours.... I finally found this info.

 

Yet another NEEDED setting that should be in the server setup menu...

Link to comment
Share on other sites

  • 2 weeks later...

I gotta question, but I probably already know the answer...

 

 

I have lightning disabled on my server. And my server shows up as being a non-force server which isn't true. Is there anyway to get rid of this message about my server being non-force?

 

Second question. I enforce a few rules on my server. in the g_motd I'm given very little space, I have no bot to continually post the rules ingame. So I'm wondering if there's yet another way to inform players of the rules via the server. I've heard about it, but not seen it, that I coudl actually flash some message on the screen as opposed to the regular text area. Like in the area where normally you would be told you killed so and so.

Link to comment
Share on other sites

Originally posted by NITEMARE

seta g_forcePowerDisable "163837"

that works

 

my favourite config too man! they should rename force jump ind force kick, tho...

 

anybody knows something about these commands?

what can be done with them?

 

seta g_saberTraceSaberFirst "1"

seta g_saberDmgVelocityScale "0"

seta g_saberDmgDelay_Idle "350"

seta g_saberDmgDelay_Wound "0"

 

Now what would i change the value of "163837" to include Force Saber Throw?

Link to comment
Share on other sites

  • 2 weeks later...

Well you can tweak the server with forcetoggle anyhow, so you dont have to bring your calculator while you're configuring your server =P

 

 

BTW, wouldn't it be nice to have some sort of weapontoggle option, like forcetoggle? So you can enable/disable weapons and items on the fly? =P

 

That would be sweet!

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

Here is what I did:

 

I started up the server. There is a command called forcetoggle(Kurashu talked about this) and when you type it in you will see a list of the 17 different forces. Basically if you type forcetoggle #(the # corrosponds to the force in the list) if it was enabled it will now be disabled and vice versa. After you have made all the changes you want and the forces are enabled and disabled as you like, check the last line and the server should have printed a number followed by a /n. If you use this number in your server.cfg(or whatever file you use) it will save those settings every time you open the server.

 

ex of the line: set g_forcePowerDisable 32741

 

That is only jump, push, pull, and the saber throw, defense and offense.

 

What I did notice when checking if this worked was the templates are still able to effect the powers. Is there any way to delete those are prevent people from using them?

 

-ronsonol

Link to comment
Share on other sites

OK, here's what i want:

Enable, using /forcetoggle:

Force jump, throw, defend, attack, speed, absorb, push, pull

 

I also want to enable dismemberment, which i think is:

/g_dismember 2

 

and finally, is there a way to cycle only specific maps?

like, can i set it to choose only certain maps to cycle thru?

thanks in advance

Link to comment
Share on other sites

  • 3 weeks later...

RandomAxess say:

OK, here's what i want:

Enable, using /forcetoggle:

Force jump, throw, defend, attack, speed, absorb, push, pull

Force jump = 2

throw= 131072

defend= 65536

attack= 32768

speed= 4

absorb= 1024

push= 8

pull= 16

 

2+4+8+16+1024+32768+65536+131072 = 230 430

262143 (all force disable) - 230430 = 31713

your seta g_forcePowerDisable "31713"

 

RandomAxess say:

I also want to enable dismemberment, which i think is:

/g_dismember 2

i don't know the difference of /g_dismember 1 and /g_dismember 2

Link to comment
Share on other sites

  • 5 weeks later...
  • 2 weeks later...
  • 3 weeks later...

I to use JEDIRUNNER sometimes, its a good tool for new users or non programmers. It make all those force and weapon controls just a click of a button. You can even select force or weapon respawn times.

the other option is to: activate the console and type cvarlist or commandlist. Use the page up and down button to scroll to see all the variables. Lets use the dismemberment variables. you will see the command G_DISMEMBER "XX" and CG_DISMEMBER "XX".

Type the command and put a different number where the XX are, in this case "100" for both commands. Now if the server you play is et to 100 you can see full dismemberment arms, legs, heads and bodies in half!

 

Most variables use "0" and "1" for on and off.

 

Have fun :ninja1:

Link to comment
Share on other sites

  • 2 months later...
  • 5 weeks later...
anybody knows something about these commands?

what can be done with them?

 

seta g_saberTraceSaberFirst "1"

seta g_saberDmgVelocityScale "0"

seta g_saberDmgDelay_Idle "350"

seta g_saberDmgDelay_Wound "0"

 

g_saberDmgVelocityScale "0" if greater than 0, people move when hit by saber, the grater the number, the faster they move.

 

g_saberDmgDelay_Idle "350" is the time in ms (i think) between "strikes" when somebody is touching your saber and you are not swinging it.

 

g_saberDmgDelay_Wound "0" same as above, but when swinging.

 

g_saberTraceSaberFirst "1" i think this checks if the saber hits something before you se the actual move, not really sure.

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 months later...
  • 2 months later...

Archived

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

×
×
  • Create New...