Garry's Mod

Garry's Mod

Atmos Time Display
Showing 1-5 of 5 entries
Update: 28 Jul, 2015 @ 1:03pm

None Provided

Update: 6 Dec, 2014 @ 8:22pm

Fixed minor issue.

Update: 6 Dec, 2014 @ 8:07pm

Changelog:

MODIFIED draw func - more efficient
MODIFIED time update - now resizes/positions panel each tick IF needed
REMOVED panel settings in build func that will be called later
CHANGED some net message types (INT2) > (BIT)
RENAMED [CVAR] (atmos_cl_displaytime) > (atmoshud_enabled)
ADDED [CVAR] (atmoshud_12hr = 0 ) - 12/24 display modes
ADDED [CVAR] (atmoshud_12hr_am = am) - AM suffix to display in 12hr mode
ADDED [CVAR] (atmoshud_12hr_pm = pm) - PM suffix to display in 12hr mode
ADDED [CVAR] (atmoshud_anchorright = 1) - Anchor left/right
ADDED [CVAR] (atmoshud_anchorbottom = 0) - Anchor top/bottom
ADDED [CVAR] (atmoshud_posx = -1) - Custom xpos, -1 = default
ADDED [CVAR] (atmoshud_posy = -1) - Custom ypos, -1 = default
RENAMED [CCMD] (atmos_cl_rebuildtimedisplay) > (atmoshud_rebuild)
ADDED callbacks for new cvars - updates table values
MODIFIED toggle func - now destroys timers when not in use
ADDED full hot-swapping capabilities - no server restart needed for SV/CL updates
NEW startup method if InitPostEntity has been called - for hotswapping
CHANGED values used to calculate screen pos
CREATED new font (Derma28) - replica of DermaLarge in 28pt
ADDED [CCMD] (atmoshud_resetpos) - resets to default pos, resets CVARS, reports old vals
CLEANED unused table values
ADDED capabilities for [CCMD] (atmos_rebuild) to register with server if "startup" is appended.
CHANGED order in which build methods run - more efficient
ADDED message func for std output

Update: 9 Nov, 2014 @ 10:07am

Minor ammendments:
-Extra insurance against client panel issues
-Cleaned up enabled state update function
-Cleaned up build panel function

ADDED rebuild console command.
ADDED lines to cleanup any existing instance of the HUD on script execution (for hot-swapping),

Update: 5 Nov, 2014 @ 6:30pm