home *** CD-ROM | disk | FTP | other *** search
/ Game.EXE 2001 January / Game.EXE_01_2001.iso / demos / Blade of Darkness / data1.cab / Program_Executable_Files / Scripts / AniSoundGlm_lv.py < prev    next >
Encoding:
Text File  |  2000-11-16  |  2.6 KB  |  78 lines

  1. import Bladex
  2.  
  3. # ***********************************
  4. # *      Asignacion de sonidos      *
  5. # ***********************************
  6.  
  7.  
  8. AsignarSonidosGolem_lvCalled=0
  9. def AsignarSonidosGolem_lv(Personaje):
  10.  
  11.     #Sonido continuo-> Nec uno por cada personaje!!!!
  12.     import Actions
  13.     Actions.LinkContinuosSound(Personaje,"..\\..\\sounds\\m-loop-lavahervidero-1.wav")
  14.  
  15.     from AniSoundGlm_lvX import *
  16.     
  17.     per=Bladex.GetEntity(Personaje)
  18.  
  19.     # Sonidos de eventos
  20.     #per.AddEventSound('shield_block', GolpeArmaEscudoGlmlv)
  21.     #per.AddEventSound('weapon_block', GolpeArmaArmaGlmlv)
  22.     per.AddEventSound('impale', TajoEmpalanteGlmlv)
  23.     per.AddEventSound('slash', TajoCortanteGlmlv)
  24.     per.AddEventSound('mutilate', TajoMutilacionGlmlv)
  25.     per.AddEventSound('crush', GolpeContundenteGlmlv)
  26.     
  27.     
  28.     global AsignarSonidosGolem_lvCalled
  29.     if AsignarSonidosGolem_lvCalled:
  30.         return
  31.     AsignarSonidosGolem_lvCalled=1
  32.  
  33.  
  34.     # Sonidos de animaciones
  35.     
  36.     
  37.     per.AddAnimSound('Glm_g_01', EsfuerzoGlmlv1, 0.3790)
  38.     per.AddAnimSound('Glm_g_01', SesgadoGlmlv1, 0.4000)
  39.     per.AddAnimSound('Glm_g_12', SesgadoGlmlv2, 0.3880)
  40.     per.AddAnimSound('Glm_g_12', EsfuerzoGlmlv2, 0.3050)
  41.     per.AddAnimSound('Glm_g_21', SesgadoGlmlv3, 0.3440)
  42.     per.AddAnimSound('Glm_g_21', EsfuerzoGlmlv3, 0.3000)
  43.     per.AddAnimSound('Glm_g_31', SesgadoGlmlv4, 0.3000)
  44.     per.AddAnimSound('Glm_g_31', EsfuerzoGlmlv4, 0.2840)
  45.     per.AddAnimSound('Glm_g_31', caidaGlmlv2, 0.3240)
  46.     per.AddAnimSound('Glm_g_114', SesgadoGlmlv5, 0.4350)
  47.     per.AddAnimSound('Glm_g_114', EsfuerzoGlmlv5, 0.2390)
  48.     per.AddAnimSound('Glm_g_21_27', SesgadoGlmlv6, 0.2750)
  49.     per.AddAnimSound('Glm_g_21_27', EsfuerzoGlmlv6, 0.2750)
  50.     per.AddAnimSound('Glm_g_21_27', SesgadoGlmlv7, 0.5430)
  51.     per.AddAnimSound('Glm_g_21_27', EsfuerzoGlmlv7, 0.5430)
  52.     per.AddAnimSound('Glm_g_1tw', CreaPiedraGlmlv, 0.2000)
  53.     
  54.     per.AddAnimSound('Glm_dth0', caidaGlmlv, 0.7720)
  55.     per.AddAnimSound('Glm_dth0', MuerteGlmlv1, 0.1590)
  56.     per.AddAnimSound('Glm_dth2', caidaGlmlv, 0.7720)
  57.     per.AddAnimSound('Glm_dth2', MuerteGlmlv1, 0.1590)
  58.     per.AddAnimSound('Glm_dth_c1', caidaGlmlv, 0.9150)
  59.     per.AddAnimSound('Glm_dth_c1', caidaGlmlv2, 0.6270)
  60.     per.AddAnimSound('Glm_dth_c1', MuerteGlmlv1, 0.1590)
  61.     per.AddAnimSound('Glm_dth_i1', caidaGlmlv2, 0.5830)
  62.     per.AddAnimSound('Glm_dth_i1', caidaGlmlv3, 0.7020)
  63.     per.AddAnimSound('Glm_dth_i1', MuerteGlmlv1, 0.1590)
  64.     per.AddAnimSound('Glm_dth_i1', caidaGlmlv2, 0.3630)
  65.     per.AddAnimSound('Glm_dth_i1', caidaGlmlv3, 0.6200)
  66.     per.AddAnimSound('Glm_dth_i1', MuerteGlmlv1, 0.1590)
  67.  
  68.  
  69.     per.AddAnimSound('Glm_hurt_big', HeridaGlmlv1, 0.1670)
  70.     per.AddAnimSound('Glm_hurt_lite', HeridaGlmlv2, 0.1720)
  71.     
  72.     
  73.     
  74.     
  75.     
  76.     
  77.     
  78.