The plugin contains the following cvars:
- gmsm_hud_xpos <default: "-1.0"> -- Default X position for (D)HUD messages.
- gmsm_hud_ypos <default: "0.10"> -- Default Y position for (D)HUD messages.
- gmsm_hud_effects <default: "0">-- Effects for (D)HUD messages.
- "0" = No effects.
"1" = Blinking effect.
"2" = Type writer.
- gmsm_hud_fxtime <default: "2.0"> -- Effect duration for (D)HUD messages.
- gmsm_hud_holdtime <default: "5.0"> -- Duration for (D)HUD messages.
- gmsm_hud_fadeintime <default: "0.5"> -- Fade-in duration for (D)HUD messages.
- gmsm_hud_fadeouttime <default: "1.0"> -- Fade-out duration for (D)HUD messages.
You can replace the messages and sounds from the
configs/WinMessages.ini
file. Additional instructions can be found in the file itself. The following messages are replaced by default:
Код:
Terrorists_Win "< Terrorists Win >" "dhud" "255 0 0"
CTs_Win "< Counter-Terrorists Win >" "dhud" "0 0 255"
Bomb_Planted "< The Bomb has been Planted >" "dhud" "255 255 0"
Bomb_Defused "< The Bomb has been Defused >" "dhud" "0 255 0"
Round_Draw "< Round Draw >" "dhud" "255 255 255"
Target_Bombed "< Target Successfully Bombed >" "dhud" "255 0 255"
Target_Saved "< Target has been Saved >" "dhud" "0 255 0"
Game_Commencing "< Game Commencing >" "dhud" "-1 -1 -1"
Auto_Team_Balance_Next_Round "< Auto Team Balance Next Round >" "dhud" "-1 -1 -1"
Game_will_restart_in "< The Game Is Now Restarting >%n-= %s %s =- " "dhud" "-1 -1 -1"
Weapon_Cannot_Be_Dropped "Dropping this weapon %nis not allowed." "center"/code]
Follow this format when replacing messages:
[code]# <Message ID> "<New Message>" "<Type>" "[red] [green] [blue]" "[X position] [Y position]"
You can find all message ids in the file
cstrike/resource/cstrike_english.txt
.
The message type can be one of the following:
chat
,
center
,
hud
or
dhud
.
The message color is in RGB format and you can use
R
to generate a random value.
Follow this format when replacing sounds:
A list of sound ids can be found
here.