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

  1. import Bladex
  2. import Enm_Def
  3.  
  4. def LoadChkAnimationSet(ct_name):                   
  5.                                                       
  6.     print "Loading the ChaosKnight animation sets..."    
  7.  
  8.  
  9. ######  RELAX
  10.     
  11.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_rlx_1h.BMV","Rlx_1h_Chk",1)      
  12.     Bladex.AddAnmRStep("Rlx_1h_Chk",0)                                           
  13.     Bladex.AddAnmLStep("Rlx_1h_Chk",0)                                           
  14.     #Bladex.AddStopTests("Rlx_1h_Chk") 
  15.  
  16.  
  17.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_rlx_f_s.BMV","Rlx_f_s_Chk",1)      
  18.     Bladex.AddAnmRStep("Rlx_f_s_Chk",0)                                           
  19.     Bladex.AddAnmLStep("Rlx_f_s_Chk",0)                                           
  20.     #Bladex.AddStopTests("Rlx_f_s_Chk") 
  21.  
  22.  
  23.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_rlx_f.BMV","Rlx_f_Chk",1)      
  24.     Bladex.AddAnmRStep("Rlx_f_Chk",0)                                           
  25.     Bladex.AddAnmLStep("Rlx_f_Chk",0)                                           
  26.     #Bladex.AddStopTests("Rlx_f_Chk") 
  27.  
  28.  
  29.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_appears.BMV","Chk_appears",0)      
  30.     Bladex.AddAnmRStep("Chk_appears",0)                                           
  31.     Bladex.AddAnmLStep("Chk_appears",0)
  32.  
  33.  
  34. ###### MOVIMIENTOS
  35.  
  36.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_attack_b.BMV","Wbk_1h_Chk",1)     
  37.     Bladex.AddAnmRStep("Wbk_1h_Chk",0)
  38.     Bladex.AddAnmLStep("Wbk_1h_Chk",0)
  39.     Bladex.AddAnmRRelease("Wbk_1h_Chk",0.302)
  40.     Bladex.AddAnmRStep("Wbk_1h_Chk",0.486)
  41.     Bladex.AddAnmLRelease("Wbk_1h_Chk",0.829)
  42.     Bladex.AddAnmLStep("Wbk_1h_Chk",1)
  43.     Bladex.AddStopTests("Wbk_1h_Chk")
  44.  
  45.     anm_name="Wlk_1h_Chk"
  46.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_wlk_1h.BMV","Wlk_1h_Chk",1)      
  47.     Bladex.AddAnmRStep(anm_name,0.000)
  48.     Bladex.AddAnmRRelease(anm_name,0.538)
  49.     Bladex.AddAnmRStep(anm_name,1.000)
  50.     Bladex.AddAnmLStep(anm_name,0.000)
  51.     Bladex.AddAnmLRelease(anm_name,0.085)
  52.     Bladex.AddAnmLStep(anm_name,0.511)                                        
  53.     Bladex.AddStopTests("Wlk_1h_Chk")
  54.  
  55. ###############ENCARADO     
  56.  
  57.  
  58.     anm_name="Attack_f_s_Chk"
  59.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_attack_f_s.BMV","Attack_f_s_Chk",1)      
  60.     Bladex.AddAnmRStep(anm_name,0.000)
  61.     Bladex.AddAnmRRelease(anm_name,0.538)
  62.     Bladex.AddAnmRStep(anm_name,1.000)
  63.     Bladex.AddAnmLStep(anm_name,0.000)
  64.     Bladex.AddAnmLRelease(anm_name,0.085)
  65.     Bladex.AddAnmLStep(anm_name,0.511)                                  
  66.  
  67.  
  68.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_attack_b.BMV","Attack_b_Chk",1)      
  69.     Bladex.AddAnmRStep("Attack_b_Chk",0)                                           
  70.     Bladex.AddAnmLStep("Attack_b_Chk",0)                                           
  71.     Bladex.AddAnmRRelease("Attack_b_Chk",0.302)                                    
  72.     Bladex.AddAnmRStep("Attack_b_Chk",0.486)                                       
  73.     Bladex.AddAnmLRelease("Attack_b_Chk",0.829)                                          
  74.     Bladex.AddAnmLStep("Attack_b_Chk",1)                                      
  75.     Bladex.AddStopTests("Attack_b_Chk")
  76.      
  77.  
  78.  
  79.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_attack_b_s.BMV","Attack_b_s_Chk",1)      
  80.     Bladex.AddAnmRStep("Attack_b_s_Chk",0)                                           
  81.     Bladex.AddAnmLStep("Attack_b_s_Chk",0)                                           
  82.     Bladex.AddAnmRRelease("Attack_b_s_Chk",0.286)                                    
  83.     Bladex.AddAnmRStep("Attack_b_s_Chk",0.497)                                       
  84.     Bladex.AddAnmLRelease("Attack_b_s_Chk",0.792)                                           
  85.     Bladex.AddAnmLStep("Attack_b_s_Chk",1)                                      
  86.     Bladex.AddStopTests("Attack_b_s_Chk")
  87.  
  88.  
  89.  
  90.  
  91.  
  92. ###### HERIDAS y MUERTE
  93.  
  94.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_hurt01.BMV","Chk_hurt01",0)      
  95.     Bladex.AddAnmRStep("Chk_hurt01",0)                                           
  96.     Bladex.AddAnmLStep("Chk_hurt01",0)    
  97.     Bladex.AddAnmLRelease("Chk_hurt01",0.071)     
  98.     Bladex.AddAnmLStep("Chk_hurt01",0.195)                                       
  99.     Bladex.AddAnmLRelease("Chk_hurt01",0.813)                                     
  100.     Bladex.AddAnmLStep("Chk_hurt01",0.945)
  101.     
  102.     
  103.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_hurt_hip.BMV","Chk_hurt_hip",0)      
  104.     Bladex.AddAnmRStep("Chk_hurt_hip",0)                                           
  105.     Bladex.AddAnmLStep("Chk_hurt_hip",0)    
  106.     
  107.     
  108.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_dth0.BMV","Chk_dth0",0)      
  109.     Bladex.AddAnmRStep("Chk_dth0",0)                                           
  110.     Bladex.AddAnmLStep("Chk_dth0",0)    
  111.     
  112.     
  113.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_disappear.BMV","Chk_disappear",0)      
  114.     Bladex.AddAnmRStep("Chk_disappear",0)                                           
  115.     Bladex.AddAnmLStep("Chk_disappear",0)    
  116.  
  117.  
  118.  
  119.  
  120. ###### ATAQUES
  121.  
  122.  
  123.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_g_01.BMV","Chk_g_01",0)      
  124.     Bladex.AddAnmRStep("Chk_g_01",0)                                           
  125.     Bladex.AddAnmLStep("Chk_g_01",0)
  126.  
  127.  
  128.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_g_02.BMV","Chk_g_02",0)      
  129.     Bladex.AddAnmRStep("Chk_g_02",0)                                           
  130.     Bladex.AddAnmLStep("Chk_g_02",0)
  131.  
  132.     
  133.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_g_07.BMV","Chk_g_07",0)      
  134.     Bladex.AddAnmRStep("Chk_g_07",0)                                           
  135.     Bladex.AddAnmLStep("Chk_g_07",0)
  136.     
  137.  
  138.     
  139.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_g_08.BMV","Chk_g_08",0)      
  140.     #Bladex.AddAnmRStep("Chk_g_08",0)                                           
  141.     Bladex.AddAnmLStep("Chk_g_08",0)                                           
  142.     #Bladex.AddAnmRRelease("Chk_g_08",0.143)                                    
  143.     #Bladex.AddAnmRStep("Chk_g_08",0.350)                                       
  144.     #Bladex.AddAnmRRelease("Chk_g_08",0.588)                                     
  145.     #Bladex.AddAnmRStep("Chk_g_08",0.874)
  146.  
  147.  
  148.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_g_12.BMV","Chk_g_12",0)      
  149.     #Bladex.AddAnmRStep("Chk_g_12",0)                                           
  150.     Bladex.AddAnmLStep("Chk_g_12",0)                                           
  151.     #Bladex.AddAnmRRelease("Chk_g_12",0.113)                                    
  152.     #Bladex.AddAnmRStep("Chk_g_12",0.265)                                       
  153.     #Bladex.AddAnmRRelease("Chk_g_12",0.691)                                     
  154.     #Bladex.AddAnmRStep("Chk_g_12",0.843)
  155.  
  156.     
  157.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_g_18.BMV","Chk_g_18",0)      
  158.     #Bladex.AddAnmRStep("Chk_g_18",0)                                           
  159.     Bladex.AddAnmLStep("Chk_g_18",0)                                           
  160.     #Bladex.AddAnmRRelease("Chk_g_18",0.115)                                    
  161.     #Bladex.AddAnmRStep("Chk_g_18",0.313)                                       
  162.     #Bladex.AddAnmRRelease("Chk_g_18",0.658)                                     
  163.     #Bladex.AddAnmRStep("Chk_g_18",0.802)
  164.  
  165.  
  166.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_g_31.BMV","Chk_g_31",0)      
  167.     Bladex.AddAnmRStep("Chk_g_31",0)                                           
  168.     Bladex.AddAnmLStep("Chk_g_31",0)                                           
  169.     Bladex.AddAnmRRelease("Chk_g_31",0.421)                                    
  170.     Bladex.AddAnmRStep("Chk_g_31",0.502)                                       
  171.     Bladex.AddAnmRRelease("Chk_g_31",0.745)                                     
  172.     Bladex.AddAnmRStep("Chk_g_31",0.872)
  173.  
  174.  
  175.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_g_magic.BMV","Chk_g_magic",0)      
  176.     Bladex.AddAnmRStep("Chk_g_magic",0)                                           
  177.     Bladex.AddAnmLStep("Chk_g_magic",0)                                           
  178.     Bladex.AddAnmRRelease("Chk_g_magic",0.376)                                    
  179.     Bladex.AddAnmRStep("Chk_g_magic",0.430)                                       
  180.     Bladex.AddAnmRRelease("Chk_g_magic",0.626)                                     
  181.     Bladex.AddAnmRStep("Chk_g_magic",0.697)
  182.  
  183.  
  184. ######  VARIOS
  185.  
  186.  
  187.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_powerup.BMV","Chk_powerup",0)      
  188.     Bladex.AddAnmRStep("Chk_powerup",0)                                           
  189.     Bladex.AddAnmLStep("Chk_powerup",0)    
  190.     Bladex.AddAnmLRelease("Chk_powerup",0.072)     
  191.     Bladex.AddAnmLStep("Chk_powerup",0.145)                                       
  192.     Bladex.AddAnmLRelease("Chk_powerup",0.821)                                     
  193.     Bladex.AddAnmLStep("Chk_powerup",0.890)
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.     #
  203.     # Slip
  204.     #
  205.     anm_name="Chk_slip"
  206.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Kgt_slip.BMV",anm_name,1)
  207.     Bladex.AddAnmRStep(anm_name,0)     
  208.     Bladex.AddAnmLStep(anm_name,0)     
  209.  
  210.     anm_name="Chk_slip_b"
  211.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Kgt_slip_b.BMV",anm_name,1)
  212.     Bladex.AddAnmRStep(anm_name,0)     
  213.     Bladex.AddAnmLStep(anm_name,0)     
  214.  
  215.     anm_name="Chk_derrape"
  216.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Kgt_derrape.BMV",anm_name,0)
  217.     Bladex.AddAnmRStep(anm_name,0)     
  218.     Bladex.AddAnmLStep(anm_name,0)     
  219.  
  220.  
  221. #
  222. #Caida enorme
  223.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_dth_fll.BMV","Dth_Fll_Chk",0)
  224.     Bladex.AddAnmRStep("Dth_Fll_Chk",0.0)
  225.     Bladex.AddAnmLStep("Dth_Fll_Chk",0.0)
  226.  
  227.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Chk_dth_fll2.BMV","Dth_Fll2_Chk",0)
  228.     Bladex.AddAnmRStep("Dth_Fll_Chk",0.0)
  229.     Bladex.AddAnmLStep("Dth_Fll_Chk",0.0)