Raised This Month: $25 Target: $400
 6% 

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 left 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 also changes 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.

Cvars
  • Please note that the color and X & Y position cvars are only active when the plugin is using HUD or DHUD messages.
  • c4timer_style <default: "1"> -- Timer style (you can see them below).
  • c4timer_random <default: "0"> -- Whether the timer will use random colors (if enabled, the two cvars below will be blocked).
  • c4timer_yellow <default: "10"> -- In how many seconds the timer will change its color to yellow.
  • c4timer_red <default: "5"> -- In how many seconds the timer will change its color to red.
  • c4timer_xpos <default: "-1.0"> -- X position on the screen.
  • c4timer_ypos <default: "0.80"> -- Y position on the screen.
  • c4timer_type <default: "0"> -- Message type (0 = HUD; 1 = DHUD; 2 = CENTER)

Styles (c4timer_style "0/1/2/3/4...")


  • Please note that the list shown on the image is not a complete list since the last updates. You can edit and add more styles from the configs/C4Styles.ini file. Here's a full list of the default styles (shown at 10 seconds until explosion out of 15):
[FONT=Comic Sans MS]
  • Style 0:
    • C4: 10
  • Style 1:
    • [ | | | | | - - - - - - - - - - ]
  • Style 2:
    • oooooooooo
  • Style 3:
    • | > > > > o > > > > > > > > > > |
  • Style 4:
    • | > > > > C4 > > > > > > > > > > |
  • Style 5:
    • [ + + + + + - - - - - - - - - - ]
  • Style 6:
    • [ - - - - > - - - - - - - - - - ]

Images









Video preview (with HUD messages)






Last edited by OciXCrom; 07-17-2018 at 09:06.
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 04:24.


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