SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Discussion

Reply
 
Thread Tools Display Modes
Old 06/08/2012, 09:14 PM   #11
Vince
Spam Machine
 
Vince's Avatar
 
Join Date: Sep 2007
Location: Belgium
Posts: 10,996
Reputation: 2647
Default Re: The "Real" vehicle speed thread

Which is pretty much consistent with the 195.12 I came up with.
__________________
Vince is offline   Reply With Quote
Old 06/08/2012, 09:22 PM   #12
[HLF]Southclaw
High-roller
 
[HLF]Southclaw's Avatar
 
Join Date: Apr 2009
Location: England
Posts: 4,868
Reputation: 1443
Default Re: The "Real" vehicle speed thread

200 seems about right then, my other one (before I saw this thread) was 50 * 3.6 (50 to get it to m/s, 3.6 to get that to Km/s) (just by estimation, no calculating) and that's 180.0 so 200 seems about right
__________________
Tools:

Plugins:

Links:

[HLF]Southclaw is offline   Reply With Quote
Old 12/08/2012, 09:07 AM   #13
zugg48
Little Clucker
 
Join Date: Feb 2011
Posts: 22
Reputation: 3
Default Respuesta: The "Real" vehicle speed thread

Everybody see this info:

http://projectcerbera.com/gta/sa/tutorials/acceleration

http://projectcerbera.com/gta/sa/tutorials/handling
zugg48 is offline   Reply With Quote
Old 14/08/2012, 11:56 PM   #14
Mauzen
Godfather
 
Mauzen's Avatar
 
Join Date: Jun 2007
Location: Western Germany
Posts: 5,131
Reputation: 1556
Default Re: Respuesta: The "Real" vehicle speed thread

I like the acceleration part, i was trying to measure it itself, but this is more precise. This might become handy for RNPC vehicles.
Mauzen is offline   Reply With Quote
Old 17/09/2012, 03:00 AM   #15
zugg48
Little Clucker
 
Join Date: Feb 2011
Posts: 22
Reputation: 3
Default Respuesta: The "Real" vehicle speed thread

Of the handling.cfg archive:


Code:
		             		

                                     ------- CARS --------

        NAME           |      MAX. VEL (Km/h)       |              ACELERATION (m/sē)        |
-----------------------|----------------------------|----------------------------------------|   
	LANDSTAL     		160.0 					25.0 
	BRAVURA     		160.0 					15.0 
	BUFFALO      		200.0 					28.0 
	LINERUN      		120.0 					25.0 
	PEREN        		150.0 					18.0 
	SENTINEL     		165.0 					24.0 
	DUMPER       		110.0 					25.0 
	FIRETRUK     		170.0 					27.0 
	TRASH        		110.0 					20.0 
	STRETCH      		180.0 					18.0 
	MANANA       		160.0 					19.0
	INFERNUS     		240.0 					30.0 
	VOODOO       		160.0 					23.0 
	PONY         		160.0 					15.0 
	MULE         		140.0 					18.0 
	CHEETAH      		230.0 					30.0 
	AMBULAN      		155.0 					24.0 
	MOONBEAM     		150.0 					15.0 
	ESPERANT     		160.0 					18.0 
	TAXI         		180.0 					19.0 
	WASHING      		180.0 					21.0 
	BOBCAT       		165.0 					20.0 
	MRWHOOP      		145.0 					14.0
	BFINJECT     		170.0 					30.0 
	PREMIER     		200.0 					22.0 
	ENFORCER     		170.0 					20.0 
	SECURICA     		170.0 					15.0 
	BANSHEE      		200.0 					33.0 
	BUS          		130.0 					14.0 
	RHINO        		80.0  					40.0 
	BARRACKS     		180.0 					20.0 
	HOTKNIFE     		200.0 					28.0 
	ARTICT1      		120.0 					18.0 
	PREVION      		160.0 					18.0 
	COACH        		160.0					18.0 
	CABBIE       		160.0 					24.0 
	STALLION     		160.0 					23.0 
	RUMPO        		160.0 					18.0 
	RCBANDIT     		75.0  					35.0 
	ROMERO       		150.0 					16.0 
	PACKER       		150.0 					13.0 
	MONSTER      		110.0 					45.0 
	ADMIRAL      		165.0 					22.0 
	TRAM         		150.0 					25.0 
	AIRTRAIN     		140.0 					24.0 
	ARTICT2      		120.0 					18.0 
	TURISMO      		240.0 					30.0 
	FLATBED      		140.0 					25.0 
	YANKEE       		160.0 					14.0 
	GOLFCART    		160.0 					15.0 
	SOLAIR      		165.0 					20.0 
	TOPFUN       		160.0 					15.0 
	GLENDALE     		160.0 					22.0 
	OCEANIC      		160.0 					16.0
	PATRIOT      		170.0 					25.0 
	HERMES       		160.0 					18.0 
	SABRE        		160.0 					24.0 
	ZR350        		200.0 					28.0 
	WALTON       		150.0 					14.0 
	REGINA       		165.0 					16.0 
	COMET       		200.0 					30.0 
	BURRITO      		150.0 					25.0 
	CAMPER       		120.0 					16.0 
	BAGGAGE      		160.0 					20.0 
	DOZER        		100.0 					35.0 
	RANCHER      		170.0 					20.0 
	FBIRANCH     		170.0 					22.0 
	VIRGO        		160.0 					18.0 
	GREENWOO     		160.0 					20.0 
	HOTRING      		220.0 					26.0 
	SANDKING     		170.0 					28.0 
	BLISTAC      		200.0 					26.0 
	BOXVILLE     		140.0 					14.0 
	BENSON       		140.0 					14.0 
	MESA         		160.0 					24.0 
	BLOODRA      		160.0 					24.0 
	BLOODRB      		160.0 					26.0 	
	SUPERGT      		230.0 					26.0 	
	ELEGANT      		165.0 					20.0 
	JOURNEY      		140.0 					14.0 	
	PETROL       		120.0 					25.0 
	RDTRAIN      		120.0 					25.0 
	NEBULA       		165.0 					20.0 
	MAJESTIC     		165.0 					22.0 
	BUCCANEE     		160.0 					24.0 
	CEMENT       		110.0 					20.0 
	TOWTRUCK     		160.0 					25.0 
	FORTUNE      		160.0 					20.0 
	CADRONA      		160.0 					20.0 
	FBITRUCK     		170.0 					25.0 
	WILLARD      		160.0 					18.0 
	FORKLIFT     		60.0 					20.0 
	TRACTOR      		70.0 					20.0 
	COMBINE      		140.0 					25.0
	FELTZER      		200.0 					28.0 
	REMINGTN     		160.0 					23.0 
	SLAMVAN      		160.0 					40.0 
	BLADE	     		160.0 					24.0 
	FREIGHT      		110.0 					20.0
	STREAK       		110.0 					20.0 
	VINCENT      		160.0 					18.0 
	BULLET       		230.0 					30.0  
	CLOVER       		160.0 					24.0 
	SADLER       		165.0 					25.0 
	RANGER       		160.0 					20.0 
	HUSTLER      		160.0 					22.0 
	INTRUDER     		160.0 					18.0 
	PRIMO        		160.0 					18.0 
	TAMPA        		160.0 					24.0 
	SUNRISE      		160.0 					17.0 
	MERIT        		165.0 					22.0 
	UTILITY      		160.0 					18.0 
	YOSEMITE     		170.0 					25.0
	WINDSOR      		180.0 					30.0 
	MTRUCK_A     		110.0 					45.0 
	MTRUCK_B     		110.0 					45.0 
	URANUS       		200.0 					20.0 
	JESTER       		200.0 					28.0 
	SULTAN       		200.0 					28.0
	STRATUM      		200.0 					20.0 
	ELEGY        		200.0 					28.0 
	RCTIGER      		75.0  					35.0 		
	FLASH        		200.0 					24.0 
	TAHOMA      		160.0 					24.0 
	SAVANNA      		160.0 					24.0 
	BANDITO      		170.0 					35.0
	FREIFLAT     		110.0 					20.0 
	CSTREAK      		110.0 					20.0 
	KART         		90.0					18.0 
	MOWER        		60.0 					12.0 
	DUNE         		110.0 					35.0 
	SWEEPER      		60.0 					12.0 
	BROADWAY     		160.0					20.0 
	TORNADO      		160.0 					20.0 
	DFT30        		110.0					20.0 
	HUNTLEY      		160.0 					25.0 
	STAFFORD     		165.0 					24.0
	NEWSVAN      		160.0 					15.0
	TUG	         	170.0 					15.0 
	PETROTR      		120.0 					18.0 
	EMPEROR      		165.0 					21.0 
	FLOAT        		110.0 					20.0 
	EUROS        		200.0 					24.0 
	HOTDOG	     		140.0 					14.0 
	CLUB	     		200.0 					30.0
	ARTICT3      		120.0 					18.0 
	RCCAM	     		60.0 					50.0 
	POLICE_LA    		200.0 					25.0 
	POLICE_SF    		200.0 					25.0 
	POLICE_VG    		200.0 					25.0 
	POLRANGER    		160.0 					30.0 
	PICADOR      		165.0 					25.0 
	SWATVAN      		110.0 					24.0 
	ALPHA        		200.0 					23.0 
	PHOENIX      		200.0 					26.0 
	BAGBOXA      		160.0 					20.0 
	STAIRS 		 	160.0 					20.0 
	BOXBURG      		140.0 					14.0 
	FARM_TR1     		160.0 					20.0
	UTIL_TR1     		60.0  					20.0 
	ROLLER	     		160.0 					15.0 
												
		              ------- BIKES & MOTOR BIKES --------

        NAME           |      MAX. VEL (Km/h)       |              ACELERATION (m/sē)        |
-----------------------|----------------------------|----------------------------------------|    
	BIKE         		190.0 					50.0 
	MOPED        		190.0 					30.0 
	DIRTBIKE     		190.0 					50.0 
	FCR900       		190.0 					50.0 
	NRG500       		190.0 					60.0 
	HPV1000      		190.0 					50.0 
	BF400        		190.0 					50.0 
	WAYFARER     		190.0 					40.0 
	QUADBIKE     		160.0 					25.0 
	BMX          		120.0 					18.0 
	CHOPPERB     		120.0 					18.0 
	MTB          		140.0 					25.0 
	FREEWAY      		190.0 					40.0


		                   ------- BOATS --------

        NAME           |      MAX. VEL (Km/h)       |              ACELERATION (m/sē)        |
-----------------------|----------------------------|----------------------------------------|   
	PREDATOR     		190.0					1.7  
	SPEEDER      		190.0 					2.5  
	REEFER       		190.0 					0.7  
	RIO          		190.0 					0.5  
	SQUALO       		190.0 					3.0  
	TROPIC       		190.0 					1.4 
	COASTGRD     		190.0 					1.6  
	DINGHY       		190.0 					1.2  
	MARQUIS      		190.0 					0.5  
	CUPBOAT      		190.0 					3.0  
	LAUNCH       		190.0 					1.5  




                                   ------- PLANES --------

         NAME          |      MAX. VEL (Km/h)       |              ACELERATION (m/sē)        |
-----------------------|----------------------------|----------------------------------------|           
	SEAPLANE                200.0  					1.7  
	VORTEX       		150.0  					2.0  
	RUSTLER      		200.0 					16.0  
	BEAGLE       		200.0 					16.0 
	CROPDUST     		200.0 					16.0  
	STUNT        		200.0					16.0  
	SHAMAL       		200.0 					16.0 	
	HYDRA        		200.0 					16.0 
	NEVADA       		200.0 					16.0 
	AT400        		200.0 					16.0 
	ANDROM       		200.0 					16.0 
	DODO	     		200.0 					16.0 
	SPARROW      		200.0 					16.0 
	SEASPAR      		200.0 					16.0 
	MAVERICK     		200.0 					16.0 
	COASTMAV     		200.0 					16.0 
	POLMAV       		200.0 					16.0 
	HUNTER       		200.0 					16.0 	
	LEVIATHN     		200.0 					16.0 
	CARGOBOB     		200.0 					16.0
	RAINDANC     		200.0 					16.0 
	RCBARON      		75.0  					1.0 
	RCGOBLIN     		75.0  					35.0 
	RCRAIDER     		75.0  					35.0

______________
zugg48 is offline   Reply With Quote
Old 17/09/2012, 07:52 AM   #16
[HLF]Southclaw
High-roller
 
[HLF]Southclaw's Avatar
 
Join Date: Apr 2009
Location: England
Posts: 4,868
Reputation: 1443
Default Re: The "Real" vehicle speed thread

Code:
BIKE = 190.0km/h

GTA Logic.
__________________
Tools:

Plugins:

Links:

[HLF]Southclaw is offline   Reply With Quote
Old 17/09/2012, 08:59 AM   #17
[ABK]Antonio
High-roller
 
[ABK]Antonio's Avatar
 
Join Date: Sep 2011
Location: ID, USA
Posts: 1,240
Reputation: 185
Default Re: The "Real" vehicle speed thread

I just use vX^2,vY^2,vZ^2 * 100 because it has pretty nice speeds...It has most vehicles going around 130 mph - infernus getting in the upper 100s...Which I think is a pretty good speed. Before that, I had it at around *140 (using the sqrt method) because it didn't feel like you were going nearly as fast as it was saying. The other method feels better though
__________________

ABKClan.com
[ABK]Antonio is offline   Reply With Quote
Old 17/09/2012, 09:46 AM   #18
[HLF]Southclaw
High-roller
 
[HLF]Southclaw's Avatar
 
Join Date: Apr 2009
Location: England
Posts: 4,868
Reputation: 1443
Default Re: The "Real" vehicle speed thread

Same here, I felt the original values were a bit high really, mine was 100 but I raised it to 150 just to make the cars look a bit faster (Infernus goes about 180kmh)
__________________
Tools:

Plugins:

Links:

[HLF]Southclaw is offline   Reply With Quote
Old 02/08/2013, 12:06 PM   #19
Edix
Big Clucker
 
Edix's Avatar
 
Join Date: Nov 2009
Posts: 134
Reputation: 6
Default Re: The "Real" vehicle speed thread

I found out that the magic number is 191.
The way I found it is by checking the distance the car passes at its max speed over 1 second.
I found out that with Sabre you drive 51 meters over 1 second and using a simple converter I found out that the max speed is 183 km/h.
I also did the same test on a Sultan which drives about 50.25 meters over 1 second at top speed wich is 180 km/h and so the magic number of 191 worked perfectly fine for me.
Edix is offline   Reply With Quote
Old 02/08/2013, 12:13 PM   #20
Konstantinos
Spam Machine
 
Konstantinos's Avatar
 
Join Date: Dec 2011
Posts: 11,984
Reputation: 1392
Default Re: The "Real" vehicle speed thread

Quote:
Originally Posted by Edix View Post
I found out that the magic number is 191.
The way I found it is by checking the distance the car passes at its max speed over 1 second.
I found out that with Sabre you drive 51 meters over 1 second and using a simple converter I found out that the max speed is 183 km/h.
I also did the same test on a Sultan which drives about 50.25 meters over 1 second at top speed wich is 180 km/h and so the magic number of 191 worked perfectly fine for me.
Except the bump of an old thread, you stated something and my answer is pretty much what someone above said "GTA Logic". How is that even possible, sabre being faster than sultan?
__________________
Life is like riding a bicycle. To keep your balance, you must keep moving.

[Tutorial] How to use SQLite
[FilterScript] Tune System
Konstantinos is offline   Reply With Quote
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
5 Dialog errors - Input line too long, undefined symbol "t","is" and "only" Deal-or-die Scripting Help 6 01/05/2012 12:08 PM
xMovie Entertainment (3 vids): "Like a boss" "The rapist" "Jizz in my pants" xMovie Screenshots and Videos 11 27/03/2012 12:10 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"... Computer-controlled pedestrians and traffic! ssflsnoob General 2 23/11/2008 06:06 PM


All times are GMT. The time now is 08:07 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.