AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D1 & L4D2] Tank Rock Destroyer Announce [v1.1.1 | 18-December-2021] (https://forums.alliedmods.net/showthread.php?t=315818)

ZBzibing 11-20-2021 14:51

Re: [L4D1 & L4D2] Tank Rock Destroyer Announce [v1.1.0 | 28-January-2021]
 
I added a sound prompt for the explosion of stones, but I don't know how to play my own character voice according to the character
Code:

          case TYPE_CONCRETE_CHUNK:
            {
                switch(GetRandomInt(1,4))
                                {
                                case 1:
                                {
                                  Command_Play("player\\survivor\\voice\\teengirl\\violenceawe01.wav"); //playsound
                                }
                                case 2:
                                {
                                        Command_Play("player\\survivor\\voice\\biker\\violenceawe07.wav");
                                }
                                case 3:
                                {
                                        Command_Play("player\\survivor\\voice\\namvet\\violenceawe06.wav");
                                }
                                case 4:
                                {
                                        Command_Play("player\\survivor\\voice\\manager\\niceshot03.wav");
                                }
                        }
                               
                                CPrintToChat(client, "\x04[ZB] {red}cool!\x01 [{red}%N\x01] {red}Blast!Stone",attacker);
                if (GetConVarBool(iswitch) == true)


ZBzibing 11-20-2021 15:01

Re: [L4D1 & L4D2] Tank Rock Destroyer Announce [v1.1.0 | 28-January-2021]
 
1 Attachment(s)
I added a translation file in Simplified Chinese

HarryPotter 12-16-2021 15:11

Re: [L4D1 & L4D2] Tank Rock Destroyer Announce [v1.1.0 | 28-January-2021]
 
Is this supposed to be "trunk" word in english translation?
PHP Code:

    "Trunk"
    
{
        
"#format"    "{1:N}"
        "en"        "{orange}{1} {lightgreen}destroyed the {olive}rock{lightgreen}!" 

Anyway I translate better chinese.
PHP Code:

"Phrases"
{
    
"Rock"
    
{
        
"chi"        "{orange}{1} {lightgreen}打爆了 {olive}石头{lightgreen}!"
        "zho"        "{orange}{1} {lightgreen}打掉了 {olive}石頭{lightgreen}!"
    
}
    
"Trunk"
    
{
        
"chi"        "{orange}{1} {lightgreen}击碎了 {olive}树干{lightgreen}!"
        "zho"        "{orange}{1} {lightgreen}擊碎了 {olive}樹幹{lightgreen}!"
    
}
    
"Unknown"
    
{
        
"chi"        "{orange}{1} {lightgreen}摧毁了坦克的 {olive}投掷物{lightgreen}!"
        "zho"        "{orange}{1} {lightgreen}摧毀了Tank的 {olive}投擲物{lightgreen}!"
    
}



ZBzibing 12-17-2021 11:41

Re: [L4D1 & L4D2] Tank Rock Destroyer Announce [v1.1.0 | 28-January-2021]
 
Quote:

Originally Posted by Marttt (Post 2766243)
@HarryPotter, thanks! Updated.

Hello author, can you add a character pronunciation? I have found the voice, but I don’t know how each character makes its own voice

Marttt 12-18-2021 11:37

Re: [L4D1 & L4D2] Tank Rock Destroyer Announce [v1.1.1 | 18-December-2021]
 
Plugin updated.

Code:

1.1.1 (18-December-2021)
- Added cvar to control which attacker team should trigger the message.


Marttt 12-18-2021 11:38

Re: [L4D1 & L4D2] Tank Rock Destroyer Announce [v1.1.1 | 18-December-2021]
 
@ZBzibing, check [L4D1 & L4D2] Tank Rock Nice Shot.


All times are GMT -4. The time now is 02:47.

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