[Committed]Weapon Accuracy Stats Patch

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Postby Icarus » Sat Feb 14, 2009 3:57 am

http://sites.google.com/site/dibnexuiz/ ... racy-patch

newest patch. hopefully this gets rid of team damage counting as a hit. please test to ensure that it is working. also screenshots have been updated. splash accuracy now includes the hookbomb(which is not shown in the screenshot).

EDIT: this is for revision 5861 (i always forget to say that)
Icarus
 

Postby [-z-] » Sat Feb 14, 2009 4:59 am

That doesn't look like it would scale well on a 800x600 resolution or even 1024x768. Perhaps you should combine both weapon types onto one screen and have 3 rows of weapons.
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

Postby terencehill » Sat Feb 14, 2009 6:48 am

Playing in my server with many bots, I noticed that the stats aren't updated at every shot always. Is this normal?

As I told you on IRC, me too as -z- said, I'd see well the stats of both weapon types in one screen. 3 rows: first for hitscan weapons, 2nd and 3rd for splash weapons since they are more.

You are using colors from red to green, passing through the yellow to indicate percent of accuracy, so I thought you could use the "other" colors (cyan, blue or violet or any color near to these ones) to fill the background of the weapon images: one color for hitascan weapons, another one for splash weapons.

Oh, and another thing... I didn't see stats of bots.
Well... It's not an important thing, obviously, however could be interesting to see how much bots are good with the aim. Maybe it might be introduced a cvar that enables stats for bots too. I'm asking this trusting there is not a big extra work to do.
terencehill
Alien
 
Posts: 176
Joined: Thu Jul 10, 2008 10:33 pm
Location: Italy

Postby Icarus » Mon Apr 13, 2009 8:27 pm

Ok i fixed a few things, but splash weapons dont always count as hits and im not sure why thats a problem. If someone could help me fix it that would be great.

terrencehill: i fixed the update stats problem. i was doing the calculation in the draw function rather than doing it separately so stats were only updating when you were actually looking at the stats board.

new patch here: http://dib.mkzelda.net/Patches/hitscanR6480.patch

EDIT: terencehill fixed splash weapons!!! new patch here: http://dib.mkzelda.net/Patches/hitscanR6475.patch

i realize thats an older revision than the post above.
Icarus
 

Postby Icarus » Wed Apr 15, 2009 10:58 pm

Made a new patch that doesn't fail at defs.qc and main.qc: http://dib.mkzelda.net/Patches/hitscan.patch

Edit: In order to use this patch add this to your autoexec.cfg:

Code: Select all
//1 for hitscan
//0 for splash
//-1 for no display(porto)
set weapon_type1 0
set weapon_type2 1
set weapon_type3 1
set weapon_type4 0
set weapon_type5 0
set weapon_type6 0
set weapon_type7 1
set weapon_type8 0
set weapon_type9 0
set weapon_type10 -1
set weapon_type11 1
set weapon_type12 0
set weapon_type13 0
set weapon_type14 0
set weapon_type15 1
[/code]
Icarus
 

Postby C.Brutail » Thu Apr 16, 2009 6:54 am

Is there any chance this gets into an official release?
Good work there! :-)
"One should strive to achieve; not sit in bitter regret."
WE ARE NEXUIZ.
Image
Image
C.Brutail
Laidback mapper
 
Posts: 2357
Joined: Tue Feb 28, 2006 7:26 pm
Location: Ironforge

Postby Icarus » Sat Apr 18, 2009 3:41 pm

For those who wanted to see the accuracy all on one board:

Image
Icarus
 

Postby paperclips » Sat Apr 18, 2009 4:45 pm

Icarus wrote:For those who wanted to see the accuracy all on one board:Image
Mmmm statistics *Drewls* :D Nice!
[Want to develop? Look HERE]. Image Image Gif sauce.
paperclips
Alien trapper
 
Posts: 346
Joined: Mon Jan 12, 2009 10:27 am
Location: internets

Postby Icarus » Sat Apr 18, 2009 5:57 pm

thanks :) Im gonna organize it so that hitscan/ballistics weapons are on top and splash are on bottom.
Icarus
 

Postby terencehill » Sat Apr 18, 2009 10:50 pm

I'm starting thinkin that it could be much better to integrate stats in the hud. Above every icon of a weapon its stats. The accuracy stat could be placed on the right part of the weapon icon, coloring icon based on the accuracy. This way they take up less space, they are already sorted by the hud itself, and also u can play without problems seeing them while playing.

Stats could be show in 2 ways, both controlled by the user:

showstats 1: show stats when u press a key (+showstats) and let them disappear when u release that key (-showstats)

showstats 2: show stats always

The double weapons (like MG/riffle) are the only (small) problem: they can be shown correctly (MG icon - MG stats above - riffle icon above - riffle stats above) with a proper algorithm but the stats would go a bit too much in the middle of the screen.
terencehill
Alien
 
Posts: 176
Joined: Thu Jul 10, 2008 10:33 pm
Location: Italy

PreviousNext

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron