This C4 timer shows the time remaining until the explosion in a slightly different way. You can choose between multiple different styles, including the default one, i.e. simple countdown to 0. The timer can also change its color when it reaches a certain time - by default it starts with green, on 10 seconds it changes to yellow, and on 5 seconds it becomes red. This is fully customizable. It can also move across the screen and change its position each second, it can use a voice speaker for the countdown and much more.
☄ Settings
The settings can be found in the [Settings] section in the file configs/StyleC4Timer.ini. In this thread you will find a brief explanation for them. Make sure to check the configuration file for full details.
TIMER_STYLE -- timer style id if manual style mode is selected
COLOR_MODE -- timer color mode (one color/color cycle/random)
STARTING_COLOR -- timer starting color
COLOR_CYCLE -- if the color cycle option is selected, here you can set when the timer will change its color and specify those colors
STARTING_POSITION -- timer starting position
ENABLE_POSITION_CYCLE -- if enabled, you can make the timer move across the screen each second
POSITION_CYCLE -- coordinates for timer movement if the position cycle option is enabled
MESSAGE_TYPE -- timer message type (HUD/DHUD/center)
OVERWRITE_ROUND_TIMER -- if enabled, the default round time will be replaced with a C4 timer in addition to the HUD message
TIMER_SYNC -- if the timer isn't in sync with the actual explosion, use this setting to adjust it
START_MESSAGE_AT -- when to start the timer message (0 will make it start right after the bomb has been planted)
START_VOICE_AT -- when to start the voice countdown
VOICE_SPEAKER -- sound folder for the voice countdown (vox/fvox/custom)
☄ Styles
The styles can be found in the [Styles] section in the file configs/StyleC4Timer.ini. Down below you will find a brief explanation of the style settings and how you can use them to modify or create your own style.
Begin -- the starting point of the timer style
Add -- this text is added X times to the "begin" one, where X is the value of the cvar "mp_c4timer"
End -- the ending point of the timer style
Replace symbol -- the text that will be replaced each second
Replace with -- the replacement text
Preview -- this is just a preview for end-users, it's not used anywhere in the code