Skip to content

Commit db2aabb

Browse files
committed
update character appearance panel to default to HumanMale and HumanFemale instead of legacy DCS versions
1 parent 53a2474 commit db2aabb

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Assets/AnyRPG/Core/System/Scripts/Characters/BaseClasses/UMAModelController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private void CheckAvatarDefinition() {
9191
avatarDefinition = new AvatarDefinition();
9292

9393
// avatarDefintion is a struct so needs to have its properties set to something other than null
94-
avatarDefinition.RaceName = "HumanMaleDCS";
94+
avatarDefinition.RaceName = "HumanMale";
9595
avatarDefinition.Wardrobe = new string[0];
9696
avatarDefinition.Dna = new DnaDef[0];
9797
avatarDefinition.Colors = new SharedColorDef[0];

Assets/AnyRPG/Core/System/Scripts/Interactables/MusicPlayerProps.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public override void SetupScriptableObjects(SystemGameManager systemGameManager)
4747
if (tmpAudioProfile != null) {
4848
audioProfileList.Add(tmpAudioProfile);
4949
} else {
50-
Debug.LogError("MusicPlayerCompoennt.SetupScriptableObjects(): COULD NOT FIND AUDIO PROFILE: " + audioProfileName + " while initializing");
50+
Debug.LogError("MusicPlayerComponent.SetupScriptableObjects(): COULD NOT FIND AUDIO PROFILE: " + audioProfileName + " while initializing");
5151
}
5252
}
5353
}

Assets/AnyRPG/Core/System/Scripts/UI/CloseableWindows/CharacterAppearancePanel.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -448,13 +448,13 @@ public void SetMale() {
448448
//maleButton.HighlightBackground();
449449
if (maleRecipe != string.Empty) {
450450
//Debug.Log("CharacterCreatorPanel.SetFemale(): maleRecipe != string.Empty");
451-
characterCreatorManager.PreviewUnitController.UnitModelController.UMAModelController.DynamicCharacterAvatar.ChangeRace("HumanMaleDCS");
451+
characterCreatorManager.PreviewUnitController.UnitModelController.UMAModelController.DynamicCharacterAvatar.ChangeRace("HumanMale");
452452
//characterCreatorManager.PreviewUnitController.UnitModelController.LoadSavedAppearanceSettings(maleRecipe, true);
453453
characterCreatorManager.PreviewUnitController.UnitModelController.UMAModelController.SetAppearance(maleRecipe);
454454
} else {
455455
//Debug.Log("CharacterCreatorPanel.SetMale(): maleRecipe == string.Empty");
456-
//characterCreatorManager.PreviewUnitController.UnitModelController.UMAModelController.DynamicCharacterAvatar.ChangeRace("HumanMaleDCS");
457-
characterCreatorManager.PreviewUnitController.UnitModelController.UMAModelController.SetAvatarDefinitionRace("HumanMaleDCS");
456+
//characterCreatorManager.PreviewUnitController.UnitModelController.UMAModelController.DynamicCharacterAvatar.ChangeRace("HumanMale");
457+
characterCreatorManager.PreviewUnitController.UnitModelController.UMAModelController.SetAvatarDefinitionRace("HumanMale");
458458
characterCreatorManager.PreviewUnitController.UnitModelController.UMAModelController.PreloadEquipmentModels(true);
459459
characterCreatorManager.PreviewUnitController.UnitModelController.UMAModelController.ReloadAvatarDefinition();
460460
}
@@ -475,13 +475,13 @@ public void SetFemale() {
475475
//femaleButton.Select();
476476
if (femaleRecipe != string.Empty) {
477477
//Debug.Log("CharacterCreatorPanel.SetFemale(): femaleRecipe != string.Empty");
478-
characterCreatorManager.PreviewUnitController.UnitModelController.UMAModelController.DynamicCharacterAvatar.ChangeRace("HumanFemaleDCS");
478+
characterCreatorManager.PreviewUnitController.UnitModelController.UMAModelController.DynamicCharacterAvatar.ChangeRace("HumanFemale");
479479
//characterCreatorManager.PreviewUnitController.UnitModelController.LoadSavedAppearanceSettings(femaleRecipe, true);
480480
characterCreatorManager.PreviewUnitController.UnitModelController.UMAModelController.SetAppearance(femaleRecipe);
481481
} else {
482482
//Debug.Log("CharacterCreatorPanel.SetFemale(): femaleRecipe == string.Empty");
483-
//characterCreatorManager.PreviewUnitController.UnitModelController.UMAModelController.DynamicCharacterAvatar.ChangeRace("HumanFemaleDCS");
484-
characterCreatorManager.PreviewUnitController.UnitModelController.UMAModelController.SetAvatarDefinitionRace("HumanFemaleDCS");
483+
//characterCreatorManager.PreviewUnitController.UnitModelController.UMAModelController.DynamicCharacterAvatar.ChangeRace("HumanFemale");
484+
characterCreatorManager.PreviewUnitController.UnitModelController.UMAModelController.SetAvatarDefinitionRace("HumanFemale");
485485
characterCreatorManager.PreviewUnitController.UnitModelController.UMAModelController.PreloadEquipmentModels(true);
486486
characterCreatorManager.PreviewUnitController.UnitModelController.UMAModelController.ReloadAvatarDefinition();
487487
}

0 commit comments

Comments
 (0)