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

  1. import Bladex
  2.  
  3. #import AnimationSets
  4.  
  5.  
  6. #AnimationSets.LoadChkAnimationSet("Chk")
  7.  
  8. ####################################################################################
  9. #
  10. # Escalar + saltos
  11. #
  12. ####################################################################################
  13.  
  14. #Bladex.AddBipedAction("Chk","clmb_low_1h","Chk_clmb_low_1h",0.0,1.0,0)    
  15. #Bladex.AddBipedAction("Chk","clmb_medlow_1h","Chk_clmb_medlow_1h",0.0,1.0,0)    
  16. #Bladex.AddBipedAction("Chk","clmb_medium_1h","Chk_clmb_medium_1h",0.0,1.0,0)    
  17. #Bladex.AddBipedAction("Chk","clmb_high_1h","Chk_clmb_high_1h",0.0,1.0,0)    
  18.  
  19. Bladex.AddBipedAction("Chk","LongJump1H","Wlk_1h_Chk",0.0,1.0,0)    
  20. Bladex.AddBipedAction("Chk","LongJumpNo","Wlk_1h_Chk",0.0,1.0,0)    
  21. Bladex.AddBipedAction("Chk","ShortJump","Wlk_1h_Chk",0.0,1.0,0)    
  22.  
  23.  
  24.  
  25. ####################################################################################
  26. #
  27. # Others
  28. #
  29. ####################################################################################
  30.  
  31. Bladex.AddBipedAction("Chk","slip","Chk_slip",0.0,1.0,0)    
  32. Bladex.AddBipedAction("Chk","slip_b","Chk_slip_b",0.0,1.0,0)    
  33. Bladex.AddBipedAction("Chk","derrape","Chk_derrape",0.0,1.0,0)    
  34.  
  35.  
  36. Bladex.AddBipedAction("Chk","appears","Chk_appears",0.0,1.0,0)
  37. Bladex.AddBipedAction("Chk","disappear","Chk_disappear",0.0,1.0,0)
  38. Bladex.AddBipedAction("Chk","powerup","Chk_powerup",0.0,1.0,0)
  39.  
  40. #Bladex.AddBipedAction("Chk","b1","Chk_b1",0.0,1.0,0)    
  41. #Bladex.AddBipedAction("Chk","b2","Chk_b2",0.0,1.0,0)    
  42. #Bladex.AddBipedAction("Chk","b3","Chk_b3",0.0,1.0,0)
  43.  
  44.  
  45.  
  46. ####################################################################################
  47. #
  48. # Heridas
  49. #
  50. ####################################################################################
  51.  
  52. Bladex.AddBipedAction("Chk","df_01","Chk_hurt_hip",0.0,1.0,0)    
  53. Bladex.AddBipedAction("Chk","df_02","Chk_hurt01",0.0,1.0,0)
  54.  
  55. Bladex.AddBipedAction("Chk","df_s_broken","Chk_hurt01",0.0,1.0,0)
  56.  
  57. Bladex.AddBipedAction("Chk","sword_broken","Chk_hurt01",0.143,0.5,0)
  58.  
  59. Bladex.AddBipedAction("Chk","sw_react","Chk_hurt01",0.143,0.5,0)
  60.  
  61.     
  62. Bladex.AddBipedAction("Chk","hurt_f_lite","Chk_hurt_hip",0.0,1.0,0)    
  63. Bladex.AddBipedAction("Chk","hurt_f_big","Chk_hurt01",0.0,1.0,0)    
  64.  
  65. Bladex.AddBipedAction("Chk","hurt_f_head","Chk_hurt_hip",0.0,1.0,0)    
  66. Bladex.AddBipedAction("Chk","hurt_f_breast","Chk_hurt_hip",0.0,1.0,0)    
  67. Bladex.AddBipedAction("Chk","hurt_f_back","Chk_hurt_hip",0.0,1.0,0)    
  68. Bladex.AddBipedAction("Chk","hurt_f_r_arm","Chk_hurt_hip",0.0,1.0,0)    
  69. Bladex.AddBipedAction("Chk","hurt_f_l_arm","Chk_hurt_hip",0.0,1.0,0)    
  70. Bladex.AddBipedAction("Chk","hurt_f_r_leg","Chk_hurt_hip",0.0,1.0,0)    
  71. Bladex.AddBipedAction("Chk","hurt_f_l_leg","Chk_hurt_hip",0.0,1.0,0)    
  72.  
  73. Bladex.AddBipedAction("Chk","hurt_jog","Chk_hurt_hip",0.0,1.0,0)    
  74.  
  75. Bladex.AddBipedAction("Chk","hurt_head","Chk_hurt01",0.0,1.0,0)    
  76. Bladex.AddBipedAction("Chk","hurt_breast","Chk_hurt_hip",0.0,1.0,0)    
  77. Bladex.AddBipedAction("Chk","hurt_back","Chk_hurt_hip",0.0,1.0,0)    
  78. Bladex.AddBipedAction("Chk","hurt_r_arm","Chk_hurt_hip",0.0,1.0,0)    
  79. Bladex.AddBipedAction("Chk","hurt_l_arm","Chk_hurt_hip",0.0,1.0,0)    
  80. Bladex.AddBipedAction("Chk","hurt_r_leg","Chk_hurt_hip",0.0,1.0,0)    
  81. Bladex.AddBipedAction("Chk","hurt_l_leg","Chk_hurt_hip",0.0,1.0,0)
  82.     
  83. Bladex.AddBipedAction("Chk","dth_c1","Chk_dth0",0.0,1.0,0)
  84. Bladex.AddBipedAction("Chk","dth_c2","Chk_dth0",0.0,1.0,0)
  85. Bladex.AddBipedAction("Chk","dth_c3","Chk_dth0",0.0,1.0,0)
  86. Bladex.AddBipedAction("Chk","dth_c4","Chk_dth0",0.0,1.0,0)
  87. Bladex.AddBipedAction("Chk","dth_c5","Chk_dth0",0.0,1.0,0)
  88. Bladex.AddBipedAction("Chk","dth_c6","Chk_dth0",0.0,1.0,0)
  89. Bladex.AddBipedAction("Chk","dth_c7","Chk_dth0",0.0,1.0,0)
  90. Bladex.AddBipedAction("Chk","dth0",  "Chk_dth0",0.0,1.0,0)
  91. Bladex.AddBipedAction("Chk","dth_n00","Chk_dth0",0.0,1.0,0)
  92. Bladex.AddBipedAction("Chk","dth_n01","Chk_dth0",0.0,1.0,0)
  93. Bladex.AddBipedAction("Chk","dth_n02","Chk_dth0",0.0,1.0,0)
  94. Bladex.AddBipedAction("Chk","dth_n03","Chk_dth0",0.0,1.0,0)
  95. Bladex.AddBipedAction("Chk","dth_n04","Chk_dth0",0.0,1.0,0)
  96. Bladex.AddBipedAction("Chk","dth_n05","Chk_dth0",0.0,1.0,0)
  97. Bladex.AddBipedAction("Chk","dth_n06","Chk_dth0",0.0,1.0,0)
  98.  
  99. Bladex.AddBipedAction("Chk","dth_rock","Chk_dth0",0.0,1.0,0)
  100. Bladex.AddBipedAction("Chk","dth_rockfront","Chk_dth0",0.0,1.0,0)
  101. Bladex.AddBipedAction("Chk","dth_burn","Chk_dth0",0.0,1.0,0)    
  102.  
  103.  
  104.  
  105. ####################################################################################
  106. #
  107. # Relax.
  108. #
  109. ####################################################################################
  110.  
  111. Bladex.AddBipedAction("Chk","Rlx_no","Rlx_1h_Chk",0.0,1.0,0)
  112. Bladex.AddBipedAction("Chk","Rlx_1h","Rlx_1h_Chk",0.0,1.0,0)
  113. Bladex.AddBipedAction("Chk","Rlx_b","Rlx_1h_Chk",0.0,1.0,0)
  114. Bladex.AddBipedAction("Chk","Rlx_2h","Rlx_1h_Chk",0.0,1.0,0)
  115. Bladex.AddBipedAction("Chk","Rlx_s","Rlx_f_s_Chk",0.0,1.0,0)
  116.  
  117. ####################################################################################
  118. #
  119. # Pasos.- Andares
  120. #
  121. ####################################################################################
  122.  
  123. #Bladex.AddBipedAction("Chk","LStepUp","Wlk_Chk","WlkUp_Chk",0.0,0.5,0)
  124. #Bladex.AddBipedAction("Chk","RStepUp","Wlk_Chk","WlkUp_Chk",0.5,1.0,0)
  125.  
  126. #Bladex.AddBipedAction("Chk","LStairsUp","StairsUp_Chk","StairsUpP_Chk",0.0,0.5,0)
  127. #Bladex.AddBipedAction("Chk","RStairsUp","StairsUp_Chk","StairsUpP_Chk",0.5,1.0,0)
  128.  
  129. #Bladex.AddBipedAction("Chk","LStepDown","Wlk_Chk","WlkDown_Chk",0.0,0.5,0)
  130. #Bladex.AddBipedAction("Chk","RStepDown","Wlk_Chk","WlkDown_Chk",0.5,1.0,0)
  131.  
  132. #Bladex.AddBipedAction("Chk","LStairsDown","StairsDown_Chk",0.0,0.5,0)
  133. #Bladex.AddBipedAction("Chk","RStairsDown","StairsDown_Chk",0.5,1.0,0)
  134.  
  135. # Andar hacia atrßs
  136. Bladex.AddBipedAction("Chk","WBK_b","Wbk_1h_Chk",0.0,1.0,0)    
  137. Bladex.AddBipedAction("Chk","WBK_no","Wbk_1h_Chk",0.0,1.0,0)    
  138. Bladex.AddBipedAction("Chk","WBK_1h","Wbk_1h_Chk",0.0,1.0,0)        
  139. Bladex.AddBipedAction("Chk","WBK_2h","Wbk_1h_Chk",0.0,1.0,0)    
  140. Bladex.AddBipedAction("Chk","WBK_s","Attack_b_s_Chk",0.0,1.0,0)
  141.  
  142. #Andar hacia alante
  143. Bladex.AddBipedAction("Chk","WLK_b","Wlk_1h_Chk",0.0,1.0,0)
  144. Bladex.AddBipedAction("Chk","WLK_no","Wlk_1h_Chk",0.0,1.0,0)
  145. Bladex.AddBipedAction("Chk","WLK_1h","Wlk_1h_Chk",0.0,1.0,0)
  146. Bladex.AddBipedAction("Chk","WLK_2h","Wlk_1h_Chk",0.0,1.0,0)
  147. Bladex.AddBipedAction("Chk","WLK_s","Attack_f_s_Chk",0.0,1.0,0)
  148.  
  149. #Correr hacia atrßs
  150. Bladex.AddBipedAction("Chk","WBK_JOG_b","Wbk_1h_Chk",0.0,1.0,0)
  151. Bladex.AddBipedAction("Chk","WBK_JOG_no","Wbk_1h_Chk",0.0,1.0,0)
  152. Bladex.AddBipedAction("Chk","WBK_JOG_s","Attack_b_s_Chk",0.0,1.0,0)
  153. Bladex.AddBipedAction("Chk","WBK_JOG_1h","Wbk_1h_Chk",0.0,1.0,0)
  154. Bladex.AddBipedAction("Chk","WBK_JOG_2h","Wbk_1h_Chk",0.0,1.0,0)
  155.  
  156. #Correr hacia delante
  157. Bladex.AddBipedAction("Chk","JOG_b","Wlk_1h_Chk",0.0,1.0,0)
  158. Bladex.AddBipedAction("Chk","JOG_no","Wlk_1h_Chk",0.0,1.0,0)
  159. Bladex.AddBipedAction("Chk","JOG_s","Attack_f_s_Chk",0.0,1.0,0)
  160. Bladex.AddBipedAction("Chk","JOG_1h","Wlk_1h_Chk",0.0,1.0,0)
  161. Bladex.AddBipedAction("Chk","JOG_2h","Wlk_1h_Chk",0.0,1.0,0)
  162.  
  163.  
  164. #Modo sneak
  165. Bladex.AddBipedAction("Chk","SNK_b","Wlk_1h_Chk",0.0,1.0,0)
  166. Bladex.AddBipedAction("Chk","SNK_no","Wlk_1h_Chk",0.0,1.0,0)
  167. Bladex.AddBipedAction("Chk","SNK_s","Attack_f_s_Chk",0.0,1.0,0)
  168. Bladex.AddBipedAction("Chk","SNK_1h","Wlk_1h_Chk",0.0,1.0,0)
  169. Bladex.AddBipedAction("Chk","SNK_2h","Wlk_1h_Chk",0.0,1.0,0)
  170.  
  171. #Correr con escudo en modo no combate                                       
  172. Bladex.AddBipedAction("Chk","Attack_f_s_nc","Attack_f_s_Chk",0.0,1.0,0)     
  173. Bladex.AddBipedAction("Chk","Attack_b_s_nc","Attack_b_s_Chk",0.0,1.0,0)     
  174.                                                                           
  175. ####################################################################################
  176. #
  177. # Caidas.
  178. #
  179. ####################################################################################
  180.  
  181. Bladex.AddBipedAction("Chk","FllLow","Rlx_1h_Chk",0,0.1,0)
  182. Bladex.AddBipedAction("Chk","FllMed","Rlx_1h_Chk",0,0.1,0)
  183. Bladex.AddBipedAction("Chk","FllHigh","Rlx_1h_Chk",0,0.1,0)
  184. Bladex.AddBipedAction("Chk","Dth_Fll","Dth_Fll_Chk",0.0,1.0,0)
  185. Bladex.AddBipedAction("Chk","Dth_Fll2","Dth_Fll2_Chk",0.0,1.0,0)
  186.  
  187.  
  188.  
  189. ####################################################################################
  190. #
  191. # Animaciones en combate
  192. #
  193. ####################################################################################
  194.  
  195. #MOvement witht shield
  196. Bladex.AddBipedAction("Chk","Attack_f_2h","Wlk_1h_Chk",0.0,1.0,0)
  197. Bladex.AddBipedAction("Chk","Attack_b_2h","Attack_b_Chk",0.0,1.0,0)
  198. Bladex.AddBipedAction("Chk","Attack_r_2h","Wlk_1h_Chk",0.0,1.0,0)
  199. Bladex.AddBipedAction("Chk","Attack_l_2h","Wlk_1h_Chk",0.0,1.0,0)
  200.  
  201. #Movement with shield held high
  202. Bladex.AddBipedAction("Chk","Shattack_f_2h","Attack_f_s_Chk",0.0,1.0,0)
  203. Bladex.AddBipedAction("Chk","Shattack_b_2h","Attack_b_s_Chk",0.0,1.0,0)
  204. Bladex.AddBipedAction("Chk","Shattack_r_2h","Wlk_1h_Chk",0.0,1.0,0)
  205. Bladex.AddBipedAction("Chk","Shattack_l_2h","Wlk_1h_Chk",0.0,1.0,0)
  206.  
  207. #Relax
  208. Bladex.AddBipedAction("Chk","Rlx_f_1h","Rlx_f_Chk",0.0,1.0,0)
  209. Bladex.AddBipedAction("Chk","Rlx_f_2h","Rlx_f_Chk",0.0,1.0,0)
  210. Bladex.AddBipedAction("Chk","Rlx_block","Rlx_f_s_Chk",0.0,1.0,0)
  211. Bladex.AddBipedAction("Chk","Shattack_rlx_2h","Rlx_f_s_Chk",0.0,1.0,0)
  212.  
  213. #Quick turns
  214. #Bladex.AddBipedAction("Chk","Attack_t_r","Chk_t_r_1h",0.0,1.0,0)
  215. #Bladex.AddBipedAction("Chk","Attack_t_r_s","Chk_t_r_1h",0.0,1.0,0)
  216. #Bladex.AddBipedAction("Chk","Attack_t_l","Chk_t_l_1h",0.0,1.0,0)
  217. #Bladex.AddBipedAction("Chk","Attack_t_l_s","Chk_t_l_1h",0.0,1.0,0)
  218.  
  219.  
  220. #Dodges
  221. Bladex.AddBipedAction("Chk","D_b","Rlx_f_Chk",0.0,1.0,0)
  222. Bladex.AddBipedAction("Chk","D_l","Rlx_f_Chk",0.0,1.0,0)
  223. Bladex.AddBipedAction("Chk","D_r","Rlx_f_Chk",0.0,1.0,0)
  224.  
  225.  
  226.  
  227. ####################################################################################
  228. #
  229. # Ataques
  230. #
  231. ####################################################################################
  232.  
  233. Bladex.AddBipedAction("Chk","g_08","Chk_g_08",0.0,1.0,0)    
  234. Bladex.AddBipedAction("Chk","g_01","Chk_g_01",0.0,1.0,0)    
  235. Bladex.AddBipedAction("Chk","g_02","Chk_g_02",0.0,1.0,0)    
  236. Bladex.AddBipedAction("Chk","g_07","Chk_g_07",0.0,1.0,0)    
  237. Bladex.AddBipedAction("Chk","g_18","Chk_g_18",0.0,0.788,0)
  238. Bladex.AddBipedAction("Chk","g_12","Chk_g_12",0.0,1.0,0)
  239. Bladex.AddBipedAction("Chk","g_31","Chk_g_31",0.0,1.0,0)
  240. Bladex.AddBipedAction("Chk","g_magic","Chk_g_magic",0.0,1.0,0)
  241.  
  242.  
  243.  
  244.