Advertisement
Ramaraunt1

Untitled

Mar 14th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.81 KB | None | 0 0
  1. from header_skins import *
  2. ####################################################################################################################
  3. # Each skin record contains the following fields:
  4. # 1) Skin id: used for referencing skins.
  5. # 2) Skin flags. Not used yet. Should be 0.
  6. # 3) Body mesh.
  7. # 4) Calf mesh (left one).
  8. # 5) Hand mesh (left one).
  9. # 6) Head mesh.
  10. # 7) Face keys (list)
  11. # 8) List of hair meshes.
  12. # 9) List of beard meshes.
  13. # 10) List of hair textures.
  14. # 11) List of beard textures.
  15. # 12) List of face textures.
  16. # 13) List of voices.
  17. # 14) Skeleton name
  18. # 15) Scale (doesn't fully work yet)
  19. # 16) Blood particles 1 (do not add this if you wish to use the default particles)
  20. # 17) Blood particles 2 (do not add this if you wish to use the default particles)
  21. # 17) Face key constraints (do not add this if you do not wish to use it)
  22. ####################################################################################################################
  23.  
  24. #TLD - significantly modified module_skins.py (Hokie)
  25.  
  26. uruk_face_keys = [
  27. (10,0,-0.5,1.5, "Wieght"),
  28. (20,0,-0.5,1.5, "Mouth Shape"),
  29. (30,0,-0.5,1.25, "Eyelids"),
  30. (40,0,1.25,-0.25, "Eye to Eye Dist"),
  31. (50,0,-0.5,1.5, "Eye Size"),
  32. (60,0,-0.5,1.5, "Eye Slant"),
  33. (70,0, 1.0,-1.0, "Frawn"),
  34. (80,0,-0.5,1.5, "Eyebrow Position"),
  35. (90,0, 1.5,-0.5, "Mouth Width"),
  36.  
  37. (100,0,-0.5,1.5, "Mouth Vert Pos"),
  38. (110,0,-0.5,1.5, "Mouth to Nose Dist"),
  39.  
  40. (120,0,-0.5,1.5, "Nose Size"),
  41. (130,0,-0.5,1.5, "Nose Width"),
  42. (140,0,-0.5,1.5, "Cheeks"),
  43.  
  44. (150,0,-0.5,1.5, "Chin Width"),
  45. (160,0,-0.5,1.5, "Chin Size"),
  46. (170,0,-0.5,1.5, "Cheek Bones"),
  47.  
  48. (180,0,0.0,1.0, "Post-Edit"),
  49. ]
  50.  
  51. man_face_keys = [
  52. (20,0, 0.7,-0.6, "Chin Size"),
  53. (260,0, -0.6,1.4, "Chin Shape"),
  54. (10,0,-0.5,0.9, "Chin Forward"),
  55. (240,0,0.9,-0.8, "Jaw Width"),
  56. (210,0,-0.5,1.0, "Jaw Position"),
  57. (250,0,0.8,-1.0, "Mouth-Nose Distance"),
  58. (200,0,-0.3,1.0, "Mouth Width"),
  59. (50,0,-1.5,1.0, "Cheeks"),
  60.  
  61. (60,0,-0.4,1.35, "Nose Height"),
  62. (70,0,-0.6,0.7, "Nose Width"),
  63. (80,0,1.0,-0.1, "Nose Size"),
  64. (270,0,-0.5,1.0, "Nose Shape"),
  65. (90,0,-0.2,1.4, "Nose Bridge"),
  66.  
  67. (100,0,-0.3,1.5, "Cheek Bones"),
  68. (150,0,-0.2,3.0, "Eye Width"),
  69. (110,0,1.5,-0.9, "Eye to Eye Dist"),
  70. (120,0,1.9,-1.0, "Eye Shape"),
  71. (130,0,-0.5, 1.1, "Eye Depth"),
  72. (140,0,1.0,-1.2, "Eyelids"),
  73.  
  74. (160,0,1.3,-0.2, "Eyebrow Position"),
  75. (170,0,-0.1,1.9, "Eyebrow Height"),
  76. (220,0,-0.1,0.9, "Eyebrow Depth"),
  77. (180,0,-1.1,1.6, "Eyebrow Shape"),
  78. (230,0,1.2,-0.7, "Temple Width"),
  79.  
  80. (30,0,-0.6,0.9, "Face Depth"),
  81. (40,0,0.9,-0.6, "Face Ratio"),
  82. (190,0,0.0,0.95, "Face Width"),
  83.  
  84. (280,0,0.0,1.0, "Post-Edit"),
  85. ]
  86.  
  87. elf_face_keys = [
  88. (20,0, 0.7,-0.6, "Chin Size"),
  89. (260,0, -0.6,1.4, "Chin Shape"),
  90. (10,0,-0.5,0.9, "Chin Forward"),
  91. (240,0,0.9,-0.3, "Jaw Width"),
  92. (210,0,-0.5,0.5, "Jaw Position"),
  93. (250,0,0.8,-1.0, "Mouth-Nose Distance"),
  94. (200,0,-0.3,0.4, "Mouth Width"),
  95. (50,0,-1.5,0.5, "Cheeks"),
  96.  
  97. (60,0,-0.4,1.35, "Nose Height"),
  98. (70,0,-0.6,-0.2, "Nose Width"),
  99. (80,0,1.0,0.2, "Nose Size"),
  100. (270,0,-0.5,1.0, "Nose Shape"),
  101. (90,0,-0.2,1.4, "Nose Bridge"),
  102.  
  103. (100,0,-0.3,1.5, "Cheek Bones"),
  104. (150,0,-0.2,3.0, "Eye Width"),
  105. (110,0,1.1,-0.5, "Eye to Eye Dist"),
  106. (120,0,0.9,-1.0, "Eye Shape"),
  107. (130,0,-0.5, 1.1, "Eye Depth"),
  108. (140,0,1.0,-1.2, "Eyelids"),
  109.  
  110. (160,0,1.0,-0.2, "Eyebrow Position"),
  111. (170,0,-0.1,1.9, "Eyebrow Height"),
  112. (220,0,-0.1,0.9, "Eyebrow Depth"),
  113. (180,0,-0.5,1.6, "Eyebrow Shape"),
  114. (230,0,1.2,-0.7, "Temple Width"),
  115.  
  116. (30,0,-0.6,0.9, "Face Depth"),
  117. (40,0,0.9,-0.6, "Face Ratio"),
  118. (190,0,0.0,0.95, "Face Width"),
  119.  
  120. (280,0,0.0,1.0, "Post-Edit"),
  121. ]
  122.  
  123.  
  124. orc_face_keys = [
  125. (20,0, 0.7,-0.6, "Chin Size"),
  126. (260,0, -0.6,1.4, "Chin Shape"),
  127. (10,0,-0.5,0.9, "Chin Forward"),
  128. (240,0,0.9,-0.8, "Jaw Width"),
  129. (210,0,-0.5,1.0, "Jaw Position"),
  130. (250,0,0.8,-1.0, "Mouth-Nose Distance"),
  131. (200,0,-0.3,1.0, "Mouth Width"),
  132. (50,0,-1.5,1.0, "Cheeks"),
  133.  
  134. (60,0,-0.4,1.35, "Snout Height"),
  135. (70,0,-0.6,0.7, "Snout Width"),
  136. (80,0,1.0,-1.0, "Snout Size"),
  137. (270,0,-0.5,1.0, "Snout Shape"),
  138. (90,0,-0.2,1.4, "Nose Bridge"),
  139.  
  140. (100,0,-0.3,1.5, "Cheek Bones"),
  141. (150,0,-0.2,3.0, "Eye Width"),
  142. (110,0,1.5,-0.9, "Eye to Eye Dist"),
  143. (120,0,1.9,-1.0, "Eye Shape"),
  144. (130,0,-0.5, 1.1, "Eye Depth"),
  145. (140,0,1.0,-1.2, "Eyelids"),
  146.  
  147. (160,0,1.3,-0.2, "Eyebrow Position"),
  148. (170,0,-0.1,1.9, "Eyebrow Height"),
  149. (220,0,-0.1,0.9, "Eyebrow Depth"),
  150. (180,0,-1.1,1.6, "Eyebrow Shape"),
  151. (230,0,1.2,-0.7, "Temple Width"),
  152.  
  153. (30,0,-0.6,0.9, "Face Depth"),
  154. (40,0,0.9,-0.6, "Face Ratio"),
  155. (190,0,0.0,0.95, "Face Width"),
  156.  
  157. (280,0,0.0,1.0, "Post-Edit"),
  158. ]
  159.  
  160. dwarf_face_keys = [
  161. (20,0, 0.7,-0.6, "Chin Size"),
  162. (260,0, -0.6,1.4, "Chin Shape"),
  163. (10,0,-0.5,0.9, "Chin Forward"),
  164. (240,0,0.9,-0.8, "Jaw Width"),
  165. (210,0,-0.5,1.0, "Jaw Position"),
  166. (250,0,0.8,-1.0, "Mouth-Nose Distance"),
  167. (200,0,-0.3,1.0, "Mouth Width"),
  168. (50,0,-1.5,1.0, "Cheeks"),
  169.  
  170. (60,0,-0.4,1.35, "Nose Height"),
  171. (70,0,-0.6,0.7, "Nose Width"),
  172. (80,0,1.0,-0.1, "Nose Size"),
  173. (270,0,-0.5,1.0, "Nose Shape"),
  174. (90,0,-0.2,1.4, "Nose Bridge"),
  175.  
  176. (100,0,-0.3,1.5, "Cheek Bones"),
  177. (150,0,-0.2,3.0, "Eye Width"),
  178. (110,0,1.5,-0.9, "Eye to Eye Dist"),
  179. (120,0,1.9,-1.0, "Eye Shape"),
  180. (130,0,-0.5, 1.1, "Eye Depth"),
  181. (140,0,1.0,-1.2, "Eyelids"),
  182.  
  183. (160,0,1.3,-0.2, "Eyebrow Position"),
  184. (170,0,-0.1,1.9, "Eyebrow Height"),
  185. (220,0,-0.1,0.9, "Eyebrow Depth"),
  186. (180,0,-1.1,1.6, "Eyebrow Shape"),
  187. (230,0,1.2,-0.7, "Temple Width"),
  188.  
  189. (30,0,-0.6,0.9, "Face Depth"),
  190. (40,0,0.9,-0.6, "Face Ratio"),
  191. (190,0,0.0,0.95, "Face Width"),
  192.  
  193. (280,0,0.0,1.0, "Post-Edit"),
  194. ]
  195.  
  196. # Face width-Jaw width Temple width
  197. woman_face_keys = [
  198. (230,0,0.8,-1.0, "Chin Size"),
  199. (220,0,-1.0,1.0, "Chin Shape"),
  200. (10,0,-1.2,1.0, "Chin Forward"),
  201. (20,0, -0.6, 1.2, "Jaw Width"),
  202. (40,0,-0.7,1.0, "Jaw Position"),
  203. (270,0,0.9,-0.9, "Mouth-Nose Distance"),
  204. (30,0,-0.5,1.0, "Mouth Width"),
  205. (50,0, -0.5,1.0, "Cheeks"),
  206.  
  207. (60,0,-0.5,1.0, "Nose Height"),
  208. (70,0,-0.5,1.1, "Nose Width"),
  209. (80,0,1.5,-0.3, "Nose Size"),
  210. (240,0,-1.0,0.8, "Nose Shape"),
  211. (90,0, 0.0,1.1, "Nose Bridge"),
  212.  
  213. (100,0,-0.5,1.5, "Cheek Bones"),
  214. (150,0,-0.4,1.0, "Eye Width"),
  215. (110,0,1.0,0.0, "Eye to Eye Dist"),
  216. (120,0,-0.2,1.0, "Eye Shape"),
  217. (130,0,-0.1,1.6, "Eye Depth"),
  218. (140,0,-0.2,1.0, "Eyelids"),
  219.  
  220.  
  221. (160,0,-0.2,1.2, "Eyebrow Position"),
  222. (170,0,-0.2,0.7, "Eyebrow Height"),
  223. (250,0,-0.4,0.9, "Eyebrow Depth"),
  224. (180,0,-1.5,1.2, "Eyebrow Shape"),
  225. (260,0,1.0,-0.7, "Temple Width"),
  226.  
  227. (200,0,-0.5,1.0, "Face Depth"),
  228. (210,0,-0.5,0.9, "Face Ratio"),
  229. (190,0,-0.4,0.8, "Face Width"),
  230.  
  231. (280,0,0.0,1.0, "Post-Edit"),
  232. ]
  233.  
  234.  
  235. gondor_face_keys = man_face_keys
  236. rohan_face_keys = man_face_keys
  237. dunlander_face_keys = man_face_keys
  238. haradrim_face_keys = man_face_keys
  239. easterling_face_keys = man_face_keys
  240. troll_face_keys = []
  241. dunedain_face_keys = man_face_keys
  242. lothlorien_face_keys = elf_face_keys
  243. rivendell_face_keys = elf_face_keys
  244. mirkwood_face_keys = elf_face_keys
  245. evil_male_face_keys = man_face_keys
  246.  
  247. chin_size = 0
  248. chin_shape = 1
  249. chin_forward = 2
  250. jaw_width = 3
  251. jaw_position = 4
  252. mouth_nose_distance = 5
  253. mouth_width = 6
  254. cheeks = 7
  255. nose_height = 8
  256. nose_width = 9
  257. nose_size = 10
  258. nose_shape = 11
  259. nose_bridge = 12
  260. cheek_bones = 13
  261. eye_width = 14
  262. eye_to_eye_dist = 15
  263. eye_shape = 16
  264. eye_depth = 17
  265. eyelids = 18
  266. eyebrow_position = 19
  267. eyebrow_height = 20
  268. eyebrow_depth = 21
  269. eyebrow_shape = 22
  270. temple_width = 23
  271. face_depth = 24
  272. face_ratio = 25
  273. face_width = 26
  274.  
  275. comp_less_than = -1;
  276. comp_greater_than = 1;
  277.  
  278. skins = [
  279. ( "man", 0,
  280. "man_body", "man_calf_l", "m_handL",
  281. "male_head", man_face_keys,
  282. ["man_hair_s","man_hair_m","man_hair_n","man_hair_o", "man_hair_y10", "man_hair_y12","man_hair_p","man_hair_r","man_hair_q","man_hair_v","man_hair_t","man_hair_y6","man_hair_y3","man_hair_y7","man_hair_y9","man_hair_y11","man_hair_u","man_hair_y","man_hair_y2","man_hair_y4"], #man_hair_meshes ,"man_hair_y5","man_hair_y8",
  283. ["beard_e","beard_d","beard_k","beard_l","beard_i","beard_j","beard_z","beard_m","beard_n","beard_y","beard_p","beard_o", "beard_v", "beard_f", "beard_b", "beard_c","beard_t","beard_u","beard_r","beard_s","beard_a","beard_h","beard_g",], #beard meshes ,"beard_q"
  284. ["hair_blonde"], #hair textures
  285. ["beard_blonde"], #beard_materials
  286. [("manface_young_2" ,0xffcbe0e0,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19]),
  287. ("manface_midage" ,0xffdfefe1,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff632e18, 0xff502a19, 0xff19100c]),
  288. ("manface_young" ,0xffd0e0e0,["hair_blonde"],[0xff83301a, 0xff502a19, 0xff19100c, 0xff0c0d19]),
  289. ("manface_young_3" ,0xffdceded,["hair_blonde"],[0xff2f180e, 0xff171313, 0xff07080c]),
  290. ("manface_7" ,0xffc0c8c8,["hair_blonde"],[0xff171313, 0xff07080c]),
  291. ("manface_midage_2",0xfde4c8d8,["hair_blonde"],[0xff502a19, 0xff19100c, 0xff0c0d19]),
  292. ("manface_rugged" ,0xffb0aab5,["hair_blonde"],[0xff171313, 0xff07080c]),
  293. ], #man_face_textures,
  294. [(voice_die,"snd_man_die"),(voice_hit,"snd_man_hit"),(voice_grunt,"snd_man_grunt"),(voice_grunt_long,"snd_man_grunt_long"),(voice_yell,"snd_man_yell"),(voice_victory,"snd_man_victory")], #voice sounds
  295. "skel_human", 1.0,
  296. "psys_game_blood","psys_game_blood_2",
  297. [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
  298. [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
  299. [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
  300. [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  301. [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  302. [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
  303. [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
  304. [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
  305. ]
  306. ),
  307. #1
  308. ( "woman", skf_use_morph_key_30,
  309. "woman_body", "woman_calf_l", "f_handL",
  310. "female_head", woman_face_keys,
  311. ["woman_hair_p","woman_hair_n","woman_hair_o","woman_hair_q","woman_hair_r","woman_hair_t","woman_hair_s","welf_hair_1","welf_hair_2","welf_hair_3","welf_hair_4","welf_hair_5","welf_hair_6", "welf_hair_7","welf_hair_8"], #woman_hair_meshes
  312. [],
  313. ["hair_blonde"], #hair textures
  314. [],
  315. [("womanface_young",0xffe3e8ef,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19, 0xff19100c]),
  316. ("womanface_b" ,0xffdfdfdf,["hair_blonde"],[0xffa5481f, 0xff502a19, 0xff19100c, 0xff0c0d19]), #0xffa5481f, 0xff502a19, 0xff19100c, 0xff0c0d19
  317. ("womanface_a" ,0xffe8dfe5,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19, 0xff19100c]), #0xff502a19, 0xff19100c, 0xff0c0d19
  318. ("womanface_brown",0xffaf9f7e,["hair_blonde"],[0xff19100c, 0xff0c0d19, 0xff07080c]),
  319. ("womanface_elf" ,0xffe3e8ef,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19, 0xff19100c]),
  320. ],#woman_face_textures
  321. [(voice_die,"snd_woman_die"),(voice_hit,"snd_woman_hit")], #voice sounds
  322. "skel_human", 1.0,
  323. "psys_game_blood","psys_game_blood_2",
  324. ),
  325.  
  326. ########################################################################################################################
  327. #2
  328. ( "gondor", 0,
  329. "man_body", "man_calf_l", "m_handL",
  330. "male_head", gondor_face_keys,
  331. ["man_hair_s","man_hair_m","man_hair_n","man_hair_o", "man_hair_y10", "man_hair_y12","man_hair_p","man_hair_r","man_hair_q","man_hair_v","man_hair_t","man_hair_y6","man_hair_y3","man_hair_y7","man_hair_y9","man_hair_y11","man_hair_u","man_hair_y","man_hair_y2","man_hair_y4"], #man_hair_meshes ,"man_hair_y5","man_hair_y8",
  332. ["beard_e","beard_d","beard_k","beard_l","beard_i","beard_j","beard_z","beard_m","beard_n","beard_y","beard_p","beard_o", "beard_v", "beard_f", "beard_b", "beard_c","beard_t","beard_u","beard_r","beard_s","beard_a","beard_h","beard_g",], #beard meshes ,"beard_q"
  333. ["hair_blonde"], #hair textures
  334. ["beard_blonde"], #beard_materials
  335. [("manface_young_2" ,0xffcbe0e0,["hair_blonde"],[0xff120808, 0xff502a19, 0xffb04717,]),
  336. ("manface_midage" ,0xffdfefe1,["hair_blonde"],[0xffb04717, 0xff632e18, 0xff502a19, 0xff19100c]),
  337. ("manface_young" ,0xffd0e0e0,["hair_blonde"],[0xff502a19, 0xff19100c, 0xff0c0d19]),
  338. ("manface_young_3" ,0xffdceded,["hair_blonde"],[0xff2f180e, 0xff171313, 0xff07080c]),
  339. ("manface_7" ,0xffc0c8c8,["hair_blonde"],[0xff171313, 0xff07080c]),
  340. ("manface_midage_2",0xfde4c8d8,["hair_blonde"],[0xff502a19, 0xff19100c, 0xff0c0d19]),
  341. ("manface_rugged" ,0xffb0aab5,["hair_blonde"],[0xff171313, 0xff07080c]),
  342. ], #man_face_textures,
  343. [(voice_die,"snd_man_die"),(voice_hit,"snd_man_hit"),(voice_grunt,"snd_man_grunt"),(voice_grunt_long,"snd_man_grunt_long"),(voice_yell,"snd_gondor_yell"),(voice_victory,"snd_gondor_victory")], #voice sounds
  344. "skel_human", 1.0,
  345. "psys_game_blood","psys_game_blood_2",
  346. [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
  347. [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
  348. [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
  349. [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  350. [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  351. [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
  352. [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
  353. [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
  354. ]
  355. ),
  356. ########################################################################################################################
  357. #3
  358. ( "rohan", 0,
  359. "man_body", "man_calf_l", "m_handL",
  360. "male_head", rohan_face_keys,
  361. ["man_hair_o", "man_hair_n","man_hair_q","man_hair_r", "man_hair_p"], #man_hair_meshes ,"man_hair_y5","man_hair_y8",
  362. ["beard_i","beard_r","beard_q","beard_b","beard_u","beard_c","beard_e","beard_h","beard_m","beard_n","beard_o","beard_v","beard_y"], #beard meshes
  363. ["hair_blonde"], #hair textures
  364. ["beard_blonde"], #beard_materials
  365. [("manface_young" ,0xffd0e0e0,["hair_blonde"],[0xffffffff, 0xfffffbaf, 0xfffff98e, 0xfffff67f, 0xffffd999, 0xffffc896]),
  366. ("manface_young_2" ,0xffcbe0e0,["hair_blonde"],[0xffffffff, 0xfffffbaf, 0xfffff98e, 0xfffff67f, 0xffffd999, 0xffffc896]),
  367. ("rohan_face_a" ,0xffcbe0e0,["hair_blonde"],[0xffffffff, 0xfffffbaf, 0xfffff98e, 0xfffff67f, 0xffffd999, 0xffffc896]),
  368. ("rohan_face_b" ,0xffdfefe1,["hair_blonde"],[0xffffffff, 0xfffffbaf, 0xfffff98e, 0xfffff67f, 0xffffd999, 0xffffc896]),
  369. ("manface_midage" ,0xffdfefe1,["hair_blonde"],[0xffffffff, 0xfffffbaf, 0xfffff98e, 0xfffff67f, 0xffffd999, 0xffffc896]),
  370. # ("rohan_face_c",0xffd0e0e0,["hair_blonde"],[0xffffffff, 0xfffffbaf, 0xfffff98e, 0xfffff67f, 0xffffd999, 0xffffc896]),
  371. # ("rohan_face_d",0xffdceded,["hair_blonde"],[0xffffffff, 0xfffffbaf, 0xfffff98e, 0xfffff67f, 0xffffd999, 0xffffc896]),
  372. # ("rohan_face_e",0xffdceded,["hair_blonde"],[0xffffffff, 0xfffffbaf, 0xfffff98e, 0xfffff67f, 0xffffd999, 0xffffc896]),
  373. # ("rohan_face_f",0xffdceded,["hair_blonde"],[0xffffffff, 0xfffffbaf, 0xfffff98e, 0xfffff67f, 0xffffd999, 0xffffc896]),
  374. # ("rohan_face_g",0xffdceded,["hair_blonde"],[0xffffffff, 0xfffffbaf, 0xfffff98e, 0xfffff67f, 0xffffd999, 0xffffc896]),
  375. # ("rohan_face_h",0xffdceded,["hair_blonde"],[0xffffffff, 0xfffffbaf, 0xfffff98e, 0xfffff67f, 0xffffd999, 0xffffc896]),
  376. ], #man_face_textures,
  377. [(voice_die,"snd_man_die"),(voice_hit,"snd_man_hit"),(voice_grunt,"snd_man_grunt"),(voice_grunt_long,"snd_man_grunt_long"),(voice_yell,"snd_rohan_yell"),(voice_victory,"snd_rohan_victory")], #voice sounds
  378. "skel_human", 1.0,
  379. "psys_game_blood","psys_game_blood_2",
  380. [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
  381. [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
  382. [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
  383. [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  384. [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  385. [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
  386. [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
  387. [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
  388. ]
  389. ),
  390. ########################################################################################################################
  391. #4
  392. ( "dunland", 0,
  393. "man_body", "man_calf_l", "m_handL",
  394. "male_head", dunlander_face_keys,
  395. ["man_hair_s","man_hair_m","man_hair_n","man_hair_o", "man_hair_p","man_hair_r","man_hair_q"], #man_hair_meshes
  396. ["beard_r","beard_n","beard_m","beard_j","beard_i","beard_g","beard_e", "beard_z","beard_y","beard_v",], #beard meshes
  397. ["hair_blonde"], #hair textures
  398. ["beard_blonde"], #beard_materials
  399. [("manface_midage" ,0xffdfefe1,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff632e18, 0xff502a19, 0xff19100c]),
  400. ("manface_rugged" ,0xffb0aab5,["hair_blonde"],[0xff171313, 0xff07080c]),
  401. ("east_bandit_face_a",0xfde4c8d8,["hair_blonde"],[0xff502a19, 0xff19100c, 0xff0c0d19]),
  402. ("east_bandit_face_b",0xffb0aab5,["hair_blonde"],[0xff171313, 0xff07080c]),
  403. ("east_bandit_face_c",0xff807c8a,["hair_blonde"],[0xff120808, 0xff07080c]),
  404. ("wildman_face_a" ,0xffdceded,["hair_blonde"],[0xff2f180e, 0xff171313, 0xff07080c]),
  405. ("wildman_face_b" ,0xffc0c8c8,["hair_blonde"],[0xff171313, 0xff07080c]),
  406. ], #man_face_textures,
  407. [(voice_die,"snd_man_die"),(voice_hit,"snd_man_hit"),(voice_grunt,"snd_man_grunt"),(voice_grunt_long,"snd_man_grunt_long"),(voice_yell,"snd_dunlender_yell"),(voice_victory,"snd_dunlender_victory")], #voice sounds
  408. "skel_human", 0.9,
  409. "psys_game_blood","psys_game_blood_2",
  410. [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
  411. [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
  412. [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
  413. [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  414. [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  415. [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
  416. [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
  417. [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
  418. ]
  419. ),
  420. ########################################################################################################################
  421. #5
  422. ( "orc", skf_use_morph_key_20,
  423. "orc_body", "orc_calf_l", "o_handL",
  424. "orc_head", orc_face_keys,
  425. ["orc_ears01","orc_ears02","orc_ears03","orc_ears04", "orc_hair01","orc_hair02","orc_hair03","orc_hair04","orc_hair05","orc_hair06","orc_hair07","orc_hair08","orc_hair09","orc_hair10","orc_hair11"], #man_hair_meshes ,"man_hair_y5","man_hair_y8",
  426. [], #beard meshes ,
  427. ["orc_hair_ears"], #hair textures
  428. ["orc_hair_ears"], #beard_materials
  429. [("face_orc_a",0xffffffff,["orc_hair_ears"],[0xffffffff]),
  430. ("face_orc_b",0xffffffff,["orc_hair_ears"],[0xffffffff]),
  431. ("face_orc_c",0xffffffff,["orc_hair_ears"],[0xffffffff]),
  432. ], #man_face_textures,
  433. [(voice_die,"snd_orc_die"),(voice_hit,"snd_orc_hit"),(voice_grunt,"snd_orc_grunt"),(voice_grunt_long,"snd_orc_grunt_long"),(voice_yell,"snd_orc_yell"),(voice_victory,"snd_orc_victory")], #voice sounds
  434. "skel_orc", 1.0,
  435. "psys_game_blood","psys_game_blood_2",
  436. [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
  437. [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
  438. [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
  439. [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  440. [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  441. [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
  442. [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
  443. [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
  444. ]
  445. ),
  446. ########################################################################################################################
  447. #6
  448. ( "urukhai", 0,
  449. "urukhai_body", "urukhai_calf_l", "uh_handL",
  450. "urukhai_head", uruk_face_keys,
  451. ["uruk_ears01","uruk_ears02","uruk_hair01","uruk_hair02","uruk_hair03","uruk_hair04","uruk_hair05"],
  452. ["uruk_teeth01","uruk_teeth02","uruk_teeth03","uruk_teeth04","uruk_teeth05","uruk_teeth06","uruk_teeth07","uruk_teeth08",], #beard meshes
  453. ["orc_hair_ears"], #hair textures
  454. ["orc_hair_ears"], #beard_materials
  455. [("face_urukhai_a",0xffffffff,["orc_hair_ears"],[0xffffffff]),
  456. ("face_urukhai_b",0xffffffff,["orc_hair_ears"],[0xffffffff]),
  457. ("face_urukhai_c",0xffffffff,["orc_hair_ears"],[0xffffffff]),
  458. ], #man_face_textures,
  459. [(voice_die,"snd_uruk_die"),(voice_hit,"snd_uruk_hit"),(voice_grunt,"snd_uruk_grunt"),(voice_grunt_long,"snd_uruk_grunt_long"),(voice_yell,"snd_uruk_yell"),(voice_victory,"snd_uruk_victory")], #voice sounds
  460. "skel_uruk", 1.0,
  461. "psys_game_blood","psys_game_blood_2",
  462. [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
  463. [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
  464. [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
  465. [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  466. [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  467. [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
  468. [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
  469. [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
  470. ]
  471. ),
  472. ########################################################################################################################
  473. #7
  474. ( "uruk", 0,
  475. "uruk_body", "uruk_calf_l", "u_handL",
  476. "uruk_head", uruk_face_keys,
  477. ["uruk_ears01","uruk_ears02","uruk_hair01","uruk_hair02","uruk_hair03","uruk_hair04","uruk_hair05"],
  478. ["uruk_teeth01","uruk_teeth02","uruk_teeth03","uruk_teeth04","uruk_teeth05","uruk_teeth06","uruk_teeth07","uruk_teeth08",], #beard meshes
  479. ["orc_hair_ears"], #hair textures
  480. ["orc_hair_ears"], #beard_materials
  481. [("face_uruk_a",0xffffffff,["orc_hair_ears"],[0xffffffff]),
  482. ("face_uruk_b",0xffffffff,["orc_hair_ears"],[0xffffffff]),
  483. ("face_uruk_c",0xffffffff,["orc_hair_ears"],[0xffffffff]),
  484. ], #man_face_textures,
  485. [(voice_die,"snd_uruk_die"),(voice_hit,"snd_uruk_hit"),(voice_grunt,"snd_uruk_grunt"),(voice_grunt_long,"snd_uruk_grunt_long"),(voice_yell,"snd_uruk_yell"),(voice_victory,"snd_uruk_victory")], #voice sounds
  486. "skel_uruk", 0.9,
  487. "psys_game_blood","psys_game_blood_2",
  488. [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
  489. [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
  490. [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
  491. [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  492. [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  493. [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
  494. [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
  495. [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
  496. ]
  497. ), ########################################################################################################################
  498. #8
  499. ( "harad", 0,
  500. "harad_tribesman", "harad_man_calf_l", "harad_m_handL",
  501. "male_head", haradrim_face_keys,
  502. ["man_hair_s","man_hair_m","man_hair_n","man_hair_o", "man_hair_y10", "man_hair_y12","man_hair_p","man_hair_r","man_hair_q","man_hair_v","man_hair_t","man_hair_y6","man_hair_y3","man_hair_y7","man_hair_y9","man_hair_y11","man_hair_u","man_hair_y","man_hair_y2","man_hair_y4"], #man_hair_meshes ,"man_hair_y5","man_hair_y8",
  503. [], #beard meshes ,"beard_q"
  504. ["hair_blonde"], #hair textures
  505. ["beard_blonde"], #beard_materials
  506. [("harad_face_a",0xffcbe0e0,["hair_blonde"],[0xff120808, 0xff07080c]),
  507. ("harad_face_b",0xffdfefe1,["hair_blonde"],[0xff120808, 0xff07080c]),
  508. ("harad_face_c",0xffd0e0e0,["hair_blonde"],[0xff120808, 0xff07080c]),
  509. ("harad_face_d",0xffdceded,["hair_blonde"],[0xff120808, 0xff07080c]),
  510. ("harad_face_e",0xffc0c8c8,["hair_blonde"],[0xff120808, 0xff07080c]),
  511. ], #man_face_textures,
  512. [(voice_die,"snd_haradrim_die"),(voice_hit,"snd_man_hit"),(voice_grunt,"snd_man_grunt"),(voice_grunt_long,"snd_man_grunt_long"),(voice_yell,"snd_haradrim_yell"),(voice_victory,"snd_haradrim_victory")], #voice sounds
  513. "skel_human", 1.0,
  514. "psys_game_blood","psys_game_blood_2",
  515. [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
  516. [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
  517. [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
  518. [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  519. [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  520. [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
  521. [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
  522. [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
  523. ]
  524. ),
  525. ########################################################################################################################
  526. #9 Dwarf
  527. ( "dwarf", skf_use_morph_key_10 ,
  528. "dwarf_body", "dwarf_calf_l", "dwarf_handL",
  529. "male_head", dwarf_face_keys,
  530. ["man_hair_s","man_hair_n","man_hair_p","man_hair_r","man_hair_q","man_hair_v","man_hair_y9"], #man_hair_meshes ,"man_hair_y5","man_hair_y8",
  531. ["beard_dwarf_1","beard_dwarf_2", "beard_dwarf_3", "beard_dwarf_4","beard_dwarf_5","beard_dwarf_6","beard_dwarf_7","beard_dwarf_8",], #beard meshes ,
  532. ["hair_blonde_dwarf"], #hair textures
  533. ["dwarf_beard_blonde"], #beard_materials
  534. [("manface_young" ,0xffd0e0e0,["hair_blonde"],[0xffb04717, 0xffb04717, 0xff502a19]),
  535. ("manface_young_2" ,0xffcbe0e0,["hair_blonde"],[0xffb04717, 0xff632e18, 0xff502a19, 0xff19100c]),
  536. ("manface_7" ,0xffc0c8c8,["hair_blonde"],[0xff83301a, 0xff502a19, 0xff19100c, 0xff0c0d19]),
  537. ("manface_midage" ,0xffdfefe1,["hair_blonde"],[0xff2f180e, 0xff171313, 0xff07080c]),
  538. ("manface_midage_2",0xfde4c8d8,["hair_blonde"],[0xff2f180e, 0xff171313, 0xff07080c]),
  539. ("manface_rugged" ,0xffb0aab5,["hair_blonde"],[0xff171313, 0xff07080c]),
  540. ], #man_face_textures,
  541. [(voice_die,"snd_man_die"),(voice_hit,"snd_man_hit"),(voice_grunt,"snd_man_grunt"),(voice_grunt_long,"snd_man_grunt_long"),(voice_yell,"snd_dwarf_yell"),(voice_victory,"snd_dwarf_victory")], #voice sounds
  542. "skel_dwarf", 1.0,
  543. "psys_game_blood","psys_game_blood_2",
  544. [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
  545. [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
  546. [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
  547. [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  548. [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  549. [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
  550. [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
  551. [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
  552. ]
  553. ),
  554. ########################################################################################################################
  555. #10 Troll
  556. ( "troll", 0,
  557. "troll_body", "dummy_mesh", "troll_handL",
  558. "dummy_mesh", troll_face_keys,
  559. [], #hair meshes
  560. [], #beard meshes
  561. ["hair_blonde"], #hair textures NOTE - you MUST have a hair texture (even if it is not used) for the game not to crash
  562. [], #beard materials
  563. [
  564. ("troll",0xffffffff,[]) #face material, skin hue, hair color (we must put a value for hair color since limit_hair_color = 1 in the module.ini)
  565. ], #face textures,
  566. [(voice_die,"snd_troll_die"),(voice_hit,"snd_troll_hit"),(voice_grunt,"snd_troll_grunt"),(voice_grunt_long,"snd_troll_grunt_long"),(voice_yell,"snd_troll_yell"),(voice_victory,"snd_troll_victory")], #voice sounds
  567. "skel_troll", 1.0, #1.0 is the hitbox size, can be made slightly bigger/smaller but large changes may cause the game to crash
  568. "psys_game_blood","psys_game_blood_2",
  569. ),
  570. ########################################################################################################################
  571. #11 Dunedain
  572. ( "dunedain", 0,
  573. "man_body", "man_calf_l", "m_handL",
  574. "male_head", dunedain_face_keys,
  575. ["man_hair_s","man_hair_m","man_hair_n","man_hair_o", "man_hair_y10", "man_hair_y12","man_hair_p","man_hair_r","man_hair_q","man_hair_v","man_hair_t","man_hair_y6","man_hair_y3","man_hair_y7","man_hair_y9","man_hair_y11","man_hair_u","man_hair_y","man_hair_y2","man_hair_y4"], #man_hair_meshes ,"man_hair_y5","man_hair_y8",
  576. ["beard_e","beard_d","beard_k","beard_l","beard_i","beard_j","beard_z","beard_m","beard_n","beard_y","beard_p","beard_o", "beard_v", "beard_f", "beard_b", "beard_c","beard_t","beard_u","beard_r","beard_s","beard_a","beard_h","beard_g",], #beard meshes ,"beard_q"
  577. ["hair_blonde"], #hair textures
  578. ["beard_blonde"], #beard_materials
  579. [("manface_young_2" ,0xffcbe0e0,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19]),
  580. ("manface_midage" ,0xffdfefe1,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff632e18, 0xff502a19, 0xff19100c]),
  581. ("manface_young" ,0xffd0e0e0,["hair_blonde"],[0xff83301a, 0xff502a19, 0xff19100c, 0xff0c0d19]),
  582. ("manface_young_3" ,0xffdceded,["hair_blonde"],[0xff2f180e, 0xff171313, 0xff07080c]),
  583. ("manface_7" ,0xffc0c8c8,["hair_blonde"],[0xff171313, 0xff07080c]),
  584. ("manface_midage_2",0xfde4c8d8,["hair_blonde"],[0xff502a19, 0xff19100c, 0xff0c0d19]),
  585. ("manface_rugged" ,0xffb0aab5,["hair_blonde"],[0xff171313, 0xff07080c]),
  586. # ("manface_african" ,0xff807c8a,["hair_blonde"],[0xff120808, 0xff007080c]),
  587. ], #man_face_textures,
  588. [(voice_die,"snd_man_die"),(voice_hit,"snd_man_hit"),(voice_grunt,"snd_man_grunt"),(voice_grunt_long,"snd_man_grunt_long"),(voice_yell,"snd_dunedain_yell"),(voice_victory,"snd_dunedain_victory")], #voice sounds
  589. "skel_human", 1.0,
  590. "psys_game_blood","psys_game_blood_2",
  591. [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
  592. [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
  593. [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
  594. [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  595. [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  596. [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
  597. [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
  598. [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
  599. ]
  600. ),
  601. ########################################################################################################################
  602. #12
  603. ( "lorien", 0,
  604. "man_body", "man_calf_l", "m_handL",
  605. "male_head", lothlorien_face_keys,
  606. ["elf_hair_4","elf_hair_3","elf_hair_1","elf_hair_2","man_hair_p","elf_hair_6", "elf_hair_7","man_hair_r","man_hair_q","elf_hair_5","elf_hair_8"], #man_hair_meshes ,"man_hair_y5","man_hair_y8",
  607. [], #beard meshes ,"beard_q"
  608. ["hair_blonde_elf"], #hair textures
  609. ["beard_blonde"], #beard_materials
  610. [("elfface_young" ,0xffcbe0e0,["hair_blonde_elf"],[0xffffffff, 0xffb04717, 0xff502a19]),
  611. ("elfface_young_2",0xffdfefe1,["hair_blonde_elf"],[0xffffffff, 0xffb04717, 0xff632e18, 0xff502a19, 0xff19100c]),
  612. ("elfface_young_4",0xffd0e0e0,["hair_blonde_elf"],[0xff83301a, 0xff502a19, 0xff19100c, 0xff0c0d19]),
  613. ("elfface_young_3",0xffdceded,["hair_blonde_elf"],[0xff2f180e, 0xff171313, 0xff07080c]),
  614. ], #elf_face_textures,
  615. [(voice_die,"snd_man_die"),(voice_hit,"snd_man_hit"),(voice_grunt,"snd_man_grunt"),(voice_grunt_long,"snd_man_grunt_long"),(voice_yell,"snd_lothlorien_yell"),(voice_victory,"snd_lothlorien_victory")], #voice sounds
  616. "skel_elf", 1.0,
  617. "psys_game_blood","psys_game_blood_2",
  618. [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
  619. [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
  620. [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
  621. [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  622. [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  623. [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
  624. [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
  625. [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
  626. ]
  627. ),
  628. ########################################################################################################################
  629. #13
  630. ( "imladris", 0,
  631. "man_body", "man_calf_l", "m_handL",
  632. "male_head", rivendell_face_keys,
  633. ["elf_hair_4","elf_hair_3","elf_hair_1","elf_hair_2","man_hair_p","elf_hair_6", "elf_hair_7","man_hair_r","man_hair_q","elf_hair_5","elf_hair_8"], #man_hair_meshes ,"man_hair_y5","man_hair_y8",
  634. [], #beard meshes ,"beard_q"
  635. ["hair_blonde_elf"], #hair textures
  636. ["beard_blonde"], #beard_materials
  637. [("elfface_young" ,0xffcbe0e0,["hair_blonde_elf"],[0xffffffff, 0xffb04717, 0xff502a19]),
  638. ("elfface_young_2",0xffdfefe1,["hair_blonde_elf"],[0xffffffff, 0xffb04717, 0xff632e18, 0xff502a19, 0xff19100c]),
  639. ("elfface_young_4",0xffd0e0e0,["hair_blonde_elf"],[0xff83301a, 0xff502a19, 0xff19100c, 0xff0c0d19]),
  640. ("elfface_young_3",0xffdceded,["hair_blonde_elf"],[0xff2f180e, 0xff171313, 0xff07080c]),
  641. ], #man_face_textures,
  642. [(voice_die,"snd_man_die"),(voice_hit,"snd_man_hit"),(voice_grunt,"snd_man_grunt"),(voice_grunt_long,"snd_man_grunt_long"),(voice_yell,"snd_rivendell_yell"),(voice_victory,"snd_rivendell_victory")], #voice sounds
  643. "skel_elf", 1.0,
  644. "psys_game_blood","psys_game_blood_2",
  645. [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
  646. [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
  647. [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
  648. [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  649. [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  650. [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
  651. [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
  652. [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
  653. ]
  654. ),
  655. ########################################################################################################################
  656. #14
  657. ( "woodelf", 0,
  658. "man_body", "man_calf_l", "m_handL",
  659. "male_head", mirkwood_face_keys,
  660. ["elf_hair_1","elf_hair_2","elf_hair_3","elf_hair_4","man_hair_p","elf_hair_5", "elf_hair_6","man_hair_r","man_hair_q","elf_hair_7","elf_hair_8"], #man_hair_meshes ,"man_hair_y5","man_hair_y8",
  661. [], #beard meshes ,"beard_q"
  662. ["hair_blonde_elf"], #hair textures
  663. [], #beard_materials"beard_blonde"
  664. [("elfface_young" ,0xffcbe0e0,["hair_blonde_elf"],[0xffffffff, 0xffb04717, 0xff502a19]),
  665. ("elfface_young_2",0xffdfefe1,["hair_blonde_elf"],[0xffffffff, 0xffb04717, 0xff632e18, 0xff502a19, 0xff19100c]),
  666. ("elfface_young_4",0xffd0e0e0,["hair_blonde_elf"],[0xff83301a, 0xff502a19, 0xff19100c, 0xff0c0d19]),
  667. ("elfface_young_3",0xffdceded,["hair_blonde_elf"],[0xff2f180e, 0xff171313, 0xff07080c]),
  668. ], #man_face_textures,
  669. [(voice_die,"snd_man_die"),(voice_hit,"snd_man_hit"),(voice_grunt,"snd_man_grunt"),(voice_grunt_long,"snd_man_grunt_long"),(voice_yell,"snd_mirkwood_yell"),(voice_victory,"snd_mirkwood_victory")], #voice sounds
  670. "skel_elf", 1.0,
  671. "psys_game_blood","psys_game_blood_2",
  672. [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
  673. [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
  674. [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
  675. [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  676. [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  677. [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
  678. [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
  679. [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
  680. ]
  681. ),
  682.  
  683. ########################################################################################################################
  684. #15 Khand + Rhun + Easterling
  685. ( "evil_man", 0,
  686. "man_body", "man_calf_l", "m_handL",
  687. "male_head", easterling_face_keys,
  688. ["man_hair_s","man_hair_m","man_hair_n","man_hair_o", "man_hair_y10", "man_hair_y12","man_hair_p","man_hair_r","man_hair_q","man_hair_v","man_hair_t","man_hair_y6","man_hair_y3","man_hair_y7","man_hair_y9","man_hair_y11","man_hair_u","man_hair_y","man_hair_y2","man_hair_y4"], #man_hair_meshes ,"man_hair_y5","man_hair_y8",
  689. ["beard_e","beard_d","beard_k","beard_l","beard_i","beard_j","beard_z","beard_m","beard_n","beard_y","beard_p","beard_o", "beard_v", "beard_f", "beard_b", "beard_c","beard_t","beard_u","beard_r","beard_s","beard_a","beard_h","beard_g",], #beard meshes ,"beard_q"
  690. ["hair_blonde"], #hair textures
  691. ["beard_blonde"], #beard_materials
  692. [#("manface_young_2" ,0xffcbe0e0,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19]),
  693. # ("manface_midage" ,0xffdfefe1,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff632e18, 0xff502a19, 0xff19100c]),
  694. # ("manface_young" ,0xffd0e0e0,["hair_blonde"],[0xff83301a, 0xff502a19, 0xff19100c, 0xff0c0d19]),
  695. # ("manface_young_3" ,0xffdceded,["hair_blonde"],[0xff2f180e, 0xff171313, 0xff07080c]),
  696. # ("manface_7" ,0xffc0c8c8,["hair_blonde"],[0xff171313, 0xff07080c]),
  697. # ("manface_midage_2" ,0xfde4c8d8,["hair_blonde"],[0xff502a19, 0xff19100c, 0xff0c0d19]),
  698. # ("manface_rugged" ,0xffb0aab5,["hair_blonde"],[0xff171313, 0xff07080c]),
  699. # ("manface_african" ,0xff807c8a,["hair_blonde"],[0xff120808, 0xff07080c]),
  700. ("mordor_face_a" ,0xffb0aab5,["hair_blonde"],[0xff171313, 0xff07080c]),
  701. ("mordor_face_b" ,0xff807c8a,["hair_blonde"],[0xff120808, 0xff07080c]),
  702. ("mordor_face_c" ,0xffb0aab5,["hair_blonde"],[0xff171313, 0xff07080c]),
  703. ("face_camo_a" ,0xffdceded,["hair_blonde"],[0xff2f180e, 0xff171313, 0xff07080c]),
  704. ("face_camo_b" ,0xffc0c8c8,["hair_blonde"],[0xff171313, 0xff07080c]),
  705. ("face_camo_c" ,0xfde4c8d8,["hair_blonde"],[0xff502a19, 0xff19100c, 0xff0c0d19]),
  706. ("face_camo_d" ,0xffb0aab5,["hair_blonde"],[0xff171313, 0xff07080c]),
  707. ("face_camo_e" ,0xff807c8a,["hair_blonde"],[0xff120808, 0xff07080c]),
  708. ("berserker_face_a" ,0xffcbe0e0,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19]),
  709. ("berserker_face_b" ,0xffdfefe1,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff632e18, 0xff502a19, 0xff19100c]),
  710. ("berserker_face_c" ,0xffd0e0e0,["hair_blonde"],[0xff83301a, 0xff502a19, 0xff19100c, 0xff0c0d19]),
  711. ("east_bandit_face_a",0xfde4c8d8,["hair_blonde"],[0xff502a19, 0xff19100c, 0xff0c0d19]),
  712. ("east_bandit_face_b",0xffb0aab5,["hair_blonde"],[0xff171313, 0xff07080c]),
  713. ("east_bandit_face_c",0xff807c8a,["hair_blonde"],[0xff120808, 0xff07080c]),
  714.  
  715. ], #man_face_textures,
  716. [(voice_die,"snd_man_die"),(voice_hit,"snd_man_hit"),(voice_grunt,"snd_man_grunt"),(voice_grunt_long,"snd_man_grunt_long"),(voice_yell,"snd_man_warcry"),(voice_victory,"snd_man_victory")], #voice sounds
  717. "skel_human", 0.95,
  718. "psys_game_blood","psys_game_blood_2",
  719. [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
  720. [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
  721. [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
  722. [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  723. [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
  724. [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
  725. [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
  726. [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
  727. ]
  728. ),
  729. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement