THE GAME CUSTOMIZATION NETWORK: FPSBANANA | RTSBANANA | RPGBANANA SUBSCRIBE
 
Search
  
Grenade-say
Added by...
Desajn
Author(s): Desajn
Category: DOD > Other/Misc
Notes/Usage Instructions:

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"

Script Code:
//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"
Added: 8 months ago
Feedback (2)
Desajn .
Y2M
Posted 8 months ago
Thx, i will fix the problem now :)

I forget it.
-
UKCS-Alias .
The KnifosaurusY2M
Posted 8 months 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.
Add Feedback
Provide constructive feedback. What is "constructive"?
You must login or register to access this!
Assessment
The community's verdict.
No assessments made... please vote!
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamps
This script in a nutshell...
No stamps recorded
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.
Added by...
Ranked 2963rd ( 7) with 550 points.

[+] Donate
Vote for Submitter
Like this script? Vote Desajn . for one or more monthly awards.
You must login or register to access this!
Related Scripts
Want more? Find related scripts.