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

  1. import Bladex
  2.  
  3. #import AnimationSets
  4.  
  5.  
  6. #AnimationSets.LoadTrlAnimationSet("Trl")
  7.  
  8. ############################################
  9. #
  10. #Relax
  11. #
  12. ############################################
  13.  
  14. Bladex.AddBipedAction("Trl","Rlx_1h","Trl_rlx_1h",0.0,1.0,0)    
  15. Bladex.AddBipedAction("Trl","Rlx_f_s","Trl_rlx_1h",0.0,1.0,0)    
  16. Bladex.AddBipedAction("Trl","Rlx_no","Trl_rlx_1h",0.0,1.0,0)
  17. Bladex.AddBipedAction("Trl","Rlx_b","Trl_rlx_1h",0.0,1.0,0)
  18. Bladex.AddBipedAction("Trl","Rlx_2h","Trl_rlx_1h",0.0,1.0,0)
  19. Bladex.AddBipedAction("Trl","Rlx_s","Trl_rlx_1h",0.0,1.0,0)
  20.  
  21.  
  22.  
  23. ############################################
  24. #
  25. #Animaciones en combate
  26. #
  27. ############################################
  28.  
  29.  
  30. Bladex.AddBipedAction("Trl","Attack_f_1h","Trl_attack_f",0.0,1.0,0)
  31. Bladex.AddBipedAction("Trl","Attack_b_1h","Trl_wbk_no",0.0,1.0,0)
  32. Bladex.AddBipedAction("Trl","Attack_r_1h","Trl_attack_f",0.0,1.0,0)
  33. Bladex.AddBipedAction("Trl","Attack_l_1h","Trl_attack_f",0.0,1.0,0)
  34.  
  35. Bladex.AddBipedAction("Trl","Attack_f_2h","Trl_attack_f",0.0,1.0,0)
  36. Bladex.AddBipedAction("Trl","Attack_b_2h","Trl_wbk_no",0.0,1.0,0)
  37. Bladex.AddBipedAction("Trl","Attack_r_2h","Trl_attack_f",0.0,1.0,0)
  38. Bladex.AddBipedAction("Trl","Attack_l_2h","Trl_attack_f",0.0,1.0,0)
  39.  
  40. Bladex.AddBipedAction("Trl","Attack_f_s","Trl_attack_f",0.0,1.0,0)
  41. Bladex.AddBipedAction("Trl","Attack_b_s","Trl_wbk_no",0.0,1.0,0)
  42. Bladex.AddBipedAction("Trl","Attack_l_s","Trl_attack_f",0.0,1.0,0)
  43. Bladex.AddBipedAction("Trl","Attack_r_s","Trl_attack_f",0.0,1.0,0)    
  44. Bladex.AddBipedAction("Trl","Rlx_f_1h","Trl_rlx_1h",0.0,1.0,0)    
  45. Bladex.AddBipedAction("Trl","Rlx_f_2h","Trl_rlx_1h",0.0,1.0,0)
  46. Bladex.AddBipedAction("Trl","Attack_rlx_s","Trl_rlx_1h",0.0,1.0,0)
  47.  
  48. ############################################
  49. #
  50. #Ataques
  51. #
  52. ############################################
  53.  
  54.  
  55. Bladex.AddBipedAction("Trl","g_01","Trl_g_01",0.0,1.0,0)
  56. Bladex.AddBipedAction("Trl","g_02","Trl_g_02",0.0,1.0,0)
  57. Bladex.AddBipedAction("Trl","g_04","Trl_g_04",0.0,1.0,0)
  58. Bladex.AddBipedAction("Trl","g_06","Trl_g_06",0.0,1.0,0)
  59. Bladex.AddBipedAction("Trl","g_12","Trl_g_12",0.0,1.0,0)
  60. Bladex.AddBipedAction("Trl","g_18","Trl_g_18",0.0,1.0,0)
  61. Bladex.AddBipedAction("Trl","g_19","Trl_g_19",0.0,1.0,0)
  62. Bladex.AddBipedAction("Trl","g_31","Trl_g_31",0.0,1.0,0)
  63. Bladex.AddBipedAction("Trl","g_run","Trl_g_run",0.0,1.0,0)
  64.  
  65.  
  66.  
  67.  
  68. ####################################################################################
  69. #
  70. # Pasos.- Andares
  71. #
  72. ####################################################################################
  73.  
  74.  
  75.  
  76. # Andar hacia atrßs
  77. Bladex.AddBipedAction("Trl","WBK_b","Trl_wbk_no",0.0,1.0,0)    
  78. Bladex.AddBipedAction("Trl","WBK_no","Trl_wbk_no",0.0,1.0,0)    
  79. Bladex.AddBipedAction("Trl","WBK_1h","Trl_wbk_no",0.0,1.0,0)        
  80. Bladex.AddBipedAction("Trl","WBK_2h","Trl_wbk_no",0.0,1.0,0)    
  81. Bladex.AddBipedAction("Trl","WBK_s","Trl_wbk_no",0.0,1.0,0)
  82.  
  83. #Andar hacia alante
  84. Bladex.AddBipedAction("Trl","WLK_b","Trl_wlk_no",0.0,1.0,0)
  85. Bladex.AddBipedAction("Trl","WLK_no","Trl_wlk_no",0.0,1.0,0)
  86. Bladex.AddBipedAction("Trl","WLK_1h","Trl_wlk_no",0.0,1.0,0)
  87. Bladex.AddBipedAction("Trl","WLK_2h","Trl_wlk_no",0.0,1.0,0)
  88. Bladex.AddBipedAction("Trl","WLK_s","Trl_wlk_no",0.0,1.0,0)
  89.  
  90. #Correr hacia atrßs
  91. Bladex.AddBipedAction("Trl","WBK_JOG_b","Trl_wbk_no",0.0,1.0,0)
  92. Bladex.AddBipedAction("Trl","WBK_JOG_no","Trl_wbk_no",0.0,1.0,0)
  93. Bladex.AddBipedAction("Trl","WBK_JOG_s","Trl_wbk_no",0.0,1.0,0)
  94. Bladex.AddBipedAction("Trl","WBK_JOG_1h","Trl_wbk_no",0.0,1.0,0)
  95. Bladex.AddBipedAction("Trl","WBK_JOG_2h","Trl_wbk_no",0.0,1.0,0)
  96.  
  97. #Correr hacia delante
  98. Bladex.AddBipedAction("Trl","JOG_b","Trl_jog_1h",0.0,1.0,0)
  99. Bladex.AddBipedAction("Trl","JOG_no","Trl_jog_1h",0.0,1.0,0)
  100. Bladex.AddBipedAction("Trl","JOG_s","Trl_jog_1h",0.0,1.0,0)
  101. Bladex.AddBipedAction("Trl","JOG_1h","Trl_jog_1h",0.0,1.0,0)
  102. Bladex.AddBipedAction("Trl","JOG_2h","Trl_jog_1h",0.0,1.0,0)
  103.  
  104. #Modo sneak
  105. Bladex.AddBipedAction("Trl","SNK_b","Trl_wlk_no",0.0,1.0,0)
  106. Bladex.AddBipedAction("Trl","SNK_no","Trl_wlk_no",0.0,1.0,0)
  107. Bladex.AddBipedAction("Trl","SNK_s","Trl_wlk_no",0.0,1.0,0)
  108. Bladex.AddBipedAction("Trl","SNK_1h","Trl_wlk_no",0.0,1.0,0)
  109. Bladex.AddBipedAction("Trl","SNK_2h","Trl_wlk_no",0.0,1.0,0)
  110.  
  111.  
  112.  
  113.  
  114. ####################################################################################
  115. #
  116. # Caidas.
  117. #
  118. ####################################################################################
  119.  
  120. Bladex.AddBipedAction("Trl","FllLow","Trl_fll_low_1h",0.37,0.8,0)
  121. Bladex.AddBipedAction("Trl","FllMed","Trl_fll_low_1h",0.37,0.8,0)
  122. Bladex.AddBipedAction("Trl","FllHigh","Trl_fll_low_1h",0.1,0.8,0)
  123. Bladex.AddBipedAction("Trl","Dth_Fll","Dth_Fll_Trl",0.0,1.0,0)
  124. Bladex.AddBipedAction("Trl","Dth_Fll2","Dth_Fll2_Trl",0.0,1.0,0)
  125.  
  126.  
  127.  
  128. ####################################################################################
  129. #
  130. # Escaladas
  131. #
  132. ####################################################################################
  133.  
  134. Bladex.AddBipedAction("Trl","clmb_low_1h","Trl_clmb_low_1h",0.0,1.0,0)    
  135. Bladex.AddBipedAction("Trl","clmb_medlow_1h","Trl_clmb_low_1h",0.0,1.0,0)    
  136. Bladex.AddBipedAction("Trl","clmb_medium_1h","Trl_clmb_low_1h",0.0,1.0,0)    
  137. Bladex.AddBipedAction("Trl","clmb_high_1h","Trl_clmb_low_1h",0.0,1.0,0)    
  138.  
  139.  
  140.  
  141. ####################################################################################
  142. #
  143. #Heridas
  144. #
  145. ####################################################################################
  146.  
  147.  
  148.  
  149. ####################################################################################
  150. #
  151. # Others
  152. #
  153. ####################################################################################
  154.  
  155. Bladex.AddBipedAction("Trl","slip","Trl_wlk_no",0.0,1.0,0)    
  156. Bladex.AddBipedAction("Trl","slip_b","Trl_wlk_no",0.0,1.0,0)    
  157. Bladex.AddBipedAction("Trl","derrape","Trl_wlk_no",0.0,1.0,0)    
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164. ###################
  165. #                 # 
  166. # A±adidos Luismi #
  167. #                 #
  168. ###################
  169.  
  170.  
  171.  
  172. ####  Muertes
  173.  
  174.  
  175. Bladex.AddBipedAction("Trl","dth_burned","Trl_dth_burned",0.0,1.0,0)
  176. Bladex.AddBipedAction("Trl","dth_c1","Trl_dth_c1",0.0,1.0,0)
  177. Bladex.AddBipedAction("Trl","dth_c2","Trl_dth_c2",0.0,1.0,0)
  178. Bladex.AddBipedAction("Trl","dth_n00","Trl_dth_n00",0.0,1.0,0)
  179. Bladex.AddBipedAction("Trl","dth_n01","Trl_dth_n01",0.0,1.0,0)
  180. Bladex.AddBipedAction("Trl","dth0","Trl_dth0",0.0,1.0,0)
  181.  
  182. Bladex.AddBipedAction("Trl","dth_c3","Trl_dth0",0.0,1.0,0)
  183. Bladex.AddBipedAction("Trl","dth_c4","Trl_dth0",0.0,1.0,0)
  184. Bladex.AddBipedAction("Trl","dth_c5","Trl_dth0",0.0,1.0,0)
  185. Bladex.AddBipedAction("Trl","dth_c6","Trl_dth0",0.0,1.0,0)
  186. Bladex.AddBipedAction("Trl","dth_c7","Trl_dth0",0.0,1.0,0)
  187. Bladex.AddBipedAction("Trl","dth0",  "Trl_dth0",0.0,1.0,0)
  188. Bladex.AddBipedAction("Trl","dth_n02","Trl_dth0",0.0,1.0,0)
  189. Bladex.AddBipedAction("Trl","dth_n03","Trl_dth0",0.0,1.0,0)
  190. Bladex.AddBipedAction("Trl","dth_n04","Trl_dth0",0.0,1.0,0)
  191. Bladex.AddBipedAction("Trl","dth_n05","Trl_dth0",0.0,1.0,0)
  192. Bladex.AddBipedAction("Trl","dth_n06","Trl_dth0",0.0,1.0,0)
  193.                        
  194. Bladex.AddBipedAction("Trl","dth_rock","Trl_dth0",0.0,1.0,0)
  195. Bladex.AddBipedAction("Trl","dth_rockfront","Trl_dth0",0.0,1.0,0)
  196. Bladex.AddBipedAction("Trl","dth_burn","Trl_dth0",0.0,1.0,0)    
  197.  
  198.  
  199.  
  200. ####  Heridas
  201.  
  202.  
  203. Bladex.AddBipedAction("Trl","hurt_f_big","Trl_hurt_big",0.0,1.0,0)
  204. Bladex.AddBipedAction("Trl","hurt_f_lite","Trl_hurt_l_arm",0.0,1.0,0)
  205. Bladex.AddBipedAction("Trl","hurt_f_head","Trl_hurt_breast",0.0,1.0,0)
  206. Bladex.AddBipedAction("Trl","hurt_f_breast","Trl_hurt_breast",0.0,1.0,0)
  207. Bladex.AddBipedAction("Trl","hurt_f_back","Trl_hurt_back",0.0,1.0,0)
  208. Bladex.AddBipedAction("Trl","hurt_f_r_arm","Trl_hurt_r_arm",0.0,1.0,0)
  209. Bladex.AddBipedAction("Trl","hurt_f_l_arm","Trl_hurt_l_arm",0.0,1.0,0)
  210. Bladex.AddBipedAction("Trl","hurt_f_r_leg","Trl_hurt_r_leg",0.0,1.0,0)
  211. Bladex.AddBipedAction("Trl","hurt_f_l_leg","Trl_hurt_l_leg",0.0,1.0,0)
  212. Bladex.AddBipedAction("Trl","hurt_jog","Trl_hurt_jog",0.0,1.0,0)
  213. Bladex.AddBipedAction("Trl","hurt_head","Trl_hurt_breast",0.0,1.0,0)
  214. Bladex.AddBipedAction("Trl","hurt_breast","Trl_hurt_breast",0.0,1.0,0)
  215. Bladex.AddBipedAction("Trl","hurt_back","Trl_hurt_back",0.0,1.0,0)
  216. Bladex.AddBipedAction("Trl","hurt_r_arm","Trl_hurt_r_arm",0.0,1.0,0)
  217. Bladex.AddBipedAction("Trl","hurt_l_arm","Trl_hurt_l_arm",0.0,1.0,0)
  218. Bladex.AddBipedAction("Trl","hurt_r_leg","Trl_hurt_r_leg",0.0,1.0,0)
  219. Bladex.AddBipedAction("Trl","hurt_l_leg","Trl_hurt_l_leg",0.0,1.0,0)
  220.