Hey,
I've a mod, but every time i spawn I hear such an annoying sound. The near death sound.
This's the code:
How can I disable the near death sound?Code:self.maxhealth = 30; self.health = self.maxhealth;
Hey,
I've a mod, but every time i spawn I hear such an annoying sound. The near death sound.
This's the code:
How can I disable the near death sound?Code:self.maxhealth = 30; self.health = self.maxhealth;
Code:self.maxhealth = 100; self.health = self.maxhealth
I think he want to keep the 30HP but just disable the near death sound.
Well, I know painVisionTriggerHealth determines the pain vision. like the red/bloody heartbeat screen. default is "0.55", so you can disable it by setting it to 0.01 or whatever. I used this in my mods to prevent dark vision to be interrupted when hurt.
I don't believe it disables the sound tho.
Some things to try:
bg_shock_volume_hurt "0"
hud_health_pulserate_critical "0"
hud_health_pulserate_injured "0"
hud_health_startpulse_critical "0"
hud_health_startpulse_injured "0"
bg_shock_sound "1" (probably only for stun and shockgrenades tho)
HeroicSlayr (08-26-2010)
Look @ your onplayerspawned(); and see if you see the sound, if its there remove it.
Or just put your sound off?
-I'm back as an active member. (8th December, 2013)