Garry's Mod

Garry's Mod

256 ratings
Christmas Countdown
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Scenic
File Size
Posted
Updated
937.053 KB
9 Nov, 2014 @ 6:13am
8 Dec, 2014 @ 3:01pm
3 Change Notes ( view )

Subscribe to download
Christmas Countdown

In 1 collection by TheFreeman193
TF193 Test Server
5 items
Description
Season's greetings once again from TheFreeman193! A (fairly) simple digital Christmas countdown timer.

Features
-Toggleable digital countdown timer displaying days, hours, minutes and seconds.
-Optional colour change related to time remaining during last 48 hours (white -> yellow -> orange -> red).
-Top/Bottom of screen display options.
-Customisable background colour and opacity for the timer.
-Optional animated seasonal messages/displays on Christmas Day, during the Christmas period (after 25th) and on New Year's Day.
-Customisable display length (in seconds) for the seasonal messages.
-Online/offline modes - The seasonal messages can be loaded from the internet or locally from the addon file.

Console Variables
xmascountdown_<setting> <value>

alt 1/0 Alternate display mode (1=top, 0=bottom)
colchange 1/0 Change colour in last 48 hours (see description above)
displaytime 3+ Number of seconds to display messages for (minimum 3, default=15)
enabled 1/0 Enables/disables the countdown timer
notify 1/0 Enables/disables messages (see description above)
col_r 0-255 Red value of timer background (default=0)
col_g 0-255 Green value of timer background (default=0)
col_b 0-255 Blue value of timer background (default=0)
col_a 0-255 Alpha (opacity) of timer background (default=210)
online 1/0 Whether to use local cache or online image data (1=online,0=local,default=0)

Console Commands
xmascountdown_<command> [options]

col_reset
-Resets the background colour of the timer.
stopmessage
-Removes any currently active message.
rebuildpanel
-Rebuilds the countdown display and removes any active messages. Checks the local image cache.
-To be used when the script is loaded/reloaded during gameplay (i.e. for hot-swapping)
clearcache
-Clears the local image cache from "data/xmc".
-You should run the rebuildpanel command above to rebuild the cache before using offline mode.

showmessage [current|xmas|holidays|newyear|snow]
current -Displays the currently appropriate message (if any).
xmas -Displays the Christmas message.
holidays -Displays the seasonal message (25th-31st).
newyear -Displays the New Year's Day message.
snow -Displays just the snow overlay used in the messages.

NOTE:
If you're having issues with displaying the timer, make sure you have xmascountdown_enabled set to 1 and then put xmascountdown_rebuildpanel into your console.

Released under Creative Commons CC BY-NC-SA 4.0
http://creativecommons.org/licenses/by-nc-sa/4.0/

Enjoy!
36 Comments
Jincko_SiZ_X 3 Dec, 2024 @ 7:14pm 
Can you please add an option to just display time until new year without counting down to xmas first?
Биг вода (МИНЧИК) 18 Oct, 2024 @ 4:22pm 
2014 yay
Seb 13 Nov, 2022 @ 3:12pm 
Once again, it is time for me to download this addon
76561198194487111 15 Sep, 2021 @ 6:24am 
no
Alarm 22 Dec, 2018 @ 3:17am 
Я ИСПРАВЛЯ Название Christmas Countdown Cube Remasterted Happy New Year так
Doctorlysum 3 Oct, 2018 @ 12:33pm 
okie dokie thanks a lot :3
TheFreeman193  [author] 3 Oct, 2018 @ 8:23am 
Max the doggo When I have the time to update this I will probably be including server-side control features. Until then you can use
xmascountdown_enabled 0
in your client console to turn it off.
Doctorlysum 2 Oct, 2018 @ 10:19am 
its still good though :P
Doctorlysum 2 Oct, 2018 @ 10:19am 
ello can you add in the server settings a turn off section plz cause it gets annoying when your trying to do an image :P
Zera 2 Dec, 2017 @ 12:06am 
IT BAD


PLZ PUT SANIC