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

  1. import Bladex
  2.  
  3. #import AnimationSets
  4.  
  5.  
  6. #AnimationSets.LoadCosAnimationSet("Cos")
  7.  
  8. ####################################################################################
  9. #
  10. # Escalar + saltos
  11. #
  12. ####################################################################################
  13.  
  14. Bladex.AddBipedAction("Cos","clmb_low_1h","Cos_clmb_medium_no",0.0,1.0,0)    
  15. Bladex.AddBipedAction("Cos","clmb_medlow_1h","Cos_clmb_medium_no",0.0,1.0,0)    
  16. Bladex.AddBipedAction("Cos","clmb_medium_1h","Cos_clmb_medium_no",0.0,1.0,0)    
  17. Bladex.AddBipedAction("Cos","clmb_high_1h","Cos_clmb_medium_no",0.0,1.0,0)    
  18.  
  19. Bladex.AddBipedAction("Cos","LongJump1H","Cos_jmp_no",0.0,1.0,0)    
  20. Bladex.AddBipedAction("Cos","LongJumpNo","Cos_jmp_no",0.0,1.0,0)    
  21. Bladex.AddBipedAction("Cos","ShortJump","Cos_jmp_no",0.0,1.0,0)    
  22.  
  23.  
  24.  
  25. ####################################################################################
  26. #
  27. # Others
  28. #
  29. ####################################################################################
  30.  
  31. Bladex.AddBipedAction("Cos","slip","Cos_slip",0.0,1.0,0)    
  32. Bladex.AddBipedAction("Cos","slip_b","Cos_slip",0.0,1.0,0)    
  33. Bladex.AddBipedAction("Cos","derrape","Cos_slip",0.0,1.0,0)    
  34. Bladex.AddBipedAction("Cos","jmp_back1","Cos_jmp_back1",0.0,1.0,0)
  35.  
  36.  
  37. ####################################################################################
  38. #
  39. # Relax.
  40. #
  41. ####################################################################################
  42.  
  43. Bladex.AddBipedAction("Cos","Rlx_no","Rlx_no_Cos",0.0,1.0,0)
  44. Bladex.AddBipedAction("Cos","Rlx_1h","Rlx_no_Cos",0.0,1.0,0)
  45. Bladex.AddBipedAction("Cos","Rlx_b","Rlx_no_Cos",0.0,1.0,0)
  46. Bladex.AddBipedAction("Cos","Rlx_2h","Rlx_no_Cos",0.0,1.0,0)
  47. Bladex.AddBipedAction("Cos","Rlx_s","Rlx_no_Cos",0.0,1.0,0)
  48.  
  49. ####################################################################################
  50. #
  51. # Pasos.- Andares
  52. #
  53. ####################################################################################
  54.  
  55. #Bladex.AddBipedAction("Cos","LStepUp","Wlk_Cos","Wlk_no_Cos",0.0,0.5,0)
  56. #Bladex.AddBipedAction("Cos","RStepUp","Wlk_Cos","Wlk_no_Cos",0.5,1.0,0)
  57.  
  58. #Bladex.AddBipedAction("Cos","LStairsUp","StairsUp_Cos","Wlk_no_Cos",0.0,0.5,0)
  59. #Bladex.AddBipedAction("Cos","RStairsUp","StairsUp_Cos","Wlk_no_Cos",0.5,1.0,0)
  60.  
  61. #Bladex.AddBipedAction("Cos","LStepDown","Wlk_Cos","Wlk_no_Cos",0.0,0.5,0)
  62. #Bladex.AddBipedAction("Cos","RStepDown","Wlk_Cos","Wlk_no_Cos",0.5,1.0,0)
  63.  
  64. #Bladex.AddBipedAction("Cos","LStairsDown","Wlk_no_Cos",0.0,0.5,0)
  65. #Bladex.AddBipedAction("Cos","RStairsDown","Wlk_no_Cos",0.5,1.0,0)
  66.  
  67. # Andar hacia atrßs
  68. Bladex.AddBipedAction("Cos","WBK_b","Wbk_no_Cos",0.0,1.0,0)    
  69. Bladex.AddBipedAction("Cos","WBK_no","Wbk_no_Cos",0.0,1.0,0)    
  70. Bladex.AddBipedAction("Cos","WBK_1h","Wbk_no_Cos",0.0,1.0,0)        
  71. Bladex.AddBipedAction("Cos","WBK_2h","Wbk_no_Cos",0.0,1.0,0)    
  72. Bladex.AddBipedAction("Cos","WBK_s","Wbk_no_Cos",0.0,1.0,0)
  73.  
  74. #Andar hacia alante
  75. Bladex.AddBipedAction("Cos","WLK_b","Wlk_no_Cos",0.0,1.0,0)
  76. Bladex.AddBipedAction("Cos","WLK_no","Wlk_no_Cos",0.0,1.0,0)
  77. Bladex.AddBipedAction("Cos","WLK_1h","Wlk_no_Cos",0.0,1.0,0)
  78. Bladex.AddBipedAction("Cos","WLK_2h","Wlk_no_Cos",0.0,1.0,0)
  79. Bladex.AddBipedAction("Cos","WLK_s","Wlk_no_Cos",0.0,1.0,0)
  80.  
  81. #Correr hacia atrßs
  82. Bladex.AddBipedAction("Cos","JOG_b_b","Wbk_no_Cos",0.0,1.0,0)
  83. Bladex.AddBipedAction("Cos","JOG_b_no","Wbk_no_Cos",0.0,1.0,0)
  84. Bladex.AddBipedAction("Cos","JOG_b_s","Wbk_no_Cos",0.0,1.0,0)
  85. Bladex.AddBipedAction("Cos","JOG_b_1h","Wbk_no_Cos",0.0,1.0,0)
  86. Bladex.AddBipedAction("Cos","JOG_b_2h","Wbk_no_Cos",0.0,1.0,0)
  87.  
  88. #Correr hacia delante
  89. Bladex.AddBipedAction("Cos","JOG_b","Jog_no_Cos",0.0,1.0,0)
  90. Bladex.AddBipedAction("Cos","JOG_no","Jog_no_Cos",0.0,1.0,0)
  91. Bladex.AddBipedAction("Cos","JOG_s","Jog_no_Cos",0.0,1.0,0)
  92. Bladex.AddBipedAction("Cos","JOG_1h","Jog_no_Cos",0.0,1.0,0)
  93. Bladex.AddBipedAction("Cos","JOG_2h","Jog_no_Cos",0.0,1.0,0)
  94.  
  95.  
  96. #Modo sneak
  97. Bladex.AddBipedAction("Cos","SNK_b","Wlk_no_Cos",0.0,1.0,0)
  98. Bladex.AddBipedAction("Cos","SNK_no","Wlk_no_Cos",0.0,1.0,0)
  99. Bladex.AddBipedAction("Cos","SNK_s","Wlk_no_Cos",0.0,1.0,0)
  100. Bladex.AddBipedAction("Cos","SNK_1h","Wlk_no_Cos",0.0,1.0,0)
  101. Bladex.AddBipedAction("Cos","SNK_2h","Wlk_no_Cos",0.0,1.0,0)
  102.  
  103.  
  104.  
  105.  
  106. ####################################################################################
  107. #
  108. # Caidas.
  109. #
  110. ####################################################################################
  111.  
  112. Bladex.AddBipedAction("Cos","FllLow","FallMed_Cos",0.37,0.8,0)
  113. Bladex.AddBipedAction("Cos","FllMed","FallMed_Cos",0.37,0.8,0)
  114. Bladex.AddBipedAction("Cos","FllHigh","FallMed_Cos",0.1,0.8,0)
  115. Bladex.AddBipedAction("Cos","Dth_Fll","Dth_Fll_Cos",0.0,1.0,0)
  116. Bladex.AddBipedAction("Cos","Dth_Fll2","Dth_Fll2_Cos",0.0,1.0,0)
  117.  
  118.  
  119.  
  120.  
  121. ####################################################################################
  122. #
  123. # Animaciones en combate
  124. #
  125. ####################################################################################
  126.  
  127. Bladex.AddBipedAction("Cos","Attack_f_no","Cos_attack_f",0.0,1.0,0)
  128. Bladex.AddBipedAction("Cos","Attack_b_no","Cos_attack_b",0.0,1.0,0)
  129. Bladex.AddBipedAction("Cos","Attack_r_no","Cos_attack_r",0.0,1.0,0)
  130. Bladex.AddBipedAction("Cos","Attack_l_no","Cos_attack_l",0.0,1.0,0)
  131.  
  132. #Relax
  133. #Bladex.AddBipedAction("Cos","Rlx_f_1h","Cos_rlx_f",0.0,1.0,0)
  134. Bladex.AddBipedAction("Cos","Rlx_f_no","Rlx_no_Cos",0.0,1.0,0)
  135. #Bladex.AddBipedAction("Cos","Attack_rlx_s","Cos_rlx_f",0.0,1.0,0)
  136.  
  137.  
  138.  
  139. #Dodges
  140. Bladex.AddBipedAction("Cos","D_b","Wbk_no_Cos",0.0,1.0,0)
  141. Bladex.AddBipedAction("Cos","D_l","Cos_d_l",0.0,1.0,0)
  142. Bladex.AddBipedAction("Cos","D_r","Cos_d_r",0.0,1.0,0)
  143.  
  144. ##MOvement without shield
  145. #Bladex.AddBipedAction("Cos","Attack_f_1h","Cos_attack_f",0.0,1.0,0)
  146. #Bladex.AddBipedAction("Cos","Attack_b_1h","Cos_attack_b",0.0,1.0,0)
  147. #Bladex.AddBipedAction("Cos","Attack_r_1h","Cos_attack_r",0.0,1.0,0)
  148. #Bladex.AddBipedAction("Cos","Attack_l_1h","Cos_attack_l",0.0,1.0,0)
  149. #
  150. ##MOvement with shield
  151. #Bladex.AddBipedAction("Cos","Attack_f_2h","Cos_attack_f",0.0,1.0,0)
  152. #Bladex.AddBipedAction("Cos","Attack_b_2h","Cos_attack_b",0.0,1.0,0)
  153. #Bladex.AddBipedAction("Cos","Attack_r_2h","Cos_attack_r",0.0,1.0,0)
  154. #Bladex.AddBipedAction("Cos","Attack_l_2h","Cos_attack_l",0.0,1.0,0)
  155.  
  156. ##Quick turns
  157. #Bladex.AddBipedAction("Cos","Attack_t_r","Cos_attack_r",0.0,1.0,0)
  158. #Bladex.AddBipedAction("Cos","Attack_t_r_s","Cos_attack_r",0.0,1.0,0)
  159. #Bladex.AddBipedAction("Cos","Attack_t_l","Cos_attack_l",0.0,1.0,0)
  160. #Bladex.AddBipedAction("Cos","Attack_t_l_s","Cos_attack_l",0.0,1.0,0)
  161. #
  162. ##Movement with shield
  163. #Bladex.AddBipedAction("Cos","Attack_f_s","Cos_attack_f",0.0,1.0,0)
  164. #Bladex.AddBipedAction("Cos","Attack_b_s","Cos_attack_b",0.0,1.0,0)
  165. #Bladex.AddBipedAction("Cos","Attack_r_s","Cos_attack_r",0.0,1.0,0)
  166. #Bladex.AddBipedAction("Cos","Attack_l_s","Cos_attack_l",0.0,1.0,0)
  167.  
  168.  
  169.  
  170. ####################################################################################
  171. #
  172. # Ataques
  173. #
  174. ####################################################################################
  175.     
  176. Bladex.AddBipedAction("Cos","g_01","Cos_g_01",0.0,1.0,0)    
  177. Bladex.AddBipedAction("Cos","g_02","Cos_g_02",0.0,1.0,0)
  178.  
  179.  
  180.  
  181.  
  182. ####################################################################################
  183. #
  184. # Ambient
  185. #
  186. ####################################################################################
  187.     
  188. Bladex.AddBipedAction("Cos","alarm01","Cos_alarm",0.0,1.0,0)
  189. Bladex.AddBipedAction("Cos","fury","Cos_fury",0.0,1.0,0)
  190.  
  191.  
  192.  
  193. ####################################################################################
  194. #
  195. # Muerte y heridas
  196. #
  197. ####################################################################################
  198.     
  199. Bladex.AddBipedAction("Cos","dth_fly","Cos_dth_fly",0.0,1.0,0)
  200. Bladex.AddBipedAction("Cos","dth0","Cos_dth0",0.0,1.0,0)
  201.  
  202. Bladex.AddBipedAction("Cos","dth_c1","Cos_dth0",0.0,1.0,0)
  203. Bladex.AddBipedAction("Cos","dth_c2","Cos_dth0",0.0,1.0,0)
  204. Bladex.AddBipedAction("Cos","dth_c3","Cos_dth0",0.0,1.0,0)
  205. Bladex.AddBipedAction("Cos","dth_c4","Cos_dth0",0.0,1.0,0)
  206. Bladex.AddBipedAction("Cos","dth_c5","Cos_dth0",0.0,1.0,0)
  207. Bladex.AddBipedAction("Cos","dth_c6","Cos_dth0",0.0,1.0,0)
  208. Bladex.AddBipedAction("Cos","dth_c7","Cos_dth0",0.0,1.0,0)
  209. Bladex.AddBipedAction("Cos","dth0",  "Cos_dth0",0.0,1.0,0)
  210. Bladex.AddBipedAction("Cos","dth_n00","Cos_dth0",0.0,1.0,0)
  211. Bladex.AddBipedAction("Cos","dth_n01","Cos_dth0",0.0,1.0,0)
  212. Bladex.AddBipedAction("Cos","dth_n02","Cos_dth0",0.0,1.0,0)
  213. Bladex.AddBipedAction("Cos","dth_n03","Cos_dth0",0.0,1.0,0)
  214. Bladex.AddBipedAction("Cos","dth_n04","Cos_dth0",0.0,1.0,0)
  215. Bladex.AddBipedAction("Cos","dth_n05","Cos_dth0",0.0,1.0,0)
  216. Bladex.AddBipedAction("Cos","dth_n06","Cos_dth0",0.0,1.0,0)
  217.                        
  218. Bladex.AddBipedAction("Cos","dth_rock","Cos_dth0",0.0,1.0,0)
  219. Bladex.AddBipedAction("Cos","dth_rockfront","Cos_dth0",0.0,1.0,0)
  220. Bladex.AddBipedAction("Cos","dth_burn","Cos_dth0",0.0,1.0,0)    
  221.  
  222.  
  223.  
  224.  
  225. Bladex.AddBipedAction("Cos","hurt_f_lite","Cos_hurt_lite",0.0,1.0,0)
  226. Bladex.AddBipedAction("Cos","hurt_f_big","Cos_hurt_lite",0.0,1.0,0)
  227. Bladex.AddBipedAction("Cos","hurt_f_head","Cos_hurt_lite",0.0,1.0,0)
  228. Bladex.AddBipedAction("Cos","hurt_f_breast","Cos_hurt_lite",0.0,1.0,0)
  229. Bladex.AddBipedAction("Cos","hurt_f_back","Cos_hurt_lite",0.0,1.0,0)
  230. Bladex.AddBipedAction("Cos","hurt_f_r_arm","Cos_hurt_lite",0.0,1.0,0)
  231. Bladex.AddBipedAction("Cos","hurt_f_l_arm","Cos_hurt_lite",0.0,1.0,0)
  232. Bladex.AddBipedAction("Cos","hurt_f_r_leg","Cos_hurt_lite",0.0,1.0,0)
  233. Bladex.AddBipedAction("Cos","hurt_f_l_leg","Cos_hurt_lite",0.0,1.0,0)
  234. Bladex.AddBipedAction("Cos","hurt_jog","Cos_hurt_lite",0.0,1.0,0)
  235. Bladex.AddBipedAction("Cos","hurt_head","Cos_hurt_lite",0.0,1.0,0)
  236. Bladex.AddBipedAction("Cos","hurt_breast","Cos_hurt_lite",0.0,1.0,0)
  237. Bladex.AddBipedAction("Cos","hurt_back","Cos_hurt_lite",0.0,1.0,0)
  238. Bladex.AddBipedAction("Cos","hurt_r_arm","Cos_hurt_lite",0.0,1.0,0)
  239. Bladex.AddBipedAction("Cos","hurt_l_arm","Cos_hurt_lite",0.0,1.0,0)
  240. Bladex.AddBipedAction("Cos","hurt_r_leg","Cos_hurt_lite",0.0,1.0,0)
  241. Bladex.AddBipedAction("Cos","hurt_l_leg","Cos_hurt_lite",0.0,1.0,0)
  242.