Now both male and female uses modular assets

This commit is contained in:
2026-02-17 00:35:14 +03:00
parent be10abda16
commit 8fddcb4cd9
5 changed files with 13 additions and 12 deletions

View File

@@ -234,9 +234,9 @@ void CharacterManagerModule::registerTownCharacters(flecs::entity town)
{ "male_Face.mesh", "male_Hair001.mesh",
"male_BodyTop.mesh", "male_BodyBottom.mesh",
"male_BodyFeet.mesh" },
{ "normal-female.glb", "normal-female.glb",
"normal-female.glb", "normal-female.glb",
"normal-female.glb" }
{ "female_Face.mesh", "female_Hair001.mesh",
"female_BodyTop.mesh", "female_BodyBottom.mesh",
"female_BodyFeet.mesh" }
};
int sex = npc["sex"].get<int>();
Ogre::Vector3 npcPosition;

View File

@@ -2223,9 +2223,10 @@ bool editNPCs(nlohmann::json &npcs)
{ "male_Face.mesh", "male_Hair001.mesh",
"male_BodyTop.mesh", "male_BodyBottom.mesh",
"male_BodyFeet.mesh" },
{ "normal-female.glb", "normal-female.glb",
"normal-female.glb", "normal-female.glb",
"normal-female.glb" }
{ "female_Face.mesh", "female_Hair001.mesh",
"female_BodyTop.mesh",
"female_BodyBottom.mesh",
"female_BodyFeet.mesh" }
};
Ogre::Vector3 npcPosition;
Ogre::Quaternion npcOrientation;