Weapon balance testing

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Thu Feb 12, 2009 8:26 am

  • The "Over The Lazy Dog" and "PlanetNexuiz" servers run with statistics recording for weapon balance. Please everyone play on them so we can get a release with nicely balanced weapons out.

    Everyone who did NOT take this chance in helping to balance out the weapons has no right to complain later.

    The weapon balance data works like this: for every frag, the weapons of the killer and his victim are recorded. From this, a kill matrix "Users of this weapon killed users of that weapon so many times" is generated, from which the weapon balance scores are generated using a least squares estimate.

    The resulting numbers will have the property that a weapon holder of a weapon with score X will win against one with weapon with score Y at a probability of about (X-Y) * 0.25 + 0.5. E.g. one with score +1 always wins against one with score -1. The average score is normalized to 0.

    Weapon balance captured with ballistic bullets enabled, but with the stronger Uzi:

    Code: Select all
      Nex                             1.01787 |   .    +0.111 +0.186 +0.262 +0.517 +0.617 +0.366 +0.515 +0.547 +0.806 +0.696 +0.799 +1.000   .   
      Uzi                             0.77656 | -0.111   .    +0.179 +0.118 +0.214 +0.500 +0.043 +0.625 +0.520 +0.660 +0.600 +0.742 +1.000   .   
      Rocket Launcher                 0.43152 | -0.186 -0.179   .    -0.209 +0.256 +0.099 +0.227 +0.160 +0.307 +0.485 +0.563 +0.691 +1.000   .   
      Mortar                          0.42326 | -0.262 -0.118 +0.209   .    -0.071 +0.053 +0.286 +0.200 +0.405 +0.483 +0.478 +0.521 +1.000   .   
      Hagar                           0.18761 | -0.517 -0.214 -0.256 +0.071   .    +0.429 -0.143  0.000 +0.333 +0.438 +0.267 +0.613 +1.000   .   
      Heavy Laser Assault Cannon      0.15445 | -0.617 -0.500 -0.099 -0.053 -0.429   .     0.000 +0.182 +0.257 +0.500 +0.471 +0.714 +1.000 +1.000
      Camping Rifle                   0.10461 | -0.366 -0.043 -0.227 -0.286 +0.143  0.000   .    +0.167 -0.143 +0.302 +0.538 +0.548   .      .   
      Crylink                        -0.03240 | -0.515 -0.625 -0.160 -0.200  0.000 -0.182 -0.167   .    +0.043 +0.277 +0.630 +0.750 +0.333   .   
      Electro                        -0.30860 | -0.547 -0.520 -0.307 -0.405 -0.333 -0.257 +0.143 -0.043   .    +0.302 +0.143 +0.243   .      .   
      Shotgun                        -0.69036 | -0.806 -0.660 -0.485 -0.483 -0.438 -0.500 -0.302 -0.277 -0.302   .    +0.111 +0.089 +0.333   .   
      T.A.G. Seeker                  -0.77381 | -0.696 -0.600 -0.563 -0.478 -0.267 -0.471 -0.538 -0.630 -0.143 -0.111   .    +0.081 +1.000   .   
      Laser                          -1.04216 | -0.799 -0.742 -0.691 -0.521 -0.613 -0.714 -0.548 -0.750 -0.243 -0.089 -0.081   .    -1.000   .   
      Grappling Hook                 -1.35614 | -1.000 -1.000 -1.000 -1.000 -1.000 -1.000   .    -0.333   .    -0.333 -1.000 +1.000   .      .   
      Port-O-Launch                  -2.00000 |   .      .      .      .      .    -1.000   .      .      .      .      .      .      .      .   


    Obviously, the Uzi was too strong then. The currently running test is old settings, with antilagged hitscan bullets.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Thu Feb 12, 2009 11:45 am

  • Wow, very cool statistic system divVerent! The high peak of the nex is really easy to explain, since the statistics run on CTF server, and the most liked and preferred maps are wide and open maps, it comes naturally that people prefer long range accurate weapons. This is the explanation why camping rifle is performing well also, but I still think it's a bit weak :P

    About the machinegun: I agree that with the raised refire rate it got very strong, but also 2 factors raised its value in the weapon matrix: first the same as with nex: the wide open maps, that made mg secondary an optimal long-range weapon especially with the reduced spread on it. Second: people noticed, and I also poked many guys attention on the mg change and the massive usage of it since its test period, so during the testing hours it was much higher than normal.

    Please keep in mind that the weapon balance cant be optimizad by examining only 1 gametype! In DM the numbern can/will/should be totally different.
    Its really really shame that currently there is no SVN Deathmatch server, I would like to see the statistics from there too. Its highly possible that the rocketlauncher and electro would have a quite huge peak, while accurate weapons like nex and machinegun would end in the middle field (even this overpowered mg too, I mean just try to aim accurate while mortars pushing you up and down, rockets blowing into your face, and electroballs blinding your eyes :D talking about at least 6-8 player standard nexuiz maps, like agressor, warfare etc)

    Also by examining those gametype, where players have choice and possibility to pick up and use whatever weapon they want (CTF really IS that one because of the size of the map lower the intense of action providing enough pickup time) its quite unlike that the most preferred nex-mortar-rl-mg quartett will be broken in short term.

    As a conclusion I think that the 2.4.2 machinegun setting was somehow just nicely balanced (well maybe except the long range usage, but it can be lowered by raising the spread a little, or making range-dependent damage), and the particle based version in svn pulled this down quite much, but the new antilag can bring back the original usability.)

    Please update this statistic from time to time, its really cool :)
    Image
    User avatar
    FraNcoTirAdoR
    Alien trapper
     
    Posts: 288
    Joined: Tue Mar 04, 2008 10:25 am
    Location: near the nex

Thu Feb 12, 2009 12:09 pm

  • Actually, I'll be running a SVN DM server if that's what is needed.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Thu Feb 12, 2009 12:26 pm

  • divVerent wrote:Actually, I'll be running a SVN DM server if that's what is needed.


    Sounds great :) Please post the name if its up, cant wait to see it, personally I have been missing it for really long.
    Image
    User avatar
    FraNcoTirAdoR
    Alien trapper
     
    Posts: 288
    Joined: Tue Mar 04, 2008 10:25 am
    Location: near the nex

Thu Feb 12, 2009 12:27 pm

  • Well for that matter, i have serveral servers running on planetnexuiz.de which all gather stats:

    public:
    port 1338: svn 2on2 tdm server
    27000: the well known 6on6 svn ctf server

    private:
    port 35000: svn server with 2on2 tdm / 3on3 ctf via vote
    7331: svn 1on1
    29876: svn ctf 5on5

    So there should be something for everyone.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Thu Feb 12, 2009 12:32 pm

  • I am running:

    emptyset.endoftheinternet.org
    port 26000: CTF
    port 26001: DM
    port 26002: Race (okay, this usually generates no kill stats, unless in mode of the actual race)

    All frags on the servers mentioned in this thread are gathered into that statistics program. If anyone hosts a SVN server with these current settings too, he can contact me to get the command to report weapon stats.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Thu Feb 12, 2009 2:48 pm

  • very cool approach! I will test the MG with both ctf and dm and try to provide helpful feedback, but unfortunately not before next week as I won't have time to play this week :?
    <Community>: Why was the name "Nexuiz" licensed to IllFonic in a way that allows IllFonic to use the name without any suffix or subtitle for a commercial console game?
    <Lee Vermeulen>:
    <Community>: http://www.xonotic.org
    User avatar
    halogene
    Alien trapper
     
    Posts: 465
    Joined: Fri Jun 20, 2008 8:31 am
    Location: http://www.xonotic.org

Thu Feb 12, 2009 3:51 pm

  • Code: Select all
      Nex                             0.52372 |   .    +0.296 +0.132 +0.436 -0.043 +0.667 +0.484 +0.289 +0.655 +0.349 +0.514 +0.844 +1.000   .   
      Camping Rifle                   0.35726 | -0.296   .    -0.400 +0.600 +0.556 -0.333 +0.351 +0.172 +0.500 +0.500 +0.308 +0.795 +1.000   .   
      Mortar                          0.30328 | -0.132 +0.400   .    +0.250 -0.385 +0.200 +0.082 -0.067 -0.083 +0.500 +0.492 +0.643   .      .   
      Heavy Laser Assault Cannon      0.27705 | -0.436 -0.600 -0.250   .    +0.714 -0.091 +0.231 +0.455 +0.333 +0.636 +0.429 +0.273   .      .   
      Hagar                           0.26620 | +0.043 -0.556 +0.385 -0.714   .     0.000 +0.077 +0.222 -0.333 +0.125 +0.727 +0.778   .      .   
      Crylink                         0.15984 | -0.667 +0.333 -0.200 +0.091  0.000   .    -0.059  0.000 +0.500 +0.333 +0.143 +0.250   .      .   
      Rocket Launcher                 0.15556 | -0.484 -0.351 -0.082 -0.231 -0.077 +0.059   .     0.000 +0.143 +0.250 +0.347 +0.564   .      .   
      Uzi                             0.12997 | -0.289 -0.172 +0.067 -0.455 -0.222  0.000  0.000   .    -0.333 +0.250 +0.200 +0.545   .      .   
      Electro                         0.06814 | -0.655 -0.500 +0.083 -0.333 +0.333 -0.500 -0.143 +0.333   .    -0.077 +0.583 +0.120   .      .   
      T.A.G. Seeker                  -0.05483 | -0.349 -0.500 -0.500 -0.636 -0.125 -0.333 -0.250 -0.250 +0.077   .    +0.172 +0.200   .      .   
      Shotgun                        -0.16083 | -0.514 -0.308 -0.492 -0.429 -0.727 -0.143 -0.347 -0.200 -0.583 -0.172   .    +0.222   .    +1.000
      Laser                          -0.30501 | -0.844 -0.795 -0.643 -0.273 -0.778 -0.250 -0.564 -0.545 -0.120 -0.200 -0.222   .      .      .   
      Port-O-Launch                  -0.55951 | -1.000 -1.000   .      .      .      .      .      .      .      .      .      .      .      .   
      Grappling Hook                 -1.16083 |   .      .      .      .      .      .      .      .      .      .    -1.000   .      .      .   


    RL appears kinda weak, but as it hasn't changed, it'll sure rise up again. Actually, in the per-server stats, the RL is much weaker on pn.de's CTF server than on my DM server. Maybe the maplist...
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Thu Feb 12, 2009 4:34 pm

  • Thanks for providing this opportunity. Played a bit CTF already. Weapon balance seemed OK so far. I will test more of course.
    IRC quote:
    [kojn] I've been coming a bit more recently
    [kojn] she took it the dirty way
    GreEn`mArine
    Forum addon
     
    Posts: 1509
    Joined: Tue Feb 28, 2006 9:33 pm
    Location: Germany

Thu Feb 12, 2009 5:15 pm

  • Same here, after 4 hours of testing the mg and shotgun with this new antilag and current settings are very nice and usable. Also nice to see the list updates, seems like the balance spread got much narrower in long term Nothing surprising about that, that on the first 2 place there are the 2 sniper rifles because of the openness of many maps, and I also think that even with antilag the camping rifle isnt way too strong, maybe just a little. The reload, the reload-on-switch, and limited magazine, and high ammo usage is decreasing the amount someone can spam with it. Maybe if the ammo usage or the refire time was raised, that would make it place not so high, (and would also bring it closer to nexes behaviour), but the current strength of this weapon appears to be like a sniper-rifle should be: damages quite lot (but not vaporizes immediately like nex), accurate, and stealthed.

    There is also something cool that can be seen from the statistics: so, the balance of the weapons seems to be okey, at least there isnt too huge spread between them, BUT there is a huge gap between electro and TAG, and it should be normal with laser and shotgun since they are starting weapons, so spawned players will be always fragged with them, but erm... TAG just shouldnt be between those :D

    It's true what you wrote about rocketlauncher, I also noticed that the players (not the new ones actually) start not to prefer it too much, they rather use mortar instead. The constant blow-back to face can cause it :D
    Image
    User avatar
    FraNcoTirAdoR
    Alien trapper
     
    Posts: 288
    Joined: Tue Mar 04, 2008 10:25 am
    Location: near the nex

Fri Feb 13, 2009 4:46 pm

  • Update:

    Code: Select all
      Nex                             0.57479 |   .    +0.203 +0.307 +0.397 +0.336 +0.583 +0.233 +0.644 +0.632 +0.493 +0.527 +0.854 +1.000   .   
      Mortar                          0.34255 | -0.203   .    +0.278 +0.143 +0.068 +0.133 +0.067 +0.297 +0.125 +0.455 +0.546 +0.500   .      .   
      Camping Rifle                   0.30819 | -0.307 -0.278   .    +0.360 +0.200 +0.333 -0.200 +0.222 +0.226 +0.522 +0.253 +0.710 +1.000   .   
      Hagar                           0.25297 | -0.397 -0.143 -0.360   .    +0.041 -0.083 +0.351 +0.167 +0.273 +0.405 +0.500 +0.520   .      .   
      Rocket Launcher                 0.23945 | -0.336 -0.068 -0.200 -0.041   .    +0.035 +0.097 +0.083 +0.254 +0.288 +0.395 +0.606 +1.000   .   
      Heavy Laser Assault Cannon      0.18601 | -0.583 -0.133 -0.333 +0.083 -0.035   .    +0.278 -0.083 +0.120 +0.312 +0.444 +0.429   .      .   
      Uzi                             0.15160 | -0.233 -0.067 +0.200 -0.351 -0.097 -0.278   .    -0.231 -0.071 +0.256 +0.220 +0.618   .      .   
      Crylink                         0.11499 | -0.644 -0.297 -0.222 -0.167 -0.083 +0.083 +0.231   .    +0.222 -0.158 +0.158 +0.565   .      .   
      Electro                         0.05249 | -0.632 -0.125 -0.226 -0.273 -0.254 -0.120 +0.071 -0.222   .    +0.111 +0.118 +0.429   .      .   
      T.A.G. Seeker                  -0.02923 | -0.493 -0.455 -0.522 -0.405 -0.288 -0.312 -0.256 +0.158 -0.111   .    +0.099 +0.538   .      .   
      Shotgun                        -0.10689 | -0.527 -0.546 -0.253 -0.500 -0.395 -0.444 -0.220 -0.158 -0.118 -0.099   .    +0.237   .    +1.000
      Laser                          -0.35418 | -0.854 -0.500 -0.710 -0.520 -0.606 -0.429 -0.618 -0.565 -0.429 -0.538 -0.237   .      .      .   
      Port-O-Launch                  -0.62586 | -1.000   .    -1.000   .    -1.000   .      .      .      .      .      .      .      .      .   
      Grappling Hook                 -1.10689 |   .      .      .      .      .      .      .      .      .      .    -1.000   .      .      .   


    Yes, Mortar is apparently stronger than I thought. I actually prefer it anyway. We might have to strengthen the RL just a little to compensate for that.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Fri Feb 13, 2009 6:33 pm

  • It's a part from an earlier post:
    Franco: "Ahh something I would like to rapidly add to the end of this post: mortar is overpowered now with all these new weapon-setups! (and its logic since ALL weapon are have gotten much weaker except that)"

    Reply from divVerent: "Mortar is NOT overpowered, but far weaker than the RL."

    Toldya :P The problem is that mortar is capable of causing the same serious destruction without using it in combination with any other weapons, but standalone, due its quite high refire rate, speed and disturbation by the push. Maybe a slightly lower refire rate could help it, but lets see what others think about it :)
    Image
    User avatar
    FraNcoTirAdoR
    Alien trapper
     
    Posts: 288
    Joined: Tue Mar 04, 2008 10:25 am
    Location: near the nex

Fri Feb 13, 2009 7:44 pm

  • --FraNcoTirAdoR-- wrote:Toldya :P The problem is that mortar is capable of causing the same serious destruction without using it in combination with any other weapons, but standalone, due its quite high refire rate, speed and disturbation by the push. Maybe a slightly lower refire rate could help it, but lets see what others think about it :)


    I see, the ultimate nexwhore want to weaken the only other weapon able to stop you or prevent you to aim :P
    Ronan
    Alien trapper
     
    Posts: 292
    Joined: Tue Mar 20, 2007 10:25 pm
    Location: France

Sat Feb 14, 2009 9:41 am

  • Can report 49 kills in a row of franco with nex and mortar.
    Alien
    Forum addon
     
    Posts: 1212
    Joined: Tue Apr 22, 2008 7:12 am

Sat Feb 14, 2009 2:41 pm

  • Weapon stats recording is halted now, because the server doing it went down and I can't just break in where it stands and power it off and on again.

    The server's last words:

    Code: Select all
    hagger:~# X :1

    X Window System Version 7.1.1
    Release Date: 12 May 2006
    X Protocol Version 11, Revision 0, Release 7.1.1
    Build Operating System: UNKNOWN
    Current Operating System: Linux hagger 2.6.18-6-686 #1 SMP Sat Dec 27 09:31:05 UTC 2008 i686
    Build Date: 29 May 2008
            Before reporting problems, check http://wiki.x.org
            to make sure that you have the latest version.
    Module Loader present
    Markers: (--) probed, (**) from config file, (==) default setting,
            (++) from command line, (!!) notice, (II) informational,
            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.1.log", Time: Sat Feb 14 15:29:10 2009
    (==) Using config file: "/etc/X11/xorg.conf"
    (**) RADEON(0): RADEONPreInit
    (EE) RADEON(0): [dri] RADEONDRIGetVersion failed because of a version mismatch.
    [dri] radeon.o kernel module version is 8.58.2 but version 1.17.0 or newer is needed.
    [dri] Disabling DRI.
    (**) RADEON(0): RADEONScreenInit e0000000 0
    (**) RADEON(0): Map: 0xe0000000, 0x04000000
    (**) RADEON(0): RADEONSave
    (**) RADEON(0): RADEONSaveMode(0x81fdd60)
    (**) RADEON(0): Read: 0x0008000c 0x00040024 0x01000000
    (**) RADEON(0): Read: rd=12, fd=36, pd=4
    (**) RADEON(0): RADEONSaveMode returns 0x81fdd60
    (**) RADEON(0): RADEONInitMemoryMap() :
    (**) RADEON(0):   mem_size         : 0x08000000
    (**) RADEON(0):   MC_FB_LOCATION   : 0xe7ffe000
    (**) RADEON(0):   MC_AGP_LOCATION  : 0xffffffc0
    (**) RADEON(0): RADEONModeInit()
    640x480        25.20   640  656  752  800   480  490  492  525 (24,32) -H -V
    640x480        25.20   640  656  752  800   480  490  492  525 (24,32) -H -V
    (**) RADEON(0): Pitch = 5242960 bytes (virtualX = 640, displayWidth = 640)
    (**) RADEON(0): dc=2519, of=20152, fd=90, pd=8
    (**) RADEON(0): RADEONInit returns 0x81fe710
    (**) RADEON(0): RADEONRestoreMode()
    (**) RADEON(0): RADEONRestoreMode(0x81fe710)
    (**) RADEON(0): RADEONRestoreMemMapRegisters() :
    (**) RADEON(0):   MC_FB_LOCATION   : 0xe7ffe000
    (**) RADEON(0):   MC_AGP_LOCATION  : 0xffffffc0
    (**) RADEON(0):   Map Changed ! Applying ...
    (**) RADEON(0):   Map applied, resetting engine ...
    (**) RADEON(0): Updating display base addresses...


    Earliest time when it can be brought back online is Monday, maybe even Tuesday.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Sat Feb 14, 2009 2:45 pm

  • Hmmz
    [dri] radeon.o kernel module version is 8.58.2 but version 1.17.0 or newer is needed.
    Alien
    Forum addon
     
    Posts: 1212
    Joined: Tue Apr 22, 2008 7:12 am

Sat Feb 14, 2009 2:52 pm

  • Yes, this means I forgot to rmmod fglrx before starting X with radeon :P

    Apparently, the open and the closed source ATI drivers hate each other.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Sat Feb 14, 2009 6:14 pm

  • So its not only me (and Ronan) sucking with ATI GPU under Linux :D No more video card from them ever lol...
    I hope it will be fixed soon, these statistics are just too cool, especially if they get mixed up with the DM SVN servers stats on long term :)
    Image
    User avatar
    FraNcoTirAdoR
    Alien trapper
     
    Posts: 288
    Joined: Tue Mar 04, 2008 10:25 am
    Location: near the nex

Sat Feb 14, 2009 10:36 pm

  • Strange. I wonder how fglrx got modprobed in the first place.
    New ati drivers are much better.
    Alien
    Forum addon
     
    Posts: 1212
    Joined: Tue Apr 22, 2008 7:12 am

Sun Feb 15, 2009 8:59 am

  • This IS the newest ATI driver available. But I had this same bug with the older ones too.

    Basically, what I did was:

    start X with fglrx for demo to video rendering. Worked some times, but then once the X server crashed.

    Killed the X server.

    Started X server again. Hung in 100% CPU endless loop.

    Killed X server with -9 (nothing else worked).

    Started X server again... no change.

    Then: rmmod fglrx, modprobe fglrx, starting X - no change, still hangs.

    Then I decided to switch to the open source "radeon" driver. Starting X with that ended in a hard crash.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE



Return to Nexuiz - Development




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest