vehicleaihandlinginfo.meta

From GTAMods Wiki
Revision as of 22:37, 6 June 2017 by Pumaaa (talk | contribs)
Jump to navigation Jump to search

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