#24 gameclock in QWTF

closed
nobody
None
5
2009-08-30
2009-01-13
twikstro
No

The gameclock displays incorrect times in QWTF. This is to a great extent due to problems in the mod, but it could be easily fixed in the client.

1)
A gameclock counting down normally shows: timelimit - time_since_start_of_game. This is OK for some players but many use match_forcestart to autorecord demos, and match_forcestart clears cl.gametime.
The end of the PM (the start of the match) displays a text MATCH BEGINS NOW - which most people use to trigger match_forcestart.
In QWTF the lenght of the round is timelimit-serverinfo pm - the match starts after 'pm' minutes of prematch time. So with match_forcestart and a countdown gameclock the game ends with about one minute remaining.

2)
The reason i wrote "about one minute" above is due to QWTF ending the round 7 seconds before it should, and this could easily be included if a workaround was written for part 1.

How about a configurable alternative behaviour (hud_gameclock_qwtfadjust 1 ;)) that would for a clock counting down instead of
timelimit - time_since_start_of_game
display
timelimit - serverinfo pm - time_since_start_of_game (- optionally the 7seconds from part 2)

and similarily for a clock counting up instead of
time_since_start_of_game
display
time_since_start_of_game + that same 7 seconds

Discussion

  • JohnNy_cz

    JohnNy_cz - 2009-08-30

    there was some patch commited about this, it is available in 2.0/2.1 nightly builds and will be in 2.0 beta/stable; feel free to test and report and more suggestion

     
  • JohnNy_cz

    JohnNy_cz - 2009-08-30
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks