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

  1. import Bladex
  2.  
  3. # ***********************************
  4. # *      Asignacion de sonidos      *
  5. # ***********************************
  6.  
  7. AsignarSonidosGolem_stCalled=0
  8.  
  9. def AsignarSonidosGolem_st(Personaje):
  10.     global AsignarSonidosGolem_stCalled
  11.     if AsignarSonidosGolem_stCalled:
  12.         return
  13.     AsignarSonidosGolem_stCalled=1
  14.  
  15.     from AniSoundGlm_stX import *
  16.     
  17.     per=Bladex.GetEntity(Personaje)
  18.  
  19.     # Sonidos de eventos
  20.  
  21.     per.AddEventSound('impale', TajoEmpalanteGlm)
  22.     per.AddEventSound('slash', TajoCortanteGlm)
  23.     #per.AddEventSound('mutilate', TajoMutilacionGlm)
  24.     per.AddEventSound('crush', GolpeContundenteGlm)
  25.  
  26.  
  27.  
  28.     # Sonidos de animaciones
  29.     
  30.     
  31.     
  32.     per.AddAnimSound('Glm_g_01', EsfuerzoGlm1, 0.3790)
  33.     per.AddAnimSound('Glm_g_01', SesgadoGlm1, 0.4000)
  34.     per.AddAnimSound('Glm_g_12', SesgadoGlm2, 0.3880)
  35.     per.AddAnimSound('Glm_g_12', EsfuerzoGlm2, 0.3050)
  36.     per.AddAnimSound('Glm_g_21', SesgadoGlm3, 0.3440)
  37.     per.AddAnimSound('Glm_g_21', EsfuerzoGlm3, 0.3000)
  38.     per.AddAnimSound('Glm_g_31', SesgadoGlm4, 0.3000)
  39.     per.AddAnimSound('Glm_g_31', EsfuerzoGlm4, 0.2840)
  40.     per.AddAnimSound('Glm_g_31', caidagolem2, 0.3240)
  41.     per.AddAnimSound('Glm_g_114', SesgadoGlm5, 0.4350)
  42.     per.AddAnimSound('Glm_g_114', EsfuerzoGlm5, 0.2390)
  43.     per.AddAnimSound('Glm_g_21_27', SesgadoGlm6, 0.2750)
  44.     per.AddAnimSound('Glm_g_21_27', EsfuerzoGlm6, 0.2750)
  45.     per.AddAnimSound('Glm_g_21_27', SesgadoGlm7, 0.5430)
  46.     per.AddAnimSound('Glm_g_21_27', EsfuerzoGlm7, 0.5430)
  47.     per.AddAnimSound('Glm_g_1tw', CreaPiedraGlm, 0.1500)
  48.     
  49.     per.AddAnimSound('Glm_dth0', caidagolem, 0.7720)
  50.     per.AddAnimSound('Glm_dth0', MuerteGlm1, 0.1590)
  51.     per.AddAnimSound('Glm_dth2', caidagolem, 0.7720)
  52.     per.AddAnimSound('Glm_dth2', MuerteGlm1, 0.1590)
  53.     per.AddAnimSound('Glm_dth_c1', caidagolem, 0.9150)
  54.     per.AddAnimSound('Glm_dth_c1', caidagolem2, 0.6270)
  55.     per.AddAnimSound('Glm_dth_c1', MuerteGlm1, 0.1590)
  56.     per.AddAnimSound('Glm_dth_i1', caidagolem2, 0.5830)
  57.     per.AddAnimSound('Glm_dth_i1', caidagolem3, 0.7020)
  58.     per.AddAnimSound('Glm_dth_i1', MuerteGlm1, 0.1590)
  59.     per.AddAnimSound('Glm_dth_i1', caidagolem2, 0.3630)
  60.     per.AddAnimSound('Glm_dth_i1', caidagolem3, 0.6200)
  61.     per.AddAnimSound('Glm_dth_i1', MuerteGlm1, 0.1590)
  62.  
  63.  
  64.     per.AddAnimSound('Glm_hurt_big', HeridaGlm1, 0.1670)
  65.     per.AddAnimSound('Glm_hurt_lite', HeridaGlm2, 0.1720)
  66.     
  67.     
  68.     
  69.