Now both male and female uses modular assets
This commit is contained in:
@@ -47,8 +47,8 @@ set(VRM_IMPORTED_BLENDS
|
||||
# COMMAND ${CMAKE_COMMAND} -E touch_nocreate ${CHARACTER_GLBS}
|
||||
# DEPENDS ${CMAKE_SOURCE_DIR}/assets/blender/scripts/export_models.py ${VRM_IMPORTED_BLENDS} ${EDITED_BLEND_TARGETS}
|
||||
# WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
|
||||
set(FEMALE_OBJECTS "Body;Hair;Face;BackHair;Tops;Bottoms;Shoes;Accessory")
|
||||
set(MALE_OBJECTS "BodyTopRobe;BodyTop;BodyBottom;BodyFeet;Hair;Face;BackHair;Bottoms;Shoes;Accessory")
|
||||
set(FEMALE_OBJECTS "BodyTopRobe;BodyTop;BodyBottom;BodyFeet;Hair;Face;BackHair;Accessoty")
|
||||
set(MALE_OBJECTS "BodyTopRobe;BodyTop;BodyBottom;BodyFeet;Hair;Face;BackHair;Accessory")
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_BINARY_DIR}/characters/male/normal-male.glb
|
||||
COMMAND ${CMAKE_COMMAND} -E make_directory ${CREATE_DIRECTORIES}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user