showtopspeed patch

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Thu Jan 22, 2009 8:29 pm

  • I've made a small patch to show the top speed reached. It will stay until a higher speed is reached or for max 3 seconds if the current speed is lower than the top speed.
    I hope you like it :)

    How to show the top speed: showtopspeed 1

    PS: maybe the writing "top speed:" should be removed coz it covers some weapons icons

    Patch: http://sites.google.com/site/terencehill/Nexuiz/showtopspeed.patch

    Image
    User avatar
    terencehill
    Alien
     
    Posts: 176
    Joined: Thu Jul 10, 2008 10:33 pm
    Location: Italy

Thu Jan 22, 2009 8:56 pm

Thu Jan 22, 2009 9:22 pm

  • terencehill wrote:PS: maybe the writing "top speed:" should be removed coz it covers some weapons icons


    I think these elements just need to be rethought position and style wise. The font is dated and top speed is not the only one to layover the rest of the HUD.

    But any cool patch 8)
    User avatar
    [-z-]
    Site Admin and Nexuiz Ninja
     
    Posts: 1794
    Joined: Mon Nov 13, 2006 12:20 am
    Location: Florida

Sun Jan 25, 2009 7:33 pm

Sun Jan 25, 2009 7:46 pm

Sun Jan 25, 2009 9:56 pm

  • Scoreboard sorting looks broken there... even score and it shows the player with less frags on top lol.
    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

Sun Jan 25, 2009 10:24 pm

  • That's because it only supports two sorting keys - primary and secondary - and because in DM, the rules are set up to sort by frags only (otherwise, the kills column would be cyan).

    However, when one would set up the kills as secondary sorting key, it would also mean that the kills decide when frags are equal - and overtime would not be entered.

    That's not a bug.

    The yellow column is always the primary sorting key, and the one fraglimit applies to.

    The cyan column, if any, is the secondary sorting key, and used for deciding when the primary score is equal.
    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

Sun Jan 25, 2009 10:42 pm

  • divVerent wrote:That's because it only supports two sorting keys - primary and secondary - and because in DM, the rules are set up to sort by frags only


    Well, but why is the score column the primary (as it is yellow)? I'm assuming that terencehill did play DM on that server, so shouldn't the frags be the real sorting (primary) ?
    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

Sun Jan 25, 2009 11:08 pm

  • score IS "frags".

    In DM, score (in Quake: frags) is calculated as kills - suicides.

    The "kills" column however does not subtract 1 after a suicide.
    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

Mon Jan 26, 2009 12:07 am

  • [-z-] wrote:did you timestamp your con_chat?

    I'm using from some days timestamps:

    timestamps "1"
    timeformat "^0[%H:%M.%S]^7"

    I was looking at the code if I can remove the timestamps from messages on the top displayed for 2-3 seconds (centerprint), I guess that they are useless.


    Back to the topic: just yesterday francotirador asked me if I could reach 100kmh no weapons in the low ground of silvercity, in a SVN server (planetnexuiz server) with new phisic, and this showtopspeed has been very useful to easily see the top speed.

    Only 93kmh btw :(
    User avatar
    terencehill
    Alien
     
    Posts: 176
    Joined: Thu Jul 10, 2008 10:33 pm
    Location: Italy

Mon Jan 26, 2009 11:45 am

  • divVerent wrote:score IS "frags".

    In DM, score (in Quake: frags) is calculated as kills - suicides.

    The "kills" column however does not subtract 1 after a suicide.

    OK, I finally got it :P
    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

Mon Jan 26, 2009 5:41 pm

  • BTW, maybe one should make a generic "frags" column for all game modes that's always killls-suicides...
    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