hello all, im new at modding and i was wondering if someone could help wid a simple mod were as soon as u throw a nade it says one of the voice commands. so i was just wondering if anyone could advise me.
thnx
Soul
I assume you use the standard weapon and attack bindings. Copy/paste the following script to notepad, save it as custom.cfg and put it in your MoHAA's main. This is not tested, but ought to work.
alias +nadethrow +attack
alias -nadethrow "-attack;teamsay *35"
alias nadeon "bind MOUSE1 +nadethrow"
alias nadeoff "bind MOUSE1 +attackprimary"
bind 1 "useweaponclass pistol;nadeoff"
bind 2 "useweaponclass rifle;nadeoff"
bind 3 "useweaponclass smg;nadeoff"
bind 4 "useweaponclass mg;nadeoff"
bind 5 "useweaponclass grenade;nadeon"
bind 6 "useweaponclass heavy;nadeoff"
bind q "holster;nadeoff"
This might be a bit glitchy, but should result in yelling "grenade, take cover" when you release the fire button after charging the grenade. To avoid some glitches you can change the -nadethrow alias:
alias -nadethrow "-attack;teamsay *35;nadeoff;uselast"
This will change the weapon to the last one used right after throwing the grenade.
<EDIT>Just tested it and it does work. ;)</EDIT>
thnx for the help could u advise me were to get a tutorial to help me start modding?
if you go to TMT there is a thread on this (was done ages ago by scorpio)
www.modtheater.com you will have to search as it was done years ago.....