home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 56 / CDPowerplay56Disc2.iso / demos / blade / data1.cab / Program_Executable_Files / Scripts / Biped / ZknBAct.py < prev   
Encoding:
Text File  |  2000-10-27  |  11.4 KB  |  275 lines

  1. import Bladex
  2.  
  3. #import AnimationSets
  4.  
  5.  
  6. #AnimationSets.LoadLchAnimationSet("Lch")
  7.  
  8. ####################################################################################
  9. #
  10. # Escalar + saltos
  11. #
  12. ####################################################################################
  13.  
  14. #Bladex.AddBipedAction("Zkn","clmb_low_1h","Lch_clmb_low_1h",0.0,1.0,0)    
  15. #Bladex.AddBipedAction("Zkn","clmb_medlow_1h","Lch_clmb_medlow_1h",0.0,1.0,0)    
  16. #Bladex.AddBipedAction("Zkn","clmb_medium_1h","Lch_clmb_medium_1h",0.0,1.0,0)    
  17. #Bladex.AddBipedAction("Zkn","clmb_high_1h","Lch_clmb_high_1h",0.0,1.0,0)    
  18.  
  19. Bladex.AddBipedAction("Zkn","LongJump1H","Wlk_1h_Lch", 0.0, 1.0, 0)    
  20. Bladex.AddBipedAction("Zkn","LongJumpNo","Wlk_1h_Lch",0.0,1.0,0)    
  21. Bladex.AddBipedAction("Zkn","ShortJump","Wlk_1h_Lch",0.0,1.0,0)    
  22.  
  23.  
  24.  
  25. ####################################################################################
  26. #
  27. # Others
  28. #
  29. ####################################################################################
  30.  
  31. Bladex.AddBipedAction("Zkn","slip","Lch_slip",0.0,1.0,0)    
  32. Bladex.AddBipedAction("Zkn","slip_b","Lch_slip_b",0.0,1.0,0)    
  33. Bladex.AddBipedAction("Zkn","derrape","Lch_derrape",0.0,1.0,0)    
  34.  
  35.  
  36.  
  37. ####################################################################################
  38. #
  39. # Relax.
  40. #
  41. ####################################################################################
  42.  
  43. Bladex.AddBipedAction("Zkn","Rlx_no","Rlx_1h_Lch",0.0,1.0,0)
  44. Bladex.AddBipedAction("Zkn","Rlx_1h","Rlx_1h_Lch",0.0,1.0,0)
  45. Bladex.AddBipedAction("Zkn","Rlx_b","Rlx_1h_Lch",0.0,1.0,0)
  46. Bladex.AddBipedAction("Zkn","Rlx_2h","Rlx_1h_Lch",0.0,1.0,0)
  47. Bladex.AddBipedAction("Zkn","Rlx_s","Rlx_1h_Lch",0.0,1.0,0)
  48.  
  49. ####################################################################################
  50. #
  51. # Pasos.- Andares
  52. #
  53. ####################################################################################
  54.  
  55. #Bladex.AddBipedAction("Zkn","LStepUp","Wlk_Lch","Wlk_1h_Lch",0.0,0.5,0)
  56. #Bladex.AddBipedAction("Zkn","RStepUp","Wlk_Lch","Wlk_1h_Lch",0.5,1.0,0)
  57.  
  58. #Bladex.AddBipedAction("Zkn","LStairsUp","StairsUp_Lch","StairsUpP_Lch",0.0,0.5,0)
  59. #Bladex.AddBipedAction("Zkn","RStairsUp","StairsUp_Lch","StairsUpP_Lch",0.5,1.0,0)
  60.  
  61. #Bladex.AddBipedAction("Zkn","LStepDown","Wlk_Lch","WlkDown_Lch",0.0,0.5,0)
  62. #Bladex.AddBipedAction("Zkn","RStepDown","Wlk_Lch","WlkDown_Lch",0.5,1.0,0)
  63.  
  64. #Bladex.AddBipedAction("Zkn","LStairsDown","StairsDown_Lch",0.0,0.5,0)
  65. #Bladex.AddBipedAction("Zkn","RStairsDown","StairsDown_Lch",0.5,1.0,0)
  66.  
  67. # Andar hacia atrßs
  68. Bladex.AddBipedAction("Zkn","WBK_b","Lch_wbk_1h",0.0,1.0,0)    
  69. Bladex.AddBipedAction("Zkn","WBK_no","Lch_wbk_1h",0.0,1.0,0)    
  70. Bladex.AddBipedAction("Zkn","WBK_1h","Lch_wbk_1h",0.0,1.0,0)        
  71. Bladex.AddBipedAction("Zkn","WBK_2h","Lch_wbk_1h",0.0,1.0,0)    
  72. Bladex.AddBipedAction("Zkn","WBK_s","Lch_wbk_1h",0.0,1.0,0)
  73.  
  74. #Andar hacia alante
  75. Bladex.AddBipedAction("Zkn","WLK_b","Wlk_1h_Lch",0.0,1.0,0)
  76. Bladex.AddBipedAction("Zkn","WLK_no","Wlk_1h_Lch",0.0,1.0,0)
  77. Bladex.AddBipedAction("Zkn","WLK_1h","Wlk_1h_Lch",0.0,1.0,0)
  78. Bladex.AddBipedAction("Zkn","WLK_2h","Wlk_1h_Lch",0.0,1.0,0)
  79. Bladex.AddBipedAction("Zkn","WLK_s","Wlk_1h_Lch",0.0,1.0,0)
  80.  
  81. #Correr hacia atrßs
  82. Bladex.AddBipedAction("Zkn","WBK_JOG_b","Lch_wbk_1h",0.0,1.0,0)
  83. Bladex.AddBipedAction("Zkn","WBK_JOG_no","Lch_wbk_1h",0.0,1.0,0)
  84. Bladex.AddBipedAction("Zkn","WBK_JOG_s","Lch_wbk_1h",0.0,1.0,0)
  85. Bladex.AddBipedAction("Zkn","WBK_JOG_1h","Lch_wbk_1h",0.0,1.0,0)
  86. Bladex.AddBipedAction("Zkn","WBK_JOG_2h","Lch_wbk_1h",0.0,1.0,0)
  87.  
  88. #Correr hacia delante
  89. Bladex.AddBipedAction("Zkn","JOG_b","Wlk_1h_Lch",0.0,1.0,0)
  90. Bladex.AddBipedAction("Zkn","JOG_no","Wlk_1h_Lch",0.0,1.0,0)
  91. Bladex.AddBipedAction("Zkn","JOG_s","Wlk_1h_Lch",0.0,1.0,0)
  92. Bladex.AddBipedAction("Zkn","JOG_1h","Wlk_1h_Lch",0.0,1.0,0)
  93. Bladex.AddBipedAction("Zkn","JOG_2h","Wlk_1h_Lch",0.0,1.0,0)
  94.  
  95.  
  96. #Modo sneak
  97. Bladex.AddBipedAction("Zkn","SNK_b","Wlk_1h_Lch",0.0,1.0,0)
  98. Bladex.AddBipedAction("Zkn","SNK_no","Wlk_1h_Lch",0.0,1.0,0)
  99. Bladex.AddBipedAction("Zkn","SNK_s","Wlk_1h_Lch",0.0,1.0,0)
  100. Bladex.AddBipedAction("Zkn","SNK_1h","Wlk_1h_Lch",0.0,1.0,0)
  101. Bladex.AddBipedAction("Zkn","SNK_2h","Wlk_1h_Lch",0.0,1.0,0)
  102.  
  103.  
  104.  
  105.  
  106. ####################################################################################
  107. #
  108. # Caidas.
  109. #
  110. ####################################################################################
  111.  
  112. Bladex.AddBipedAction("Zkn","FllLow","Wlk_1h_Lch",0.5,0.8,0)
  113. Bladex.AddBipedAction("Zkn","FllMed","Wlk_1h_Lch",0.37,0.8,0)
  114. Bladex.AddBipedAction("Zkn","FllHigh","Wlk_1h_Lch",0.1,0.8,0)
  115. Bladex.AddBipedAction("Zkn","Dth_Fll","Dth_Fll_Lch",0.0,1.0,0)
  116. Bladex.AddBipedAction("Zkn","Dth_Fll2","Dth_Fll2_Lch",0.0,1.0,0)
  117.  
  118.  
  119.  
  120.  
  121. ####################################################################################
  122. #
  123. # MUERTES
  124. #
  125. ####################################################################################
  126.  
  127. Bladex.AddBipedAction("Zkn","dth_c1", "Lch_dth_c1",0.0,1.0,0)
  128. Bladex.AddBipedAction("Zkn","dth_c2", "Lch_dth_c2",0.0,1.0,0)
  129. Bladex.AddBipedAction("Zkn","dth_c3", "Lch_dth_c3",0.0,1.0,0)
  130. Bladex.AddBipedAction("Zkn","dth_c4", "Lch_dth_c4",0.0,1.0,0)
  131. Bladex.AddBipedAction("Zkn","dth_c5", "Lch_dth_c5",0.0,1.0,0)
  132. Bladex.AddBipedAction("Zkn","dth_c6", "Lch_dth_c6",0.0,1.0,0)
  133. Bladex.AddBipedAction("Zkn","dth_c7", "Lch_dth_c7",0.0,1.0,0)
  134. Bladex.AddBipedAction("Zkn","dth0",   "Lch_dth0",0.0,1.0,0)
  135. Bladex.AddBipedAction("Zkn","dth_n00","Lch_dth_n00",0.0,1.0,0)
  136. Bladex.AddBipedAction("Zkn","dth_n01","Lch_dth_n01",0.0,1.0,0)
  137. Bladex.AddBipedAction("Zkn","dth_n02","Lch_dth_n02",0.0,1.0,0)
  138. Bladex.AddBipedAction("Zkn","dth_n03","Lch_dth_n03",0.0,1.0,0)
  139. Bladex.AddBipedAction("Zkn","dth_n04","Lch_dth_n04",0.0,1.0,0)
  140. Bladex.AddBipedAction("Zkn","dth_n05","Lch_dth_n05",0.0,1.0,0)
  141. Bladex.AddBipedAction("Zkn","dth_n06","Lch_dth_n06",0.0,1.0,0)
  142.  
  143. Bladex.AddBipedAction("Zkn","dth_rock","Lch_dth_n02",0.0,1.0,0)
  144. Bladex.AddBipedAction("Zkn","dth_rockfront","Lch_dth_n02",0.0,1.0,0)
  145. Bladex.AddBipedAction("Zkn","dth_burn","Lch_dth_c7",0.0,1.0,0)
  146.  
  147.  
  148. ####################################################################################
  149. #
  150. # HERIDAS
  151. #
  152. ####################################################################################
  153.  
  154.  
  155.     
  156. Bladex.AddBipedAction("Zkn","hurt_f_lite","Lch_hurt_lite",0.0,1.0,0)    
  157. Bladex.AddBipedAction("Zkn","hurt_f_big","Lch_hurt_big",0.0,1.0,0)    
  158.  
  159. Bladex.AddBipedAction("Zkn","hurt_f_head","Lch_hurt_big2",0.0,1.0,0)    
  160. Bladex.AddBipedAction("Zkn","hurt_f_breast","Lch_hurt_big",0.0,1.0,0)    
  161. Bladex.AddBipedAction("Zkn","hurt_f_back","Lch_hurt_lite",0.0,1.0,0)    
  162. Bladex.AddBipedAction("Zkn","hurt_f_r_arm","Lch_hurt_lite",0.0,1.0,0)    
  163. Bladex.AddBipedAction("Zkn","hurt_f_l_arm","Lch_hurt_lite",0.0,1.0,0)    
  164. Bladex.AddBipedAction("Zkn","hurt_f_r_leg","Lch_hurt_lite",0.0,1.0,0)    
  165. Bladex.AddBipedAction("Zkn","hurt_f_l_leg","Lch_hurt_lite",0.0,1.0,0)    
  166.  
  167. Bladex.AddBipedAction("Zkn","hurt_jog","Lch_hurt_big",0.0,1.0,0)    
  168.  
  169. Bladex.AddBipedAction("Zkn","hurt_head","Lch_hurt_big",0.0,1.0,0)    
  170. Bladex.AddBipedAction("Zkn","hurt_breast","Lch_hurt_big",0.0,1.0,0)    
  171. Bladex.AddBipedAction("Zkn","hurt_back","Lch_hurt_big2",0.0,1.0,0)    
  172. Bladex.AddBipedAction("Zkn","hurt_r_arm","Lch_hurt_lite",0.0,1.0,0)    
  173. Bladex.AddBipedAction("Zkn","hurt_l_arm","Lch_hurt_lite",0.0,1.0,0)    
  174. Bladex.AddBipedAction("Zkn","hurt_r_leg","Lch_hurt_lite",0.0,1.0,0)    
  175. Bladex.AddBipedAction("Zkn","hurt_l_leg","Lch_hurt_lite",0.0,1.0,0)
  176.  
  177.  
  178.  
  179. ####################################################################################
  180. #
  181. # Animaciones en combate
  182. #
  183. ####################################################################################
  184.  
  185. #MOvement without shield
  186. Bladex.AddBipedAction("Zkn","Attack_f_1h","Wlk_1h_Lch",0.0,1.0,0)
  187. Bladex.AddBipedAction("Zkn","Attack_b_1h","Lch_wbk_1h",0.0,1.0,0)
  188. Bladex.AddBipedAction("Zkn","Attack_r_1h","Wlk_1h_Lch",0.0,1.0,0)
  189. Bladex.AddBipedAction("Zkn","Attack_l_1h","Wlk_1h_Lch",0.0,1.0,0)
  190.  
  191. Bladex.AddBipedAction("Zkn","Attack_f_no","Wlk_1h_Lch",0.0,1.0,0)
  192. Bladex.AddBipedAction("Zkn","Attack_b_no","Lch_wbk_1h",0.0,1.0,0)
  193. Bladex.AddBipedAction("Zkn","Attack_r_no","Wlk_1h_Lch",0.0,1.0,0)
  194. Bladex.AddBipedAction("Zkn","Attack_l_no","Wlk_1h_Lch",0.0,1.0,0)
  195.  
  196. Bladex.AddBipedAction("Zkn","Attack_f_2h","Wlk_1h_Lch",0.0,1.0,0)
  197. Bladex.AddBipedAction("Zkn","Attack_b_2h","Lch_wbk_1h",0.0,1.0,0)
  198. Bladex.AddBipedAction("Zkn","Attack_r_2h","Wlk_1h_Lch",0.0,1.0,0)
  199. Bladex.AddBipedAction("Zkn","Attack_l_2h","Wlk_1h_Lch",0.0,1.0,0)
  200.  
  201.  
  202. #Movement with shield
  203. Bladex.AddBipedAction("Zkn","Shattack_f_2h","Wlk_1h_Lch",0.0,1.0,0)
  204. Bladex.AddBipedAction("Zkn","Shattack_b_2h","Lch_wbk_1h",0.0,1.0,0)
  205. Bladex.AddBipedAction("Zkn","Shattack_r_2h","Wlk_1h_Lch",0.0,1.0,0)
  206. Bladex.AddBipedAction("Zkn","Shattack_l_2h","Wlk_1h_Lch",0.0,1.0,0)
  207.  
  208. #MOvement without weapon but with shield
  209. Bladex.AddBipedAction("Zkn","Attack_f_s","Wlk_1h_Lch",0.0,1.0,0)
  210. Bladex.AddBipedAction("Zkn","Attack_b_s","Lch_wbk_1h",0.0,1.0,0)
  211. Bladex.AddBipedAction("Zkn","Attack_r_s","Wlk_1h_Lch",0.0,1.0,0)
  212. Bladex.AddBipedAction("Zkn","Attack_l_s","Wlk_1h_Lch",0.0,1.0,0)
  213.  
  214. #MOvement without weapon with shield BEING raised
  215. Bladex.AddBipedAction("Zkn","Shattack_f_s","Wlk_1h_Lch",0.0,1.0,0)
  216. Bladex.AddBipedAction("Zkn","Shattack_b_s","Lch_wbk_1h",0.0,1.0,0)
  217. Bladex.AddBipedAction("Zkn","Shattack_r_s","Wlk_1h_Lch",0.0,1.0,0)
  218. Bladex.AddBipedAction("Zkn","Shattack_l_s","Wlk_1h_Lch",0.0,1.0,0)
  219.  
  220. #Relax
  221. Bladex.AddBipedAction("Zkn","Rlx_f_1h","Rlx_1h_Lch",0.0,1.0,0)
  222. Bladex.AddBipedAction("Zkn","Rlx_f_no","Rlx_1h_Lch",0.0,1.0,0)
  223. Bladex.AddBipedAction("Zkn","Rlx_f_2h","Rlx_1h_Lch",0.0,1.0,0)
  224. Bladex.AddBipedAction("Zkn","Shattack_rlx_2h","Rlx_1h_Lch",0.0,1.0,0)
  225. Bladex.AddBipedAction("Zkn","attack_rlx_s","Rlx_1h_Lch",0.0,1.0,0)
  226. Bladex.AddBipedAction("Zkn","Shattack_rlx_s","Rlx_1h_Lch",0.0,1.0,0)
  227. Bladex.AddBipedAction("Zkn","Rlx_f_s","Rlx_1h_Lch",0.0,1.0,0)
  228.  
  229. #Quick turns
  230. #Bladex.AddBipedAction("Zkn","Attack_t_r","Wlk_1h_Lch",0.0,1.0,0)
  231. #Bladex.AddBipedAction("Zkn","Attack_t_r_s","Wlk_1h_Lch",0.0,1.0,0)
  232. #Bladex.AddBipedAction("Zkn","Attack_t_l","Wlk_1h_Lch",0.0,1.0,0)
  233. #Bladex.AddBipedAction("Zkn","Attack_t_l_s","Wlk_1h_Lch",0.0,1.0,0)
  234.  
  235.  
  236. #Dodges
  237. #Bladex.AddBipedAction("Zkn","D_b","Rlx_1h_Lch",0.0,1.0,0)
  238. #Bladex.AddBipedAction("Zkn","D_l","Rlx_1h_Lch",0.0,1.0,0)
  239. #Bladex.AddBipedAction("Zkn","D_r","Rlx_1h_Lch",0.0,1.0,0)
  240.  
  241. #Bladex.AddBipedAction("Zkn","alarm01","Rlx_1h_Lch",0.0,1.0,0)
  242. #Bladex.AddBipedAction("Zkn","fury","Rlx_1h_Lch",0.0,1.0,0)
  243. #Bladex.AddBipedAction("Zkn","look_around","Rlx_1h_Lch",0.0,1.0,0)
  244.  
  245.  
  246. ####################################################################################
  247. #
  248. # Ataques
  249. #
  250. ####################################################################################
  251.  
  252. Bladex.AddBipedAction("Zkn","g_spit","Lch_g_spit",0.0,1.0,0)
  253. Bladex.AddBipedAction("Zkn","g_13","Lch_g_13",0.0,1.0,0)    
  254. Bladex.AddBipedAction("Zkn","g_18","Lch_g_18",0.0,1.0,0)
  255. Bladex.AddBipedAction("Zkn","g_16","Lch_g_16",0.0,1.0,0)    
  256. Bladex.AddBipedAction("Zkn","g_12","Lch_g_12",0.0,1.0,0)
  257. Bladex.AddBipedAction("Zkn","g_claw1","Lch_g_claw1",0.0,1.0,0)    
  258. Bladex.AddBipedAction("Zkn","g_claw2","Lch_g_claw2",0.0,1.0,0)    
  259. Bladex.AddBipedAction("Zkn","g_claw3","Lch_g_claw3",0.0,1.0,0)
  260.  
  261.  
  262. ####################################################################################
  263. #
  264. # Animaciones de giro
  265. #
  266. ####################################################################################
  267.  
  268. #Giro no encarando
  269. #Bladex.AddBipedAction("Zkn","Turn_l","Lch_t_l_1h",0.0,1.0,0)
  270. #Bladex.AddBipedAction("Zkn","Turn_r","Lch_t_r_1h",0.0,1.0,0)
  271.  
  272.  
  273.  
  274.  
  275.