AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=7)
-   -   Miscstats granade sound (https://forums.alliedmods.net/showthread.php?t=26136)

Spanky McNutnut 03-27-2006 12:58

Miscstats granade sound
 
Where exactly does the plugin look for the granade kill and the granade suiside sounds? An what are the files called?

wouter 03-27-2006 15:57

dedicated server\cstrike\sound\weapons\grenade_hit1.wav
dedicated server\cstrike\sound\weapons\grenade_hit2.wav
dedicated server\cstrike\sound\weapons\grenade_hit3.wav
dedicated server\cstrike\sound\weapons\he_bounce-1.wav
dedicated server\cstrike\sound\weapons\hegrenade-1.wav
dedicated server\cstrike\sound\weapons\hegrenade-2.wav

Spanky McNutnut 03-28-2006 16:54

Thats not what i was looking for, I was looking for where miscstats.amxx looks for its sound so that when you kill yourself with a granade, it makes a sound, where does the plugin look for it?

Silver Dragon 03-28-2006 17:25

It does? Maybe it's a plugin that does that because I know that there is no grenade sound when you kill someone.

Spanky McNutnut 03-28-2006 19:28

Its an option in the stats menu, Granade Kill, Granade Suicide

blacam00 03-29-2006 04:01

There is no grenade kill sound currently, just a hud message on grenade kill/suicide.
Code:

if (wpnindex == CSW_HEGRENADE && (GrenadeKill || GrenadeSuicide))
  {
      new killer_name[32], victim_name[32]
     
      get_user_name(killer, killer_name, 32)
      get_user_name(victim, victim_name, 32)
     
      set_hudmessage(255, 100, 100, -1.0, 0.25, 1, 6.0, 6.0, 0.5, 0.15, -1)
     
      if (!selfkill)
      {
        if (GrenadeKill)
            show_hudmessage(0, "%L", LANG_PLAYER, g_HeMessages[random_num(0, 3)], killer_name, victim_name)
      }
      else if (GrenadeSuicide)
        show_hudmessage(0, "%L", LANG_PLAYER, g_SHeMessages[random_num(0, 3)], victim_name)
  }



All times are GMT -4. The time now is 23:09.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.