Raised This Month: $51 Target: $400
 12% 

Looking for a function thatll set the players current velocity.. NOT MAXSPEED


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
12Toastie
Junior Member
Join Date: Nov 2014
Old 05-05-2021 , 01:52   Looking for a function thatll set the players current velocity.. NOT MAXSPEED
Reply With Quote #1

Allow me to explain.. this is for TFC..

In TFC each class has their own maxspeed, and are allowed to bunnyhop up to 170% of their maxspeed. If they try to bhop over that 170%, itll reset their velocity to their maxspeed.

For example, a Scout has a maxspeed of 400.. and can go as high as 680 and if he tries to bhop while being over 680, his velocity will be reset to 400.

Now there is another thing called a "chop hop"... where a player can actually maintain a high rate of speed past 680 by +duck'ing instead. I want to apply that same mechanic to +duck where if they try it while over 680, itll set them back to 400. Is there a function thatll set their current velocity given these conditions?

Last edited by 12Toastie; 05-05-2021 at 01:53.
12Toastie is offline
 



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 15:36.


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