AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Game Messages & Sounds Manager (https://forums.alliedmods.net/showthread.php?t=282218)

OciXCrom 11-10-2020 07:45

Re: Game Messages & Sounds Manager
 
I don't see a difference between this config and the previous one. I said put some other message in the first place, e.g. CTs_Win.

nG_getwreck 11-12-2020 13:15

Re: Game Messages & Sounds Manager
 
Quote:

Originally Posted by OciXCrom (Post 2724439)
I don't see a difference between this config and the previous one. I said put some other message in the first place, e.g. CTs_Win.

I did swap CTs_Win and Ts_Win. Here's the results:

CTs_Win appear in left side just like Ts_Win previously

Ts_Win appear at the screen successfully in center.

OciXCrom 11-12-2020 13:31

Re: Game Messages & Sounds Manager
 
Meaning there's a problem with the first message. I'll check when I have a chance. For now, either assign the position manually in the .ini file or put a fake/invalid message in the first place.

nG_getwreck 11-14-2020 01:28

Re: Game Messages & Sounds Manager
 
Quote:

Originally Posted by OciXCrom (Post 2724674)
Meaning there's a problem with the first message. I'll check when I have a chance. For now, either assign the position manually in the .ini file or put a fake/invalid message in the first place.

It works now. I did what you said by putting fake or invalid message in first place.

Config:
Code:

# In order to replace a message, add the following on a new line:
# <Message ID> "<New Message>" "<Type>" "[red] [green] [blue]" "[X position] [Y position]"

# The <Type> argument can be one of the following: chat, center, hud or dhud.
# The arguments in [brackets] are optional and only apply for HUD and DHUD-type messages.

# If you're not familiar with how RGB colors work, this website can help you: https://www.colorspire.com/rgb-color-wheel/
# You can use -1 for a random color. For example, typing "255 0 -1" will make the blue part of the color random.
# Of course, you can assing -1 to all three RGB arguments: "-1 -1 -1" which will generate a completely random color.

# For chat message colors, see the CROMCHAT section here - https://raw.githubusercontent.com/OciXCrom/CromChat/master/colors.png

# Use %s to replace substrings in messages.
# Use %n to move the message on a new line in center, HUD and DHUD messages.

#================================================================#

# In order to replace a sound, add the following on a new line:
# <Audio ID> [New Sound]

# For example, you can replace the "Follow Me" sound from the radio commands like this:
# %!MRAD_FOLLOWME              "misc/cow.wav"

# You can also remove the sound completely by adding only the <Audio ID> argument on a new line:
# %!MRAD_FOLLOWME

#================================================================#

MSG_Notfound                        "Don't remove this line or otherwise other messages won't work"        "dhud" "255 0 255"
CTs_Win                        "Counter-Terrorists Win!"                    "dhud"      "255 0 255"
Terrorists_Win                  "Terrorists Win!"                            "dhud"      "255 0 255"
Bomb_Planted                    "The Bomb has been Planted"                "dhud"      "255 0 255"
Bomb_Defused                    "The Bomb has been Defused"                "dhud"      "255 0 255"
Round_Draw                      "Round Draw. No Winners"                                "dhud"      "255 255 255"
Target_Bombed                  "Target Successfully bombed by Terrorists."                "dhud"      "255 0 255"
Target_Saved                    "Target has been successfully defended."                    "dhud"      "0 255 0"
Game_Commencing                "Game Starting"                          "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"


luciaus18 12-08-2020 12:49

Re: Game Messages & Sounds Manager
 
Hello! Can I use more then one sound for ct and ter win?

OciXCrom 12-08-2020 15:58

Re: Game Messages & Sounds Manager
 
Not at the moment.

OciXCrom 02-10-2021 13:37

Re: Game Messages & Sounds Manager
 
https://img.shields.io/badge/update-...2021-green.svg
  • Fixed the issue with the coordinates of the first message set in the .ini file.

IC3k1ng 03-18-2023 00:58

Re: Game Messages & Sounds Manager
 
Can you add compatibility with .MP3 Audios? Just for get a better winning sound quality, please.
(That format is used in some plugins and it runs without any problems, comparing to other that only supports .WAV files)


All times are GMT -4. The time now is 07:24.

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