Raised This Month: $ Target: $400
 0% 

Shoot right at switch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 05-27-2010 , 22:59   Shoot right at switch
Reply With Quote #1

It really got my attention. How to make delay after weapon switch till first bullet shot faster?

I made some tests:

This weapon ent pdata values are next when you just switch:
PHP Code:
new g_iPDWeaponType 43 // -1.0 (same as when you can shoot (except awp/scout, and change doesn't help)
new g_iPDNextSecAttack 47 // 0.0 (same as when you can shoot (except awp/scout, and change doesn't help)
new g_iPD_SOMETHING_ 48 // 1.5 (starts at 1.5 and when reaches 0.0 it loops countdown from 60.0 to 0.0)
new g_iPDWhenSwitched 76 // Float:get_gametime() this is when weapon was switched to (still doesn't help)
new g_iPDFirstAwpShotAfterSwitch 132 // 1.45 (changing it to 0.0 still has the same 1.45 delay) [this is awp only] 
So maybe anyone has any ideas?

// EDIT:

I assume that the only right way to change it, is when doing so pev_weaponanim is also effected by it... =P
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.

Last edited by MPNumB; 05-27-2010 at 23:06.
MPNumB is offline
Send a message via Skype™ to MPNumB
Reply


Thread Tools
Display Modes

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 05:18.


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