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

  1. import Bladex
  2.  
  3.  
  4.  
  5. ####################################################################################
  6. #
  7. # Escalar + saltos
  8. #
  9. ####################################################################################
  10.  
  11. Bladex.AddBipedAction("Dgk","clmb_low_1h","Dgk_rlx_1h",0.0,1.0,0)    
  12. Bladex.AddBipedAction("Dgk","clmb_medlow_1h","Dgk_rlx_1h",0.0,1.0,0)    
  13. Bladex.AddBipedAction("Dgk","clmb_medium_1h","Dgk_rlx_1h",0.0,1.0,0)    
  14. Bladex.AddBipedAction("Dgk","clmb_high_1h","Dgk_rlx_1h",0.0,1.0,0)    
  15.  
  16. Bladex.AddBipedAction("Dgk","LongJump1H","Dgk_rlx_1h",0.0,0.93,0)    
  17. Bladex.AddBipedAction("Dgk","LongJumpNo","Dgk_rlx_1",0.0,0.93,0)    
  18. Bladex.AddBipedAction("Dgk","ShortJump","Dgk_rlx_1h",0.41,1.0,0)    
  19.  
  20.  
  21. ####################################################################################
  22. #
  23. # Others
  24. #
  25. ####################################################################################
  26.  
  27. Bladex.AddBipedAction("Dgk","slip","Dgk_rlx_1h",0.0,1.0,0)    
  28. Bladex.AddBipedAction("Dgk","slip_b","Dgk_rlx_1h",0.0,1.0,0)    
  29. Bladex.AddBipedAction("Dgk","derrape","Dgk_rlx_1h",0.14,1.0,0)    
  30.  
  31.  
  32.  
  33. Bladex.AddBipedAction("Dgk","b1","Dgk_rlx_1h",0.0,1.0,0)    
  34. Bladex.AddBipedAction("Dgk","b2","Dgk_rlx_1h",0.0,1.0,0)    
  35. Bladex.AddBipedAction("Dgk","b3","Dgk_rlx_1h",0.0,1.0,0)    
  36.  
  37.  
  38.  
  39. ####################################################################################
  40. #
  41. # Relax.
  42. #
  43. ####################################################################################
  44.  
  45. Bladex.AddBipedAction("Dgk","Rlx_no","Dgk_rlx_1",0.0,1.0,0)
  46. Bladex.AddBipedAction("Dgk","Rlx_1h","Dgk_rlx_1h",0.0,1.0,0)
  47. Bladex.AddBipedAction("Dgk","Rlx_b","Dgk_rlx_1h",0.0,1.0,0)
  48. Bladex.AddBipedAction("Dgk","Rlx_2h","Dgk_rlx_1h",0.0,1.0,0)
  49. Bladex.AddBipedAction("Dgk","Rlx_s","Dgk_rlx_1h",0.0,1.0,0)
  50.  
  51.  
  52.  
  53.  
  54. Bladex.AddBipedAction("Dgk","powup","Dgk_powup",0.0,1.0,0)
  55. Bladex.AddBipedAction("Dgk","lifeup1","Dgk_lifeup1",0.0,1.0,0)
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. ####################################################################################
  64. #
  65. # Pasos.- Andares
  66. #
  67. ####################################################################################
  68.  
  69. #Movement with shield -> !NPC only!!!!
  70. Bladex.AddBipedAction("Dgk","Attack_f_s_nc","Dgk_rlx_s",0.0,1.0,0)
  71. Bladex.AddBipedAction("Dgk","Attack_b_s_nc","Dgk_rlx_s",0.0,1.0,0)
  72.  
  73. Bladex.AddBipedAction("Dgk","ShortStep","Dgk_rlx_1h", 0.0,1.0,0)
  74. # Andar hacia atrßs
  75. Bladex.AddBipedAction("Dgk","WBK_b","Dgk_attack_b",0.0,1.0,0)    
  76. Bladex.AddBipedAction("Dgk","WBK_no","Dgk_rlx_1",0.0,1.0,0)    
  77. Bladex.AddBipedAction("Dgk","WBK_1h","Dgk_attack_b",0.0,1.0,0)        
  78. Bladex.AddBipedAction("Dgk","WBK_2h","Dgk_attack_b",0.0,1.0,0)        
  79. Bladex.AddBipedAction("Dgk","WBK_s","Dgk_attack_b",0.0,1.0,0)    
  80.  
  81. #Andar hacia delante
  82. Bladex.AddBipedAction("Dgk","WLK_b","Dgk_attack_f",0.0,1.0,0)
  83. Bladex.AddBipedAction("Dgk","WLK_no","Dgk_rlx_1",0.0,1.0,0)
  84. Bladex.AddBipedAction("Dgk","WLK_1h","Dgk_attack_f",0.0,1.0,0)
  85. Bladex.AddBipedAction("Dgk","WLK_2h","Dgk_attack_f",0.0,1.0,0)
  86. Bladex.AddBipedAction("Dgk","WLK_s","Dgk_attack_f",0.0,1.0,0)
  87.  
  88. #Correr hacia delante
  89. Bladex.AddBipedAction("Dgk","JOG_b","Dgk_attack_f",0.0,1.0,0)
  90. Bladex.AddBipedAction("Dgk","JOG_no","Dgk_rlx_1",0.0,1.0,0)
  91. Bladex.AddBipedAction("Dgk","JOG_s","Dgk_attack_f",0.0,1.0,0)
  92. Bladex.AddBipedAction("Dgk","JOG_1h","Dgk_rlx_1",0.0,1.0,0)
  93. Bladex.AddBipedAction("Dgk","JOG_2h","Dgk_attack_f",0.0,1.0,0)
  94.  
  95. #Correr hacia atrßs
  96. Bladex.AddBipedAction("Dgk","WBK_JOG_b","Dgk_attack_b",0.0,1.0,0)
  97. Bladex.AddBipedAction("Dgk","WBK_JOG_no","Dgk_rlx_1",0.0,1.0,0)
  98. Bladex.AddBipedAction("Dgk","WBK_JOG_1h","Dgk_attack_b",0.0,1.0,0)
  99. Bladex.AddBipedAction("Dgk","WBK_JOG_2h","Dgk_attack_b",0.0,1.0,0)
  100. Bladex.AddBipedAction("Dgk","WBK_JOG_s","Dgk_attack_b",0.0,1.0,0)
  101.  
  102. #Modo sneak
  103. Bladex.AddBipedAction("Dgk","SNK_b","Dgk_attack_f",0.0,1.0,0)
  104. Bladex.AddBipedAction("Dgk","SNK_no","Dgk_rlx_1",0.0,1.0,0)
  105. Bladex.AddBipedAction("Dgk","SNK_s", "Dgk_attack_f",0.0,1.0,0)
  106. Bladex.AddBipedAction("Dgk","SNK_1h","Dgk_attack_f",0.0,1.0,0)
  107. Bladex.AddBipedAction("Dgk","SNK_2h","Dgk_attack_f",0.0,1.0,0)
  108.  
  109.  
  110.  
  111.  
  112.  
  113. ####################################################################################
  114. #
  115. # Caidas.
  116. #
  117. ####################################################################################
  118.  
  119. Bladex.AddBipedAction("Dgk","FllLow","Dgk_attack_f",0.5,0.8,0)
  120. Bladex.AddBipedAction("Dgk","FllMed","Dgk_attack_f",0.37,0.8,0)
  121. Bladex.AddBipedAction("Dgk","FllHigh","Dgk_attack_f",0.1,0.8,0)
  122.  
  123.  
  124.  
  125.  
  126. ####################################################################################
  127. #
  128. # Animaciones en combate
  129. #
  130. ####################################################################################
  131.  
  132. #MOvement without weapons
  133. Bladex.AddBipedAction("Dgk","Attack_f_no","Dgk_rlx_1",0.0,1.0,0)
  134. Bladex.AddBipedAction("Dgk","Attack_b_no","Dgk_rlx_1",0.0,1.0,0)
  135. Bladex.AddBipedAction("Dgk","Attack_r_no","Dgk_attack_r",0.0,1.0,0)
  136. Bladex.AddBipedAction("Dgk","Attack_l_no","Dgk_attack_l",0.0,1.0,0)
  137.  
  138. #MOvement with both weapons
  139. Bladex.AddBipedAction("Dgk","Attack_f_2h","Dgk_attack_f",0.0,1.0,0)
  140. Bladex.AddBipedAction("Dgk","Attack_b_2h","Dgk_attack_b",0.0,1.0,0)
  141. Bladex.AddBipedAction("Dgk","Attack_r_2h","Dgk_attack_r",0.0,1.0,0)
  142. Bladex.AddBipedAction("Dgk","Attack_l_2h","Dgk_attack_l",0.0,1.0,0)
  143.  
  144.  
  145. #Movement with shield
  146. Bladex.AddBipedAction("Dgk","Attack_f_s","Dgk_attack_f",0.0,1.0,0)
  147. Bladex.AddBipedAction("Dgk","Attack_b_s","Dgk_attack_b",0.0,1.0,0)
  148. Bladex.AddBipedAction("Dgk","Attack_r_s","Dgk_attack_r",0.0,1.0,0)
  149. Bladex.AddBipedAction("Dgk","Attack_l_s","Dgk_attack_l",0.0,1.0,0)
  150.  
  151.  
  152. Bladex.AddBipedAction("Dgk","Shattack_f_2h","Dgk_attack_f_s",0.0,1.0,0)
  153. Bladex.AddBipedAction("Dgk","Shattack_b_2h","Dgk_attack_b_s",0.0,1.0,0)
  154. Bladex.AddBipedAction("Dgk","Shattack_r_2h","Dgk_attack_r_s",0.0,1.0,0)
  155. Bladex.AddBipedAction("Dgk","Shattack_l_2h","Dgk_attack_l_s",0.0,1.0,0)
  156.  
  157. #Relax
  158. Bladex.AddBipedAction("Dgk","Rlx_f_no","Dgk_rlx_1",0.0,1.0,0)
  159. #Bladex.AddBipedAction("Dgk","Rlx_f_1h","Dgk_rlx_1",0.0,1.0,0)
  160. Bladex.AddBipedAction("Dgk","Rlx_f_2h","Dgk_rlx_1h",0.0,1.0,0)
  161. Bladex.AddBipedAction("Dgk","Rlx_f_s","Dgk_rlx_1",0.0,1.0,0)
  162. Bladex.AddBipedAction("Dgk","Shattack_rlx_2h","Dgk_rlx_s",0.0,1.0,0)
  163.  
  164. Bladex.AddBipedAction("Dgk","Rlx_block","Dgk_rlx_s",0.0,1.0,0)
  165.  
  166.  
  167. #Dodges
  168. Bladex.AddBipedAction("Dgk","D_b","Dgk_attack_b",0.0,1.0,0)
  169. Bladex.AddBipedAction("Dgk","D_l","Dgk_attack_l",0.0,1.0,0)
  170. Bladex.AddBipedAction("Dgk","D_r","Dgk_attack_r",0.0,1.0,0)
  171.  
  172. Bladex.AddBipedAction("Dgk","catch","Dgk_catch",0.0,1.0,0)
  173.  
  174.  
  175. #Dodge-attacks
  176. Bladex.AddBipedAction("Dgk","g_d_l","Dgk_g_d_l",0.0,1.0,0)
  177. Bladex.AddBipedAction("Dgk","g_d_r","Dgk_g_d_r",0.0,1.0,0)
  178.  
  179.  
  180. ##MOvement without shield
  181. #Bladex.AddBipedAction("Dgk","Attack_f_1h","Dgk_rlx_1",0.0,1.0,0)
  182. #Bladex.AddBipedAction("Dgk","Attack_b_1h","Dgk_rlx_1",0.0,1.0,0)
  183. #Bladex.AddBipedAction("Dgk","Attack_r_1h","Dgk_attack_r",0.0,1.0,0)
  184. #Bladex.AddBipedAction("Dgk","Attack_l_1h","Dgk_attack_l",0.0,1.0,0)
  185. #
  186. ##Quick turns
  187. #Bladex.AddBipedAction("Dgk","Attack_t_r","Dgk_attack_r",0.0,1.0,0)
  188. #Bladex.AddBipedAction("Dgk","Attack_t_r_s","Dgk_rlx_s",0.0,1.0,0)
  189. #Bladex.AddBipedAction("Dgk","Attack_t_l","Dgk_attack_l",0.0,1.0,0)
  190. #Bladex.AddBipedAction("Dgk","Attack_t_l_s","Dgk_rlx_s",0.0,1.0,0)
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197. ####################################################################################
  198. #
  199. # Heridas
  200. #
  201. ####################################################################################
  202.  
  203. Bladex.AddBipedAction("Dgk","df_01","Dgk_df_01",0.0,1.0,0)    
  204. Bladex.AddBipedAction("Dgk","df_02","Dgk_df_02",0.0,1.0,0)
  205.  
  206. Bladex.AddBipedAction("Dgk","sw_react","Dgk_hurt_big",0.143,0.5,0)
  207.     
  208. Bladex.AddBipedAction("Dgk","hurt_f_lite","Dgk_hurt_lite",0.0,1.0,0)    
  209. Bladex.AddBipedAction("Dgk","hurt_f_big","Dgk_hurt_big",0.0,1.0,0)    
  210.  
  211. Bladex.AddBipedAction("Dgk","hurt_f_head","Dgk_hurt_big",0.0,1.0,0)    
  212. Bladex.AddBipedAction("Dgk","hurt_f_breast","Dgk_hurt_chest",0.0,1.0,0)    
  213. Bladex.AddBipedAction("Dgk","hurt_f_back","Dgk_hurt_back",0.0,1.0,0)    
  214. Bladex.AddBipedAction("Dgk","hurt_f_r_arm","Dgk_hurt_r_arm",0.0,1.0,0)    
  215. Bladex.AddBipedAction("Dgk","hurt_f_l_arm","Dgk_hurt_l_arm",0.0,1.0,0)    
  216. Bladex.AddBipedAction("Dgk","hurt_f_r_leg","Dgk_hurt_r_leg",0.0,1.0,0)    
  217. Bladex.AddBipedAction("Dgk","hurt_f_l_leg","Dgk_hurt_l_leg",0.0,1.0,0)    
  218.  
  219. Bladex.AddBipedAction("Dgk","hurt_jog","Dgk_hurt_back",0.0,1.0,0)    
  220.  
  221. Bladex.AddBipedAction("Dgk","hurt_head","Dgk_hurt_big",0.0,1.0,0)    
  222. Bladex.AddBipedAction("Dgk","hurt_breast","Dgk_hurt_chest",0.0,1.0,0)    
  223. Bladex.AddBipedAction("Dgk","hurt_back","Dgk_hurt_back",0.0,1.0,0)    
  224. Bladex.AddBipedAction("Dgk","hurt_r_arm","Dgk_hurt_r_arm",0.0,1.0,0)    
  225. Bladex.AddBipedAction("Dgk","hurt_l_arm","Dgk_hurt_l_arm",0.0,1.0,0)    
  226. Bladex.AddBipedAction("Dgk","hurt_r_leg","Dgk_hurt_r_leg",0.0,1.0,0)    
  227. Bladex.AddBipedAction("Dgk","hurt_l_leg","Dgk_hurt_l_leg",0.0,1.0,0)    
  228.  
  229.     
  230. Bladex.AddBipedAction("Dgk","dth0","Dgk_dth0",0.0,1.0,0)
  231. Bladex.AddBipedAction("Dgk","dth_c1","Dgk_dth0",0.0,1.0,0)
  232. Bladex.AddBipedAction("Dgk","dth_c2","Dgk_dth0",0.0,1.0,0)
  233. Bladex.AddBipedAction("Dgk","dth_c3","Dgk_dth0",0.0,1.0,0)
  234. Bladex.AddBipedAction("Dgk","dth_c4","Dgk_dth0",0.0,1.0,0)
  235. Bladex.AddBipedAction("Dgk","dth_c5","Dgk_dth0",0.0,1.0,0)
  236. Bladex.AddBipedAction("Dgk","dth_c6","Dgk_dth0",0.0,1.0,0)
  237. Bladex.AddBipedAction("Dgk","dth_c7","Dgk_dth0",0.0,1.0,0)
  238. Bladex.AddBipedAction("Dgk","dth0",  "Dgk_dth0",0.0,1.0,0)
  239. Bladex.AddBipedAction("Dgk","dth_n00","Dgk_dth0",0.0,1.0,0)
  240. Bladex.AddBipedAction("Dgk","dth_n01","Dgk_dth0",0.0,1.0,0)
  241. Bladex.AddBipedAction("Dgk","dth_n02","Dgk_dth0",0.0,1.0,0)
  242. Bladex.AddBipedAction("Dgk","dth_n03","Dgk_dth0",0.0,1.0,0)
  243. Bladex.AddBipedAction("Dgk","dth_n04","Dgk_dth0",0.0,1.0,0)
  244. Bladex.AddBipedAction("Dgk","dth_n05","Dgk_dth0",0.0,1.0,0)
  245. Bladex.AddBipedAction("Dgk","dth_n06","Dgk_dth0",0.0,1.0,0)
  246.                        
  247. Bladex.AddBipedAction("Dgk","dth_rock","Dgk_dth0",0.0,1.0,0)
  248. Bladex.AddBipedAction("Dgk","dth_rockfront","Dgk_dth0",0.0,1.0,0)
  249. Bladex.AddBipedAction("Dgk","dth_burn","Dgk_dth0",0.0,1.0,0)    
  250.  
  251.  
  252.  
  253.  
  254. ####################################################################################
  255. #
  256. # Ataques
  257. #
  258. ####################################################################################
  259.  
  260. Bladex.AddBipedAction("Dgk","g_m01","Dgk_g_m01",0.0,1.0,0) #DISC    
  261. Bladex.AddBipedAction("Dgk","g_m02","Dgk_g_m02",0.0,1.0,0) #ENERGY BALL    
  262. Bladex.AddBipedAction("Dgk","g_tw5","Dgk_g_tw5",0.0,1.0,0) #Launched Weapon
  263. Bladex.AddBipedAction("Dgk","g_magic","Dgk_g_magic",0.0,1.0,0) #Launched Weapon
  264. Bladex.AddBipedAction("Dgk","g_magic2","Dgk_g_magic2",0.0,1.0,0) #Launched Weapon
  265. Bladex.AddBipedAction("Dgk","g_07_new","Dgk_g_07_new",0.0,1.0,0)
  266. Bladex.AddBipedAction("Dgk","g_08_new","Dgk_g_08_new",0.0,1.0,0)
  267. Bladex.AddBipedAction("Dgk","g_02_new","Dgk_g_02_new",0.0,1.0,0)
  268. Bladex.AddBipedAction("Dgk","g_01_7_new","Dgk_g_01_7_new",0.0,1.0,0)
  269. Bladex.AddBipedAction("Dgk","g_22lowkata_new","Dgk_g_22lowkata_new",0.0,1.0,0)
  270. Bladex.AddBipedAction("Dgk","g_21_6_s8new","Dgk_g_21_6_s8new",0.0,1.0,0)
  271. Bladex.AddBipedAction("Dgk","g_19_bs1_new","Dgk_g_19_bs1_new",0.0,1.0,0)
  272. Bladex.AddBipedAction("Dgk","g_b32kata_new","Dgk_g_b32kata_new",0.0,1.0,0)
  273. Bladex.AddBipedAction("Dgk","g_29_3new","Dgk_g_29_3new",0.0,1.0,0)
  274. Bladex.AddBipedAction("Dgk","g_back","Dgk_g_back",0.0,1.0,0)