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

  1. import Bladex
  2. import Enm_Def
  3.  
  4.  
  5.  
  6. def LoadVmpAnimationSet(ct_name):
  7.  
  8.     print "Loading the Vmp animation sets..."
  9.  
  10.  
  11.  
  12.     #### Relax ####
  13.  
  14.  
  15.     #Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_rlx_1h.BMV","Vmp_rlx_1h",1)
  16.     #Bladex.AddAnmRStep("Vmp_rlx_1h",0.0)
  17.     #Bladex.AddAnmLStep("Vmp_rlx_1h",0.0)
  18.  
  19.  
  20.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_rlx_f.BMV","Vmp_rlx_f",1)
  21.     Bladex.AddAnmRStep("Vmp_rlx_f",0.0)
  22.     Bladex.AddAnmLStep("Vmp_rlx_f",0.0)
  23.     
  24.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_rlx_f_s.BMV","Vmp_rlx_f_s",1)
  25.     Bladex.AddAnmRStep("Vmp_rlx_f_s",0.0)
  26.     Bladex.AddAnmLStep("Vmp_rlx_f_s",0.0)
  27.  
  28.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_insult.BMV","Vmp_insult",0)
  29.     Bladex.AddAnmRStep("Vmp_insult",0.0)
  30.     Bladex.AddAnmLStep("Vmp_insult",0.0)    
  31.  
  32.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_order.BMV","Vmp_order",0)
  33.     Bladex.AddAnmRStep("Vmp_order",0.0)
  34.     Bladex.AddAnmLStep("Vmp_order",0.0)
  35.     
  36.  
  37.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_patrol.BMV","Vmp_patrol",0)
  38.     Bladex.AddAnmRStep("Vmp_patrol",0.0)
  39.     Bladex.AddAnmLStep("Vmp_patrol",0.0)
  40.  
  41.     #### Animaciones de combate ####
  42.  
  43.  
  44.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_attack_b.BMV","Vmp_attack_b",1)
  45.     Bladex.AddAnmRStep("Vmp_attack_b",0.35)
  46.     Bladex.AddAnmRRelease("Vmp_attack_b",1.0)
  47.     Bladex.AddAnmLStep("Vmp_attack_b",0.0)
  48.     Bladex.AddAnmLRelease("Vmp_attack_b",0.5)
  49.     Bladex.AddAnmLStep("Vmp_attack_b",1)
  50.     Bladex.AddStopTests("Vmp_attack_b") 
  51.  
  52.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_attack_b_s.BMV","Vmp_attack_b_s",1)
  53.     Bladex.AddAnmRStep("Vmp_attack_b_s",0.35)
  54.     Bladex.AddAnmRRelease("Vmp_attack_b_s",1.0)
  55.     Bladex.AddAnmLStep("Vmp_attack_b_s",0.0)
  56.     Bladex.AddAnmLRelease("Vmp_attack_b_s",0.5)
  57.     Bladex.AddAnmLStep("Vmp_attack_b_s",1)
  58.     Bladex.AddStopTests("Vmp_attack_b_s") 
  59.  
  60.  
  61.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_attack_f.BMV","Vmp_attack_f",1)
  62.     Bladex.AddAnmRStep("Vmp_attack_f",0)
  63.     Bladex.AddAnmRRelease("Vmp_attack_f",0.424)
  64.     Bladex.AddAnmRStep("Vmp_attack_f",0.546)
  65.     Bladex.AddAnmRRelease("Vmp_attack_f",0.887)
  66.     Bladex.AddAnmRStep("Vmp_attack_f",1)
  67.     Bladex.AddAnmLStep("Vmp_attack_f",0.0)
  68.     Bladex.AddAnmLRelease("Vmp_attack_f",0.179)
  69.     Bladex.AddAnmLStep("Vmp_attack_f",0.265)
  70.     Bladex.AddAnmLRelease("Vmp_attack_f",0.650)
  71.     Bladex.AddAnmLStep("Vmp_attack_f",0.765)
  72.     Bladex.AddStopTests("Vmp_attack_f") 
  73.  
  74.  
  75.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_attack_f_s.BMV","Vmp_attack_f_s",1)
  76.     Bladex.AddAnmRStep("Vmp_attack_f_s",0)
  77.     Bladex.AddAnmRRelease("Vmp_attack_f_s",0.424)
  78.     Bladex.AddAnmRStep("Vmp_attack_f_s",0.546)
  79.     Bladex.AddAnmRRelease("Vmp_attack_f_s",0.887)
  80.     Bladex.AddAnmRStep("Vmp_attack_f_s",1)
  81.     Bladex.AddAnmLStep("Vmp_attack_f_s",0.0)
  82.     Bladex.AddAnmLRelease("Vmp_attack_f_s",0.179)
  83.     Bladex.AddAnmLStep("Vmp_attack_f_s",0.265)
  84.     Bladex.AddAnmLRelease("Vmp_attack_f_s",0.650)
  85.     Bladex.AddAnmLStep("Vmp_attack_f_s",0.765)
  86.     Bladex.AddStopTests("Vmp_attack_f_s") 
  87.  
  88.  
  89.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_attack_l.BMV","Vmp_attack_l",1)
  90.     Bladex.AddAnmRStep("Vmp_attack_l",0.0)
  91.     Bladex.AddAnmRRelease("Vmp_attack_l",0.23)
  92.     Bladex.AddAnmRStep("Vmp_attack_l",0.47)
  93.     Bladex.AddAnmRRelease("Vmp_attack_l",0.74)
  94.     Bladex.AddAnmRStep("Vmp_attack_l",1.0)
  95.     Bladex.AddAnmLStep("Vmp_attack_l",0.27)
  96.     Bladex.AddAnmLRelease("Vmp_attack_l",0.46)
  97.     Bladex.AddAnmLStep("Vmp_attack_l",0.77)
  98.     Bladex.AddAnmLRelease("Vmp_attack_l",0.96)
  99.     Bladex.AddStopTests("Vmp_attack_l") 
  100.  
  101.  
  102.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_attack_l_s.BMV","Vmp_attack_l_s",1)
  103.     Bladex.AddAnmRStep("Vmp_attack_l_s",0.0)
  104.     Bladex.AddAnmRRelease("Vmp_attack_l_s",0.23)
  105.     Bladex.AddAnmRStep("Vmp_attack_l_s",0.47)
  106.     Bladex.AddAnmRRelease("Vmp_attack_l_s",0.74)
  107.     Bladex.AddAnmRStep("Vmp_attack_l_s",1.0)
  108.     Bladex.AddAnmLStep("Vmp_attack_l_s",0.27)
  109.     Bladex.AddAnmLRelease("Vmp_attack_l_s",0.46)
  110.     Bladex.AddAnmLStep("Vmp_attack_l_s",0.77)
  111.     Bladex.AddAnmLRelease("Vmp_attack_l_s",0.96)
  112.     Bladex.AddStopTests("Vmp_attack_l_s") 
  113.  
  114.  
  115.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_attack_r.BMV","Vmp_attack_r",1)
  116.     Bladex.AddAnmRStep("Vmp_attack_r",0.0)
  117.     Bladex.AddAnmRRelease("Vmp_attack_r",0.74)
  118.     Bladex.AddAnmRStep("Vmp_attack_r",1.0)
  119.     Bladex.AddAnmLStep("Vmp_attack_r",0.0)
  120.     Bladex.AddAnmLRelease("Vmp_attack_r",0.18)
  121.     Bladex.AddAnmLStep("Vmp_attack_r",0.7)
  122.     Bladex.AddStopTests("Vmp_attack_r") 
  123.  
  124.  
  125.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_attack_r_s.BMV","Vmp_attack_r_s",1)
  126.     Bladex.AddAnmRStep("Vmp_attack_r_s",0.0)
  127.     Bladex.AddAnmRRelease("Vmp_attack_r_s",0.74)
  128.     Bladex.AddAnmRStep("Vmp_attack_r_s",1.0)
  129.     Bladex.AddAnmLStep("Vmp_attack_r_s",0.0)
  130.     Bladex.AddAnmLRelease("Vmp_attack_r_s",0.18)
  131.     Bladex.AddAnmLStep("Vmp_attack_r_s",0.7)
  132.     Bladex.AddStopTests("Vmp_attack_r_s") 
  133.  
  134.  
  135.  
  136.  
  137.  
  138.     ####Ataques####
  139.  
  140.  
  141.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_g_01.BMV","Vmp_g_01",0)
  142.     Bladex.AddAnmRStep("Vmp_g_01",0.0)
  143.     Bladex.AddAnmRRelease("Vmp_g_01",0.076)
  144.     Bladex.AddAnmRStep("Vmp_g_01",0.33)
  145.     Bladex.AddAnmRRelease("Vmp_g_01",0.64)
  146.     Bladex.AddAnmRStep("Vmp_g_01",1.0)
  147.     Bladex.AddAnmLStep("Vmp_g_01",0.0)
  148.     
  149.  
  150.  
  151.  
  152.  
  153.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_g_06.BMV","Vmp_g_06",0)
  154.  
  155.     Bladex.AddAnmRStep("Vmp_g_06",0.0)
  156.     Bladex.AddAnmRRelease("Vmp_g_06",0.06)
  157.     Bladex.AddAnmRStep("Vmp_g_06",0.24)
  158.     Bladex.AddAnmRRelease("Vmp_g_06",0.66)
  159.     Bladex.AddAnmRStep("Vmp_g_06",0.95)
  160.     Bladex.AddAnmLStep("Vmp_g_06",0.0)
  161.     
  162.  
  163.  
  164.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_g_07.BMV","Vmp_g_07",0)
  165.  
  166.     Bladex.AddAnmRStep("Vmp_g_07",0.0)
  167.     Bladex.AddAnmRRelease("Vmp_g_07",0.04)
  168.     Bladex.AddAnmRStep("Vmp_g_07",0.27)
  169.     Bladex.AddAnmRRelease("Vmp_g_07",0.59)
  170.     Bladex.AddAnmRStep("Vmp_g_07",0.83)
  171.     Bladex.AddAnmLStep("Vmp_g_07",0.0)
  172.     
  173.  
  174.  
  175.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_g_26.BMV","Vmp_g_26",0)
  176.  
  177.     Bladex.AddAnmRStep("Vmp_g_26",0.0)
  178.     Bladex.AddAnmRRelease("Vmp_g_26",0.08)
  179.     Bladex.AddAnmRStep("Vmp_g_26",0.42)
  180.     Bladex.AddAnmRRelease("Vmp_g_26",0.6)
  181.     Bladex.AddAnmRStep("Vmp_g_26",0.85)
  182.     Bladex.AddAnmLStep("Vmp_g_26",0.0)
  183.     Bladex.AddAnmLRelease("Vmp_g_26",0.15)
  184.     Bladex.AddAnmLStep("Vmp_g_26",0.27)
  185.     
  186.     
  187.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_disappear.BMV","Vmp_disappear",0)
  188.     Bladex.AddAnmRStep("Vmp_disappear",0.0)
  189.     Bladex.AddAnmLStep("Vmp_disappear",0.0)
  190.     Bladex.AddAnmLRelease("Vmp_disappear",0.238)
  191.     Bladex.AddAnmLStep("Vmp_disappear",0.431)
  192.  
  193.  
  194.     #Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_appear.BMV","Vmp_appear",0)
  195.     #Bladex.AddAnmRStep("Vmp_appear",0.0)
  196.     #Bladex.AddAnmLStep("Vmp_appear",0.0)
  197.     #Bladex.AddAnmLRelease("Vmp_appear",0.577)
  198.     #Bladex.AddAnmLStep("Vmp_appear",0.792)
  199.  
  200.  
  201.  
  202.  
  203.  
  204.     ####Andares y pasos####
  205.  
  206.  
  207.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_wbk_1h.BMV","Vmp_wbk_1h",1)
  208.  
  209.     Bladex.AddAnmRStep("Vmp_wbk_1h",0.0)
  210.     Bladex.AddAnmRRelease("Vmp_wbk_1h",0.52)
  211.     Bladex.AddAnmRStep("Vmp_wbk_1h",1.0)
  212.     Bladex.AddAnmLStep("Vmp_wbk_1h",0.54)
  213.     Bladex.AddAnmLRelease("Vmp_wbk_1h",1.0)
  214.     Bladex.AddStopTests("Vmp_wbk_1h") 
  215.  
  216.     
  217.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_wlk_1h.BMV","Vmp_wlk_1h",1)
  218.  
  219.     Bladex.AddAnmRStep("Vmp_wlk_1h",0.5)
  220.     Bladex.AddAnmRRelease("Vmp_wlk_1h",1.0)
  221.     Bladex.AddAnmLStep("Vmp_wlk_1h",0.0)
  222.     Bladex.AddAnmLRelease("Vmp_wlk_1h",0.5)
  223.     Bladex.AddAnmLStep("Vmp_wlk_1h",1.0)
  224.     Bladex.AddStopTests("Vmp_wlk_1h")
  225.  
  226.  
  227.  
  228.     ###CA═DAS#####
  229.  
  230.     #Caida enorme
  231.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_dth_fll.BMV","Dth_Fll_Vmp",0)
  232.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_dth_fll2.BMV","Dth_Fll2_Vmp",0)
  233.  
  234.  
  235.  
  236.  
  237.  
  238.     anm_name="Vmp_df_01"
  239.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_df_01.BMV","Vmp_df_01",0)
  240.     Bladex.AddAnmRStep(anm_name,0.000)
  241.     Bladex.AddAnmRRelease(anm_name,0.187)
  242.     Bladex.AddAnmRStep(anm_name,0.386)
  243.     Bladex.AddAnmLStep(anm_name,0.000)
  244.     Bladex.AddAnmLRelease(anm_name,0.230)
  245.     Bladex.AddAnmLStep(anm_name,0.560)
  246.     
  247.     anm_name="Vmp_df_02"
  248.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_df_02.BMV","Vmp_df_02",0)
  249.     Bladex.AddAnmRStep(anm_name,0.000)
  250.     Bladex.AddAnmRRelease(anm_name,0.029)
  251.     Bladex.AddAnmRStep(anm_name,0.198)
  252.     Bladex.AddAnmRRelease(anm_name,0.311)
  253.     Bladex.AddAnmRStep(anm_name,0.468)
  254.     Bladex.AddAnmLStep(anm_name,0.000)
  255.     Bladex.AddAnmLRelease(anm_name,0.127)
  256.     Bladex.AddAnmLStep(anm_name,0.335)
  257.  
  258.  
  259.     anm_name="Vmp_df_s_broken"
  260.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Kgt_df_s_broken.BMV",anm_name,0,"Vamp")
  261.     Bladex.AddAnmLStep(anm_name,0)
  262.     Bladex.AddAnmRStep(anm_name,0)   
  263.     Bladex.AddAnmLRelease(anm_name,0.131)   
  264.     Bladex.AddAnmLStep(anm_name,0.414)
  265.     Bladex.AddAnmRRelease(anm_name,0.439) 
  266.     Bladex.AddAnmRStep(anm_name,595)
  267.     Bladex.AddAnmLRelease(anm_name,0.708)  
  268.     Bladex.AddAnmLStep(anm_name,0.867)
  269.  
  270.     anm_name="Vmp_sword_broken"
  271.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Kgt_sword_broken.BMV",anm_name,0,"Vamp")
  272.     Bladex.AddAnmLStep(anm_name,0)
  273.     Bladex.AddAnmRStep(anm_name,0)   
  274.     Bladex.AddAnmRRelease(anm_name,0.238)   
  275.     Bladex.AddAnmRStep(anm_name,0.332)
  276.     Bladex.AddAnmRRelease(anm_name,0.529)
  277.     Bladex.AddAnmRStep(anm_name,0.667)
  278.     Bladex.AddAnmLRelease(anm_name,0.333) 
  279.     Bladex.AddAnmLStep(anm_name,0.497)
  280.     Bladex.AddAnmLRelease(anm_name,0.537) 
  281.     Bladex.AddAnmLStep(anm_name,0.697)
  282.     
  283.     anm_name="Vmp_hurt_f_big"
  284.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_hurt_f_big.BMV","Vmp_hurt_f_big",0)
  285.     Bladex.AddAnmRStep(anm_name,0.000)
  286.     Bladex.AddAnmRRelease(anm_name,0.029)
  287.     Bladex.AddAnmRStep(anm_name,0.198)
  288.     Bladex.AddAnmRRelease(anm_name,0.311)
  289.     Bladex.AddAnmRStep(anm_name,0.468)
  290.     Bladex.AddAnmLStep(anm_name,0.000)
  291.     Bladex.AddAnmLRelease(anm_name,0.127)
  292.     Bladex.AddAnmLStep(anm_name,0.335)
  293.     
  294.     anm_name="Vmp_hurt_f_lite"
  295.     Bladex.LoadSampledAnimation("..\\..\\Anm\\Vmp_hurt_f_lite.BMV","Vmp_hurt_f_lite",0)
  296.     Bladex.AddAnmRStep(anm_name,0.000)
  297.     Bladex.AddAnmRRelease(anm_name,0.187)
  298.     Bladex.AddAnmRStep(anm_name,0.386)
  299.     Bladex.AddAnmLStep(anm_name,0.000)
  300.     Bladex.AddAnmLRelease(anm_name,0.230)
  301.     Bladex.AddAnmLStep(anm_name,0.560)
  302.  
  303.  
  304.  
  305.