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

  1. import Bladex
  2.  
  3. #import AnimationSets
  4.  
  5.  
  6. #AnimationSets.LoadLdmAnimationSet("Ldm")
  7.  
  8. ####################################################################################
  9. #
  10. # Escalar + saltos
  11. #
  12. ####################################################################################
  13.  
  14. #Bladex.AddBipedAction("Ldm","clmb_low_1h","Ldm_clmb_low_1h",0.0,1.0,0)    
  15. #Bladex.AddBipedAction("Ldm","clmb_medlow_1h","Ldm_clmb_medlow_1h",0.0,1.0,0)    
  16. #Bladex.AddBipedAction("Ldm","clmb_medium_1h","Ldm_clmb_medium_1h",0.0,1.0,0)    
  17. #Bladex.AddBipedAction("Ldm","clmb_high_1h","Ldm_clmb_high_1h",0.0,1.0,0)    
  18.  
  19. #Bladex.AddBipedAction("Ldm","LongJump1H","Ldm_jmp_no",0.0,1.0,0)    
  20. #Bladex.AddBipedAction("Ldm","LongJumpNo","Ldm_jmp_no",0.0,1.0,0)    
  21. #Bladex.AddBipedAction("Ldm","ShortJump","Ldm_jmp_no",0.0,1.0,0)    
  22.  
  23.  
  24. ####################################################################################
  25. #
  26. # Others
  27. #
  28. ####################################################################################
  29.  
  30. Bladex.AddBipedAction("Ldm","slip","Ldm_rlx_no",0.0,1.0,0)
  31. Bladex.AddBipedAction("Ldm","slip_b","Ldm_rlx_no",0.0,1.0,0)
  32. Bladex.AddBipedAction("Ldm","derrape","Ldm_rlx_no",0.0,1.0,0)
  33.  
  34. Bladex.AddBipedAction("Ldm","appears","Ldm_appears",0.0,1.0,0)
  35.  
  36. ####################################################################################
  37. #
  38. # Relax.
  39. #
  40. ####################################################################################
  41.  
  42. Bladex.AddBipedAction("Ldm","Rlx_no","Ldm_rlx_no",0.0,1.0,0)
  43. Bladex.AddBipedAction("Ldm","Rlx_1h","Ldm_rlx_no",0.0,1.0,0)
  44. Bladex.AddBipedAction("Ldm","Rlx_b","Ldm_rlx_no",0.0,1.0,0)
  45. Bladex.AddBipedAction("Ldm","Rlx_2h","Ldm_rlx_no",0.0,1.0,0)
  46. Bladex.AddBipedAction("Ldm","Rlx_s","Ldm_rlx_f_s",0.0,1.0,0)
  47.  
  48.  
  49. ####################################################################################
  50. #
  51. # Pasos.- Andares
  52. #
  53. ####################################################################################
  54.  
  55. #Bladex.AddBipedAction("Ldm","LStepUp","Wlk_Ldm","Ldm_rlx_no",0.0,0.5,0)
  56. #Bladex.AddBipedAction("Ldm","RStepUp","Wlk_Ldm","Ldm_rlx_no",0.5,1.0,0)
  57.  
  58. #Bladex.AddBipedAction("Ldm","LStairsUp","StairsUp_Ldm","Ldm_rlx_no",0.0,0.5,0)
  59. #Bladex.AddBipedAction("Ldm","RStairsUp","StairsUp_Ldm","Ldm_rlx_no",0.5,1.0,0)
  60.  
  61. #Bladex.AddBipedAction("Ldm","LStepDown","Wlk_Ldm","Ldm_rlx_no",0.0,0.5,0)
  62. #Bladex.AddBipedAction("Ldm","RStepDown","Wlk_Ldm","Ldm_rlx_no",0.5,1.0,0)
  63.  
  64. #Bladex.AddBipedAction("Ldm","LStairsDown","Ldm_rlx_no",0.0,0.5,0)
  65. #Bladex.AddBipedAction("Ldm","RStairsDown","Ldm_rlx_no",0.5,1.0,0)
  66.  
  67. # Andar hacia atrßs
  68. Bladex.AddBipedAction("Ldm","WBK_b","Ldm_wbk_no",0.0,1.0,0)     
  69. Bladex.AddBipedAction("Ldm","WBK_no","Ldm_wbk_no",0.0,1.0,0)    
  70. Bladex.AddBipedAction("Ldm","WBK_1h","Ldm_wbk_no",0.0,1.0,0)        
  71. Bladex.AddBipedAction("Ldm","WBK_2h","Ldm_wbk_no",0.0,1.0,0)    
  72. Bladex.AddBipedAction("Ldm","WBK_s","Ldm_wbk_no",0.0,1.0,0)
  73.  
  74. #Andar hacia alante
  75. Bladex.AddBipedAction("Ldm","WLK_b","Ldm_wlk_no",0.0,1.0,0)
  76. Bladex.AddBipedAction("Ldm","WLK_no","Ldm_wlk_no",0.0,1.0,0)
  77. Bladex.AddBipedAction("Ldm","WLK_1h","Ldm_wlk_no",0.0,1.0,0)
  78. Bladex.AddBipedAction("Ldm","WLK_2h","Ldm_wlk_no",0.0,1.0,0)
  79. Bladex.AddBipedAction("Ldm","WLK_s","Ldm_wlk_no",0.0,1.0,0)
  80.  
  81. #Correr hacia atrßs
  82. Bladex.AddBipedAction("Ldm","WBK_JOG_b","Ldm_wbk_no",0.0,1.0,0)
  83. Bladex.AddBipedAction("Ldm","WBK_JOG_no","Ldm_wbk_no",0.0,1.0,0)
  84. Bladex.AddBipedAction("Ldm","WBK_JOG_1h","Ldm_wbk_no",0.0,1.0,0)
  85. Bladex.AddBipedAction("Ldm","WBK_JOG_s","Ldm_wbk_no",0.0,1.0,0)
  86. Bladex.AddBipedAction("Ldm","WBK_JOG_2h","Ldm_wbk_no",0.0,1.0,0)
  87.  
  88.  
  89. #Correr hacia adelante
  90. Bladex.AddBipedAction("Ldm","JOG_b","Ldm_jog_no",0.0,1.0,0)
  91. Bladex.AddBipedAction("Ldm","JOG_no","Ldm_jog_no",0.0,1.0,0)
  92. Bladex.AddBipedAction("Ldm","JOG_1h","Ldm_jog_no",0.0,1.0,0)
  93. Bladex.AddBipedAction("Ldm","JOG_s","Ldm_jog_no",0.0,1.0,0)
  94. Bladex.AddBipedAction("Ldm","JOG_2h","Ldm_jog_no",0.0,1.0,0)
  95.  
  96.  
  97. #Modo sneak
  98. Bladex.AddBipedAction("Ldm","SNK_b","Ldm_attack_f",0.0,1.0,0)
  99. Bladex.AddBipedAction("Ldm","SNK_no","Ldm_attack_f",0.0,1.0,0)
  100. Bladex.AddBipedAction("Ldm","SNK_1h","Ldm_attack_f",0.0,1.0,0)
  101. Bladex.AddBipedAction("Ldm","SNK_s","Ldm_attack_f",0.0,1.0,0)
  102. Bladex.AddBipedAction("Ldm","SNK_2h","Ldm_attack_f",0.0,1.0,0)
  103.  
  104. #Correr con escudo en modo no combate                                       
  105. Bladex.AddBipedAction("Ldm","Attack_f_s_nc","Ldm_rlx_f_s",0.0,1.0,0)     
  106. Bladex.AddBipedAction("Ldm","Attack_b_s_nc","Ldm_rlx_f_s",0.0,1.0,0)     
  107.  
  108.  
  109.  
  110. ####################################################################################
  111. #
  112. # Caidas.
  113. #
  114. ####################################################################################
  115.  
  116. Bladex.AddBipedAction("Ldm","FllLow","Ldm_fll_low",0.0,1.0,0)
  117. Bladex.AddBipedAction("Ldm","FllMed","Ldm_fll_low",0.0,1.0,0)
  118. Bladex.AddBipedAction("Ldm","FllHigh","Ldm_fll_high",0.0,1.0,0)
  119. Bladex.AddBipedAction("Ldm","Dth_Fll","Dth_Fll_Ldm",0.0,1.0,0)
  120. Bladex.AddBipedAction("Ldm","Dth_Fll2","Dth_Fll2_Ldm",0.0,1.0,0)
  121.  
  122.  
  123.  
  124. ####################################################################################
  125. #
  126. # Animaciones en combate
  127. #
  128. ####################################################################################
  129.  
  130. #MOvement without shield
  131. #Bladex.AddBipedAction("Ldm","Attack_f_1h","Ldm_attack_f",0.0,1.0,0)
  132. #Bladex.AddBipedAction("Ldm","Attack_b_1h","Ldm_attack_b",0.0,1.0,0)
  133. #Bladex.AddBipedAction("Ldm","Attack_r_1h","Ldm_attack_r",0.0,1.0,0)
  134. #Bladex.AddBipedAction("Ldm","Attack_l_1h","Ldm_attack_l",0.0,1.0,0)
  135.  
  136. Bladex.AddBipedAction("Ldm","Attack_f_no","Ldm_attack_f",0.0,1.0,0)
  137. Bladex.AddBipedAction("Ldm","Attack_b_no","Ldm_attack_b",0.0,1.0,0)
  138. Bladex.AddBipedAction("Ldm","Attack_r_no","Ldm_attack_r",0.0,1.0,0)
  139. Bladex.AddBipedAction("Ldm","Attack_l_no","Ldm_attack_l",0.0,1.0,0)
  140.  
  141. #Bladex.AddBipedAction("Ldm","Attack_f_2h","Ldm_attack_f",0.0,1.0,0)
  142. #Bladex.AddBipedAction("Ldm","Attack_b_2h","Ldm_attack_b",0.0,1.0,0)
  143. #Bladex.AddBipedAction("Ldm","Attack_r_2h","Ldm_attack_r",0.0,1.0,0)
  144. #Bladex.AddBipedAction("Ldm","Attack_l_2h","Ldm_attack_l",0.0,1.0,0)
  145.  
  146. #Movement with shield
  147. #Bladex.AddBipedAction("Ldm","Shattack_f_2h","Ldm_attack_f",0.0,1.0,0)
  148. #Bladex.AddBipedAction("Ldm","Shattack_b_2h","Ldm_attack_b",0.0,1.0,0)
  149. #Bladex.AddBipedAction("Ldm","Shattack_r_2h","Ldm_attack_r",0.0,1.0,0)
  150. #Bladex.AddBipedAction("Ldm","Shattack_l_2h","Ldm_attack_l",0.0,1.0,0)
  151.  
  152. #Relax
  153. #Bladex.AddBipedAction("Ldm","Rlx_f_1h","Ldm_rlx_f",0.0,1.0,0)
  154. Bladex.AddBipedAction("Ldm","Rlx_f_no","Ldm_rlx_f",0.0,1.0,0)
  155. #Bladex.AddBipedAction("Ldm","Shattack_rlx_2h","Ldm_rlx_f_s",0.0,1.0,0)
  156.  
  157. #Quick turns
  158. #Bladex.AddBipedAction("Ldm","Attack_t_r","Ldm_t_r_no",0.0,1.0,0)
  159. #Bladex.AddBipedAction("Ldm","Attack_t_r_s","Ldm_t_r_no",0.0,1.0,0)
  160. #Bladex.AddBipedAction("Ldm","Attack_t_l","Ldm_t_l_no",0.0,1.0,0)
  161. #Bladex.AddBipedAction("Ldm","Attack_t_l_s","Ldm_t_l_no",0.0,1.0,0)
  162.  
  163.  
  164. #Dodges
  165. Bladex.AddBipedAction("Ldm","D_b","Ldm_g_07",0.0,1.0,0)
  166. Bladex.AddBipedAction("Ldm","D_l","Ldm_g_07",0.0,1.0,0)
  167. Bladex.AddBipedAction("Ldm","D_r","Ldm_g_07",0.0,1.0,0)
  168.  
  169.  
  170. ####################################################################################
  171. #
  172. # Heridas
  173. #
  174. ####################################################################################
  175.  
  176. Bladex.AddBipedAction("Ldm","hurt_f_lite","Ldm_hurt_f_lite",0.0,1.0,0)
  177. Bladex.AddBipedAction("Ldm","hurt_f_big","Ldm_hurt_f_big",0.0,1.0,0)
  178. Bladex.AddBipedAction("Ldm","hurt_f_head","Ldm_hurt_f_big",0.0,1.0,0)
  179. Bladex.AddBipedAction("Ldm","hurt_f_breast","Ldm_hurt_f_lite",0.0,1.0,0)
  180. Bladex.AddBipedAction("Ldm","hurt_f_back","Ldm_hurt_f_lite",0.0,1.0,0)
  181. Bladex.AddBipedAction("Ldm","hurt_f_r_arm","Ldm_hurt_f_lite",0.0,1.0,0)
  182. Bladex.AddBipedAction("Ldm","hurt_f_l_arm","Ldm_hurt_f_lite",0.0,1.0,0)
  183. Bladex.AddBipedAction("Ldm","hurt_f_r_leg","Ldm_hurt_f_lite",0.0,1.0,0)
  184. Bladex.AddBipedAction("Ldm","hurt_f_l_leg","Ldm_hurt_f_lite",0.0,1.0,0)
  185. Bladex.AddBipedAction("Ldm","hurt_jog","Ldm_hurt_lite",0.0,1.0,0)
  186. Bladex.AddBipedAction("Ldm","hurt_head","Ldm_hurt_big",0.0,1.0,0)
  187. Bladex.AddBipedAction("Ldm","hurt_breast","Ldm_hurt_lite",0.0,1.0,0)
  188. Bladex.AddBipedAction("Ldm","hurt_back","Ldm_hurt_lite",0.0,1.0,0)
  189. Bladex.AddBipedAction("Ldm","hurt_r_arm","Ldm_hurt_lite",0.0,1.0,0)
  190. Bladex.AddBipedAction("Ldm","hurt_l_arm","Ldm_hurt_lite",0.0,1.0,0)
  191. Bladex.AddBipedAction("Ldm","hurt_r_leg","Ldm_hurt_lite",0.0,1.0,0)
  192. Bladex.AddBipedAction("Ldm","hurt_l_leg","Ldm_hurt_lite",0.0,1.0,0)
  193.  
  194.  
  195. ####################################################################################
  196. #
  197. # Muertes
  198. #
  199. ####################################################################################
  200.  
  201. Bladex.AddBipedAction("Ldm","dth0",  "Ldm_dth0",0.0,1.0,0)
  202. Bladex.AddBipedAction("Ldm","dth_c1","Ldm_dth0",0.0,1.0,0)
  203. Bladex.AddBipedAction("Ldm","dth_c2","Ldm_dth0",0.0,1.0,0)
  204. Bladex.AddBipedAction("Ldm","dth_c3","Ldm_dth0",0.0,1.0,0)
  205. Bladex.AddBipedAction("Ldm","dth_c4","Ldm_dth0",0.0,1.0,0)
  206. Bladex.AddBipedAction("Ldm","dth_c5","Ldm_dth0",0.0,1.0,0)
  207. Bladex.AddBipedAction("Ldm","dth_c6","Ldm_dth0",0.0,1.0,0)
  208. Bladex.AddBipedAction("Ldm","dth_c7","Ldm_dth0",0.0,1.0,0)
  209. Bladex.AddBipedAction("Ldm","dth0",  "Ldm_dth0",0.0,1.0,0)
  210. Bladex.AddBipedAction("Ldm","dth_n00","Ldm_dth0",0.0,1.0,0)
  211. Bladex.AddBipedAction("Ldm","dth_n01","Ldm_dth0",0.0,1.0,0)
  212. Bladex.AddBipedAction("Ldm","dth_n02","Ldm_dth0",0.0,1.0,0)
  213. Bladex.AddBipedAction("Ldm","dth_n03","Ldm_dth0",0.0,1.0,0)
  214. Bladex.AddBipedAction("Ldm","dth_n04","Ldm_dth0",0.0,1.0,0)
  215. Bladex.AddBipedAction("Ldm","dth_n05","Ldm_dth0",0.0,1.0,0)
  216. Bladex.AddBipedAction("Ldm","dth_n06","Ldm_dth0",0.0,1.0,0)
  217. Bladex.AddBipedAction("Ldm","dth_rock","Ldm_dth0",0.0,1.0,0)
  218. Bladex.AddBipedAction("Ldm","dth_rockfront","Ldm_dth0",0.0,1.0,0)
  219. Bladex.AddBipedAction("Ldm","dth_burn","Ldm_dth0",0.0,1.0,0)
  220. Bladex.AddBipedAction("Ldm","dth_disap","Ldm_dth_disap",0.0,1.0,0)
  221.  
  222.  
  223. ####################################################################################
  224. #
  225. # Ataques
  226. #
  227. ####################################################################################
  228.  
  229. Bladex.AddBipedAction("Ldm","g_03","Ldm_g_03",0.0,1.0,0)    
  230. Bladex.AddBipedAction("Ldm","g_06","Ldm_g_06",0.0,1.0,0)    
  231. Bladex.AddBipedAction("Ldm","g_07","Ldm_g_07",0.0,1.0,0)
  232. Bladex.AddBipedAction("Ldm","g_27","Ldm_g_27",0.0,1.0,0)    
  233. Bladex.AddBipedAction("Ldm","g_22","Ldm_g_22",0.0,1.0,0)
  234. Bladex.AddBipedAction("Ldm","g_spit","Ldm_g_spit",0.0,1.0,0)
  235. Bladex.AddBipedAction("Ldm","g_jumpl","Ldm_g_jumpl",0.0,1.0,0)
  236. Bladex.AddBipedAction("Ldm","g_jumpr","Ldm_g_jumpr",0.0,1.0,0)
  237. ####################################################################################
  238. #
  239. # Animaciones Varias
  240. #
  241. ####################################################################################
  242.  
  243. Bladex.AddBipedAction("Ldm","patrol1","Ldm_patrol1",0.0,1.0,0)    
  244.