<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.vc-mp.org/index.php?action=history&amp;feed=atom&amp;title=Changing_Vehicle_Handling</id>
	<title>Changing Vehicle Handling - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.vc-mp.org/index.php?action=history&amp;feed=atom&amp;title=Changing_Vehicle_Handling"/>
	<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Changing_Vehicle_Handling&amp;action=history"/>
	<updated>2026-04-28T08:51:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Changing_Vehicle_Handling&amp;diff=2053&amp;oldid=prev</id>
		<title>Sseebbyy at 14:08, 25 October 2014</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Changing_Vehicle_Handling&amp;diff=2053&amp;oldid=prev"/>
		<updated>2014-10-25T14:08:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:08, 25 October 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&amp;quot;padding:10px;&amp;quot; |&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| style=&amp;quot;padding:10px;&amp;quot; |&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*This was first written by maxorator in the Development Blog. (http://vcmpdev.wordpress.com/2012/02/18/changing-vehicle-handling/)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*This was first written by maxorator in the Development Blog. (http://vcmpdev.wordpress.com/2012/02/18/changing-vehicle-handling/)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   0.4 version offers scripters the posibility to change a vehicles handling !&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sseebbyy</name></author>
	</entry>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Changing_Vehicle_Handling&amp;diff=2052&amp;oldid=prev</id>
		<title>Sseebbyy: Created page with &quot;{{Main Page giant banner}}  {| style=&quot;width:100%; background:none; border:none; margin:0.5em 0; padding:none;&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; |- | style=&quot;width:auto; backgrou...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Changing_Vehicle_Handling&amp;diff=2052&amp;oldid=prev"/>
		<updated>2014-10-25T14:07:00Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Main Page giant banner}}  {| style=&amp;quot;width:100%; background:none; border:none; margin:0.5em 0; padding:none;&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; |- | style=&amp;quot;width:auto; backgrou...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Main Page giant banner}}&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width:100%; background:none; border:none; margin:0.5em 0; padding:none;&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:auto; background:#FEFBF6; border:1px solid #79542B;&amp;quot; valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
&amp;lt;div id=&amp;quot;mf-index&amp;quot;&amp;gt;&lt;br /&gt;
{| style=&amp;quot;padding:0; width:100%;&amp;quot; | &lt;br /&gt;
! class=&amp;quot;mp-content-header mp-title-gradient&amp;quot; | Changing Vehicle Handling&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;padding:10px;&amp;quot; |&lt;br /&gt;
*This was first written by maxorator in the Development Blog. (http://vcmpdev.wordpress.com/2012/02/18/changing-vehicle-handling/)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width:100%; background:none; border:none; margin:0.5em 0; padding:none;&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot;&lt;br /&gt;
| style=&amp;quot;width:auto; background:#FEFBF6; border:1px solid #79542B;&amp;quot; valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
&amp;lt;div id=&amp;quot;mf-index&amp;quot;&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;padding:10px;&amp;quot; |&lt;br /&gt;
*Several functions for changing vehicle handling data have been added for plugins and scripts to use. Handling can be set separately for a model index and a specific vehicle. Handling is managed as a set of rules, each of which replace the default value of some handling parameter for some model index or a specific vehicle. If both apply for some vehicle, then the rules for that specific vehicle are used. Superior grip, flying and driving on water can also be set with these functions. Next comes the list of functions. I will shortly explain what each of these functions does.&lt;br /&gt;
   int ResetAllVehicleHandlings(void);&lt;br /&gt;
   unsigned int ExistsHandlingRule(int nModelIndex, int nRuleIndex);&lt;br /&gt;
   int SetHandlingRule(int nModelIndex, int nRuleIndex, double fValue);&lt;br /&gt;
   double GetHandlingRule(int nModelIndex, int nRuleIndex);&lt;br /&gt;
   int ResetHandlingRule(int nModelIndex, int nRuleIndex);&lt;br /&gt;
   int ResetHandling(int nModelIndex);&lt;br /&gt;
   unsigned int ExistsInstHandlingRule(int nVehicleId, int nRuleIndex);&lt;br /&gt;
   int SetInstHandlingRule(int nVehicleId, int nRuleIndex, double fValue);&lt;br /&gt;
   double GetInstHandlingRule(int nVehicleId, int nRuleIndex);&lt;br /&gt;
   int ResetInstHandlingRule(int nVehicleId, int nRuleIndex);&lt;br /&gt;
   int ResetInstHandling(int nVehicleId);&lt;br /&gt;
&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;ResetAllVehicleHandlings&amp;#039;&amp;#039;&amp;#039; resets all handling rules in the server. &amp;#039;&amp;#039;&amp;#039;ResetHandling&amp;#039;&amp;#039;&amp;#039; resets all handling rules that were set for a model index using SetHandlingRule. *&amp;#039;&amp;#039;&amp;#039;ResetInstHandling&amp;#039;&amp;#039;&amp;#039; resets the rules that had been set for a vehicle using &amp;#039;&amp;#039;&amp;#039;SetInstHandlingRule&amp;#039;&amp;#039;&amp;#039;. &amp;#039;&amp;#039;&amp;#039;ResetHandlingRule and ResetInstHandlingRule&amp;#039;&amp;#039;&amp;#039; can be used to reset specific handling settings for a specific model index or vehicle.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;ExistsHandlingRule&amp;#039;&amp;#039;&amp;#039; will tell you if a specific handling setting has changed for this model using &amp;#039;&amp;#039;&amp;#039;SetHandlingRule&amp;#039;&amp;#039;&amp;#039;. &amp;#039;&amp;#039;&amp;#039;ExistsInstHandlingRule&amp;#039;&amp;#039;&amp;#039; does the same for specific vehicle instances.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;GetHandlingRule&amp;#039;&amp;#039;&amp;#039; will return the value that was set using &amp;#039;&amp;#039;&amp;#039;SetHandlingRule&amp;#039;&amp;#039;&amp;#039; or if hadn’t been changed, the default value for that model index. &amp;#039;&amp;#039;&amp;#039;GetInstHandlingRule&amp;#039;&amp;#039;&amp;#039; returns the value that was set for that specific vehicle or otherwise it simply calls &amp;#039;&amp;#039;&amp;#039;GetHandlingRule&amp;#039;&amp;#039;&amp;#039; internally. These functions always return the value that is currently effective for that model or vehicle index.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;SetHandlingRule&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;SetInstHandlingRule&amp;#039;&amp;#039;&amp;#039; are the functions that are used to actually apply new handling settings to vehicles. Note that only changed values are sent to clients, therefore it is best to keep changes as low as possible if you want to minimize bandwidth usage. Whenever you want to set a value to its original value, use the Reset* functions instead of using Set* functions with default value, since then those changes are basically deleted, causing the bandwidth usage to decrease.&lt;br /&gt;
&lt;br /&gt;
*These are the rule indices that can be used with those functions:&lt;br /&gt;
&lt;br /&gt;
    1 Mass&lt;br /&gt;
    2 DimensionsX&lt;br /&gt;
    3 DimensionsY&lt;br /&gt;
    4 DimensionsZ&lt;br /&gt;
    5 CentreOfMassX&lt;br /&gt;
    6 CentreOfMassY&lt;br /&gt;
    7 CentreOfMassZ&lt;br /&gt;
    8 PercentSubmerged&lt;br /&gt;
    9 TractionMultiplier&lt;br /&gt;
   10 TractionLoss&lt;br /&gt;
   11 TractionBias&lt;br /&gt;
   12 NumberOfGears&lt;br /&gt;
   13 MaxSpeed&lt;br /&gt;
   14 Acceleration&lt;br /&gt;
   15 DriveType&lt;br /&gt;
   16 EngineType&lt;br /&gt;
   17 BrakeDeceleration&lt;br /&gt;
   18 BrakeBias&lt;br /&gt;
   19 SteeringLock&lt;br /&gt;
   20 SuspensionForceLevel&lt;br /&gt;
   21 SuspensionDampening&lt;br /&gt;
   22 SeatOffset&lt;br /&gt;
   23 DamageMultiplier&lt;br /&gt;
   24 SuspensionUpperLimit&lt;br /&gt;
   25 SuspensionLowerLimit&lt;br /&gt;
   26 SuspensionBias&lt;br /&gt;
   27 SuspensionAntiDive&lt;br /&gt;
   28 Flags&lt;br /&gt;
   29 LightsFront&lt;br /&gt;
   30 LightsRear&lt;br /&gt;
   31 SuperiorGrip&lt;br /&gt;
   32 FlyingMode&lt;br /&gt;
   33 DriveOnWater&lt;br /&gt;
&lt;br /&gt;
*Flying/boat/bike specific handling rules cannot be changed yet, but will likely be implemented as well.&lt;/div&gt;</summary>
		<author><name>Sseebbyy</name></author>
	</entry>
</feed>