home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 56 / CDPowerplay56Disc2.iso / demos / blade / data1.cab / Program_Executable_Files / Lib / AnmSets / SpdAnimationSet.py < prev    next >
Encoding:
Text File  |  2000-10-27  |  5.9 KB  |  194 lines

  1. import Bladex
  2. import Enm_Def
  3.  
  4. #    JOG_ANM
  5. #    #                     Name      WUEA,MOD_Y,SOLF,COPY_ROT,BNG_MOV,HEADF
  6. #    Bladex.AddAnimFlags("Cos_attack_f",0,0,0,1,Enm_Def.BM_XYZ,Enm_Def.HEADF_ENG)
  7. #
  8. #
  9. #
  10. #
  11. #
  12.  
  13.  
  14.  
  15. def LoadSpdAnimationSet(ct_name):
  16.  
  17.     print "Loading the Spider animation sets..."
  18.  
  19.     #### Movimientos normales ####
  20.  
  21.     
  22.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Spd_wlk_no.BMV","Spd_wlk_no",1)    
  23.     Bladex.AddAnmRStep("Spd_wlk_no",0)
  24.     Bladex.AddAnmRRelease("Spd_wlk_no",0.061)
  25.     Bladex.AddAnmRStep("Spd_wlk_no",0.197)
  26.     Bladex.AddAnmRRelease("Spd_wlk_no",0.262)
  27.     Bladex.AddAnmRStep("Spd_wlk_no",0.391)
  28.     Bladex.AddAnmRRelease("Spd_wlk_no",0.443)
  29.     Bladex.AddAnmRStep("Spd_wlk_no",0.591)
  30.     Bladex.AddAnmRRelease("Spd_wlk_no",0.651)
  31.     Bladex.AddAnmRStep("Spd_wlk_no",0.789)
  32.     Bladex.AddAnmRRelease("Spd_wlk_no",0.839)
  33.     Bladex.AddAnmRStep("Spd_wlk_no",1)
  34.     
  35.     Bladex.AddAnmLStep("Spd_wlk_no",0.0)    
  36.     Bladex.AddAnmLRelease("Spd_wlk_no",0.198)
  37.     Bladex.AddAnmLStep("Spd_wlk_no",0.345)
  38.     Bladex.AddAnmLRelease("Spd_wlk_no",0.394)
  39.     Bladex.AddAnmLStep("Spd_wlk_no",0.547)
  40.     Bladex.AddAnmLRelease("Spd_wlk_no",0.592)
  41.     Bladex.AddAnmLStep("Spd_wlk_no",0.751)
  42.     Bladex.AddAnmLRelease("Spd_wlk_no",0.788)
  43.     Bladex.AddAnmLStep("Spd_wlk_no",0.956)
  44.  
  45.  
  46.     Bladex.AddStopTests("Spd_wlk_no")
  47.  
  48.  
  49.  
  50. #    Bladex.LoadSampledAnimation("..\\..\\Anm\\Spd_clmb_low.BMV","Spd_clmb_low",0)    
  51. #    Bladex.AddAnmRStep("Spd_clmb_low",0)
  52. #    Bladex.AddAnmLStep("Spd_clmb_low",0)    
  53. #    Bladex.AddAnmLRelease("Spd_clmb_low",0.369)
  54. #    Bladex.AddAnmRRelease("Spd_clmb_low",0.369)
  55. #    Bladex.AddAnmRStep("Spd_clmb_low",0.525)
  56. #    Bladex.AddAnmLStep("Spd_clmb_low",0.525)    
  57. #    Bladex.AddStopTests("Spd_wlk_no")
  58.  
  59.     
  60.  
  61.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Spd_jmp_no.BMV","Spd_jmp_no",0)    
  62.     Bladex.AddAnmRStep("Spd_jmp_no",0)
  63.     Bladex.AddAnmLStep("Spd_jmp_no",0)    
  64.     Bladex.AddAnmLRelease("Spd_jmp_no",0.369)
  65.     Bladex.AddAnmRRelease("Spd_jmp_no",0.369)
  66.     Bladex.AddAnmRStep("Spd_jmp_no",0.525)
  67.     Bladex.AddAnmLStep("Spd_jmp_no",0.525)    
  68.     #Bladex.AddStopTests("Spd_jmp_no")
  69.  
  70.  
  71.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Spd_jmph_no.BMV","Spd_jmph_no",0)    
  72.     Bladex.AddAnmRStep("Spd_jmph_no",0)
  73.     Bladex.AddAnmLStep("Spd_jmph_no",0)    
  74.     Bladex.AddAnmLRelease("Spd_jmph_no",0.369)
  75.     Bladex.AddAnmRRelease("Spd_jmph_no",0.369)
  76.     Bladex.AddAnmRStep("Spd_jmph_no",0.525)
  77.     Bladex.AddAnmLStep("Spd_jmph_no",0.525)    
  78.     #Bladex.AddStopTests("Spd_jmph_no")
  79.  
  80.  
  81.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Spd_jog_no.BMV","Spd_jog_no",1)    
  82.     Bladex.AddAnmRStep("Spd_jog_no",0)
  83.     Bladex.AddAnmRRelease("Spd_jog_no",0.475)    
  84.     Bladex.AddAnmLStep("Spd_jog_no",0.648)
  85.     Bladex.AddAnmRStep("Spd_jog_no",1)
  86.     Bladex.AddAnmLRelease("Spd_jog_no",1)
  87.     Bladex.AddStopTests("Spd_jog_no")
  88.  
  89.  
  90.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Spd_rlx_no.BMV","Spd_rlx_no",1)    
  91.     Bladex.AddAnmRStep("Spd_rlx_no",0)
  92.     Bladex.AddAnmLStep("Spd_rlx_no",0)    
  93.  
  94.  
  95. #    Bladex.LoadSampledAnimation("..\\..\\Anm\\Spd_t_l_no.BMV","Spd_t_l_no",1)    
  96. #    Bladex.AddAnmRStep("Spd_t_l_no",0)
  97. #    Bladex.AddAnmRRelease("Spd_t_l_no",0.205)
  98. #    Bladex.AddAnmRStep("Spd_t_l_no",0.515)
  99. #    Bladex.AddAnmLStep("Spd_t_l_no",0.691)
  100. #    Bladex.AddAnmLRelease("Spd_t_l_no",1)
  101. #    Bladex.AddStopTests("Spd_t_l_no")
  102.  
  103.  
  104. #    Bladex.LoadSampledAnimation("..\\..\\Anm\\Spd_t_r_no.BMV","Spd_t_r_no",1)    
  105. #    Bladex.AddAnmRStep("Spd_t_r_no",0)
  106. #    Bladex.AddAnmLStep("Spd_t_r_no",0)
  107. #    Bladex.AddAnmRRelease("Spd_t_r_no",0.310)
  108. #    Bladex.AddAnmLRelease("Spd_t_r_no",0.731)
  109. #    Bladex.AddAnmRStep("Spd_t_r_no",0.818)
  110. #    Bladex.AddAnmLStep("Spd_t_r_no",1)
  111. #    Bladex.AddStopTests("Spd_t_r_no")
  112.  
  113.  
  114.     #### Encarado ####
  115.  
  116.  
  117.  
  118.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Spd_attack_b.BMV","Spd_attack_b",1)    
  119.     
  120.     Bladex.AddAnmRStep("Spd_attack_b",0)
  121.     Bladex.AddAnmLStep("Spd_attack_b",0)    
  122.     Bladex.AddAnmRRelease("Spd_attack_b",0.423)
  123.     Bladex.AddAnmLRelease("Spd_attack_b",0.423)
  124.     Bladex.AddAnmRStep("Spd_attack_b",1)
  125.     Bladex.AddAnmLStep("Spd_attack_b",1)
  126.     Bladex.AddStopTests("Spd_attack_b")
  127.  
  128.  
  129.  
  130. ############  Muertes
  131.  
  132.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Spd_dth0.BMV","Spd_dth0",0)    
  133.     Bladex.AddAnmRStep("Spd_dth0",0)
  134.     Bladex.AddAnmLStep("Spd_dth0",0)
  135.     Bladex.AddAnmRRelease("Spd_dth0",0.181)
  136.     Bladex.AddAnmLRelease("Spd_dth0",0.183)    
  137.  
  138.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Spd_dth2.BMV","Spd_dth2",0)    
  139.     Bladex.AddAnmRStep("Spd_dth2",0)
  140.     Bladex.AddAnmLStep("Spd_dth2",0)
  141.     Bladex.AddAnmRRelease("Spd_dth2",0.072)
  142.     Bladex.AddAnmLRelease("Spd_dth2",0.072)    
  143.  
  144.  
  145. ###########  Caidas
  146.  
  147.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Spd_fll_low_no.BMV","Spd_fll_low_no",0)    
  148.     Bladex.AddAnmRStep("Spd_fll_low_no",0.341)
  149.     Bladex.AddAnmLStep("Spd_fll_low_no",0.341)
  150.  
  151.     #Caida enorme
  152.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Spd_dth_fll.BMV","Dth_Fll_Spd",0)
  153.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Spd_dth_fll2.BMV","Dth_Fll2_Spd",0)
  154.  
  155.  
  156. #########  Ataques
  157.  
  158.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Spd_g_01.BMV","Spd_g_01",0)    
  159.     Bladex.AddAnmRStep("Spd_g_01",0)
  160.     Bladex.AddAnmLStep("Spd_g_01",0)
  161.     
  162. #    Bladex.LoadSampledAnimation("..\\..\\Anm\\Spd_g_02.BMV","Spd_g_02",0)
  163. #    Bladex.AddAnmRStep("Spd_g_02",0)
  164. #    Bladex.AddAnmLStep("Spd_g_02",0)
  165.  
  166.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Spd_g_spit.BMV","Spd_g_spit",0)    
  167.     Bladex.AddAnmRStep("Spd_g_spit",0)
  168.     Bladex.AddAnmLStep("Spd_g_spit",0)
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175. ########   Heridas
  176.  
  177.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Spd_hurt_big.BMV","Spd_hurt_big",0)    
  178.     Bladex.AddAnmRStep("Spd_hurt_big",0)
  179.     Bladex.AddAnmLStep("Spd_hurt_big",0)
  180.     Bladex.AddAnmRRelease("Spd_hurt_big",0.205)
  181.     Bladex.AddAnmLRelease("Spd_hurt_big",0.205)    
  182.     Bladex.AddAnmRStep("Spd_hurt_big",0.402)
  183.     Bladex.AddAnmLStep("Spd_hurt_big",0.402)    
  184.  
  185.  
  186.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Spd_hurt_lite.BMV","Spd_hurt_lite",0)    
  187.     Bladex.AddAnmRStep("Spd_hurt_lite",0)
  188.     Bladex.AddAnmLStep("Spd_hurt_lite",0)
  189.     Bladex.AddAnmRRelease("Spd_hurt_big",0.373)
  190.     Bladex.AddAnmLRelease("Spd_hurt_big",0.373)
  191.     Bladex.AddAnmRStep("Spd_hurt_lite",0.835)
  192.     Bladex.AddAnmLStep("Spd_hurt_lite",0.835)
  193.  
  194.