Skip to content
This repository has been archived by the owner on Jan 18, 2020. It is now read-only.

Commit

Permalink
Update voice pack to LOL jaJP
Browse files Browse the repository at this point in the history
  • Loading branch information
tiltysola committed May 9, 2019
1 parent e8d2ce2 commit c0334b3
Show file tree
Hide file tree
Showing 184 changed files with 330 additions and 29 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
### 申明:
这是一个测试版的插件,如果您在使用过程中遇到什么问题,您可以发布 issues 来进行讨论,我不能保证问题能得到解决,但是我会尽力的。您可以对插件进行随意修改,但是请保留并且不要修改 YK_WelcomeMessages() 函数中的内容,谢谢。

## 更新:

2019/5/9: 杀敌音效改成了LOL日服的语音包。

## 功能列表:

1. 玩家准备系统:只有6名玩家准备以后游戏才会开始,防止配置差的玩家一直无法进入游戏的尴尬局面。
Expand All @@ -12,7 +16,7 @@
4. 组队控制系统:管理员可手动设置队伍人数上限(1-3),游戏开始后,玩家会进行随机组队。
5. 血量控制系统:管理员可手动设置玩家初始血量,血量上限,适应服务器节奏。
6. 管理员面板:管理员可一键设置支持的参数,并且可以重生玩家,制造道具。
7. 死亡音效:当玩家死亡时,会对击杀者,受害者,其他玩家播放不同的击杀音效,更有代入感。
7. 死亡音效:当玩家死亡时,会对击杀者,受害者,其他玩家播放不同的击杀音效,更有代入感。(当前版本:日服英雄联盟语音包)
8. 多语言支持:已经支持了中文和英文,其他语言可自行进行翻译。
9. 其他问题修复:当玩家死亡后,系统会自动将其移入观察者,防止出现无法观战的情况。

Expand Down
Binary file modified plugins/yk_dangerzone.smx
Binary file not shown.
6 changes: 5 additions & 1 deletion readme/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ A plugin designed for DangerZone Community Server mode, it has many functions to
This is a beta plugin, if you have any questions, please submit an issue, I can't promise I will solve that problem, but I want to try my best.
You can modify this plugin, but I wish you don't delete and modify this function: `YK_WelcomeMessages()`, thank you!

## Updates:

1. 2019/5/9: Change voice pack to LOL jaJP Kill Voice Pack.

## Functions:

1. Ready System: At least 6 players are ready, the game will start.
Expand All @@ -13,7 +17,7 @@ You can modify this plugin, but I wish you don't delete and modify this function
4. Squad Manage System: Now you can only change the team players count to 1 - 3.
5. Health System: You can change the spawn health and max health when the game begin.
6. Admin Panel: You can change game convars and respawn players, also cheats.
7. Death Sounds: You has been slained, You has slained an enemy, An enemy has been slained?
7. Death Sounds: This version => LOL jaJP Voice Pack.
8. I18N System: Now plugin supports Chinese and English.
9. Other repair: When a player died, plugin will auto put him to spectator.

Expand Down
307 changes: 307 additions & 0 deletions scripts/dangerzone/killsounds.sp

Large diffs are not rendered by default.

40 changes: 13 additions & 27 deletions scripts/yk_dangerzone.sp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <sdktools>
#include <cstrike>
#include "includes/color_Stock.inc"
#include "dangerzone/killsounds.sp"

/*************************************************
* *
Expand Down Expand Up @@ -91,6 +92,7 @@ Menu g_mRespawnMenu = null;
Menu g_mGiveWeaponMenu = null;

// Kill system
int g_iFirstBlood = 0;
int g_iPlayerKillsCount[65];

//////////////////////////////
Expand All @@ -104,7 +106,7 @@ public void OnPluginStart () {
public void OnMapStart () {
ServerCommand("sv_dz_cash_bundle_size 100");
ServerCommand("sv_dz_warmup_weapon weapon_awp");
YK_PrecacheSounds();
YK_InitKillSounds();
}

public void OnClientPutInServer (int client) {
Expand Down Expand Up @@ -308,6 +310,7 @@ public void Event_RoundStarted (Event event, const char[] name, bool dontBroadca
YK_ActiveAnnounceTimer();
} else if (g_iGameStartedStatus == 2) {
g_iGameStartedStatus = 1;
g_iFirstBlood = 0;
for (int client = 1; client <= MaxClients; ++client) {
if (IsClientInGame(client) && IsClientConnected(client)) {
g_iPlayerKillsCount[client] = 0;
Expand Down Expand Up @@ -389,21 +392,16 @@ public void Event_PlayerDeath (Event event, const char[] name, bool dontBroadcas
DB_AddKillToPlayer(attacker);
}
DB_AddDeathToPlayer(victim);
g_iPlayerKillsCount[attacker]++;
if (g_iPlayerKillsCount[attacker] >= 3) {
for (int time = 0; time < g_iPlayerKillsCount[attacker]; time++)
tPrintToChatAll(" %t %t", "prefix", "multi kill", attackerName, g_iPlayerKillsCount[attacker]);
}
for (int client = 1; client <= MaxClients; ++client) {
if (IsClientInGame(client) && IsClientConnected(client) && !IsFakeClient(client)) {
if (client == victim) {
EmitSoundToClient(client, "einzbern/229875-e1721e64-3864-4528-b495-7a77efc7be1c.mp3", client, SNDCHAN_AUTO, SNDLEVEL_MINIBIKE, SND_NOFLAGS);
} else if (client == attacker) {
EmitSoundToClient(client, "einzbern/229875-925e9c0e-8f02-4e27-bd84-5f0704012a51.mp3", client, SNDCHAN_AUTO, SNDLEVEL_MINIBIKE, SND_NOFLAGS);
} else {
EmitSoundToClient(client, "einzbern/229875-a39ebdcd-20df-417c-b3e9-ac254dc1a701.mp3", client, SNDCHAN_AUTO, SNDLEVEL_MINIBIKE, SND_NOFLAGS);
}
if (attacker != victim && attacker != 0) {
g_iPlayerKillsCount[attacker]++;
if (g_iPlayerKillsCount[attacker] >= 3) {
for (int time = 0; time < g_iPlayerKillsCount[attacker]; time++)
tPrintToChatAll(" %t %t", "prefix", "multi kill", attackerName, g_iPlayerKillsCount[attacker]);
}
YK_PlayKillSounds(attacker, victim, g_iFirstBlood, g_iPlayerKillsCount[attacker]);
g_iFirstBlood = 1;
} else {
YK_PlayKillSounds(0, 0, 0, 0);
}
}
}
Expand Down Expand Up @@ -1206,16 +1204,4 @@ public void YK_WelcomeMessage () {
tPrintToChatAll("%t", "welcome line 5");
tPrintToChatAll("%t", "welcome line 6");
tPrintToChatAll("%t", "welcome line 1");
}

//////////////////////////////
// SOUNDS PRECACHE //
//////////////////////////////
public void YK_PrecacheSounds () {
AddFileToDownloadsTable("sound/einzbern/229875-a39ebdcd-20df-417c-b3e9-ac254dc1a701.mp3");
AddFileToDownloadsTable("sound/einzbern/229875-925e9c0e-8f02-4e27-bd84-5f0704012a51.mp3");
AddFileToDownloadsTable("sound/einzbern/229875-e1721e64-3864-4528-b495-7a77efc7be1c.mp3");
PrecacheSound("einzbern/229875-a39ebdcd-20df-417c-b3e9-ac254dc1a701.mp3"); // an enemy has been slain
PrecacheSound("einzbern/229875-925e9c0e-8f02-4e27-bd84-5f0704012a51.mp3"); // you has slain an enemy
PrecacheSound("einzbern/229875-e1721e64-3864-4528-b495-7a77efc7be1c.mp3"); // you has been slain
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0002.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0003.mp3
Binary file not shown.
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0005.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0006.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0007.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0008.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0009.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0010.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0011.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0012.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0013.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0014.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0015.mp3
Binary file not shown.
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0017.mp3
Binary file not shown.
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0019.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0020.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0021.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0022.mp3
Binary file not shown.
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0024.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0025.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0026.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0027.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0028.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0029.mp3
Binary file not shown.
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0031.mp3
Binary file not shown.
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0033.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0034.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0035.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0036.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0037.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0038.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0039.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0040.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0052.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0054.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0055.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0056.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0057.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0058.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0059.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0060.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0061.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0062.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0063.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0064.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0065.mp3
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0068.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0069.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0070.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0071.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0072.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0073.mp3
Binary file not shown.
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0075.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0076.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0077.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0078.mp3
Binary file not shown.
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0080.mp3
Binary file not shown.
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0082.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0083.mp3
Binary file not shown.
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0085.mp3
Binary file not shown.
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0124.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/enUS/File0126.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0002.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0003.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0004.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0005.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0006.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0007.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0008.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0009.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0010.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0011.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0012.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0013.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0014.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0015.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0016.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0017.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0018.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0019.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0020.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0021.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0022.mp3
Binary file not shown.
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0024.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0025.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0026.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0027.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0028.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0029.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0030.mp3
Binary file not shown.
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0032.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0033.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0034.mp3
Binary file not shown.
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0036.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0037.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0038.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0039.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0040.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0052.mp3
Binary file not shown.
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0055.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0056.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0057.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0058.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0059.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0060.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0061.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0062.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0063.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0064.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0065.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0066.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0067.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0068.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0069.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0070.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0071.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0072.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0073.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0074.mp3
Binary file not shown.
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0076.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0077.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0078.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0079.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0080.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0081.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0082.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0083.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0084.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0085.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0086.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0124.mp3
Binary file not shown.
Binary file added sound/einzbern/killsounds/lol/jaJP/File0126.mp3
Binary file not shown.

0 comments on commit c0334b3

Please sign in to comment.