Difference between revisions of "Vehicleaihandlinginfo.meta"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{lowercase}} {{file-stub}} {{TocRight}} '''vehicleaihandlinginfo.meta''' file in GTA V, controls the behaviour of ped drivers. This file is found found in '''..\common\data\a...")
 
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
  
 
By default, adding AI handling entries(CAIHandlingInfo) or curve points(CAICurvePoint) will crash the game sooner or later.
 
By default, adding AI handling entries(CAIHandlingInfo) or curve points(CAICurvePoint) will crash the game sooner or later.
To get around this problem one must add the pool sizes to the gameconfig.xml located in the '''..\common\data\''' folder.
+
To get around this problem one must add the pool sizes to the [[gameconfig.xml]] located in the '''..\common\data\''' folder.
  
 
CAIHandlingInfo: Default poolsize is 4, +1 for a new entry ( f.ex. dedicated Bike handling ).
 
CAIHandlingInfo: Default poolsize is 4, +1 for a new entry ( f.ex. dedicated Bike handling ).
Line 59: Line 59:
 
Speed at which the vehicle should move at the given angle.
 
Speed at which the vehicle should move at the given angle.
 
:'''Value:''' (float) 0.01 - 180.0
 
:'''Value:''' (float) 0.01 - 180.0
 +
 +
{{N|5}}

Latest revision as of 00:07, 7 June 2017

vehicleaihandlinginfo.meta file in GTA V, controls the behaviour of ped drivers. This file is found found in ..\common\data\ai\ and can be edited with any text editor.

General information for editing

By default, adding AI handling entries(CAIHandlingInfo) or curve points(CAICurvePoint) will crash the game sooner or later. To get around this problem one must add the pool sizes to the gameconfig.xml located in the ..\common\data\ folder.

CAIHandlingInfo: Default poolsize is 4, +1 for a new entry ( f.ex. dedicated Bike handling ). CAICurvePoint: Total of CAICurvePoints.


<Item>

<PoolName>CAIHandlingInfo</PoolName>
<PoolSize value="5"/>

</Item> <Item>

<PoolName>CAICurvePoint</PoolName>
<PoolSize value="44"/>

</Item>


Parameters

Name

This is used by the handling.meta file to identify the ai driving behaviour of the vehicle.

Value: Any text string.

MinBrakeDistance

Value: (float) 0.0 - 100.0 and above

MaxBrakeDistance

Value: (float) 0.0 - 100.0 and above


MaxSpeedAtBrakeDistance

Value: (float) 0.0 - 100.0 and above

AbsoluteMinSpeed

Value: (float) 0.01 - 100.0 and above


AICurvePoints Parameters

Angle

Minimum angle at which this definition is used by the game.

Value: (float) 0.01 - 180.0


Speed

Speed at which the vehicle should move at the given angle.

Value: (float) 0.01 - 180.0