Raised This Month: $32 Target: $400
 8% 

Game Messages & Sounds Manager


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose       
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-01-2016 , 16:36   Game Messages & Sounds Manager
Reply With Quote #1



Game Messages & Sounds Manager

Description
  • With this plugin you can easily replace the standard in-games messages like "Bomb Planted", "The target has been bombed", "Bomb Defused" etc. In addition, you can also replace the CT/T win sounds, sounds when planting/defusing the bomb, radio command sounds and so on.

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.

Replacing messages
  • You can change the messages and sounds from the file configs/WinMessages.ini. Use the following form in order to replace a message:

    PHP Code:
    # <Message ID> "<New Message>" "<Type>" "[red] [green] [blue]" "[X position] [Y position]" 
  • Examples:

    PHP Code:
    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" 
  • You can use -1 if you want the given value of the color to be random, otherwise you need to use a number from 0 to 255. For a completely random colored message, use "-1 -1 -1". Bear in mind that these colors are active only if you're using (D)HUD messages.
  • You can also use %n for multiple lines in all message type except "center".
  • Messages list

Replacing sounds
  • Use the following form in order to replace a sound:

    PHP Code:
    <Audio ID> [New Sound
  • You can leave the "[New Sound]" field blank if you want to simply block that sound. Examples

    PHP Code:
    %!MRAD_terwin "misc/terrorists_win.wav" -- This will replace the sound when terrorists win.
    %!
    MRAD_ctwin "misc_ctswin.wav" -- This will replace the sound when counter-terrorists win.
    %!
    MRAD_FIREINHOLE -- This will block the sound when someone throws a grenade
  • Sounds list

Images












Last edited by OciXCrom; 03-21-2020 at 09:10.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
 



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 23:53.


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