Lag Free Nade Client Side Timer

Lag Free Nade Client Side Timer 1.1

Code:
[Discovered this from meisteh's upload/post over at ozfortress.com in the customization section.

Although he wasn't the first to come up with this or was he?]



Readme Fix: I forgot to put the + in the Hold script binds.


edit (29/02/13): There was a 3-second long timer I put in this .zip accidentally instead of the default 4-second .wav. I only noticed the mistake when a friend said the timing felt odd.


______

About:

______


OK, for those that don't know, in TFC all grenades have an audio beep timer.wav, but the timing you hear varies from server to server,

most noticeably when playing overseas. There is an age-old "fix" by making it client sided, by remaining the default timer to mytimer.wav and putting it in:/tfc/sound/vox,

then putting a blank timer.wav in /tfc/sound/weapons/, and using a script.



________

Install:

________


-Choose a script and put it in 'userconfig.cfg' (if it does not exist make it or put in 'autoexexc.cfg').

-Put the 'tfc' folder in: C:\Program Files (x86)\Steam\SteamApps\ACCOUNTNAME\team fortress classic



// Lag Free - Hold (Default Style)

alias +kgren1 "+gren1; spk mytimer"

alias -kgren1 "throwgren"

alias +kgren2 "+gren2; spk mytimer"

alias -kgren2 "throwgren"

bind "f" "+gren1"

bind "g" "+gren2"



// Lag Free - Hold - Alternative (Exactly The Same Just Wrote Different)

alias +grenade1 "+gren1; speak vox/mytimer.wav"

alias -grenade1 "throwgren"

alias +grenade2 "+gren2; speak vox/mytimer.wav"

alias -grenade2 "throwgren"

bind "f" "+grenade1"

bind "g" "+grenade2"



//**BUGGY. NOT FIT FOR USE**

// Lag Free - Primer (Press To Prime, Press Again To Throw)

alias kgren1_throw "+gren1;spk mytimer;alias kgren1 kgren1_drop"

alias kgren1_drop "throwgren;alias kgren1 kgren1_throw"

alias kgren2_throw "+gren2;spk mytimer;alias kgren2 kgren2_drop"

alias kgren2_drop "throwgren;alias kgren2 kgren2_throw"

alias kgren1 kgren1_throw

alias kgren2 kgren2_throw

bind "f" "kgren1"

bind "g" "kgren2"



_____

NOTE:

_____


"Default Style" works fine but "Primer" doesn't always respond well, not for me anyway. Don't know why.

I made do with doing this instead:


bind "f" "primeone;spk mytimer"       //Prime Primary Grenades

bind "MOUSE4" "primetwo;spk mytimer" //Prime Secondary Grenades

bind "MOUSE5" "throwgren"           //Release Grenades






-Paft
Author
Paft
Downloads
691
Views
1,483
Extention type
zip
File size
21.8 KB
Hash
a7a46f689b1b508a2e1f6d9003d01f42
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Paft

Back
Top