本帖最后由 ggfgfgf 于 2023-8-23 21:16 编辑
整理中! module_skins.py 笔记, 改身体/种族的小白可能有用~
https://bbs.mountblade.com.cn/thread-2090106-1-1.html
这帖子里讨论了可行性,基本是硬编码,骨骼的缩放只能在代码里修改
但是我试着添加facekey时,发现最后一个,也就是第27滑块条是不显示的,名为post-edit(事后编辑)
我在后面加了一个,调整发现是修改脖子长度的???
有加了一个,28滑块条调整下半张脸突出和内凹
后加的在游戏里显示在前面,应该是一个list,并且抹去了最后一个,估计是方便循环遍历
这是不是可以近似修改身高(bushi
t社真的藏了好多东西没公布。。。——————————————————————————————————————
刚发现,女性和男性的还不一样,27男性是脖子长度,女性就是面部骨骼。。。女性改不了脖子。。。奇怪。另外,这么改会导致游戏npc脸部数据不全,脖子长度或面部骨骼异常,二楼有解决方法,就是进游戏改,然后把新数据复制到troop.py
我已经改完了
man_face_keys = [
(20,0, 0.7,-0.6, "Chin Size"),
(260,0, -0.6,1.4, "Chin Shape"),
(10,0,-0.5,0.9, "Chin Forward"),
(240,0,0.9,-0.8, "Jaw Width"),
(210,0,-0.5,1.0, "Jaw Position"),
(250,0,0.8,-1.0, "Mouth-Nose Distance"),
(200,0,-0.3,1.0, "Mouth Width"),
(50,0,-1.5,1.0, "Cheeks"),
(60,0,-0.4,1.35, "Nose Height"),
(70,0,-0.6,0.7, "Nose Width"),
(80,0,1.0,-0.1, "Nose Size"),
(270,0,-0.5,1.0, "Nose Shape"),
(90,0,-0.2,1.4, "Nose Bridge"),
(100,0,-0.3,1.5, "Cheek Bones"),
(150,0,-0.2,3.0, "Eye Width"),
(110,0,1.5,-0.9, "Eye to Eye Dist"),
(120,0,1.9,-1.0, "Eye Shape"),
(130,0,-0.5, 1.1, "Eye Depth"),
(140,0,1.0,-1.2, "Eyelids"),
(160,0,1.3,-0.2, "Eyebrow Position"),
(170,0,-0.1,1.9, "Eyebrow Height"),
(220,0,-0.1,0.9, "Eyebrow Depth"),
(180,0,-1.1,1.6, "Eyebrow Shape"),
(230,0,1.2,-0.7, "Temple Width"),
(30,0,-0.6,0.9, "Face Depth"),
(40,0,0.9,-0.6, "Face Ratio"),
(190,0,0.0,0.95, "Face Width"),
(280,0,-2.5,2.5, "Neck length"),
(0.70,0,-0.70,1.00, "Face bone"),
(280,0,0.0,1.0, "Post-Edit"),
]
# Face width-Jaw width Temple width
woman_face_keys = [
(230,0,0.8,-1.0, "Chin Size"),
(220,0,-1.0,1.0, "Chin Shape"),
(10,0,-1.2,1.0, "Chin Forward"),
(20,0, -0.6, 1.2, "Jaw Width"),
(40,0,-0.7,1.0, "Jaw Position"),
(270,0,0.9,-0.9, "Mouth-Nose Distance"),
(30,0,-0.5,1.0, "Mouth Width"),
(50,0, -0.5,1.0, "Cheeks"),
(60,0,-0.5,1.0, "Nose Height"),
(70,0,-0.5,1.1, "Nose Width"),
(80,0,1.5,-0.3, "Nose Size"),
(240,0,-1.0,0.8, "Nose Shape"),
(90,0, 0.0,1.1, "Nose Bridge"),
(100,0,-0.5,1.5, "Cheek Bones"),
(150,0,-0.4,1.0, "Eye Width"),
(110,0,1.0,0.0, "Eye to Eye Dist"),
(120,0,-0.2,1.0, "Eye Shape"),
(130,0,-0.1,1.6, "Eye Depth"),
(140,0,-0.2,1.0, "Eyelids"),
(160,0,-0.2,1.2, "Eyebrow Position"),
(170,0,-0.2,0.7, "Eyebrow Height"),
(250,0,-0.4,0.9, "Eyebrow Depth"),
(180,0,-1.5,1.2, "Eyebrow Shape"),
(260,0,1.0,-0.7, "Temple Width"),
(200,0,-0.5,1.0, "Face Depth"),
(210,0,-0.5,0.9, "Face Ratio"),
(190,0,-0.4,0.8, "Face Width"),
(281.5,0,-1.5,1.5, "Face bone"),
(280,0,0.0,1.0, "Post-Edit"),
]
汉化skin.csv
skinkey_chin_size|下 巴 大 小
skinkey_chin_shape|下 巴 形 状
skinkey_chin_forward|下 巴 前 凸
skinkey_jaw_width|下 颌 宽 度
skinkey_jaw_position|下 颌 位 置
skinkey_mouth_nose_distance|人 中 长 度
skinkey_mouth_width|嘴 巴 宽 度
skinkey_cheeks|脸 颊
skinkey_nose_height|鼻 子 长 度
skinkey_nose_width|鼻 子 宽 度
skinkey_nose_size|鼻 子 高 度
skinkey_nose_shape|鼻 子 形 状
skinkey_nose_bridge|鼻 梁 高 低
skinkey_cheek_bones|颧 骨
skinkey_eye_width|眼 睛 宽 度
skinkey_eye_to_eye_dist|两 眼 间 距
skinkey_eye_shape|眼 睛 外 形
skinkey_eye_depth|眼 睛 深 度
skinkey_eyelids|眼 皮
skinkey_eyebrow_position|眉 毛 位 置
skinkey_eyebrow_height|眉 毛 高 度
skinkey_eyebrow_depth|眉 毛 深 度
skinkey_eyebrow_shape|眉 毛 形 状
skinkey_temple_width|太 阳 穴 宽 度
skinkey_face_depth|面 部 深 度
skinkey_face_ratio|面 部 比 例
skinkey_face_width|面 部 宽 度
skinkey_neck_length|脖 子 长 度
skinkey_face_bone|面 部 骨 骼
skinkey_post_edit|事 后 编 辑
|