home *** CD-ROM | disk | FTP | other *** search
/ GameSpot.it / GameSpot Italia (2001).bin / demo / severancedemo / data1.cab / Program_Files / Scripts / Biped / RgnBAct.py < prev    next >
Encoding:
Text File  |  2000-10-13  |  11.3 KB  |  270 lines

  1. import Bladex
  2.  
  3.  
  4.  
  5. ####################################################################################
  6. #
  7. # Escalar + saltos
  8. #
  9. ####################################################################################
  10.  
  11. Bladex.AddBipedAction("Rgn","clmb_low_1h","Rgn_clmb_low_1h",0.0,1.0,0)    
  12. Bladex.AddBipedAction("Rgn","clmb_medlow_1h","Rgn_clmb_medlow_1h",0.0,1.0,0)    
  13. Bladex.AddBipedAction("Rgn","clmb_medium_1h","Rgn_clmb_medium_1h",0.0,1.0,0)    
  14. Bladex.AddBipedAction("Rgn","clmb_high_1h","Rgn_clmb_high_1h",0.0,1.0,0)    
  15.  
  16. #Bladex.AddBipedAction("Rgn","LongJump1H","Kgt_jmp_1h",0.0,0.93,0)    
  17. #Bladex.AddBipedAction("Rgn","LongJumpNo","Kgt_jmp_no",0.0,0.93,0)    
  18. #Bladex.AddBipedAction("Rgn","ShortJump","Kgt_jmph0_no",0.41,1.0,0)    
  19.  
  20.  
  21. ####################################################################################
  22. #
  23. # Others
  24. #
  25. ####################################################################################
  26.  
  27. Bladex.AddBipedAction("Rgn","slip","Rgn_slip",0.0,1.0,0)    
  28. Bladex.AddBipedAction("Rgn","slip_b","Rgn_slip_b",0.0,1.0,0)    
  29. Bladex.AddBipedAction("Rgn","derrape","Rgn_derrape",0.14,1.0,0)    
  30.  
  31. Bladex.AddBipedAction("Rgn","attack_drink", "Rgn_attack_drink",0.0,1.0,0)
  32. Bladex.AddBipedAction("Rgn","escape", "Rgn_escape",0.0,1.0,0)
  33. Bladex.AddBipedAction("Rgn","escape2", "Rgn_escape2",0.0,1.0,0)
  34. Bladex.AddBipedAction("Rgn","end_ragnar_ragnar", "Rgn_end_ragnar_ragnar",0.0,1.0,0)
  35.  
  36.  
  37. #Bladex.AddBipedAction("Rgn","b1","Kgt_b1",0.0,1.0,0)    
  38. #Bladex.AddBipedAction("Rgn","b2","Kgt_b2",0.0,1.0,0)    
  39. #Bladex.AddBipedAction("Rgn","b3","Kgt_b3",0.0,1.0,0)    
  40.  
  41.  
  42.  
  43. ####################################################################################
  44. #
  45. # Relax.
  46. #
  47. ####################################################################################
  48.  
  49. Bladex.AddBipedAction("Rgn","Rlx_no","Rlx_1h_Rgn",0.0,1.0,0)
  50. Bladex.AddBipedAction("Rgn","Rlx_1h","Rlx_1h_Rgn",0.0,1.0,0)
  51. Bladex.AddBipedAction("Rgn","Rlx_b","Rlx_1h_Rgn",0.0,1.0,0)
  52. Bladex.AddBipedAction("Rgn","Rlx_2h","Rlx_1h_Rgn",0.0,1.0,0)
  53. Bladex.AddBipedAction("Rgn","Rlx_s","Rlx_1h_Rgn",0.0,1.0,0)
  54.  
  55.  
  56.  
  57. ####################################################################################
  58. #
  59. # Pasos.- Andares
  60. #
  61. ####################################################################################
  62.  
  63. #Movement with shield -> !NPC only!!!!
  64. Bladex.AddBipedAction("Rgn","Attack_f_s_nc","Rgn_attack_f_s",0.0,1.0,0)
  65. Bladex.AddBipedAction("Rgn","Attack_b_s_nc","Rgn_attack_b_s",0.0,1.0,0)
  66.  
  67. #Bladex.AddBipedAction("Rgn","ShortStep","WlkShort_Rgn", 0.0,1.0,0)
  68.  
  69. #Bladex.AddBipedAction("Rgn","LStepUp","Wlk_1h_Rgn","WlkUp_Rgn",0.0,0.5,0)
  70. #Bladex.AddBipedAction("Rgn","RStepUp","Wlk_1h_Rgn","WlkUp_Rgn",0.5,1.0,0)
  71.  
  72. #Bladex.AddBipedAction("Rgn","LStairsUp","StairsUp_Rgn","StairsUpP_Rgn",0.0,0.5,0)
  73. #Bladex.AddBipedAction("Rgn","RStairsUp","StairsUp_Rgn","StairsUpP_Rgn",0.5,1.0,0)
  74.  
  75. #Bladex.AddBipedAction("Rgn","LStepDown","Wlk_1h_Rgn","WlkDown_Rgn",0.0,0.5,0)
  76. #Bladex.AddBipedAction("Rgn","RStepDown","Wlk_1h_Rgn","WlkDown_Rgn",0.5,1.0,0)
  77.  
  78. #Bladex.AddBipedAction("Rgn","LStairsDown","StairsDown_Rgn",0.0,0.5,0)
  79. #Bladex.AddBipedAction("Rgn","RStairsDown","StairsDown_Rgn",0.5,1.0,0)
  80.  
  81. # Andar hacia atrßs
  82. Bladex.AddBipedAction("Rgn","WBK_b","Wbk_1h_Rgn",0.0,1.0,0)    
  83. Bladex.AddBipedAction("Rgn","WBK_no","Wbk_1h_Rgn",0.0,1.0,0)    
  84. Bladex.AddBipedAction("Rgn","WBK_1h","Wbk_1h_Rgn",0.0,1.0,0)        
  85. Bladex.AddBipedAction("Rgn","WBK_2h","Wbk_1h_Rgn",0.0,1.0,0)        
  86. Bladex.AddBipedAction("Rgn","WBK_s","Wbk_1h_Rgn",0.0,1.0,0)    
  87.  
  88. #Andar hacia delante
  89. Bladex.AddBipedAction("Rgn","WLK_b","Wlk_1h_Rgn",0.0,1.0,0)
  90. Bladex.AddBipedAction("Rgn","WLK_no","Wlk_1h_Rgn",0.0,1.0,0)
  91. Bladex.AddBipedAction("Rgn","WLK_1h","Wlk_1h_Rgn",0.0,1.0,0)
  92. Bladex.AddBipedAction("Rgn","WLK_2h","Wlk_1h_Rgn",0.0,1.0,0)
  93. Bladex.AddBipedAction("Rgn","WLK_s","Wlk_1h_Rgn",0.0,1.0,0)
  94.  
  95. #Correr hacia delante
  96. Bladex.AddBipedAction("Rgn","JOG_b","Jog_1h_Rgn",0.0,1.0,0)
  97. Bladex.AddBipedAction("Rgn","JOG_no","Jog_1h_Rgn",0.0,1.0,0)
  98. Bladex.AddBipedAction("Rgn","JOG_s","Jog_1h_Rgn",0.0,1.0,0)
  99. Bladex.AddBipedAction("Rgn","JOG_1h","Jog_1h_Rgn",0.0,1.0,0)
  100. Bladex.AddBipedAction("Rgn","JOG_2h","Jog_1h_Rgn",0.0,1.0,0)
  101.  
  102. #Correr hacia atrßs
  103. Bladex.AddBipedAction("Rgn","WBK_JOG_b","Wbk_1h_Rgn",0.0,1.0,0)
  104. Bladex.AddBipedAction("Rgn","WBK_JOG_no","Wbk_1h_Rgn",0.0,1.0,0)
  105. Bladex.AddBipedAction("Rgn","WBK_JOG_1h","Wbk_1h_Rgn",0.0,1.0,0)
  106. Bladex.AddBipedAction("Rgn","WBK_JOG_2h","Wbk_1h_Rgn",0.0,1.0,0)
  107. Bladex.AddBipedAction("Rgn","WBK_JOG_s","Wbk_1h_Rgn",0.0,1.0,0)
  108.  
  109. #Modo sneak
  110. Bladex.AddBipedAction("Rgn","SNK_b","Wlk_1h_Rgn",0.0,1.0,0)
  111. Bladex.AddBipedAction("Rgn","SNK_no","Wlk_1h_Rgn",0.0,1.0,0)
  112. Bladex.AddBipedAction("Rgn","SNK_s", "Wlk_1h_Rgn",0.0,1.0,0)
  113. Bladex.AddBipedAction("Rgn","SNK_1h","Wlk_1h_Rgn",0.0,1.0,0)
  114. Bladex.AddBipedAction("Rgn","SNK_2h","Wlk_1h_Rgn",0.0,1.0,0)
  115.  
  116.  
  117. ####################################################################################
  118. #
  119. # Cambiar Armas
  120. #
  121. ####################################################################################    
  122.  
  123. Bladex.AddBipedAction("Rgn","Attack_Chg_r_l","Rgn_attack_chg_r_l",0.0,1.0,0)
  124. Bladex.AddBipedAction("Rgn","Chg_r_l",       "Rgn_attack_chg_r_l",0.0,1.0,0)
  125.  
  126.  
  127. ####################################################################################
  128. #
  129. # Caidas.
  130. #
  131. ####################################################################################
  132.  
  133. Bladex.AddBipedAction("Rgn","FllLow","FallLow_Rgn",0.5,0.8,0)
  134. Bladex.AddBipedAction("Rgn","FllMed","FallMed_Rgn",0.37,0.8,0)
  135. Bladex.AddBipedAction("Rgn","FllHigh","FallHigh_Rgn",0.1,0.8,0)
  136.  
  137.  
  138. ####################################################################################
  139. #
  140. # Animaciones en combate
  141. #
  142. ####################################################################################
  143.  
  144. #MOvement without shield
  145. Bladex.AddBipedAction("Rgn","Attack_f_1h","Rgn_attack_f",0.0,1.0,0)
  146. Bladex.AddBipedAction("Rgn","Attack_b_1h","Rgn_attack_b",0.0,1.0,0)
  147. Bladex.AddBipedAction("Rgn","Attack_r_1h","Rgn_attack_r",0.0,1.0,0)
  148. Bladex.AddBipedAction("Rgn","Attack_l_1h","Rgn_attack_l",0.0,1.0,0)
  149.  
  150. Bladex.AddBipedAction("Rgn","Attack_f_2h","Rgn_attack_f",0.0,1.0,0)
  151. Bladex.AddBipedAction("Rgn","Attack_b_2h","Rgn_attack_b",0.0,1.0,0)
  152. Bladex.AddBipedAction("Rgn","Attack_r_2h","Rgn_attack_r",0.0,1.0,0)
  153. Bladex.AddBipedAction("Rgn","Attack_l_2h","Rgn_attack_l",0.0,1.0,0)
  154.  
  155. #Movement with shield
  156. Bladex.AddBipedAction("Rgn","Shattack_f_2h","Rgn_attack_f_s",0.0,1.0,0)
  157. Bladex.AddBipedAction("Rgn","Shattack_b_2h","Rgn_attack_b_s",0.0,1.0,0)
  158. Bladex.AddBipedAction("Rgn","Shattack_r_2h","Rgn_attack_r_s",0.0,1.0,0)
  159. Bladex.AddBipedAction("Rgn","Shattack_l_2h","Rgn_attack_l_s",0.0,1.0,0)
  160.  
  161. #Relax
  162. Bladex.AddBipedAction("Rgn","Rlx_f_1h","Rlx_1h_Rgn",0.0,1.0,0)
  163. Bladex.AddBipedAction("Rgn","Rlx_f_2h","Rlx_1h_Rgn",0.0,1.0,0)
  164. Bladex.AddBipedAction("Rgn","Shattack_rlx_2h","Rgn_rlx_f_s",0.0,1.0,0)
  165.  
  166. #Quick turns
  167. #Bladex.AddBipedAction("Rgn","Attack_t_r","Rgn_attack_t_r",0.0,1.0,0)
  168. #Bladex.AddBipedAction("Rgn","Attack_t_r_s","Rgn_attack_t_r_s",0.0,1.0,0)
  169. #Bladex.AddBipedAction("Rgn","Attack_t_l","Rgn_attack_t_l",0.0,1.0,0)
  170. #Bladex.AddBipedAction("Rgn","Attack_t_l_s","Rgn_attack_t_l_s",0.0,1.0,0)
  171.  
  172.  
  173. #Dodges
  174. Bladex.AddBipedAction("Rgn","D_b","Rgn_d_b",0.0,1.0,0)
  175. Bladex.AddBipedAction("Rgn","D_l","Rgn_d_l",0.0,1.0,0)
  176. Bladex.AddBipedAction("Rgn","D_r","Rgn_d_r",0.0,1.0,0)
  177.  
  178.  
  179. ####################################################################################
  180. #
  181. # Heridas
  182. #
  183. ####################################################################################
  184.  
  185. Bladex.AddBipedAction("Rgn","hurt_f_lite","Rgn_hurt_f_lite",0.0,1.0,0)
  186. Bladex.AddBipedAction("Rgn","hurt_f_big","Rgn_hurt_f_big",0.0,1.0,0)
  187. Bladex.AddBipedAction("Rgn","hurt_f_head","Rgn_hurt_f_head",0.0,1.0,0)
  188. Bladex.AddBipedAction("Rgn","hurt_f_breast","Rgn_hurt_f_breast",0.0,1.0,0)
  189. Bladex.AddBipedAction("Rgn","hurt_f_back","Rgn_hurt_f_back",0.0,1.0,0)
  190. Bladex.AddBipedAction("Rgn","hurt_f_r_arm","Rgn_hurt_f_r_arm",0.0,1.0,0)
  191. Bladex.AddBipedAction("Rgn","hurt_f_l_arm","Rgn_hurt_f_l_arm",0.0,1.0,0)
  192. Bladex.AddBipedAction("Rgn","hurt_f_r_leg","Rgn_hurt_f_r_leg",0.0,1.0,0)
  193. Bladex.AddBipedAction("Rgn","hurt_f_l_leg","Rgn_hurt_f_l_leg",0.0,1.0,0)
  194. Bladex.AddBipedAction("Rgn","hurt_jog","Rgn_hurt_jog",0.0,1.0,0)
  195. Bladex.AddBipedAction("Rgn","hurt_head","Rgn_hurt_head",0.0,1.0,0)
  196. Bladex.AddBipedAction("Rgn","hurt_breast","Rgn_hurt_breast",0.0,1.0,0)
  197. Bladex.AddBipedAction("Rgn","hurt_back","Rgn_hurt_back",0.0,1.0,0)
  198. Bladex.AddBipedAction("Rgn","hurt_r_arm","Rgn_hurt_r_arm",0.0,1.0,0)
  199. Bladex.AddBipedAction("Rgn","hurt_l_arm","Rgn_hurt_l_arm",0.0,1.0,0)
  200. Bladex.AddBipedAction("Rgn","hurt_r_leg","Rgn_hurt_r_leg",0.0,1.0,0)
  201. Bladex.AddBipedAction("Rgn","hurt_l_leg","Rgn_hurt_l_leg",0.0,1.0,0)
  202.  
  203.  
  204. Bladex.AddBipedAction("Rgn","df_01","Rgn_df_01",0.0,1.0,0)
  205. Bladex.AddBipedAction("Rgn","df_02","Rgn_df_02",0.0,1.0,0)
  206.  
  207. Bladex.AddBipedAction("Rgn","df_s_broken","Rgn_df_s_broken",0.0,1.0,0)
  208. Bladex.AddBipedAction("Rgn","sw_react","Rgn_sword_reaction",0.143,0.5,0)    
  209.  
  210. #Bladex.AddBipedAction("Knight_Traitor","sword_broken","Tkn_sword_broken",0.0,1.0,0)
  211.  
  212.  
  213. ####################################################################################
  214. #
  215. # MUERTES
  216. #
  217. ####################################################################################
  218.  
  219. Bladex.AddBipedAction("Rgn","dth_c1","Rgn_dth_c1",0.0,1.0,0)
  220. Bladex.AddBipedAction("Rgn","dth_c2","Rgn_dth_c2",0.0,1.0,0)
  221. Bladex.AddBipedAction("Rgn","dth_c3","Rgn_dth_c3",0.0,1.0,0)
  222. Bladex.AddBipedAction("Rgn","dth_c4","Rgn_dth_c4",0.0,1.0,0)
  223. Bladex.AddBipedAction("Rgn","dth_c5","Rgn_dth_c5",0.0,1.0,0)
  224. Bladex.AddBipedAction("Rgn","dth_c6","Rgn_dth_c6",0.0,1.0,0)
  225. Bladex.AddBipedAction("Rgn","dth_c7","Rgn_dth_c7",0.0,1.0,0)
  226. Bladex.AddBipedAction("Rgn","dth0",  "Rgn_dth0",0.0,1.0,0)
  227. Bladex.AddBipedAction("Rgn","dth_n00","Rgn_dth_n00",0.0,1.0,0)
  228. Bladex.AddBipedAction("Rgn","dth_n01","Rgn_dth_n01",0.0,1.0,0)
  229. Bladex.AddBipedAction("Rgn","dth_n02","Rgn_dth_n02",0.0,1.0,0)
  230. Bladex.AddBipedAction("Rgn","dth_n03","Rgn_dth_n03",0.0,1.0,0)
  231. Bladex.AddBipedAction("Rgn","dth_n04","Rgn_dth_n04",0.0,1.0,0)
  232. Bladex.AddBipedAction("Rgn","dth_n05","Rgn_dth_n05",0.0,1.0,0)
  233. Bladex.AddBipedAction("Rgn","dth_n06","Rgn_dth_n06",0.0,1.0,0)
  234.  
  235.  
  236. Bladex.AddBipedAction("Rgn","dth_burn","Rgn_dth_burn",0.0,1.0,0)
  237. #Bladex.AddBipedAction("Rgn","Dth_Fll","Dth_Fll_Rgn",0.0,0.33,0)
  238. #Bladex.AddBipedAction("Rgn","Dth_Fll2","Dth_Fll2_Rgn",0.0,1.0,0)
  239.  
  240.  
  241. ####################################################################################
  242. #
  243. # Ataques
  244. #
  245. ####################################################################################
  246.     
  247. Bladex.AddBipedAction("Rgn","g_01","Rgn_g_01",0.0,1.0,0)    
  248. Bladex.AddBipedAction("Rgn","g_02","Rgn_g_02",0.0,1.0,0)
  249. Bladex.AddBipedAction("Rgn","g_03","Rgn_g_03",0.0,1.0,0)    
  250. Bladex.AddBipedAction("Rgn","g_07","Rgn_g_07",0.0,1.0,0)
  251. Bladex.AddBipedAction("Rgn","g_17","Rgn_g_17",0.0,1.0,0)
  252. Bladex.AddBipedAction("Rgn","g_21","Rgn_g_21",0.0,1.0,0)
  253. Bladex.AddBipedAction("Rgn","g_d_l","Rgn_g_d_l",0.0,1.0,0)
  254. Bladex.AddBipedAction("Rgn","g_d_r","Rgn_g_d_r",0.0,1.0,0)
  255. Bladex.AddBipedAction("Rgn","g_escape","Rgn_g_escape",0.0,1.0,0)
  256.  
  257.  
  258.  
  259. ####################################################################################
  260. #
  261. # Burlas
  262. #
  263. ####################################################################################
  264.  
  265. Bladex.AddBipedAction("Rgn","insult","Rgn_insult",0.0,1.0,0)
  266. Bladex.AddBipedAction("Rgn","laugh","Rgn_laugh",0.0,1.0,0)
  267.  
  268.  
  269.  
  270.