コンボボイスをキャラクター別に (#231)
This commit is contained in:
parent
360081a324
commit
9bce8942bc
@ -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))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user