Results 1 to 7 of 7

Hybrid View

  1. #1
    HeroicSlayr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    34
    Reputation
    10
    Thanks
    0
    My Mood
    Inspired

    How to disable sound?

    Hey,
    I've a mod, but every time i spawn I hear such an annoying sound. The near death sound.
    This's the code:
    Code:
    self.maxhealth = 30;
    self.health = self.maxhealth;
    How can I disable the near death sound?

  2. #2
    CainFool's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    313
    Reputation
    11
    Thanks
    146
    My Mood
    Angelic
    Code:
    self.maxhealth = 100;
    self.health = self.maxhealth

  3. #3
    HeroicSlayr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    34
    Reputation
    10
    Thanks
    0
    My Mood
    Inspired
    Quote Originally Posted by CainFool View Post
    Code:
    self.maxhealth = 100;
    self.health = self.maxhealth
    Ok, read the question, then give an answer. thanks in advance

  4. #4
    Neekokeen's Avatar
    Join Date
    Jun 2010
    Gender
    female
    Posts
    387
    Reputation
    14
    Thanks
    361
    My Mood
    Breezy
    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)

    Click on the banners to take a look at my mods.





  5. The Following User Says Thank You to Neekokeen For This Useful Post:

    HeroicSlayr (08-26-2010)

  6. #5
    CainFool's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    313
    Reputation
    11
    Thanks
    146
    My Mood
    Angelic
    Look @ your onplayerspawned(); and see if you see the sound, if its there remove it.

  7. #6
    matjuh123's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    So.. you didn't look in your closet yet?
    Posts
    1,204
    Reputation
    21
    Thanks
    641
    My Mood
    Amazed
    Or just put your sound off?
    -I'm back as an active member. (8th December, 2013)

  8. #7
    Neekokeen's Avatar
    Join Date
    Jun 2010
    Gender
    female
    Posts
    387
    Reputation
    14
    Thanks
    361
    My Mood
    Breezy
    Quote Originally Posted by CainFool View Post
    Look @ your onplayerspawned(); and see if you see the sound, if its there remove it.
    err lolwut?

    Click on the banners to take a look at my mods.





Similar Threads

  1. Replies: 0
    Last Post: 01-22-2009, 01:56 AM
  2. How to disable the spam thing?
    By bestkiller2 in forum Combat Arms Hacks & Cheats
    Replies: 12
    Last Post: 01-04-2009, 03:07 AM
  3. how to disable punkbuster (no b*ll sh*t)
    By landerman007 in forum WarRock - International Hacks
    Replies: 2
    Last Post: 02-20-2008, 09:32 AM
  4. [tut] how to disable punkbuster
    By landerman007 in forum WarRock - International Hacks
    Replies: 1
    Last Post: 02-20-2008, 07:46 AM
  5. how to disable punk buster
    By xXxjaspurxXx in forum WarRock - International Hacks
    Replies: 32
    Last Post: 07-13-2007, 07:33 PM