Advertisement
Guest User

Untitled

a guest
Mar 7th, 2015
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.52 KB | None | 0 0
  1. $cd "E:\Punisher"
  2. $modelname "ThePunisher coat.mdl"
  3. $model "studio" "Pun_coat1.SMD" {
  4.  
  5. flexfile "mdldecompiler_expressions.vta" {
  6. }
  7.  
  8. eyeball righteye "ValveBiped.Bip01_Head1" -1.12 -2.66 67.54 "eyeball_r" 1.00 4 "pupil_r" 1.12
  9. eyeball lefteye "ValveBiped.Bip01_Head1" 1.12 -2.66 67.54 "eyeball_l" 1.00 -4 "pupil_l" 1.12
  10. flexcontroller eyes range -45 45 eyes_updown
  11. flexcontroller eyes range -45 45 eyes_rightleft
  12.  
  13. mouth 0 "mouth" "ValveBiped.Bip01_Head1" 0 1 0 // mouth illumination
  14.  
  15. flexfile "Eyelid_droop_Left.vta"
  16. flex "Eyelid_droop_Left" frame 1
  17. flexcontroller "phoneme" "Eyelid_droop_Left" "range" 0 1
  18. %Eyelid_droop_Left = Eyelid_droop_Left
  19.  
  20. flexfile "Eyelid_droop_Right.vta"
  21. flex "Eyelid_droop_Right" frame 1
  22. flexcontroller "phoneme" "Eyelid_droop_Right" "range" 0 1
  23. %Eyelid_droop_Right = Eyelid_droop_Right
  24.  
  25. flexfile "jaw_drop.vta"
  26. flex "open_mouth" frame 1
  27. flexcontroller "phoneme" "open_mouth" "range" 0 1
  28. %open_mouth = open_mouth
  29.  
  30. flexfile "left_smile.vta"
  31. flex "left_smile" frame 1
  32. flexcontroller "phoneme" "left_smile" "range" 0 1
  33. %left_smile = left_smile
  34.  
  35.  
  36. flexfile "right_smile.vta"
  37. flex "right_smile" frame 1
  38. flexcontroller "phoneme" "right_smile" "range" 0 1
  39. %right_smile = right_smile
  40.  
  41. flexfile "jaw_clencer.vta"
  42. flex "jaw_clencer" frame 1
  43. flexcontroller "phoneme" "jaw_clencer" "range" 0 1
  44. %jaw_clencer = jaw_clencer
  45.  
  46. flexfile "mdldecompiler_expressions.vta"
  47. flex "blank" frame 1
  48. flexcontroller "phoneme" "blank" "range" 0 1
  49. %blank = blank
  50.  
  51.  
  52. }
  53. $mostlyopaque
  54. $cdmaterials "models\ThePunisher\coat"{
  55. $attachment "eyes" "ValveBiped.Bip01_Head1" 0.00 -2.66 67.54 absolute
  56. $attachment "mouth" "ValveBiped.Bip01_Head1" 0.80 -5.80 -0.15 rotate 0 -80 -90
  57.  
  58. $attachment "chest" "ValveBiped.Bip01_Spine2" 5.00 4.00 0.00 rotate -0.00 90.00 90.00
  59. $attachment "physgun_attachment" "ValveBiped.Physgun_attachment" 0.00 0.00 0.00 rotate -90.00 -90.00
  60.  
  61. 0.00
  62. $attachment "forward" "ValveBiped.forward" 0.00 0.00 0.00 rotate 0.00 0.00 -0.00
  63. $attachment "anim_attachment_RH" "ValveBiped.Anim_Attachment_RH" 0.00 0.00 0.00 rotate -90.00 -90.00
  64.  
  65. 0.00
  66. $attachment "anim_attachment_LH" "ValveBiped.Anim_Attachment_LH" 0.00 0.00 0.00 rotate -90.00 -90.00
  67.  
  68. 0.00
  69. $attachment "anim_attachment_head" "ValveBiped.Bip01_Head1" 0.00 0.00 0.00 rotate -90.00 -90.00 0.00
  70. $includemodel "m_anm.mdl"
  71. $includemodel "humans/male_shared.mdl"
  72. $includemodel "humans/male_ss.mdl"
  73. $includemodel "humans/male_gestures.mdl"
  74. $includemodel "humans/male_postures.mdl"
  75. $surfaceprop "flesh"
  76. $eyeposition 0 0 70
  77. $sequence pun_coat_ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00
  78. $ikchain rhand ValveBiped.Bip01_R_Hand knee 0.707 0.707 0.000
  79. $ikchain lhand ValveBiped.Bip01_L_Hand knee 0.707 0.707 0.000
  80. $ikchain rfoot ValveBiped.Bip01_R_Foot knee 0.707 -0.707 0.000
  81. $ikchain lfoot ValveBiped.Bip01_L_Foot knee 0.707 -0.707 0.000
  82. $collisionjoints "pun_coat_phymodel1.smd" {
  83.  
  84. $mass 90.0
  85. $inertia 10.00
  86. $damping 0.01
  87. $rotdamping 1.50
  88. $rootbone "valvebiped.bip01_pelvis"
  89.  
  90. $jointconstrain "valvebiped.bip01_l_thigh" x limit -40.00 40.00 0.00
  91. $jointconstrain "valvebiped.bip01_l_thigh" y limit -55.00 90.00 0.00
  92. $jointconstrain "valvebiped.bip01_l_thigh" z limit -110.00 120.00 0.00
  93.  
  94. $jointconstrain "valvebiped.bip01_l_calf" x limit -30.00 30.00 0.00
  95. $jointconstrain "valvebiped.bip01_l_calf" y limit -12.00 12.00 0.00
  96. $jointconstrain "valvebiped.bip01_l_calf" z limit -12.00 145.00 0.00
  97.  
  98. $jointconstrain "valvebiped.bip01_r_thigh" x limit -40.00 40.00 0.00
  99. $jointconstrain "valvebiped.bip01_r_thigh" y limit -90.00 55.00 0.00
  100. $jointconstrain "valvebiped.bip01_r_thigh" z limit -110.00 125.00 0.00
  101.  
  102. $jointconstrain "valvebiped.bip01_r_calf" x limit -30.00 30.00 0.00
  103. $jointconstrain "valvebiped.bip01_r_calf" y limit -12.00 12.00 0.00
  104. $jointconstrain "valvebiped.bip01_r_calf" z limit -12.00 145.00 0.00
  105.  
  106. $jointconstrain "valvebiped.bip01_r_foot" x limit -40.00 40.00 0.00
  107. $jointconstrain "valvebiped.bip01_r_foot" y limit -40.00 40.00 0.00
  108. $jointconstrain "valvebiped.bip01_r_foot" z limit -55.00 35.00 0.00
  109.  
  110. $jointconstrain "valvebiped.bip01_spine2" x limit -70.00 70.00 0.00
  111. $jointconstrain "valvebiped.bip01_spine2" y limit -25.00 25.00 0.00
  112. $jointconstrain "valvebiped.bip01_spine2" z limit -65.00 95.00 0.00
  113.  
  114. $jointconstrain "valvebiped.bip01_l_clavicle" x limit -28.00 19.00 0.00
  115. $jointconstrain "valvebiped.bip01_l_clavicle" y limit -16.00 26.00 0.00
  116. $jointconstrain "valvebiped.bip01_l_clavicle" z limit -10.00 46.00 0.00
  117.  
  118. $jointconstrain "valvebiped.bip01_l_upperarm" x limit -40.00 40.00 0.00
  119. $jointconstrain "valvebiped.bip01_l_upperarm" y limit -115.00 150.00 0.00
  120. $jointconstrain "valvebiped.bip01_l_upperarm" z limit -135.00 135.00 0.00
  121.  
  122. $jointconstrain "valvebiped.bip01_l_forearm" x limit -30.00 30.00 0.00
  123. $jointconstrain "valvebiped.bip01_l_forearm" y limit -60.00 60.00 0.00
  124. $jointconstrain "valvebiped.bip01_l_forearm" z limit -140.00 30.00 0.00
  125.  
  126. $jointconstrain "valvebiped.bip01_r_clavicle" x limit -28.00 19.00 0.00
  127. $jointconstrain "valvebiped.bip01_r_clavicle" y limit -16.00 26.00 0.00
  128. $jointconstrain "valvebiped.bip01_r_clavicle" z limit -10.00 46.00 0.00
  129.  
  130. $jointconstrain "valvebiped.bip01_r_upperarm" x limit -40.00 40.00 0.00
  131. $jointconstrain "valvebiped.bip01_r_upperarm" y limit -150.00 115.00 0.00
  132. $jointconstrain "valvebiped.bip01_r_upperarm" z limit -135.00 135.00 0.00
  133.  
  134. $jointconstrain "valvebiped.bip01_r_forearm" x limit -30.00 30.00 0.00
  135. $jointconstrain "valvebiped.bip01_r_forearm" y limit -60.00 60.00 0.00
  136. $jointconstrain "valvebiped.bip01_r_forearm" z limit -140.00 30.00 0.00
  137.  
  138. $jointconstrain "valvebiped.bip01_r_hand" x limit -60.00 60.00 0.00
  139. $jointconstrain "valvebiped.bip01_r_hand" y limit -60.00 60.00 0.00
  140. $jointconstrain "valvebiped.bip01_r_hand" z limit -70.00 70.00 0.00
  141.  
  142. $jointconstrain "valvebiped.bip01_l_hand" x limit -60.00 60.00 0.00
  143. $jointconstrain "valvebiped.bip01_l_hand" y limit -60.00 60.00 0.00
  144. $jointconstrain "valvebiped.bip01_l_hand" z limit -70.00 70.00 0.00
  145.  
  146. $jointconstrain "valvebiped.bip01_head1" x limit -70.00 70.00 0.00
  147. $jointconstrain "valvebiped.bip01_head1" y limit -25.00 25.00 0.00
  148. $jointconstrain "valvebiped.bip01_head1" z limit -65.00 40.00 0.00
  149.  
  150. $jointconstrain "valvebiped.bip01_l_foot" x limit -40.00 40.00 0.00
  151. $jointconstrain "valvebiped.bip01_l_foot" y limit -40.00 40.00 0.00
  152. $jointconstrain "valvebiped.bip01_l_foot" z limit -55.00 35.00 0.00
  153. $animatedfriction 1.000 400.000 0.500 0.000 0.300
  154. }
  155.  
  156.  
  157. $jigglebone "cape 16"
  158. {
  159. is_flexible
  160. {
  161. length 5
  162. tip_mass 1000
  163. pitch_stiffness 100
  164. pitch_damping 5
  165. yaw_stiffness 100
  166. yaw_damping 5
  167. allow_length_flex
  168. along_stiffness 100
  169. along_damping 0
  170. pitch_constraint 0 79.999998
  171. pitch_friction 0
  172. pitch_bounce 0
  173. }
  174. }
  175. $jigglebone "cape 17"
  176. {
  177. is_flexible
  178. {
  179. length 5
  180. tip_mass 1000
  181. pitch_stiffness 100
  182. pitch_damping 5
  183. yaw_stiffness 100
  184. yaw_damping 5
  185. allow_length_flex
  186. along_stiffness 100
  187. along_damping 0
  188. pitch_constraint 0 79.999998
  189. pitch_friction 0
  190. pitch_bounce 0
  191. }
  192. $jigglebone "cape 18"
  193. {
  194. is_flexible
  195. {
  196. length 5
  197. tip_mass 1000
  198. pitch_stiffness 100
  199. pitch_damping 5
  200. yaw_stiffness 100
  201. yaw_damping 5
  202. allow_length_flex
  203. along_stiffness 100
  204. along_damping 0
  205. pitch_constraint 0 79.999998
  206. pitch_friction 0
  207. pitch_bounce 0
  208. }
  209. $jigglebone "cape 04"
  210. {
  211. is_flexible
  212. {
  213. length 5
  214. tip_mass 1000
  215. pitch_stiffness 100
  216. pitch_damping 5
  217. yaw_stiffness 100
  218. yaw_damping 5
  219. allow_length_flex
  220. along_stiffness 100
  221. along_damping 0
  222. pitch_constraint 0 79.999998
  223. pitch_friction 0
  224. pitch_bounce 0
  225. }
  226. $jigglebone "cape 05"{
  227. is_flexible
  228. {
  229. length 5
  230. tip_mass 1000
  231. pitch_stiffness 100
  232. pitch_damping 5
  233. yaw_stiffness 100
  234. yaw_damping 5
  235. allow_length_flex
  236. along_stiffness 100
  237. along_damping 0
  238. pitch_constraint 0 79.999998
  239. pitch_friction 0
  240. pitch_bounce 0
  241. }
  242. $jigglebone "cape 06"{
  243. is_flexible
  244. {
  245. length 5
  246. tip_mass 1000
  247. pitch_stiffness 100
  248. pitch_damping 5
  249. yaw_stiffness 100
  250. yaw_damping 5
  251. allow_length_flex
  252. along_stiffness 100
  253. along_damping 0
  254. pitch_constraint 0 79.999998
  255. pitch_friction 0
  256. pitch_bounce 0
  257. }
  258. $jigglebone "cape 29"
  259. {
  260. is_flexible
  261. {
  262. length 5
  263. tip_mass 1000
  264. pitch_stiffness 100
  265. pitch_damping 5
  266. yaw_stiffness 100
  267. yaw_damping 5
  268. allow_length_flex
  269. along_stiffness 100
  270. along_damping 0
  271. pitch_constraint 0 79.999998
  272. pitch_friction 0
  273. pitch_bounce 0
  274. }
  275. $jigglebone "cape 30"
  276. {
  277. is_flexible
  278. {
  279. length 5
  280. tip_mass 1000
  281. pitch_stiffness 100
  282. pitch_damping 5
  283. yaw_stiffness 100
  284. yaw_damping 5
  285. allow_length_flex
  286. along_stiffness 100
  287. along_damping 0
  288. pitch_constraint 0 79.999998
  289. pitch_friction 0
  290. pitch_bounce 0
  291. }
  292. $jigglebone "cape 31"
  293. {
  294. is_flexible
  295. {
  296. length 5
  297. tip_mass 1000
  298. pitch_stiffness 100
  299. pitch_damping 5
  300. yaw_stiffness 100
  301. yaw_damping 5
  302. allow_length_flex
  303. along_stiffness 100
  304. along_damping 0
  305. pitch_constraint 0 79.999998
  306. pitch_friction 0
  307. pitch_bounce 0
  308. }
  309. $jigglebone "cape 35"
  310. {
  311. is_flexible
  312. {
  313. length 5
  314. tip_mass 1000
  315. pitch_stiffness 100
  316. pitch_damping 5
  317. yaw_stiffness 100
  318. yaw_damping 5
  319. allow_length_flex
  320. along_stiffness 100
  321. along_damping 0
  322. pitch_constraint 0 79.999998
  323. pitch_friction 0
  324. pitch_bounce 0
  325. }
  326. $jigglebone "cape 36"
  327. {
  328. is_flexible
  329. {
  330. length 5
  331. tip_mass 1000
  332. pitch_stiffness 100
  333. pitch_damping 5
  334. yaw_stiffness 100
  335. yaw_damping 5
  336. allow_length_flex
  337. along_stiffness 100
  338. along_damping 0
  339. pitch_constraint 0 79.999998
  340. pitch_friction 0
  341. pitch_bounce 0
  342. }
  343. $jigglebone "cape 37"
  344. {
  345. is_flexible
  346. {
  347. length 5
  348. tip_mass 1000
  349. pitch_stiffness 100
  350. pitch_damping 5
  351. yaw_stiffness 100
  352. yaw_damping 5
  353. allow_length_flex
  354. along_stiffness 100
  355. along_damping 0
  356. pitch_constraint 0 79.999998
  357. pitch_friction 0
  358. pitch_bounce 0
  359. }
  360. $jigglebone "cape 22"
  361. {
  362. is_flexible
  363. {
  364. length 5
  365. tip_mass 1000
  366. pitch_stiffness 100
  367. pitch_damping 5
  368. yaw_stiffness 100
  369. yaw_damping 5
  370. allow_length_flex
  371. along_stiffness 100
  372. along_damping 0
  373. pitch_constraint 0 79.999998
  374. pitch_friction 0
  375. pitch_bounce 0
  376. }
  377. $jigglebone "cape 23"
  378. {
  379. is_flexible
  380. {
  381. length 5
  382. tip_mass 1000
  383. pitch_stiffness 100
  384. pitch_damping 5
  385. yaw_stiffness 100
  386. yaw_damping 5
  387. allow_length_flex
  388. along_stiffness 100
  389. along_damping 0
  390. pitch_constraint 0 79.999998
  391. pitch_friction 0
  392. pitch_bounce 0
  393. }
  394. $jigglebone "cape 24"
  395. {
  396. is_flexible
  397. {
  398. length 5
  399. tip_mass 1000
  400. pitch_stiffness 100
  401. pitch_damping 5
  402. yaw_stiffness 100
  403. yaw_damping 5
  404. allow_length_flex
  405. along_stiffness 100
  406. along_damping 0
  407. pitch_constraint 0 79.999998
  408. pitch_friction 0
  409. pitch_bounce 0
  410. }
  411. $jigglebone "cape 10"
  412. {
  413. is_flexible
  414. {
  415. length 5
  416. tip_mass 1000
  417. pitch_stiffness 100
  418. pitch_damping 5
  419. yaw_stiffness 100
  420. yaw_damping 5
  421. allow_length_flex
  422. along_stiffness 100
  423. along_damping 0
  424. pitch_constraint 0 79.999998
  425. pitch_friction 0
  426. pitch_bounce 0
  427. }
  428. $jigglebone "cape 11"
  429. {
  430. is_flexible
  431. {
  432. length 5
  433. tip_mass 1000
  434. pitch_stiffness 100
  435. pitch_damping 5
  436. yaw_stiffness 100
  437. yaw_damping 5
  438. allow_length_flex
  439. along_stiffness 100
  440. along_damping 0
  441. pitch_constraint 0 79.999998
  442. pitch_friction 0
  443. pitch_bounce 0
  444. }
  445. $jigglebone "cape 12"
  446. {
  447. is_flexible
  448. {
  449. length 5
  450. tip_mass 1000
  451. pitch_stiffness 100
  452. pitch_damping 5
  453. yaw_stiffness 100
  454. yaw_damping 5
  455. allow_length_flex
  456. along_stiffness 100
  457. along_damping 0
  458. pitch_constraint 0 79.999998
  459. pitch_friction 0
  460. pitch_bounce 0
  461. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement