packetflinger / opentdm

The Quake 2 OpenTDM mod used on the PacketFlinger.com servers
GNU General Public License v2.0
12 stars 3 forks source link

User-defined clock position #32

Open joe0x04 opened 1 year ago

joe0x04 commented 1 year ago

A few people have casually mentioned the desire to have the game clock in different locations. We can take the X and Y values from the userinfo.

joe0x04 commented 1 year ago

Playing at 1080p, to put the clock just under the crosshair: setu cl.x "140" setu cl.y "130"

clock (changing these settings while in game requires a context change to force a statusbar update (change teams, go obs and back, etc))

These settings are technically in relation to the center of the screen, however for some reason, [xv 0, yv 0] ends up not being the exact center (where the crosshair is). I'm not sure why. So, setting both of these values to 0 will put the clock in its default location at the bottom under the match status.

joe0x04 commented 1 year ago

This version has been setup on PFIL, PFIL2, PFNJ, PFDC for testing.