CS2_C4TimerHUD 1.9

Totul despre Counter-Strike Sharp. Tutoriale de instalare, scripting in C# si cele mai noi pluginuri pentru serverul tau de CS2.
Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 2389
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

CS2_C4TimerHUD 1.9

Post by greenie »

CS2_C4TimerHUD
The plugin displays the C4 timer in the center of the screen (3D HUD) in the format "C4:30," "C4:Ⓧ" (detonated), or "C4:Ⓥ" (defuse). The text color can dynamically change depending on the remaining time (configurable).

Requirements
Requirements
CounterStrikeSharp API version 362 or higher
.NET 8.0 Runtime
GameHUD plugin (for displaying 3D text) <--- already included in the
GitHub archive - darkerz7/CS2-GameHUD: API for displaying messages to the player. GameText analogue
Variables
Configuration parameters
css_c4timer_enabled <0/1>, def.=1 – Enables/disables the plugin.
css_c4timer_use_dynamic_color <0/1>, def.=1 – Use dynamic color (1) or fixed color from the color parameter (0).
css_c4timer_color (string), def.="255 255 255" – Fixed text color if dynamic color is disabled. Supported formats: RGB (three numbers 0-255 separated by spaces, for example "255 0 0"), HEX ("#FF0000"), color name (red, green, blue, yellow, white, black, darkred, orange, purple).
css_c4timer_timecolor (string), def.="20:yellow,10:red,5:darkred" – Dynamic colors for seconds. Format: second:color, second:color,... The color is applied to all seconds from 0 to the specified one. For example, "20:yellow,10:red,5:darkred" means: 20 to 11 – yellow, 10 to 6 – red, 5 to 0 – dark red.
css_c4timer_hud_channel <0-255>, def.=2 – HUD channel to display (must be different from channels of other plugins using GameHUD).
css_c4timer_hud_x <-100.0 to 100.0>, def.=1.3 – HUD position along the X axis.
css_c4timer_hud_y <-100.0 to 100.0>, def.=-3.9 – HUD position along the Y axis.
css_c4timer_hud_z <0.0-200.0>, def.=6.7 – HUD position along the Z axis (height).
css_c4timer_font_size <10-200>, def.=100 – Font size.
css_c4timer_font_name (string), def.="Consolas" – Font name.
css_c4timer_units_per_px <0.001-1.0>, def.=0.0057 – Units per pixel for font scaling.
css_c4timer_text_border_width <0.0-10.0>, def.=0.0 – Text border thickness (0 = no border).
css_c4timer_text_border_height <0.0-10.0>, def.=0.0 – Text border height.
css_c4timer_use_bold_font <0/1>, def.=1 – Use bold font.
css_c4timer_hud_method <0/1>, def.=1 – HUD display method: 1 – point_orient (stable, no shaking), 0 – teleport (fast, but may shake).
css_c4timer_exploded_symbol (string), def.="Ⓧ" – Symbol displayed after C4 explosion (e.g. "C4:Ⓧ").
css_c4timer_defused_symbol (string), def.="Ⓥ" – Symbol displayed after C4 defuse (e.g. "C4:Ⓥ").
css_c4timer_log_level <0-5>, def.=4 – Logging level (0-Trace,1-Debug,2-Info,3-Warning,4-Error,5-Critical).
Teams
Console commands
css_c4timer_help – Show detailed plugin help.
css_c4timer_settings – Show current C4 settings and state.
css_c4timer_test – Send a test message to the HUD (available only to the player).
css_c4timer_reload – Reload the configuration from the file and reinitialize the HUD for all players.
css_c4timer_setenabled <0/1> – Set css_c4timer_enabled.
css_c4timer_setusedynamiccolor <0/1> – Set css_c4timer_use_dynamic_color.
css_c4timer_setcolor <color> – Set a fixed color (css_c4timer_color). Formats: RGB ("255 0 0"), HEX ("#FF0000"), name ("red").
css_c4timer_settimecolor <sec:color,sec:color,...> – Set dynamic colors (css_c4timer_timecolor). For example: "15:yellow,5:red".
css_c4timer_sethudchannel <0-255> – Set css_c4timer_hud_channel.
css_c4timer_sethudposition <XY Z> – Set HUD position (X, Y, Z separated by spaces, fractional part separated by dot).
css_c4timer_setfontsize <10-200> – Set css_c4timer_font_size.
css_c4timer_setfontname <name> – Set css_c4timer_font_name.
css_c4timer_setunits <0.001-1.0> – Set css_c4timer_units_per_px.
css_c4timer_setborder <width> <height> – Set text border (width and height separated by spaces).
css_c4timer_setbold <0/1> – Set css_c4timer_use_bold_font.
css_c4timer_setmethod <0/1> – Set css_c4timer_hud_method (0 – teleport, 1 – point_orient).
css_c4timer_setexplodedsymbol <symbol> – Set css_c4timer_exploded_symbol.
css_c4timer_setdefusedsymbol <symbol> – Set css_c4timer_defused_symbol.
css_c4timer_setloglevel <0-5> – Set css_c4timer_log_level.
Installation
The full path should look like this:
game\csgo\addons\counterstrikesharp\plugins\CS2_C4TimerHUD\CS2_C4TimerHUD.dll

https://hlmod.net/resources/cs2_c4timer ... 0/download
𝑴𝒂𝒚𝒃𝒆 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 𝒊𝒔 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☢️
Post Reply

Return to “Counter-Strike Sharp CS2”