Raised This Month: $12 Target: $400
 3% 

Style C4 Timer


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-04-2016 , 07:14   Style C4 Timer
Reply With Quote #1



Style C4 Timer


Description
  • 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.
  • STYLE_MODE -- timer style mode (manual selection/consecutive/random)
  • 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

Video preview (with HUD messages)



Additional information and download link




Last edited by OciXCrom; 12-25-2019 at 15:51.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
JoaoVieira
Senior Member
Join Date: May 2013
Location: Portugal
Old 02-05-2016 , 11:39   Re: Style C4 Timer
Reply With Quote #2

Nice idea
JoaoVieira is offline
ErrorStereotype
Senior Member
Join Date: Feb 2011
Location: Bosnia and Herzegovina
Old 02-11-2016 , 12:05   Re: Style C4 Timer
Reply With Quote #3

Hey mate, really like this one, but guess resolution is the problem, it's too wide + my c4 timer is on 35 seconds as original in server.cfg. It's not accurate since bomb explodes far away before timer is done. Screenies down there


Spoiler
ErrorStereotype is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-11-2016 , 13:52   Re: Style C4 Timer
Reply With Quote #4

Well, it deffinetely doesn't look like it's set on 35 seconds. There are far more "arrows" on the picture than 35. The problem is probably in your server's files/configuration, I'm using the original C4 Timer for the base of the plugin. And yes, having a huge explosion time can cause the HUD to spread on two lines, because HUD messages simply can't be that long.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-18-2016 , 14:58   Re: Style C4 Timer
Reply With Quote #5

I updated the code and I'm waiting for an approver to take a look at it. I would appreciate any suggestions on adding more styles or options.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 04-22-2016 , 14:08   Re: Style C4 Timer
Reply With Quote #6

Interesting , good job.

Make sure that colour will be seen in more lighted places of the map, because in video it was a moment when that line was hard to see.

Last edited by siriusmd99; 04-22-2016 at 14:09.
siriusmd99 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-22-2016 , 14:25   Re: Style C4 Timer
Reply With Quote #7

The map on the video is white, therefore it's hard to see on it. I can't prevent such a problem, since it uses three default colors - green, yellow and red, all of them clearly visible in normal conditions. Enabling the random colors option, the plugin will use all possible colors.

Last edited by OciXCrom; 04-22-2016 at 14:25.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 04-22-2016 , 16:10   Re: Style C4 Timer
Reply With Quote #8

I meant to use colours which are darker but if you say that in game hud is visible ,then no problems
siriusmd99 is offline
ssproxima
Senior Member
Join Date: Jan 2015
Old 09-02-2016 , 00:24   Re: Style C4 Timer
Reply With Quote #9

my servers c4 timer and its animation are not in sync how to set the exact time
ssproxima is offline
INTEL-XTREME
Senior Member
Join Date: Sep 2009
Location: PERU
Old 09-09-2016 , 12:34   Re: Style C4 Timer
Reply With Quote #10

Nice idea, very good. Please FIX C4 time sync
__________________

INTEL-XTREME is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode