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

  1. import Bladex
  2.  
  3. #import AnimationSets
  4.  
  5.  
  6. #AnimationSets.LoadVmpAnimationSet("Vmp")
  7.  
  8. ############################################
  9. #
  10. #Relax
  11. #
  12. ############################################
  13.  
  14. Bladex.AddBipedAction("Vmp","Rlx_1h","Vmp_rlx_f",0.0,1.0,0)    
  15. Bladex.AddBipedAction("Vmp","Rlx_f_1h","Vmp_rlx_f",0.0,1.0,0)    
  16. Bladex.AddBipedAction("Vmp","Rlx_f_2h","Vmp_rlx_f",0.0,1.0,0)    
  17.  
  18.  
  19. Bladex.AddBipedAction("Vmp","Rlx_no","Vmp_rlx_f",0.0,1.0,0)
  20. Bladex.AddBipedAction("Vmp","Rlx_b","Vmp_rlx_f",0.0,1.0,0)
  21. Bladex.AddBipedAction("Vmp","Rlx_2h","Vmp_rlx_f",0.0,1.0,0)
  22. Bladex.AddBipedAction("Vmp","Rlx_s","Vmp_rlx_f_s",0.0,1.0,0)
  23. Bladex.AddBipedAction("Vmp","Rlx_block","Vmp_rlx_f_s",0.0,1.0,0)
  24.  
  25.  
  26. ############################################
  27. #
  28. #Animaciones en combate
  29. #
  30. ############################################
  31.  
  32.  
  33. Bladex.AddBipedAction("Vmp","Attack_f_1h","Vmp_attack_f",0.0,1.0,0)
  34. Bladex.AddBipedAction("Vmp","Attack_b_1h","Vmp_attack_b",0.0,1.0,0)
  35. Bladex.AddBipedAction("Vmp","Attack_r_1h","Vmp_attack_r",0.0,1.0,0)
  36. Bladex.AddBipedAction("Vmp","Attack_l_1h","Vmp_attack_l",0.0,1.0,0)
  37.  
  38. Bladex.AddBipedAction("Vmp","Attack_f_2h","Vmp_attack_f",0.0,1.0,0)
  39. Bladex.AddBipedAction("Vmp","Attack_b_2h","Vmp_attack_b",0.0,1.0,0)
  40. Bladex.AddBipedAction("Vmp","Attack_r_2h","Vmp_attack_r",0.0,1.0,0)
  41. Bladex.AddBipedAction("Vmp","Attack_l_2h","Vmp_attack_l",0.0,1.0,0)
  42.  
  43. Bladex.AddBipedAction("Vmp","Shattack_f_2h","Vmp_attack_f_s",0.0,1.0,0)
  44. Bladex.AddBipedAction("Vmp","Shattack_b_2h","Vmp_attack_b_s",0.0,1.0,0)
  45. Bladex.AddBipedAction("Vmp","Shattack_r_2h","Vmp_attack_r_s",0.0,1.0,0)
  46. Bladex.AddBipedAction("Vmp","Shattack_l_2h","Vmp_attack_l_s",0.0,1.0,0)
  47.  
  48.  
  49. #Relax
  50. Bladex.AddBipedAction("Vmp","Shattack_rlx_2h","Vmp_rlx_f_s",0.0,1.0,0)
  51.  
  52. #Quick turns
  53. #Bladex.AddBipedAction("Vmp","Attack_t_r","Vmp_attack_r",0.0,1.0,0)
  54. #Bladex.AddBipedAction("Vmp","Attack_t_r_s","Vmp_attack_r",0.0,1.0,0)
  55. #Bladex.AddBipedAction("Vmp","Attack_t_l","Vmp_attack_l",0.0,1.0,0)
  56. #Bladex.AddBipedAction("Vmp","Attack_t_l_s","Vmp_attack_l",0.0,1.0,0)
  57.  
  58.  
  59. #Dodges
  60. Bladex.AddBipedAction("Vmp","D_b","Vmp_attack_l",0.0,1.0,0)
  61. Bladex.AddBipedAction("Vmp","D_l","Vmp_attack_l",0.0,1.0,0)
  62. Bladex.AddBipedAction("Vmp","D_r","Vmp_attack_r",0.0,1.0,0)
  63.  
  64. #Correr con escudo en modo no combate                                       
  65. Bladex.AddBipedAction("Vmp","Attack_f_s_nc","Vmp_attack_f_s",0.0,1.0,0)     
  66. Bladex.AddBipedAction("Vmp","Attack_b_s_nc","Vmp_attack_b_s",0.0,1.0,0)     
  67.  
  68.  
  69.  
  70.  
  71. ############################################
  72. #
  73. #Ataques
  74. #
  75. ############################################
  76.  
  77. Bladex.AddBipedAction("Vmp","disappear","Vmp_disappear",0.0,1.0,0)
  78. Bladex.AddBipedAction("Vmp","g_01","Vmp_g_01",0.0,1.0,0)
  79. Bladex.AddBipedAction("Vmp","g_06","Vmp_g_06",0.0,1.0,0)
  80. Bladex.AddBipedAction("Vmp","g_07","Vmp_g_07",0.0,1.0,0)
  81. Bladex.AddBipedAction("Vmp","g_26","Vmp_g_26",0.0,1.0,0)
  82.  
  83.  
  84. ####################################################################################
  85. #
  86. # Pasos.- Andares
  87. #
  88. ####################################################################################
  89.  
  90.  
  91. # Andar hacia atrßs
  92. Bladex.AddBipedAction("Vmp","WBK_b","Vmp_wbk_1h",0.0,1.0,0)    
  93. Bladex.AddBipedAction("Vmp","WBK_no","Vmp_wbk_1h",0.0,1.0,0)    
  94. Bladex.AddBipedAction("Vmp","WBK_1h","Vmp_wbk_1h",0.0,1.0,0)        
  95. Bladex.AddBipedAction("Vmp","WBK_2h","Vmp_wbk_1h",0.0,1.0,0)    
  96. Bladex.AddBipedAction("Vmp","WBK_s","Vmp_wbk_1h",0.0,1.0,0)
  97.  
  98. #Andar hacia alante
  99. Bladex.AddBipedAction("Vmp","WLK_b","Vmp_wlk_1h",0.0,1.0,0)
  100. Bladex.AddBipedAction("Vmp","WLK_no","Vmp_wlk_1h",0.0,1.0,0)
  101. Bladex.AddBipedAction("Vmp","WLK_1h","Vmp_wlk_1h",0.0,1.0,0)
  102. Bladex.AddBipedAction("Vmp","WLK_2h","Vmp_wlk_1h",0.0,1.0,0)
  103. Bladex.AddBipedAction("Vmp","WLK_s","Vmp_wlk_1h",0.0,1.0,0)
  104.  
  105. #Correr hacia atrßs
  106. Bladex.AddBipedAction("Vmp","JOG_b_b","Vmp_wbk_1h",0.0,1.0,0)
  107. Bladex.AddBipedAction("Vmp","JOG_b_no","Vmp_wbk_1h",0.0,1.0,0)
  108. Bladex.AddBipedAction("Vmp","JOG_b_s","Vmp_wbk_1h",0.0,1.0,0)
  109. Bladex.AddBipedAction("Vmp","JOG_b_1h","Vmp_wbk_1h",0.0,1.0,0)
  110. Bladex.AddBipedAction("Vmp","JOG_b_2h","Vmp_wbk_1h",0.0,1.0,0)
  111.  
  112. #Correr hacia delante
  113. Bladex.AddBipedAction("Vmp","JOG_b","Vmp_wlk_1h",0.0,1.0,0)
  114. Bladex.AddBipedAction("Vmp","JOG_no","Vmp_wlk_1h",0.0,1.0,0)
  115. Bladex.AddBipedAction("Vmp","JOG_s","Vmp_wlk_1h",0.0,1.0,0)
  116. Bladex.AddBipedAction("Vmp","JOG_1h","Vmp_wlk_1h",0.0,1.0,0)
  117. Bladex.AddBipedAction("Vmp","JOG_2h","Vmp_wlk_1h",0.0,1.0,0)
  118.  
  119. #Modo sneak
  120. Bladex.AddBipedAction("Vmp","SNK_b","Vmp_wlk_1h",0.0,1.0,0)
  121. Bladex.AddBipedAction("Vmp","SNK_no","Vmp_wlk_1h",0.0,1.0,0)
  122. Bladex.AddBipedAction("Vmp","SNK_s","Vmp_wlk_1h",0.0,1.0,0)
  123. Bladex.AddBipedAction("Vmp","SNK_1h","Vmp_wlk_1h",0.0,1.0,0)
  124. Bladex.AddBipedAction("Vmp","SNK_2h","Vmp_wlk_1h",0.0,1.0,0)
  125.  
  126.  
  127.  
  128.  
  129. ####################################################################################
  130. #
  131. # Caidas.
  132. #
  133. ####################################################################################
  134.  
  135. Bladex.AddBipedAction("Vmp","FllLow","Vmp_rlx_f",0.37,0.8,0)
  136. Bladex.AddBipedAction("Vmp","FllMed","Vmp_rlx_f",0.37,0.8,0)
  137. Bladex.AddBipedAction("Vmp","FllHigh","Vmp_rlx_f",0.1,0.8,0)
  138. Bladex.AddBipedAction("Vmp","Dth_Fll","Dth_Fll_Vmp",0.0,1.0,0)
  139. Bladex.AddBipedAction("Vmp","Dth_Fll2","Dth_Fll2_Vmp",0.0,1.0,0)
  140.  
  141.  
  142.  
  143.  
  144. ####################################################################################
  145. #
  146. #Heridas
  147. #
  148. ####################################################################################
  149.  
  150.  
  151.  
  152.  
  153. Bladex.AddBipedAction("Vmp","df_01","Vmp_df_01",0.0,1.0,0)    
  154. Bladex.AddBipedAction("Vmp","df_02","Vmp_df_02",0.0,1.0,0)    
  155. Bladex.AddBipedAction("Vmp","df_s_broken","Vmp_df_s_broken",0.0,1.0,0)
  156.  
  157. Bladex.AddBipedAction("Vmp","sw_react","Vmp_sword_broken",0.143,0.5,0)
  158.     
  159. Bladex.AddBipedAction("Vmp","hurt_f_lite","Vmp_hurt_f_lite",0.0,1.0,0)    
  160. Bladex.AddBipedAction("Vmp","hurt_f_big","Vmp_hurt_f_big",0.0,1.0,0)    
  161.  
  162. Bladex.AddBipedAction("Vmp","hurt_f_head","Vmp_hurt_f_big",0.0,1.0,0)    
  163. Bladex.AddBipedAction("Vmp","hurt_f_breast","Vmp_hurt_f_big",0.0,1.0,0)    
  164. Bladex.AddBipedAction("Vmp","hurt_f_back","Vmp_hurt_f_lite",0.0,1.0,0)    
  165. Bladex.AddBipedAction("Vmp","hurt_f_r_arm","Vmp_hurt_f_lite",0.0,1.0,0)    
  166. Bladex.AddBipedAction("Vmp","hurt_f_l_arm","Vmp_hurt_f_lite",0.0,1.0,0)    
  167. Bladex.AddBipedAction("Vmp","hurt_f_r_leg","Vmp_hurt_f_lite",0.0,1.0,0)    
  168. Bladex.AddBipedAction("Vmp","hurt_f_l_leg","Vmp_hurt_f_lite",0.0,1.0,0)    
  169.  
  170. Bladex.AddBipedAction("Vmp","hurt_jog","Vmp_hurt_f_lite",0.0,1.0,0)    
  171.  
  172. Bladex.AddBipedAction("Vmp","hurt_head","Vmp_hurt_f_big",0.0,1.0,0)    
  173. Bladex.AddBipedAction("Vmp","hurt_breast","Vmp_hurt_f_big",0.0,1.0,0)    
  174. Bladex.AddBipedAction("Vmp","hurt_back","Vmp_hurt_f_lite",0.0,1.0,0)    
  175. Bladex.AddBipedAction("Vmp","hurt_r_arm","Vmp_hurt_f_lite",0.0,1.0,0)    
  176. Bladex.AddBipedAction("Vmp","hurt_l_arm","Vmp_hurt_f_lite",0.0,1.0,0)    
  177. Bladex.AddBipedAction("Vmp","hurt_r_leg","Vmp_hurt_f_lite",0.0,1.0,0)    
  178. Bladex.AddBipedAction("Vmp","hurt_l_leg","Vmp_hurt_f_lite",0.0,1.0,0)    
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185. ####################################################################################
  186. #
  187. # Others
  188. #
  189. ####################################################################################
  190.  
  191. Bladex.AddBipedAction("Vmp","slip","Vmp_wlk_1h",0.0,1.0,0)    
  192. Bladex.AddBipedAction("Vmp","slip_b","Vmp_wlk_1h",0.0,1.0,0)    
  193. Bladex.AddBipedAction("Vmp","derrape","Vmp_wlk_1h",0.0,1.0,0)
  194.  
  195.     
  196. Bladex.AddBipedAction("Vmp","order","Vmp_order",0.0,1.0,0)    
  197. Bladex.AddBipedAction("Vmp","insult","Vmp_insult",0.0,1.0,0)    
  198. Bladex.AddBipedAction("Vmp","patrol","Vmp_patrol",0.0,1.0,0)
  199.  
  200.  
  201.  
  202.  
  203.     
  204.  
  205.  
  206.