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

  1. import Bladex
  2.  
  3. # ***********************************
  4. # *      Asignacion de sonidos      *
  5. # ***********************************
  6. AsignarSonidosGolem_clCalled=0
  7. def AsignarSonidosGolem_cl(Personaje):
  8.     global AsignarSonidosGolem_clCalled
  9.     if AsignarSonidosGolem_clCalled:
  10.         return
  11.     AsignarSonidosGolem_clCalled=1
  12.  
  13.     from AniSoundGlm_clX import *
  14.     
  15.     per=Bladex.GetEntity(Personaje)
  16.  
  17.     # Sonidos de eventos
  18.     
  19.     #per.AddEventSound('shield_block', GolpeArmaEscudoGlmcl)
  20.     #per.AddEventSound('weapon_block', GolpeArmaArmaGlmcl)
  21.     per.AddEventSound('impale', TajoEmpalanteGlmcl)
  22.     per.AddEventSound('slash', TajoCortanteGlmcl)
  23.     per.AddEventSound('mutilate', TajoMutilacionGlmcl)
  24.     per.AddEventSound('crush', GolpeContundenteGlmcl)
  25.  
  26.  
  27.     # Sonidos de animaciones
  28.     
  29.     
  30.     per.AddAnimSound('Glm_g_01', EsfuerzoGlmcl1, 0.3790)
  31.     per.AddAnimSound('Glm_g_01', SesgadoGlmcl1, 0.4000)
  32.     per.AddAnimSound('Glm_g_12', SesgadoGlmcl2, 0.3880)
  33.     per.AddAnimSound('Glm_g_12', EsfuerzoGlmcl2, 0.3050)
  34.     per.AddAnimSound('Glm_g_21', SesgadoGlmcl3, 0.3440)
  35.     per.AddAnimSound('Glm_g_21', EsfuerzoGlmcl3, 0.3000)
  36.     per.AddAnimSound('Glm_g_31', SesgadoGlmcl4, 0.3000)
  37.     per.AddAnimSound('Glm_g_31', EsfuerzoGlmcl4, 0.2840)
  38.     per.AddAnimSound('Glm_g_31', caidagolem2, 0.3240)
  39.     per.AddAnimSound('Glm_g_114', SesgadoGlmcl5, 0.4350)
  40.     per.AddAnimSound('Glm_g_114', EsfuerzoGlmcl5, 0.2390)
  41.     per.AddAnimSound('Glm_g_21_27', SesgadoGlmcl6, 0.2750)
  42.     per.AddAnimSound('Glm_g_21_27', EsfuerzoGlmcl6, 0.2750)
  43.     per.AddAnimSound('Glm_g_21_27', SesgadoGlmcl7, 0.5430)
  44.     per.AddAnimSound('Glm_g_21_27', EsfuerzoGlmcl7, 0.5430)
  45.     per.AddAnimSound('Glm_g_tw1', CreaPiedraGlmcl, 0.5430)
  46.     
  47.     per.AddAnimSound('Glm_dth0', caidagolem, 0.5000)
  48.     per.AddAnimSound('Glm_dth0', MuerteGlmcl1, 0.1590)
  49.     per.AddAnimSound('Glm_dth2', caidagolem, 0.7720)
  50.     per.AddAnimSound('Glm_dth2', MuerteGlmcl1, 0.1590)
  51.     per.AddAnimSound('Glm_dth_c1', caidagolem, 0.9150)
  52.     per.AddAnimSound('Glm_dth_c1', caidagolem2, 0.6270)
  53.     per.AddAnimSound('Glm_dth_c1', MuerteGlmcl1, 0.1590)
  54.     per.AddAnimSound('Glm_dth_i1', caidagolem2, 0.5830)
  55.     per.AddAnimSound('Glm_dth_i1', caidagolem3, 0.7020)
  56.     per.AddAnimSound('Glm_dth_i1', MuerteGlmcl1, 0.1590)
  57.     per.AddAnimSound('Glm_dth_i1', caidagolem2, 0.3630)
  58.     per.AddAnimSound('Glm_dth_i1', caidagolem3, 0.6200)
  59.     per.AddAnimSound('Glm_dth_i1', MuerteGlmcl1, 0.1590)
  60.  
  61.  
  62.     per.AddAnimSound('Glm_hurt_big', HeridaGlmcl1, 0.1670)
  63.     per.AddAnimSound('Glm_hurt_lite', HeridaGlmcl2, 0.1720)
  64.     
  65.     
  66.     
  67.