30/03/2016, 08:38 AM  #81  
Big Clucker
Join Date: Jan 2016
Posts: 135
Reputation: 2

Re: Respuesta: The "Real" vehicle speed thread
Quote:


10/06/2016, 09:01 AM  #82 
Little Clucker
Join Date: Apr 2013
Posts: 11
Reputation: 0

Re: Respuesta: The "Real" vehicle speed thread

03/09/2016, 12:13 PM  #83 
Highroller
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,856
Reputation: 602

Re: The "Real" vehicle speed thread
Just gotta bump right here for a sec...
In GTA, it seems every vehicle returns a different velocity even when actually going the same speed as other vehicles. This shouldn't be like this, it might even be a bug. This is why you are all wrong. Like, suppose we lined up an Infernus, a Rhino, a Sanchez, an Elegy, and a Slam Van. Now suppose could push (disregarding the vehicles' acceleration) each of these vehicles the same distance in the same amount of time, each of those vehicles return different values even though they are all going the same speed (distance over time). So every vehicle has it's own magic number depending on it's handling data. I'm going to try to work out a table of information and try to find the formula for every vehicle's magic number. EDIT: Well I got the data sorted and got the values I need IG, but there isn't much of a correlation in the values. There's also like no relation from vehicle to vehicle in the data, as expected, so it's a bit tough unless we can correlate the handling data with the GetVehicleVelocity data. EDIT2: Perhaps I should just make an AHK script to get the velocity vector size of each vehicle at top speed on a series of object 19552. EDIT3: Whoever finds the correlation between the number "1.23" (Infernus top velocity on model 19552) and 30, 1.5, and 240 (limiting, not the actual top speed, it only limits the top speed with drag) wins. Last edited by Crayder; 03/09/2016 at 04:53 PM. 
19/05/2018, 10:36 AM  #84 
Huge Clucker
Join Date: Jul 2012
Posts: 320
Reputation: 60

Re: The "Real" vehicle speed thread
This is just based on assumptions.
Can you be absolutely sure that Rockstar implemented the exact same speeds as their reallife counterparts? Even with a value of 180.0 (which can be proven nicely), the mower has a speed of over 40 kph while their reallife counterparts have a speed of about 13 kph (at least mine does). So with your value, it would reach speed of nearly 80 kph, which doesn't seem real to me. I too tried to find tha magic number and found 180.0 to be the most realistic. I just created 2 checkpoints at the highway around Las Venturas. They were both on the vertical part of that highway at the rightmost part of Las Venturas and they were exactly 1000 units apart (1000 units = 1000 meters). I drove the Elegy at top speed and drove through those checkpoints in a straight line and I measured the time between entering both checkpoints. So I knew the distance and time required to cross that distance and I could therefore calculate the speed of the Elegy. From that speed and the velocity value used by samp, I calculated the magic number and found 180.0 to be very accurate. When I used the magic number of 180.0, my speedometer displayed the calculated speed I found earlier using the distance and time between both checkpoints. Your value was found based on assumptions (where you assumed Rockstar used the real Ferrari F40's speed and implemented it without changes), my value was based on real measurements ingame. If you used the mower's real speed (13kph), you would have found the magic number to be around 60.0 or something like that. So using assumptions isn't going to give any accurate value. 
Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
5 Dialog errors  Input line too long, undefined symbol "t","is" and "only"  Dealordie  Scripting Help  6  01/05/2012 12:08 PM 
"Slight homing", make a missile "Slightly!" home a vehicle.  Donya  Help Archive  4  11/06/2011 09:20 PM 
Admin script requires "ReturnUser", "strtok" and "IsNumeric"  Rubennnnn  Help Archive  1  02/12/2009 06:08 PM 
"Bots", "AI", "NPCs"... Computercontrolled pedestrians and traffic!  ssflsnoob  General  2  23/11/2008 06:06 PM 