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

  1. import Bladex
  2.  
  3. #import AnimationSets
  4.  
  5.  
  6. #AnimationSets.LoadGokAnimationSet("Gok")
  7.  
  8. ####################################################################################
  9. #
  10. # Escalar + saltos
  11. #
  12. ####################################################################################
  13.  
  14. Bladex.AddBipedAction("Gok","clmb_low_1h","Gok_clmb_low_1h",0.0,1.0,0)    
  15. Bladex.AddBipedAction("Gok","clmb_medlow_1h","Gok_clmb_low_1h",0.0,1.0,0)    
  16. Bladex.AddBipedAction("Gok","clmb_medium_1h","Gok_clmb_medium_1h",0.0,1.0,0)    
  17. Bladex.AddBipedAction("Gok","clmb_high_1h","Gok_clmb_medium_1h",0.0,1.0,0)    
  18.  
  19. #Bladex.AddBipedAction("Gok","LongJump1H","Gok_jmp_1h",0.0,1.0,0)    
  20. #Bladex.AddBipedAction("Gok","LongJumpNo","Gok_jmp_1h",0.0,1.0,0)    
  21. #Bladex.AddBipedAction("Gok","ShortJump","Gok_jmp_1h",0.0,1.0,0)    
  22.  
  23.  
  24.  
  25. ####################################################################################
  26. #
  27. # Others
  28. #
  29. ####################################################################################
  30.  
  31. Bladex.AddBipedAction("Gok","slip","Gok_slip",0.0,1.0,0)    
  32. Bladex.AddBipedAction("Gok","slip_b","Gok_slip_b",0.0,1.0,0)    
  33. Bladex.AddBipedAction("Gok","derrape","Gok_derrape",0.0,1.0,0)    
  34.  
  35.  
  36. Bladex.AddBipedAction("Gok","b1","Gok_b1",0.0,1.0,0)
  37. Bladex.AddBipedAction("Gok","b2","Gok_b2",0.0,1.0,0)
  38. Bladex.AddBipedAction("Gok","b3","Gok_b3",0.0,1.0,0)
  39.  
  40.  
  41.  
  42.  
  43. ####################################################################################
  44. #
  45. # Relax.
  46. #
  47. ####################################################################################
  48.  
  49. Bladex.AddBipedAction("Gok","Rlx_no","Rlx_no_Gok",0.0,1.0,0)
  50. Bladex.AddBipedAction("Gok","Rlx_1h","Rlx_1h_Gok",0.0,1.0,0)
  51. Bladex.AddBipedAction("Gok","Rlx_b","Rlx_b_Gok",0.0,1.0,0)
  52. Bladex.AddBipedAction("Gok","Rlx_2h","Rlx_1h_Gok",0.0,1.0,0)
  53. Bladex.AddBipedAction("Gok","Rlx_s","Rlx_1h_Gok",0.0,1.0,0)
  54.  
  55. ####################################################################################
  56. #
  57. # Pasos.- Andares
  58. #
  59. ####################################################################################
  60.  
  61. Bladex.AddBipedAction("Gok","Attack_f_s_nc","Gok_attack_f_s",0.0,1.0,0)
  62. Bladex.AddBipedAction("Gok","Attack_b_s_nc","Gok_attack_b_s",0.0,1.0,0)
  63.  
  64. # Andar hacia atrßs
  65. Bladex.AddBipedAction("Gok","WBK_b","Wbk_b_Gok",0.0,1.0,0)
  66. Bladex.AddBipedAction("Gok","WBK_no","Gok_attack_b",0.0,1.0,0)
  67. Bladex.AddBipedAction("Gok","WBK_1h","Gok_attack_b",0.0,1.0,0)
  68. Bladex.AddBipedAction("Gok","WBK_2h","Gok_attack_b",0.0,1.0,0)
  69. Bladex.AddBipedAction("Gok","WBK_s","Gok_attack_b",0.0,1.0,0)
  70.  
  71. #Andar hacia alante
  72. Bladex.AddBipedAction("Gok","WLK_b","Wlk_b_Gok",0.0,1.0,0)
  73. Bladex.AddBipedAction("Gok","WLK_no","Wlk_1h_Gok",0.0,1.0,0)
  74. Bladex.AddBipedAction("Gok","WLK_1h","Wlk_1h_Gok",0.0,1.0,0)
  75. Bladex.AddBipedAction("Gok","WLK_2h","Wlk_1h_Gok",0.0,1.0,0)
  76. Bladex.AddBipedAction("Gok","WLK_s","Wlk_1h_Gok",0.0,1.0,0)
  77.  
  78. #Correr hacia atrßs
  79. Bladex.AddBipedAction("Gok","WBK_JOG_b","Wbk_b_Gok",0.0,1.0,0)
  80. Bladex.AddBipedAction("Gok","WBK_JOG_no","Gok_attack_b",0.0,1.0,0)
  81. Bladex.AddBipedAction("Gok","WBK_JOG_s","Gok_attack_b",0.0,1.0,0)
  82. Bladex.AddBipedAction("Gok","WBK_JOG_1h","Gok_attack_b",0.0,1.0,0)
  83. Bladex.AddBipedAction("Gok","WBK_JOG_2h","Gok_attack_b",0.0,1.0,0)
  84.  
  85. #Correr hacia delante
  86. Bladex.AddBipedAction("Gok","JOG_b","Jog_b_Gok",0.0,1.0,0)
  87. Bladex.AddBipedAction("Gok","JOG_no","Jog_1h_Gok",0.0,1.0,0)
  88. Bladex.AddBipedAction("Gok","JOG_s","Jog_1h_Gok",0.0,1.0,0)
  89. Bladex.AddBipedAction("Gok","JOG_1h","Jog_1h_Gok",0.0,1.0,0)
  90. Bladex.AddBipedAction("Gok","JOG_2h","Jog_1h_Gok",0.0,1.0,0)
  91.  
  92.  
  93. #Modo sneak
  94. Bladex.AddBipedAction("Gok","SNK_b","Wlk_b_Gok",0.0,1.0,0)
  95. Bladex.AddBipedAction("Gok","SNK_no","Wlk_1h_Gok",0.0,1.0,0)
  96. Bladex.AddBipedAction("Gok","SNK_s","Wlk_1h_Gok",0.0,1.0,0)
  97. Bladex.AddBipedAction("Gok","SNK_1h","Wlk_1h_Gok",0.0,1.0,0)
  98. Bladex.AddBipedAction("Gok","SNK_2h","Wlk_1h_Gok",0.0,1.0,0)
  99.  
  100.  
  101.  
  102.  
  103. ####################################################################################
  104. #
  105. # Caidas.
  106. #
  107. ####################################################################################
  108.  
  109. Bladex.AddBipedAction("Gok","FllLow","FallMed_Gok",0.37,0.8,0)
  110. Bladex.AddBipedAction("Gok","FllMed","FallMed_Gok",0.37,0.8,0)
  111. Bladex.AddBipedAction("Gok","FllHigh","FallHigh_Gok",0.1,0.8,0)
  112. Bladex.AddBipedAction("Gok","Dth_Fll","Dth_Fll_Gok",0.0,1.0,0)
  113. Bladex.AddBipedAction("Gok","Dth_Fll2","Dth_Fll2_Gok",0.0,1.0,0)
  114.  
  115.  
  116.  
  117. ####################################################################################
  118. #
  119. # Animaciones en combate
  120. #
  121. ####################################################################################
  122.  
  123. #MOvement without shield
  124. Bladex.AddBipedAction("Gok","Attack_f_1h","Gok_attack_f",0.0,1.0,0)
  125. Bladex.AddBipedAction("Gok","Attack_b_1h","Gok_attack_b",0.0,1.0,0)
  126. Bladex.AddBipedAction("Gok","Attack_r_1h","Gok_attack_r",0.0,1.0,0)
  127. Bladex.AddBipedAction("Gok","Attack_l_1h","Gok_attack_l",0.0,1.0,0)
  128.  
  129. Bladex.AddBipedAction("Gok","Attack_f_2h","Gok_attack_f",0.0,1.0,0)
  130. Bladex.AddBipedAction("Gok","Attack_b_2h","Gok_attack_b",0.0,1.0,0)
  131. Bladex.AddBipedAction("Gok","Attack_r_2h","Gok_attack_r",0.0,1.0,0)
  132. Bladex.AddBipedAction("Gok","Attack_l_2h","Gok_attack_l",0.0,1.0,0)
  133.  
  134. #Movement with shield
  135. Bladex.AddBipedAction("Gok","Shattack_f_2h","Gok_attack_f_s",0.0,1.0,0)
  136. Bladex.AddBipedAction("Gok","Shattack_b_2h","Gok_attack_b_s",0.0,1.0,0)
  137. Bladex.AddBipedAction("Gok","Shattack_r_2h","Gok_attack_r_s",0.0,1.0,0)
  138. Bladex.AddBipedAction("Gok","Shattack_l_2h","Gok_attack_l_s",0.0,1.0,0)
  139.  
  140. #Relax
  141. Bladex.AddBipedAction("Gok","Rlx_f_1h","Gok_attack_rlx",0.0,1.0,0)
  142. Bladex.AddBipedAction("Gok","Rlx_f_2h","Gok_attack_rlx",0.0,1.0,0)
  143. Bladex.AddBipedAction("Gok","Shattack_rlx_2h","Gok_attack_rlx_s",0.0,1.0,0)
  144.  
  145. ##Quick turns
  146. #Bladex.AddBipedAction("Gok","Attack_t_r","Gok_attack_t_r",0.0,1.0,0)
  147. #Bladex.AddBipedAction("Gok","Attack_t_r_s","Gok_attack_t_r_s",0.0,1.0,0)
  148. #Bladex.AddBipedAction("Gok","Attack_t_l","Gok_attack_t_l",0.0,1.0,0)
  149. #Bladex.AddBipedAction("Gok","Attack_t_l_s","Gok_attack_t_l_s",0.0,1.0,0)
  150.  
  151.  
  152. #Dodges
  153. Bladex.AddBipedAction("Gok","D_b","Gok_d_b",0.0,1.0,0)
  154. Bladex.AddBipedAction("Gok","D_l","Gok_d_l",0.0,1.0,0)
  155. Bladex.AddBipedAction("Gok","D_r","Gok_d_r",0.0,1.0,0)
  156.  
  157.  
  158.  
  159.  
  160. ####################################################################################
  161. #
  162. # Cambio de armas
  163. #
  164. ####################################################################################
  165.  
  166.  
  167. Bladex.AddBipedAction("Gok","Attack_Chg_r_l","Gok_attack_chg_r_l",0.0,1.0,0)
  168. Bladex.AddBipedAction("Gok","Chg_r_l","Gok_attack_chg_r_l",0.0,1.0,0)
  169.  
  170. Bladex.AddBipedAction("Gok","attack_drink","Gok_attack_drink",0.0,1.0,0)
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177. ####################################################################################
  178. #
  179. # Animaciones de vigia
  180. #
  181. ####################################################################################
  182.  
  183.  
  184. Bladex.AddBipedAction("Gok","Wai_01","Gok_wai_01",0.0,1.0,0)
  185. Bladex.AddBipedAction("Gok","Wai_02","Gok_wai_02",0.0,1.0,0)
  186.  
  187. Bladex.AddBipedAction("Gok","alarm01","Gok_alarm01",0.0,1.0,0)
  188.  
  189. Bladex.AddBipedAction("Gok","patrol1","Gok_patrol1",0.0,1.0,0)
  190. Bladex.AddBipedAction("Gok","patrol2","Gok_patrol2",0.0,1.0,0)
  191. Bladex.AddBipedAction("Gok","fury","Gok_fury",0.0,1.0,0)
  192.  
  193. Bladex.AddBipedAction("Gok","attack_look","Gok_attack_look",0.0,1.0,0)
  194.  
  195. Bladex.AddBipedAction("Gok","order","Gok_order",0.0,1.0,0)
  196.  
  197. Bladex.AddBipedAction("Gok","insult","Gok_insult",0.0,1.0,0)
  198.  
  199.  
  200.  
  201.  
  202.  
  203. ####################################################################################
  204. #
  205. # Ataques
  206. #
  207. ####################################################################################
  208.     
  209. Bladex.AddBipedAction("Gok","g_01","Gok_g_01",0.0,1.0,0)    
  210. Bladex.AddBipedAction("Gok","g_02","Gok_g_02",0.0,1.0,0)    
  211. Bladex.AddBipedAction("Gok","g_06","Gok_g_06",0.0,1.0,0)    
  212. Bladex.AddBipedAction("Gok","g_15","Gok_g_15",0.0,1.0,0)
  213. Bladex.AddBipedAction("Gok","g_16","Gok_g_16",0.0,1.0,0)    
  214. Bladex.AddBipedAction("Gok","g_18","Gok_g_18",0.0,1.0,0)
  215.  
  216.  
  217. ####################################################################################
  218. #
  219. # Reacciones
  220. #
  221. ####################################################################################
  222.  
  223.  
  224. Bladex.AddBipedAction("Gok","df_01","Gok_df_01",0.0,1.0,0)    
  225. Bladex.AddBipedAction("Gok","df_02","Gok_df_02",0.0,1.0,0)
  226.  
  227. Bladex.AddBipedAction("Gok","sw_react","Gok_df_s_broken",0.35,0.54,0)
  228.  
  229. Bladex.AddBipedAction("Ork","df_s_broken","Gok_df_s_broken",0.0,1.0,0)
  230.  
  231.  
  232.  
  233.     
  234. Bladex.AddBipedAction("Gok","hurt_f_lite","Gok_hurt_f_lite",0.0,1.0,0)
  235. Bladex.AddBipedAction("Gok","hurt_f_big","Gok_hurt_f_big",0.0,1.0,0)
  236.  
  237. Bladex.AddBipedAction("Gok","hurt_f_head","Gok_hurt_f_head",0.0,1.0,0)
  238. Bladex.AddBipedAction("Gok","hurt_f_breast","Gok_hurt_f_back",0.0,1.0,0)
  239. Bladex.AddBipedAction("Gok","hurt_f_back","Gok_hurt_f_back",0.0,1.0,0)
  240. Bladex.AddBipedAction("Gok","hurt_f_r_arm","Gok_hurt_f_r_arm",0.0,1.0,0)
  241. Bladex.AddBipedAction("Gok","hurt_f_l_arm","Gok_hurt_f_l_arm",0.0,1.0,0)
  242. Bladex.AddBipedAction("Gok","hurt_f_r_leg","Gok_hurt_f_r_leg",0.0,1.0,0)
  243. Bladex.AddBipedAction("Gok","hurt_f_l_leg","Gok_hurt_f_l_leg",0.0,1.0,0)
  244.  
  245. Bladex.AddBipedAction("Gok","hurt_jog","Gok_hurt_f_back",0.0,1.0,0)
  246.  
  247. Bladex.AddBipedAction("Gok","hurt_head","Gok_hurt_f_head",0.0,1.0,0)
  248. Bladex.AddBipedAction("Gok","hurt_breast","Gok_hurt_f_back",0.0,1.0,0)
  249. Bladex.AddBipedAction("Gok","hurt_back","Gok_hurt_f_back",0.0,1.0,0)
  250. Bladex.AddBipedAction("Gok","hurt_r_arm","Gok_hurt_f_r_arm",0.0,1.0,0)
  251. Bladex.AddBipedAction("Gok","hurt_l_arm","Gok_hurt_f_l_arm",0.0,1.0,0)
  252. Bladex.AddBipedAction("Gok","hurt_r_leg","Gok_hurt_f_r_leg",0.0,1.0,0)
  253. Bladex.AddBipedAction("Gok","hurt_l_leg","Gok_hurt_f_l_leg",0.0,1.0,0)    
  254.  
  255.  
  256.  
  257.  
  258. ####################################################################################
  259. #
  260. # MUERTES
  261. #
  262. ####################################################################################
  263.  
  264. Bladex.AddBipedAction("Gok","dth_c1", "Gok_dth_c1",0.0,1.0,0)
  265. Bladex.AddBipedAction("Gok","dth_c2", "Gok_dth_c2",0.0,1.0,0)
  266. Bladex.AddBipedAction("Gok","dth_c3", "Gok_dth_c3",0.0,1.0,0)
  267. Bladex.AddBipedAction("Gok","dth_c4", "Gok_dth_c4",0.0,1.0,0)
  268. Bladex.AddBipedAction("Gok","dth_c5", "Gok_dth_c5",0.0,1.0,0)
  269. Bladex.AddBipedAction("Gok","dth_c6", "Gok_dth_c6",0.0,1.0,0)
  270. Bladex.AddBipedAction("Gok","dth_c7", "Gok_dth_c7",0.0,1.0,0)
  271. Bladex.AddBipedAction("Gok","dth0",   "Gok_dth0",0.0,1.0,0)
  272. Bladex.AddBipedAction("Gok","dth_n00","Gok_dth_n00",0.0,1.0,0)
  273. Bladex.AddBipedAction("Gok","dth_n01","Gok_dth_n01",0.0,1.0,0)
  274. Bladex.AddBipedAction("Gok","dth_n02","Gok_dth_n02",0.0,1.0,0)
  275. Bladex.AddBipedAction("Gok","dth_n03","Gok_dth_n03",0.0,1.0,0)
  276. Bladex.AddBipedAction("Gok","dth_n04","Gok_dth_n04",0.0,1.0,0)
  277. Bladex.AddBipedAction("Gok","dth_n05","Gok_dth_n05",0.0,1.0,0)
  278. Bladex.AddBipedAction("Gok","dth_n06","Gok_dth_n06",0.0,1.0,0)
  279.  
  280. Bladex.AddBipedAction("Gok","dth_rock","Gok_dth_rock",0.0,1.0,0)
  281. Bladex.AddBipedAction("Gok","dth_rockfront","Gok_dth_rockfront",0.0,1.0,0)
  282. Bladex.AddBipedAction("Gok","dth_burn","Gok_dth_burn",0.0,1.0,0)    
  283.  
  284.  
  285.  
  286.     
  287.  
  288.  
  289.