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

  1. import Bladex
  2.  
  3. #import AnimationSets
  4.  
  5.  
  6. #AnimationSets.LoadSklAnimationSet("Skl")
  7.  
  8. ####################################################################################
  9. #
  10. # Escalar + saltos
  11. #
  12. ####################################################################################
  13.  
  14. Bladex.AddBipedAction("Skl","clmb_low_1h","Skl_clmb_low",0.25,0.8,0)    
  15. Bladex.AddBipedAction("Skl","clmb_medlow_1h","Skl_clmb_low",0.25,0.8,0)    
  16. Bladex.AddBipedAction("Skl","clmb_medium_1h","Skl_clmb_low",0.25,0.8,0)    
  17. Bladex.AddBipedAction("Skl","clmb_high_1h","Skl_clmb_low",0.25,0.8,0)    
  18.  
  19. Bladex.AddBipedAction("Skl","LongJump1H","Skl_jmp_1h",0.0,1.0,0)    
  20. Bladex.AddBipedAction("Skl","LongJumpNo","Skl_jmp_1h",0.0,1.0,0)    
  21. Bladex.AddBipedAction("Skl","ShortJump","Skl_jmp_1h",0.0,1.0,0)    
  22.  
  23.  
  24.  
  25. ####################################################################################
  26. #
  27. # Others
  28. #
  29. ####################################################################################
  30.  
  31. Bladex.AddBipedAction("Skl","slip","Skl_slip",0.0,1.0,0)    
  32. Bladex.AddBipedAction("Skl","slip_b","Skl_slip_b",0.0,1.0,0)    
  33. Bladex.AddBipedAction("Skl","derrape","Skl_derrape",0.0,1.0,0)    
  34.  
  35.  
  36. #Bladex.AddBipedAction("Skl","LookArround","Skl_patrol1",0.0,1.0,0)    
  37.  
  38. Bladex.AddBipedAction("Skl","b1","Skl_b1",0.0,1.0,0)    
  39. Bladex.AddBipedAction("Skl","b2","Skl_b2",0.0,1.0,0)    
  40. Bladex.AddBipedAction("Skl","b3","Skl_b3",0.0,1.0,0)    
  41.  
  42. Bladex.AddBipedAction("Skl","appears1","Skl_appears1",0.0,1.0,0)
  43.  
  44. ####################################################################################
  45. #
  46. # Relax.
  47. #
  48. ####################################################################################
  49.  
  50. Bladex.AddBipedAction("Skl","Rlx_no","Rlx_1h_Skl",0.0,1.0,0)
  51. Bladex.AddBipedAction("Skl","Rlx_1h","Rlx_1h_Skl",0.0,1.0,0)
  52. Bladex.AddBipedAction("Skl","Rlx_b","Rlx_1h_Skl",0.0,1.0,0)
  53. Bladex.AddBipedAction("Skl","Rlx_2h","Rlx_1h_Skl",0.0,1.0,0)
  54. Bladex.AddBipedAction("Skl","Rlx_s","Rlx_1h_Skl",0.0,1.0,0)
  55.  
  56. ####################################################################################
  57. #
  58. # Pasos.- Andares
  59. #
  60. ####################################################################################
  61.  
  62. #Bladex.AddBipedAction("Skl","LStepUp","Wlk_Skl","WlkUp_Skl",0.0,0.5,0)
  63. #Bladex.AddBipedAction("Skl","RStepUp","Wlk_Skl","WlkUp_Skl",0.5,1.0,0)
  64.  
  65. #Bladex.AddBipedAction("Skl","LStairsUp","StairsUp_Skl","StairsUpP_Skl",0.0,0.5,0)
  66. #Bladex.AddBipedAction("Skl","RStairsUp","StairsUp_Skl","StairsUpP_Skl",0.5,1.0,0)
  67.  
  68.  
  69. #Bladex.AddBipedAction("Skl","ShortStep","Wlk_1h_Skl", 0.0,1.0,0)
  70.  
  71. #Bladex.AddBipedAction("Skl","LStepDown","Wlk_Skl","WlkDown_Skl",0.0,0.5,0)
  72. #Bladex.AddBipedAction("Skl","RStepDown","Wlk_Skl","WlkDown_Skl",0.5,1.0,0)
  73.  
  74. #Bladex.AddBipedAction("Skl","LStairsDown","StairsDown_Skl",0.0,0.5,0)
  75. #Bladex.AddBipedAction("Skl","RStairsDown","StairsDown_Skl",0.5,1.0,0)
  76.  
  77. # Andar hacia atrßs
  78. Bladex.AddBipedAction("Skl","WBK_b","Skl_attack_b",0.0,1.0,0)    
  79. Bladex.AddBipedAction("Skl","WBK_no","Skl_attack_b",0.0,1.0,0)    
  80. Bladex.AddBipedAction("Skl","WBK_1h","Skl_attack_b",0.0,1.0,0)        
  81. Bladex.AddBipedAction("Skl","WBK_2h","Skl_attack_b",0.0,1.0,0)    
  82. Bladex.AddBipedAction("Skl","WBK_s","Skl_attack_b",0.0,1.0,0)
  83.  
  84. #Andar hacia alante
  85. Bladex.AddBipedAction("Skl","WLK_b","Wlk_b_Skl",0.0,1.0,0)
  86. Bladex.AddBipedAction("Skl","WLK_no","Wlk_1h_Skl",0.0,1.0,0)
  87. Bladex.AddBipedAction("Skl","WLK_1h","Wlk_1h_Skl",0.0,1.0,0)
  88. Bladex.AddBipedAction("Skl","WLK_2h","Wlk_1h_Skl",0.0,1.0,0)
  89. Bladex.AddBipedAction("Skl","WLK_s","Wlk_1h_Skl",0.0,1.0,0)
  90.  
  91. #Correr hacia atrßs
  92. Bladex.AddBipedAction("Skl","WBK_JOG_b","Skl_attack_b",0.0,1.0,0)
  93. Bladex.AddBipedAction("Skl","WBK_JOG_no","Skl_attack_b",0.0,1.0,0)
  94. Bladex.AddBipedAction("Skl","WBK_JOG_s","Skl_attack_b",0.0,1.0,0)
  95. Bladex.AddBipedAction("Skl","WBK_JOG_1h","Skl_attack_b",0.0,1.0,0)
  96. Bladex.AddBipedAction("Skl","WBK_JOG_2h","Skl_attack_b",0.0,1.0,0)
  97.  
  98. #Correr hacia delante
  99. Bladex.AddBipedAction("Skl","JOG_b","Jog_1h_Skl",0.0,1.0,0)
  100. Bladex.AddBipedAction("Skl","JOG_no","Jog_1h_Skl",0.0,1.0,0)
  101. Bladex.AddBipedAction("Skl","JOG_s","Jog_1h_Skl",0.0,1.0,0)
  102. Bladex.AddBipedAction("Skl","JOG_1h","Jog_1h_Skl",0.0,1.0,0)
  103. Bladex.AddBipedAction("Skl","JOG_2h","Jog_1h_Skl",0.0,1.0,0)
  104.  
  105.  
  106. #Modo sneak
  107. Bladex.AddBipedAction("Skl","SNK_b","Snk_b_Skl",0.0,1.0,0)
  108. Bladex.AddBipedAction("Skl","SNK_no","Snk_no_Skl",0.0,1.0,0)
  109. Bladex.AddBipedAction("Skl","SNK_s","Snk_no_Skl",0.0,1.0,0)
  110. Bladex.AddBipedAction("Skl","SNK_1h","Snk_1h_Skl",0.0,1.0,0)
  111. Bladex.AddBipedAction("Skl","SNK_2h","Snk_1h_Skl",0.0,1.0,0)
  112.  
  113.  
  114.  
  115.  
  116. ####################################################################################
  117. #
  118. # Caidas.
  119. #
  120. ####################################################################################
  121.  
  122. Bladex.AddBipedAction("Skl","FllLow","FallMed_Skl",0.23,0.9,0)
  123. Bladex.AddBipedAction("Skl","FllMed","FallMed_Skl",0.23,0.9,0)
  124. Bladex.AddBipedAction("Skl","FllHigh","FallMed_Skl",0.23,0.9,0)
  125. Bladex.AddBipedAction("Skl","Dth_Fll","Dth_Fll_Skl",0.0,1.0,0)
  126. Bladex.AddBipedAction("Skl","Dth_Fll2","Dth_Fll2_Skl",0.0,1.0,0)
  127.  
  128.  
  129.  
  130.  
  131.  
  132. ####################################################################################
  133. #
  134. # Animaciones en combate
  135. #
  136. ####################################################################################
  137.  
  138. #MOvement without shield
  139. Bladex.AddBipedAction("Skl","Attack_f_1h","Skl_attack_f",0.0,1.0,0)
  140. Bladex.AddBipedAction("Skl","Attack_b_1h","Skl_attack_b",0.0,1.0,0)
  141. Bladex.AddBipedAction("Skl","Attack_r_1h","Skl_attack_r",0.0,1.0,0)
  142. Bladex.AddBipedAction("Skl","Attack_l_1h","Skl_attack_l",0.0,1.0,0)
  143.  
  144. Bladex.AddBipedAction("Skl","Attack_f_2h","Skl_attack_f",0.0,1.0,0)
  145. Bladex.AddBipedAction("Skl","Attack_b_2h","Skl_attack_b",0.0,1.0,0)
  146. Bladex.AddBipedAction("Skl","Attack_r_2h","Skl_attack_r",0.0,1.0,0)
  147. Bladex.AddBipedAction("Skl","Attack_l_2h","Skl_attack_l",0.0,1.0,0)
  148.  
  149. #Movement with shield
  150. Bladex.AddBipedAction("Skl","Shattack_f_2h","Skl_attack_f_s",0.0,1.0,0)
  151. Bladex.AddBipedAction("Skl","Shattack_b_2h","Skl_attack_b_s",0.0,1.0,0)
  152. Bladex.AddBipedAction("Skl","Shattack_r_2h","Skl_attack_r_s",0.0,1.0,0)
  153. Bladex.AddBipedAction("Skl","Shattack_l_2h","Skl_attack_l_s",0.0,1.0,0)
  154.  
  155. Bladex.AddBipedAction("Skl","Attack_b_s_nc","Skl_attack_b_s",0.0,1.0,0)
  156. Bladex.AddBipedAction("Skl","Attack_f_s_nc","Skl_attack_f_s",0.0,1.0,0)
  157.  
  158. #Relax
  159. Bladex.AddBipedAction("Skl","Rlx_f_1h","Rlx_1h_Skl",0.0,1.0,0)
  160. Bladex.AddBipedAction("Skl","Rlx_f_2h","Rlx_1h_Skl",0.0,1.0,0)
  161. Bladex.AddBipedAction("Skl","Shattack_rlx_2h","Rlx_1h_Skl",0.0,1.0,0)
  162.  
  163. #Quick turns
  164. #Bladex.AddBipedAction("Skl","Attack_t_r","Skl_attack_t_r",0.0,1.0,0)
  165. #Bladex.AddBipedAction("Skl","Attack_t_r_s","Skl_attack_t_r_s",0.0,1.0,0)
  166. #Bladex.AddBipedAction("Skl","Attack_t_l","Skl_attack_t_l",0.0,1.0,0)
  167. #Bladex.AddBipedAction("Skl","Attack_t_l_s","Skl_attack_t_l_s",0.0,1.0,0)
  168.  
  169.  
  170. #Dodges
  171. Bladex.AddBipedAction("Skl","D_b","Skl_attack_b_s",0.0,1.0,0)
  172. Bladex.AddBipedAction("Skl","D_l","Skl_attack_l_s",0.0,1.0,0)
  173. Bladex.AddBipedAction("Skl","D_r","Skl_attack_r_s",0.0,1.0,0)
  174.  
  175.  
  176.  
  177. ####################################################################################
  178. #
  179. # Ataques
  180. #
  181. ####################################################################################
  182.  
  183.     
  184. Bladex.AddBipedAction("Skl","g_01","Skl_g_01",0.0,1.0,0)    
  185. Bladex.AddBipedAction("Skl","g_02","Skl_g_02",0.0,1.0,0)    
  186. Bladex.AddBipedAction("Skl","g_07","Skl_g_07",0.0,1.0,0)    
  187. Bladex.AddBipedAction("Skl","g_09","Skl_g_09",0.0,1.0,0)
  188. Bladex.AddBipedAction("Skl","g_16","Skl_g_16",0.0,1.0,0)
  189. Bladex.AddBipedAction("Skl","g_18","Skl_g_18",0.0,1.0,0)    
  190. Bladex.AddBipedAction("Skl","g_22","Skl_g_22",0.0,1.0,0)
  191.  
  192.  
  193.  
  194. ####################################################################################
  195. #
  196. # Animaciones de giro
  197. #
  198. ####################################################################################
  199.  
  200. #Giro no encarando
  201. #Bladex.AddBipedAction("Skl","Turn_l","Skl_t_l_1h",0.0,1.0,0)
  202. #Bladex.AddBipedAction("Skl","Turn_r","Skl_t_r_1h",0.0,1.0,0)
  203.  
  204.  
  205. ####################################################################################
  206. #
  207. # Reacciones
  208. #
  209. ####################################################################################
  210.  
  211.  
  212.  
  213.  
  214. Bladex.AddBipedAction("Skl","sw_react","Skl_sword_reaction",0.143,0.5,0)    
  215.  
  216.  
  217.  
  218.  
  219. ###########################
  220. #                         #
  221. #     A±adidos Luismi     #
  222. #                         #
  223. ###########################
  224.  
  225.  
  226. Bladex.AddBipedAction("Skl","Chg_r_l","Skl_attack_chg_r_l",0.0,1.0,0)
  227. Bladex.AddBipedAction("Skl","Attack_Chg_r_l","Skl_attack_chg_r_l",0.0,1.0,0)
  228.  
  229. Bladex.AddBipedAction("Skl","look_around","Skl_patrol1",0.0,1.0,0)
  230.  
  231. Bladex.AddBipedAction("Skl","alarm01","Skl_alarm01",0.0,1.0,0)
  232. #Bladex.AddBipedAction("Skl","alarm02","Skl_alarm02",0.0,1.0,0)
  233. #Bladex.AddBipedAction("Skl","fury","Skl_fury",0.0,1.0,0)
  234.  
  235.  
  236. Bladex.AddBipedAction("Skl","df_s_broken","Skl_df_s_broken",0.0,1.0,0)
  237.  
  238.  
  239. #### Muertes
  240.  
  241. Bladex.AddBipedAction("Skl","dth_c1","Skl_dth_c1",0.0,1.0,0)
  242. Bladex.AddBipedAction("Skl","dth_c2","Skl_dth_c2",0.0,1.0,0)
  243. Bladex.AddBipedAction("Skl","dth_c3","Skl_dth_c3",0.0,1.0,0)
  244. Bladex.AddBipedAction("Skl","dth_c4","Skl_dth_c4",0.0,1.0,0)
  245. Bladex.AddBipedAction("Skl","dth_c5","Skl_dth_c5",0.0,1.0,0)
  246. Bladex.AddBipedAction("Skl","dth_c6","Skl_dth_c6",0.0,1.0,0)
  247. Bladex.AddBipedAction("Skl","dth_c7","Skl_dth_c7",0.0,1.0,0)
  248. Bladex.AddBipedAction("Skl","dth0",  "Skl_dth0",0.0,1.0,0)
  249. Bladex.AddBipedAction("Skl","dth_n00","Skl_dth_n00",0.0,1.0,0)
  250. Bladex.AddBipedAction("Skl","dth_n01","Skl_dth_n01",0.0,1.0,0)
  251. Bladex.AddBipedAction("Skl","dth_n02","Skl_dth_n02",0.0,1.0,0)
  252. Bladex.AddBipedAction("Skl","dth_n03","Skl_dth_n03",0.0,1.0,0)
  253. Bladex.AddBipedAction("Skl","dth_n04","Skl_dth_n04",0.0,1.0,0)
  254. Bladex.AddBipedAction("Skl","dth_n05","Skl_dth_n05",0.0,1.0,0)
  255. Bladex.AddBipedAction("Skl","dth_n06","Skl_dth_n06",0.0,1.0,0)
  256.  
  257. Bladex.AddBipedAction("Skl","dth_rock","Skl_dth_rock",0.0,1.0,0)
  258. Bladex.AddBipedAction("Skl","dth_rockfront","Skl_dth_rockfront",0.0,1.0,0)
  259. Bladex.AddBipedAction("Skl","dth_burn","Skl_dth_burn",0.0,1.0,0)
  260.  
  261.  
  262. ##### Heridas
  263.  
  264.  
  265. Bladex.AddBipedAction("Skl","hurt_f_lite","Skl_hurt_f_lite",0.0,1.0,0)
  266. Bladex.AddBipedAction("Skl","hurt_f_big","Skl_hurt_f_big",0.0,1.0,0)              
  267. Bladex.AddBipedAction("Skl","hurt_f_head","Skl_hurt_f_head",0.0,1.0,0)
  268. Bladex.AddBipedAction("Skl","hurt_f_breast","Skl_hurt_f_breast",0.0,1.0,0)
  269. Bladex.AddBipedAction("Skl","hurt_f_back","Skl_hurt_back",0.0,1.0,0)
  270. Bladex.AddBipedAction("Skl","hurt_f_r_arm","Skl_hurt_f_r_arm",0.0,1.0,0)    
  271. Bladex.AddBipedAction("Skl","hurt_f_l_arm","Skl_hurt_f_l_arm",0.0,1.0,0)
  272. Bladex.AddBipedAction("Skl","hurt_f_r_leg","Skl_hurt_f_r_leg",0.0,1.0,0)
  273. Bladex.AddBipedAction("Skl","hurt_f_l_leg","Skl_hurt_f_l_leg",0.0,1.0,0)                       
  274. Bladex.AddBipedAction("Skl","hurt_jog","Skl_hurt_back",0.0,1.0,0)                       
  275. Bladex.AddBipedAction("Skl","hurt_head","Skl_hurt_f_head",0.0,1.0,0)
  276. Bladex.AddBipedAction("Skl","hurt_breast","Skl_hurt_f_breast",0.0,1.0,0)
  277. Bladex.AddBipedAction("Skl","hurt_back","Skl_hurt_back",0.0,1.0,0)
  278. Bladex.AddBipedAction("Skl","hurt_r_arm","Skl_hurt_f_r_arm",0.0,1.0,0)    
  279. Bladex.AddBipedAction("Skl","hurt_l_arm","Skl_hurt_f_l_arm",0.0,1.0,0)
  280. Bladex.AddBipedAction("Skl","hurt_r_leg","Skl_hurt_f_r_leg",0.0,1.0,0)
  281. Bladex.AddBipedAction("Skl","hurt_l_leg","Skl_hurt_f_l_leg",0.0,1.0,0)
  282.  
  283. Bladex.AddBipedAction("Skl","df_01","Skl_df_01",0.0,1.0,0)
  284. Bladex.AddBipedAction("Skl","df_02","Skl_df_02",0.0,1.0,0)