Raised This Month: $ Target: $400
 0% 

Grab+


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 11-12-2007 , 17:53   Re: Grab+
Reply With Quote #11

ian, just fyi not sure if you want to add a check or increase it for them:

If gp_throw_force is set higher than 2000, the server cvar sv_maxvelocity must be changed as well. sv_maxvelocity's default is 2000 (at least for cstrike, not sure about other mods), and if you set speed for velocity_by_aim higher than that it will not go where you aim but skew in another direction.

----------------------
Also, I believe it's faster to not change vectors like this with a for loop:
for( new i = 0; i < 3; i++ ) vViewPos[i] += ofs[i]
but rather do them manually:
vViewPos[0] += ofs[0]
vViewPos[1] += ofs[1]
vViewPos[2] += ofs[2]

Last edited by vittu; 11-12-2007 at 18:07.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
 


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 09:22.


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