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

  1. import Bladex
  2. import Enm_Def
  3.  
  4.  
  5.  
  6. def LoadSlmAnimationSet(ct_name):
  7.  
  8.     print "Loading the Salamander's animation sets..."
  9.  
  10.     #### Relax ####
  11.  
  12.     
  13.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Slm_rlx_no.BMV","Rlx_no_Slm",1)
  14.     Bladex.AddAnmRStep("Rlx_no_Slm",0.0)
  15.     Bladex.AddAnmLStep("Rlx_no_Slm",0.0)
  16.                 
  17.  
  18.             
  19.     ### CORRER   ####
  20.  
  21.     
  22.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Slm_jog_no.BMV","Jog_no_Slm",1)    
  23.     Bladex.AddAnmLStep("Jog_no_Slm",0.0)
  24.     Bladex.AddAnmRStep("Jog_no_Slm",0.467)
  25.     Bladex.AddAnmLRelease("Jog_no_Slm",0.437)
  26.     Bladex.AddAnmLStep("Jog_no_Slm",1)
  27.     Bladex.AddAnmRRelease("Jog_no_Slm",0.947)
  28.     Bladex.AddStopTests("Jog_no_Slm") 
  29.  
  30.  
  31.  
  32.  
  33.     #### SNEAK   ####    
  34.  
  35.  
  36.  
  37.     ####  WBK ####
  38.  
  39.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Slm_wbk_no.BMV","Wbk_no_Slm",1)
  40.     Bladex.AddAnmRStep("Wbk_no_Slm",0.0)     
  41.     Bladex.AddAnmRRelease("Wbk_no_Slm",0.576)     
  42.     Bladex.AddAnmRStep("Wbk_no_Slm",1)
  43.     Bladex.AddAnmLStep("Wbk_no_Slm",0.0)     
  44.     Bladex.AddAnmLRelease("Wbk_no_Slm",0.1)     
  45.     Bladex.AddAnmLStep("Wbk_no_Slm",0.5)  
  46.     Bladex.AddStopTests("Wbk_no_Slm")
  47.  
  48.     
  49.     #
  50.     #### Caminar ####
  51.     #
  52.  
  53.  
  54.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Slm_Wlk_no.BMV","Wlk_no_Slm",1)
  55.     Bladex.AddAnmRStep("Wlk_no_Slm",0)
  56.     Bladex.AddAnmLStep("Wlk_no_Slm",0)
  57.     Bladex.AddAnmLRelease("Wlk_no_Slm",0.207)
  58.     Bladex.AddAnmLStep("Wlk_no_Slm",0.512)
  59.     Bladex.AddAnmRRelease("Wlk_no_Slm",0.682)
  60.     Bladex.AddAnmRStep("Wlk_no_Slm",1)
  61.     Bladex.AddStopTests("Wlk_no_Slm") 
  62.  
  63.  
  64.  
  65.     #### Caidas ####
  66.  
  67.  
  68.     #Bladex.LoadSampledAnimation("..\\..\\Anm\\Slm_fll_med_1h.BMV","FallMed_Slm",0)
  69.     #Bladex.AddAnmRStep("FallMed_Slm",0.0)
  70.     #Bladex.AddAnmLStep("FallMed_Slm",0.0)
  71.  
  72.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Slm_fll_low_no.BMV","FallLow_Slm",0)
  73.     Bladex.AddAnmRStep("FallLow_Slm",0.0)
  74.     Bladex.AddAnmLStep("FallLow_Slm",0.0)
  75.  
  76.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Slm_fll_high.BMV","FallHigh_Slm",0)
  77.     Bladex.AddAnmRStep("FallHigh_Slm",0.0)
  78.     Bladex.AddAnmLStep("FallHigh_Slm",0.0)
  79.  
  80.     #Caida enorme
  81.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Slm_dth_fll.BMV","Dth_Fll_Slm",0)
  82.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Slm_dth_fll2.BMV","Dth_Fll2_Slm",0)
  83.  
  84.     #
  85.     # Ataques    
  86.     # 
  87.     
  88.  
  89.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Slm_g_bite.BMV","Slm_g_bite",0)        
  90.     Bladex.AddAnmRStep("Slm_g_bite",0)   
  91.     Bladex.AddAnmRRelease("Slm_g_bite",0.18)
  92.     Bladex.AddAnmRStep("Slm_g_bite",0.648)           
  93.     Bladex.AddAnmRRelease("Slm_g_bite",0.704)
  94.     Bladex.AddAnmRStep("Slm_g_bite",0.820)     
  95.     Bladex.AddAnmLStep("Slm_g_bite",0)    
  96.     Bladex.AddAnmLRelease("Slm_g_bite",0.112) 
  97.     Bladex.AddAnmLStep("Slm_g_bite",0.179)
  98.     Bladex.AddAnmLRelease("Slm_g_bite",0.218)    
  99.     Bladex.AddAnmLStep("Slm_g_bite",0.336)
  100.     Bladex.AddAnmLRelease("Slm_g_bite",0.656)
  101.     Bladex.AddAnmLStep("Slm_g_bite",0.805)
  102.     Bladex.AddAnmLRelease("Slm_g_bite",0.883)
  103.     Bladex.AddAnmLStep("Slm_g_bite",1)   
  104.  
  105.  
  106.     anm_name="Slm_g_spit"
  107.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Slm_spit.BMV","Slm_g_spit",0)        
  108.     Bladex.AddAnmRStep(anm_name,0)     
  109.     Bladex.AddAnmLStep(anm_name,0)     
  110.     Bladex.AddAnmRRelease(anm_name,0.19) 
  111.     Bladex.AddAnmRStep(anm_name,0.43)     
  112.     Bladex.AddAnmRRelease(anm_name,0.51) 
  113.     Bladex.AddAnmRStep(anm_name,0.59)      
  114.     Bladex.AddAnmRRelease(anm_name,0.71) 
  115.     Bladex.AddAnmRStep(anm_name,0.82)     
  116.     Bladex.AddAnmLRelease(anm_name,0.10) 
  117.     Bladex.AddAnmLStep(anm_name,0.18)     
  118.     Bladex.AddAnmLRelease(anm_name,0.21) 
  119.     Bladex.AddAnmLStep(anm_name,0.31)       
  120.     Bladex.AddAnmLRelease(anm_name,0.66) 
  121.     Bladex.AddAnmLStep(anm_name,0.77) 
  122.     
  123.  
  124.     anm_name="Slm_g_r"
  125.     Bladex.LoadSampledAnimation("..\\..\\Anm\\" + anm_name + ".BMV",anm_name,0)
  126.     Bladex.AddAnmRStep(anm_name,0.000)
  127.     Bladex.AddAnmRRelease(anm_name,0.189)
  128.     Bladex.AddAnmRStep(anm_name,0.382)
  129.     Bladex.AddAnmRRelease(anm_name,0.751)
  130.     Bladex.AddAnmRStep(anm_name,0.983)
  131.     Bladex.AddAnmLStep(anm_name,0.000)
  132.     Bladex.AddAnmLRelease(anm_name,0.150)     
  133.     
  134.     
  135.  
  136.     #
  137.     # Movimientos en combate
  138.     #
  139.  
  140.     anm_name="Slm_clmb_low"
  141.     Bladex.LoadSampledAnimation("..\\..\\Anm\\" + anm_name + ".BMV",anm_name,0)
  142.     Bladex.AddAnmRStep(anm_name,0)     
  143.     Bladex.AddAnmRRelease(anm_name,0.23)     
  144.     Bladex.AddAnmRStep(anm_name,0.64) 
  145.     Bladex.AddAnmLStep(anm_name,0) 
  146.     Bladex.AddAnmLRelease(anm_name,0.25)
  147.     Bladex.AddAnmLStep(anm_name,0.64)    
  148.  
  149.  
  150.     anm_name="Slm_hurt_f_big"
  151.     Bladex.LoadSampledAnimation("..\\..\\Anm\\" + anm_name + ".BMV",anm_name,0)
  152.     Bladex.AddAnmLStep(anm_name,0.0)     
  153.     Bladex.AddAnmRStep(anm_name,0.0)
  154.     Bladex.AddAnmLRelease(anm_name,0.0001)     
  155.     Bladex.AddAnmRRelease(anm_name,0.0001)
  156.     Bladex.AddAnmLStep(anm_name,0.747)     
  157.     Bladex.AddAnmRStep(anm_name,0.980)
  158.     Bladex.AddAnmRRelease(anm_name,1)
  159.     Bladex.AddAnmLRelease(anm_name,1)        
  160.  
  161.  
  162.     anm_name="Slm_hurt_f_lite"
  163.     Bladex.LoadSampledAnimation("..\\..\\Anm\\" + anm_name + ".BMV",anm_name,0)
  164.     Bladex.AddAnmLStep(anm_name,0.0)     
  165.     Bladex.AddAnmRStep(anm_name,0.0)
  166.  
  167.     anm_name="Slm_patrol"
  168.     Bladex.LoadSampledAnimation("..\\..\\Anm\\" + anm_name + ".BMV",anm_name,0)
  169.     Bladex.AddAnmLStep(anm_name,0.0)     
  170.     Bladex.AddAnmRStep(anm_name,0.0)