Grenade-say

//set grenadesay to zero
alias grensay ""

alias grenade_on "alias grensay voice_fireinhole"
alias grenade_off "alias grensay"

//Sets the grenade sound on.
bind 5 "slot5;grenade_on"

//fix the problems, if you click on 1,2,3,4 or Q aka lastinv, it will disable the grenade says. (Thx to: ukcs-alias, who found it)
bind 1 "slot1;grenade_off"
bind 2 "slot2;grenade_off"
bind 3 "slot3;grenade_off"
bind 4 "slot4;grenade_off"
bind q "lastinv;grenade_off"

//attack alias
alias +grend "+attack"

//throw away the grenade. And say "fire in the hole" with voice. And disable the grenadesay.
alias -grend "-attack;grensay;grenade_off"


bind mouse1 "+grend"

Picture:

Updated: - if you click on Q/1/2/3/4, it will unset the "fire in the hole" sound. (Thanks for ukcs-alias who found the problem)

Installation:

Copy the code. Paste it in, \steamapps\day of defeat\dod\userconfig.cfg. If you dont have a userconfig.cfg. Create one.

Usage:

Then run the game. And everytime you click on "5" its will activate the grenade say. And when you click on the fire button. An then release it. It will play the sound ingame. like "fire in the hole"

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Script.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Script a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Script.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

Comments

  • Desajn's Levels
    • P1: Beggar
      Points: 789
    • C1: Member
    • A6: Elder
      Account Age: 7 years
    Posted 5 years ago

    Thx, i will fix the problem now :)

    I forget it.

  • UKCS-Alias's Levels
    • P2: Drudge
      Points: 6,014
    • E2: Guide
      EF: 26
    • C1: Member
    • A5: Veteran
      Account Age: 6 years
    Posted 5 years ago

    What if they switch to the grenade and then back to a normal weapon (which many actualy do)? then when you shoot with bullets it still says fire in the hole. should be fixed also.

    User Title
    The Knifosaurus

Credits

Submitter
Desajn's Levels
  • P1: Beggar
    Points: 789
  • C1: Member
  • A6: Elder
    Account Age: 7 years
Desajn (Creator/Co-creator)
Key Authors
Desajn
Unknown

Rating

?/10
Not yet rated.

Stats

Post Count
2
ViewCount
4,262
Date Added
5 years ago
Date Modified
5 years ago

Share

Embed Code
Code to use:

More embeddable images

Bookmark and Share