Иконка ресурса

amxx Game Messages & Sounds Manager 3.0

Нет прав для скачивания
Установка
  1. Скомпилируйте crx_gamemessages.sma (инструкция).
  2. Положите .amxx в папку plugins.
  3. Поместите cromchat.inc в папку scripting/include.
  4. Залейте GameMessages.ini в configs.

  1. Compile crx_gamemessages.sma.
  2. Move the compiled file in your plugins directory.
  3. Move cromchat.inc in your scripting/include directory.
  4. Move GameMessages.ini in your configs directory.
Настройки
Плагин содержит следующие квары:
  • gmsm_hud_xpos <default: "-1.0"> -- координата X для сообщений (D)HUD.
  • gmsm_hud_ypos <default: "0.10"> -- координата Y для сообщений (D)HUD.
  • gmsm_hud_effects<default: "0"> -- Эффекты у сообщений (D)HUD.
    • "0" = Без эффекта
      "1" = Мерцание
      "2" = Печать.
  • gmsm_hud_fxtime <default: "2.0"> -- длительность эффекта для сообщений (D)HUD.
  • gmsm_hud_holdtime <default: "5.0"> -- длительность самого сообщений (D)HUD.
  • gmsm_hud_fadeintime <default: "0.5"> -- длительность появления сообщений (D)HUD.
  • gmsm_hud_fadeouttime <default: "1.0"> -- длительность исчезновения сообщений (D)HUD.
Замена стандартных звуков и сообщений осуществляется в файле configs/WinMessages.ini. Там же всё разъяснено с примерами. По умолчанию заменяются:

Код:
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"
При замене текста соблюдайте формат:

Код:
# <Message ID> "<New Message>" "<Type>" "[red] [green] [blue]" "[X position] [Y position]"
message id найдёте в файле cstrike/resource/cstrike_english.txt.
new message - ваше сообшение на замену стандартному.
message type выбирается из: chat, center, hud or dhud.
message color - это цвет в формате RGB. Чтобы сгенерировать случайный цвет пропишите R.

При замене звуков соблюдайте формат:
Код:
<%sound id> <new sound>
Список всех возможных sound id живёт на AlliedMods
new sound - ваш звук на замену стандартному


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:

Код:
<%sound id> <new sound>
A list of sound ids can be found here.
Сверху Снизу