The Austrian Posted March 29, 2002 Share Posted March 29, 2002 I have found that simply reducing force power rank via g_maxforcerank is insufficient for my server. I'd like to maintain all of the jumping powers, and permit push and pull, as well as all the saber skills (including throw) but the additional powers are becoming a problem, I'd like to restrict just the dark and light specific powers (heal, drain, lightening, etc.) I see the setting "g_duelWeaponDisable" with a "65531" in it, leading me to believe you can very specifically allow and restrict various weapons (and perhaps force powers?). Does anyone know how I can impose the restrictions I'm looking for on a dedicated server? Failing that, perhaps there's a way to specifically adjust how many points each level in "g_maxForceRank" has? [Edited to ask last question] Link to comment Share on other sites More sharing options...
The Austrian Posted March 30, 2002 Author Share Posted March 30, 2002 btt Link to comment Share on other sites More sharing options...
uteboy Posted March 30, 2002 Share Posted March 30, 2002 From Ravens New Faq: g_forcePowerDisable: Nothing is disabled if set to zero. All force powers are disabled if set to 32767. The number is the total of a bitfield with 15 bits, each bit representing a force power. Link to comment Share on other sites More sharing options...
The Austrian Posted March 30, 2002 Author Share Posted March 30, 2002 Actually, while this appears so its VERY hard to figure out what bit is which. Ugh. Best I can tell: 1- Heal 8- Push 32- Mind Trick 64- Grip 128- Lightning 256- Dark Rage 8192- Drain Unfortunately, many of the bits also seem to disable saber throw and jump. Anyone have others, and can anyone explain why saber throw and jump seem to be disabled when any of these bits are set? Also, there is a bit of a bug. Setting g_forcePowerDisable to anything but "0" disables the ability to change force settings at all and indicates "Force Disabled" such that players cannot change their settings. This means they have to leave, go to a server with g_maxForceRank "7", set their settings, leave and come back. That's a pain. This is a problem in that, at least on my server, we would like to eliminate Drain, Rage, Lightning, Heal, Grip, Protect, and Absorb, but leave Jump, all 3 Saber forces (attack, defend, throw), Push and Pull. So is this possible? After 3 hours of experimentation I don't think it is. Link to comment Share on other sites More sharing options...
Leo Posted March 30, 2002 Share Posted March 30, 2002 You know what is the number for Jump force only ? Link to comment Share on other sites More sharing options...
The Austrian Posted March 30, 2002 Author Share Posted March 30, 2002 Originally posted by Leo You know what is the number for Jump force only ? No. I wish I did. It seems to get disabled whichever bit I set. Have you had any luck? Link to comment Share on other sites More sharing options...
Leo Posted March 30, 2002 Share Posted March 30, 2002 No, I wish we could have more details on this matter. With the right settings we could make a very enjoyable server to play. Link to comment Share on other sites More sharing options...
Nefilim Posted March 30, 2002 Share Posted March 30, 2002 I would very much like to do exactly that also, I hope you guys can figure it out. Link to comment Share on other sites More sharing options...
dustoff Posted March 31, 2002 Share Posted March 31, 2002 g_forcePowerDisable appears to be very buggy -- unless there are some logical dependancies in the force powers? Raven, any comment on this? So far all of the higher force powers I've tried disabling end up disabling everything. Link to comment Share on other sites More sharing options...
Valdarious Posted March 31, 2002 Share Posted March 31, 2002 Is this anything like the ol dmflags options from the like quake 2 and stuff, where depending on what the final number is, is equal to the total things you want in the game? In other words if you just wanted Heal and Push in(by what you were gathering), the number should be 9? Link to comment Share on other sites More sharing options...
xgalaxy Posted March 31, 2002 Share Posted March 31, 2002 0 -- Full Force 1 -- Heal 2 -- 4 -- 8 -- Push 16 -- 32 -- Mind Trick 64 -- Grip 128 -- Lightening 256 -- Dark Rage 512 -- 1024 -- 2048 -- 4096 -- 8192 -- Drain 16384 -- 32767 -- No Force Thats all I can figure out so far. All the other settings dont seem to do anything..ugh. Any bit disabled disables jump and throwing. Some of the other settings are probably saber defende saber throw and so forth. You add the bits together to get the combination of forces you want to disable read NOT disable as this is the nature of the variable. Link to comment Share on other sites More sharing options...
Darf Posted March 31, 2002 Share Posted March 31, 2002 I noticed that the client reports your force points to the server via the "forcepowers" cvar, perhaps there's a way to force this variable to be the same for every client that connects regardless of their config? Ideas? Link to comment Share on other sites More sharing options...
The Austrian Posted March 31, 2002 Author Share Posted March 31, 2002 Originally posted by Darf I noticed that the client reports your force points to the server via the "forcepowers" cvar, perhaps there's a way to force this variable to be the same for every client that connects regardless of their config? Ideas? Could you elaborate on this? Where did you see this? Link to comment Share on other sites More sharing options...
ManeFraim Posted March 31, 2002 Share Posted March 31, 2002 Ok.... so I've been reading these boards since the 24th (when I got my grubby little hands on this fine game ) Now, I'd like to pay it all back First, the good news.... HERE is the complete bitfield for forcepowerdisable 0 Heal 1 ? 2 Speed 3 Push 4 Pull 5 Mind Trick 6 Grip 7 Lightning 8 Dark Rage 9 Protect 10 Absorb 11 Team Heal 12 Team Energize 13 Drain 14 Seeing If you're not familiar with bitfields (which most of us aren't, unless we're big into programming, or abstract geek math) this is how they work.... The numbers next to the forces represent powers of 2. The bitfield is a series of 15 1's and 0's, all next to each other. THE ZERO POWER IS ON THE RIGHT, AND THE 14TH POWER IS ON THE LEFT. Don't get that confused.... Now then, if g_forcepowerdisable is set to "0" (as it is by default) the bitfield looks as follows... 000000000000000 this 15 digit binary number (that means base 2) represents 0 (zero) if we were to change this number from 000000000000000 to 000000000000001 we would have "flipped the bit" in the zeroth power. As we all remember from grammar school, anything to the zeroth power equals 1, SO.... now our string represents the number 1. Now the other way. if we went from Link to comment Share on other sites More sharing options...
ManeFraim Posted March 31, 2002 Share Posted March 31, 2002 (Sorry about the double post...) Ok.... so I've been reading these boards since the 24th (when I got my grubby little hands on this fine game ) Now, I'd like to pay it all back First, the good news.... HERE is the complete bitfield for forcepowerdisable 0 Heal 1 ? 2 Speed 3 Push 4 Pull 5 Mind Trick 6 Grip 7 Lightning 8 Dark Rage 9 Protect 10 Absorb 11 Team Heal 12 Team Energize 13 Drain 14 Seeing If you're not familiar with bitfields (which most of us aren't, unless we're big into programming, or abstract geek math) this is how they work.... The numbers next to the forces represent powers of 2. The bitfield is a series of 15 1's and 0's, all next to each other. THE ZERO POWER IS ON THE RIGHT, AND THE 14TH POWER IS ON THE LEFT. Don't get that confused.... Now then, if g_forcepowerdisable is set to "0" (as it is by default) the bitfield looks as follows... 000000000000000 this 15 digit binary number (that means base 2) represents 0 (zero) if we were to change this number from 000000000000000 to 000000000000001 we would have "flipped the bit" in the zeroth power. As we all remember from grammar school, anything to the zeroth power equals 1, SO.... now our string represents the number 1. AND WE HAVE DISABLED HEAL!!!!! Now the other way. if we went from 000000000000000 to 100000000000000 we would have flipped the bit in the 14th power. Since this is, again, base 2 notation, that means that we have 2 to the 14th power in our bitfield. So this new string represents the number 16,384. AND WE HAVE DISABLED SEEING!!!! To enable and disable forces together, you have to flip the appropriate bits, according to the table above, and then convert the binary number you get to decimal notation. You may either work out these numbers as sums of values, or by using a fancy int-o-net converter. I found one which is real useful here: http://www.onlineconversion.com/base.htm so to disable grip, push, and mindtrick, we would create the following bitfield 000000001101000 This comes out to be 104 in decimal (2^3 + 2^5 + 2^6). g_forcepowerdisable = 104...... Have fun.... Link to comment Share on other sites More sharing options...
ManeFraim Posted March 31, 2002 Share Posted March 31, 2002 Also, the forcepowers cvar, follows the same ordering scheme, REVERSED however, with a little more info tacked on for good measure... 7-2-030000003000020321 as a forcepowers cvar means 7 - g_maxforcerank 2 - Darkside force (1 is Light) Jump 3rd Level Dark Rage 3rd Level Drain 3rd Level Sabre Attack 3rd Level Sabre Defend 2nd Level Sabre Throw 1st Level you can view this by typing \clientinfo in the console This might be the right place to look to solve our pickiness.... Link to comment Share on other sites More sharing options...
TseTse Posted March 31, 2002 Share Posted March 31, 2002 ok, 99% of us are not going to learn this math/computer crap, so somebody please just kinda outline a set popular setttings? some nice server sets come to mind: - saber powers only - push/pull + saber powers - only generic (non dark/light) powers - keep everything but heal and drain Link to comment Share on other sites More sharing options...
Nefilim Posted March 31, 2002 Share Posted March 31, 2002 Full Push/Pull/Jump and maxxed saber skills ONLY would make for the ultimate setting imo Link to comment Share on other sites More sharing options...
Uriel Posted April 1, 2002 Share Posted April 1, 2002 People are getting around the no force powers setting somehow, no idea how though.. Link to comment Share on other sites More sharing options...
headless Posted April 1, 2002 Share Posted April 1, 2002 - saber powers only - push/pull + saber powers i would LOVE that too, im suck of people that run stay as far away as they can and use lightning or what have you in a server im trying to run for saber duels. i would be very grateful if someone could also help out with a compleat server config (for a small saber duel server) and or startup command. email me headless@ez69online.com or post here. -Thanks in advance! Headless Link to comment Share on other sites More sharing options...
Bax Posted April 1, 2002 Share Posted April 1, 2002 It would be really cool if we could limit the healing to 1 "step" so that you would have to kneel to be able to heal. Link to comment Share on other sites More sharing options...
Raze Posted April 1, 2002 Share Posted April 1, 2002 Very nice job ManeFraim! (Geez, Id rather write MainFrame =P ) Btw, it's very easy to get the number .. just start up your windows calculator, choose scientific view, click on 'Bin' . Now look at the list of ManeFraim, and - starting at the end of it - push 0 if you want the power disabled and 1 if you want it enabled. Go through the whole list. Now in the calculator, hit DEC and it'll give you the number you need. - keep everything but heal and drain 101111111111110 = 8190 Only problem.. there are no saber forces in the list? Link to comment Share on other sites More sharing options...
madrebel Posted April 1, 2002 Share Posted April 1, 2002 good thing its not complicated Link to comment Share on other sites More sharing options...
ManeFraim Posted April 1, 2002 Share Posted April 1, 2002 Thanks Raze... I really wanted to help..... BTW, Y'all, in the g_forcepowerdisable string, the 1st power bit (second from the right) HAS to be jump, (it is for the forcepowers cvar) but leaving it enabled does nothing!!!! Arrgh... Link to comment Share on other sites More sharing options...
The Austrian Posted April 1, 2002 Author Share Posted April 1, 2002 Originally posted by Raze Very nice job ManeFraim! (Geez, Id rather write MainFrame =P ) Btw, it's very easy to get the number .. just start up your windows calculator, choose scientific view, click on 'Bin' . Now look at the list of ManeFraim, and - starting at the end of it - push 0 if you want the power disabled and 1 if you want it enabled. Go through the whole list. Now in the calculator, hit DEC and it'll give you the number you need. - keep everything but heal and drain 101111111111110 = 8190 Only problem.. there are no saber forces in the list? No, the problem is that there is a bug and if you disable anything above the third bit saber throw and jump get disabled too. This is not a priority for them to fix, according to my limited discussions. I suggest if you want this fixed you ask the people at Raven directly so they can see there is an interest in fixing this. I've spent 5-6 hours trying to get a server without any light or dark powers but all the neutral powers. (i.e. a server you can throw saber and jump on, push and pull, but none of the "cheap" powers like drain and grip). Pretty much impossible so far as I can tell. According to Raven the g_disableForcePower feature is broken. If anyone has a work-around I would REALLY like to know. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.