Raised This Month: $ Target: $400
 0% 

Increasing the time between gun shots?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DiscoBBQ
Veteran Member
Join Date: Jan 2005
Location: Clemson, South Carolina
Old 08-25-2012 , 15:28   Increasing the time between gun shots?
Reply With Quote #1

I'm looking to increase the time between shooting grenades from the grenade launcher in L4D2. My initial thought would be to block +attack with a 5 second cool down. Is there a less hackish way to do this?
__________________
"Every man is guilty of all the good he did not do"
DiscoBBQ is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 08-25-2012 , 15:38   Re: Increasing the time between gun shots?
Reply With Quote #2

increase the time of reloading?

ignore me... xD
GsiX is offline
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Old 08-25-2012 , 16:23   Re: Increasing the time between gun shots?
Reply With Quote #3

if you can detect when the grenade launcher has been reloaded add your desired delay(in seconds) to the weapons "m_flNextPrimaryAttack" prop (this is assuming it works like in css).
blodia is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode