[Script] Nade Timer


PanFrie
06-18-2006, 03:35 PM
ok, i have NO idea where i could put this, but figured someone here would be interested in it. ive made this little script that will start a timer when you throw a grenade. the timer is a series of beeps that go once every second for 5 seconds (when the nade is suposed to go off... they actually have a 5.5 second fuse). It enables when you take out a grenade, and disables when you select another weapon.

you need to change 2 of the lines to fit with your config, cause i use mouse2 as +attack. im sure most of you use mouse1 though.

put the .cfg file into /steam/steamapps/login/day of defeat source/dod/cfg
put the .wav file into /steam/steamapps/login/day of defeat source/dod/sounds

add this line to autoexec.cfg in /day of defeat source/dod/cfg/
exec nadetimer.cfg

so yea. move the post if needed

Zyndrome
06-19-2006, 02:40 AM
Just like the classic TFC nadetimer beeper eh.

User ID 27098
06-19-2006, 05:56 AM
Originally posted by PanFrie
ok, i have NO idea where i could put this, but figured someone here would be interested in it. ive made this little script that will start a timer when you throw a grenade. the timer is a series of beeps that go once every second for 5 seconds (when the nade is suposed to go off... they actually have a 5.5 second fuse). It enables when you take out a grenade, and disables when you select another weapon.

you need to change 2 of the lines to fit with your config, cause i use mouse2 as +attack. im sure most of you use mouse1 though.

put the .cfg file into /steam/steamapps/login/day of defeat source/dod/cfg
put the .wav file into /steam/steamapps/login/day of defeat source/sounds

add this line to autoexec.cfg in /day of defeat source/dod/cfg/
exec nadetimer.cfg

so yea. move the post if needed

It's a shame this is gunna get shunned... someones bound to come in here and throw the hack-violation flag down. Then again, I guess this isn't SO bad... I wouldn't use it though, nice find regardless.

Forral
06-19-2006, 06:17 AM
HAX!

Seriously, nice script, although I'm failrly good at counting in my head already.

Wile E Coyote
06-19-2006, 04:01 PM
Well in the 8+ years I've been involved in multiplayer FPS's, a grenade timer - JUST a timer, nothing else - has come under scrutiny by somebody for every game I can think of and everytime the result was = not a cheat. It actually doesn't DO anything to the gameplay; it just beeps out seconds for people who can't count to five in their head. :rolleyes: I opened this file and looked at the script and yes, that's ALL this script does - play a wav file when you throw a grenade.


Still, much like custom models, I doubt they are legal for league play.

PanFrie
06-19-2006, 05:55 PM
i asked and its not legal... i really dont see why though... but whatever...

Strafe
06-19-2006, 06:24 PM
I had a custom nade timer back in my TFC days. This one counted down w/ a womans voice. It was much more effective in TFC, b/c as a spy..I always had someone chasing me w/ the flag..so I could prime..wait for 3 or 4 and turn around and release. Just saved me the hassle of counting while running for my life.

This is pretty cool, not sure if I'll use it or not.

Good release all the same.

[DF]Panzershrek
06-21-2006, 12:34 PM
You've just turned me back into a Gernade god. Thank you, sir!

Oh, and for the record, its fine to use over Online play. League play however, you must use default everything.

So, I don't do league play. Awesome script my friend! Anything else you can think of? :D

PanFrie
06-23-2006, 10:15 AM
ive run out of things to make :-P if youve got ANY ideas lemme know... i wanna do more work :-P

Strafe
06-23-2006, 08:29 PM
Originally posted by PanFrie
ive run out of things to make :-P if youve got ANY ideas lemme know... i wanna do more work :-P

I used to have a hand fed .30 cal back in 3.1 days. It was just an animation of course. Your left hand was palm up and fed the chain into the mg, it was pretty cool looking. I requested one a while back, but no one seemed to want to do it. Wanna give it a go?

I could supply you with the sleeves I use. The mg could be your favorite or the stock.

PanFrie
06-24-2006, 11:22 AM
i cant do modeling / anamating :-P i dunno how, but if i could, i would do it...

lordroy
06-26-2006, 04:54 AM
for some reason I cant get this to work...

I changed the mouse2 to mouse1

I put the files where you said

I add the exec nadetimer.cfg in autoexec.cfg

Are you sure that is the correct directory for the sound file (/steam/steamapps/login/day of defeat source/sounds/)? Should it be /steam/steamapps/login/day of defeat source/dod/sound/ as I had to make the /sounds/ folder in the /day of defeat source/ folder (there was not one there).


-=R=-

PanFrie
06-26-2006, 10:46 AM
oh, hah my bad :-P yea, i missed the /dod/ between /day of defeat source/ and /sound/

sry :-P

lordroy
06-26-2006, 03:05 PM
ok, there is no "/sounds/" folder (by default)

there is: /steam/steamapps/login/day of defeat source/dod/sound/
but no: /steam/steamapps/login/day of defeat source/dod/sounds/ (unless I make it)


Ill try both... but I just wanted to make sure.

-=R=-

daigboboh
06-26-2006, 08:14 PM
I've tried everything but I can't seem to get this to work...

lordroy
06-27-2006, 02:33 AM
Originally posted by daigboboh
I've tried everything but I can't seem to get this to work...

Same here... has anyone else got this to work?


-=R=-

PanFrie
07-06-2006, 08:25 PM
ok.. so you need to put the sound file in:

\steam\SteamApps\login@host.com\day of defeat source\dod\sound\

thats where the nadetimer.wav file should be... with the .cfg in

\steam\SteamApps\login@host.com\day of defeat source\dod\cfg\

thats exactly how ive got mine setup and it works... you WILL NEED TO CHANGE THE .cfg to accomadate with your config. for me mouse2 is attack, so you need to change all the mouse2's to mouse1

i dojnt see why it isnt working if you do that...

daigboboh
07-06-2006, 08:36 PM
For me, it only works after I use the voice command "fire in the hole". If I use the voice command the countdown will play.

PanFrie
07-07-2006, 09:01 AM
thats.... odd...

lordroy
07-07-2006, 10:18 AM
Originally posted by PanFrie
ok.. so you need to put the sound file in:

\steam\SteamApps\login@host.com\day of defeat source\dod\sound\

thats where the nadetimer.wav file should be... with the .cfg in

\steam\SteamApps\login@host.com\day of defeat source\dod\cfg\

thats exactly how ive got mine setup and it works... you WILL NEED TO CHANGE THE .cfg to accomadate with your config. for me mouse2 is attack, so you need to change all the mouse2's to mouse1

i dojnt see why it isnt working if you do that...

Ya, I did all that... numerous times. I dont know why it doesnt work for me either... but eh...

I dont really need it.


-=R=-

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.