1
0
mirror of synced 2025-01-18 17:14:07 +01:00

コンボボイスをキャラクター別に (#231)

This commit is contained in:
Takkkom 2022-06-03 13:53:52 +09:00 committed by GitHub
parent 360081a324
commit 9bce8942bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,10 +78,12 @@ namespace TJAPlayer3
// フォルダ内を走査してコンボボイスをListに入れていく // フォルダ内を走査してコンボボイスをListに入れていく
// 1P、2P コンボボイス // 1P、2P コンボボイス
for (int i = 0; i < TJAPlayer3.ConfigIni.nPlayerCount; i++) for (int i = 0; i < TJAPlayer3.ConfigIni.nPlayerCount; i++)
{ {
#region [Combo voices] #region [Combo voices]
int _charaId = TJAPlayer3.NamePlateConfig.data.Character[TJAPlayer3.GetActualPlayer(i)];
var currentDir = CSkin.Path(string.Format(@"Sounds\Combo_{0}P\", i + 1)); var currentDir = ($@"{TJAPlayer3.strEXEのあるフォルダ}Global\Characters\{TJAPlayer3.Skin.Characters_DirName[_charaId]}\Sounds\Combo\");
if (Directory.Exists(currentDir)) if (Directory.Exists(currentDir))
{ {
foreach (var item in Directory.GetFiles(currentDir)) foreach (var item in Directory.GetFiles(currentDir))