Template:Handling Properties: Difference between revisions
Jump to navigation
Jump to search
(Updated animGroup) |
No edit summary |
||
Line 180: | Line 180: | ||
| style="background:#efefef;"|N/A | | style="background:#efefef;"|N/A | ||
| style="background:#efefef;"|N/A | | style="background:#efefef;"|N/A | ||
| style="background:#efefef;"|Property uses a decimal value, generated by a hexadecimal value. Either use 0x12345678 or tonumber ( "0x12345678" ). See projectcerbera for possible values. | | style="background:#efefef;"|Property uses a decimal value, generated by a hexadecimal value. Either use 0x12345678 or tonumber ( "0x12345678" ). See [http://projectcerbera.com/gta/sa/tutorials/handling projectcerbera] for possible values. | ||
|- | |- | ||
| scope="row" style="background:#cfcfcf;"|'''handlingFlags''' | | scope="row" style="background:#cfcfcf;"|'''handlingFlags''' | ||
Line 186: | Line 186: | ||
| style="background:#efefef;"|N/A | | style="background:#efefef;"|N/A | ||
| style="background:#efefef;"|N/A | | style="background:#efefef;"|N/A | ||
| style="background:#efefef;"|Property uses a decimal value, generated by a hexadecimal value. Either use 0x12345678 or tonumber ( "0x12345678" ). See projectcerbera for possible values. | | style="background:#efefef;"|Property uses a decimal value, generated by a hexadecimal value. Either use 0x12345678 or tonumber ( "0x12345678" ). See [http://projectcerbera.com/gta/sa/tutorials/handling projectcerbera] for possible values. | ||
|- | |- | ||
| scope="row" style="background:#cfcfcf;"|'''headLight''' | | scope="row" style="background:#cfcfcf;"|'''headLight''' | ||
Line 201: | Line 201: | ||
|- | |- | ||
| scope="row" style="background:#cfcfcf;"|'''animGroup''' | | scope="row" style="background:#cfcfcf;"|'''animGroup''' | ||
| style="background:#efefef;"|Integer | | style="background:#efefef;"|Integer | ||
| style="background:#efefef;"|?? | | style="background:#efefef;"|?? | ||
| style="background:#efefef;"|?? | | style="background:#efefef;"|?? | ||
| style="background:#efefef;"|Get works, set is disabled due to people not knowing this property was vehicle-based and caused crashes. | | style="background:#efefef;"|Get works, set is disabled due to people not knowing this property was vehicle-based and caused crashes. | ||
|} | |} |
Revision as of 15:32, 24 October 2011
http://projectcerbera.com/gta/sa/tutorials/handling
Property | Value | Minimum value | Maximum value | Notes |
---|---|---|---|---|
mass | Float | 1.0 | 100000.0 | |
turnMass | Float | 0.0 | 1000000.0 | |
dragCoeff | Float | -200.0 | 200.0 | |
centerOfMass | Table = { [1]=posX, [2]=posY, [3]=posZ } (floats) | -10.0 | 10.0 | Get returns a table, set needs a table. |
percentSubmerged | Integer | 1 | 99999 | |
tractionMultiplier | Float | -100000.0 | 100000.0 | |
tractionLoss | Float | 0.0 | 100.0 | |
tractionBias | Float | 0.0 | 1.0 | |
numberOfGears | Integer | 1 | 5 | |
maxVelocity | Float | 0.1 | 200000.0 | |
engineAcceleration | Float | 0.0 | 100000.0 | |
engineInertia | Float | -1000.0 | 1000.0 | Inertia of 0 can cause a LSOD. (Unable to divide by zero) |
driveType | String | N/A | N/A | Use 'rwd', 'fwd' or 'awd'. |
engineType | String | N/A | N/A | Use 'petrol', 'diesel' or 'electric'. |
brakeDeceleration | Float | 0.1 | 100000.0 | |
brakeBias | Float | 0.0 | 1.0 | |
ABS | Boolean | true | false | Has no effect. |
steeringLock | Float | 0.0 | 360.0 | |
suspensionForceLevel | Float | 0.0 | 100.0 | |
suspensionDamping | Float | 0.0 | 100.0 | |
suspensionHighSpeedDamping | Float | 0.0 | 600.0 | |
suspensionUpperLimit | Float | -50.0 | 50.0 | Can't be equal to suspensionLowerLimit. |
suspensionLowerLimit | Float | -50.0 | 50.0 | Can't be equal to suspensionUpperLimit. |
suspensionFrontRearBias | Float | 0.0 | 1.0 | Hardcoded maximum is 3.0, but values above 1.0 have no effect. |
suspensionAntiDiveMultiplier | Float | 0.0 | 30.0 | |
seatOffsetDistance | Float | -20.0 | 20.0 | |
collisionDamageMultiplier | Float | 0.0 | 10.0 | |
monetary | Integer | 0 | 230195200 | Get works, set is disabled. |
modelFlags | Hexadecimal/Decimal | N/A | N/A | Property uses a decimal value, generated by a hexadecimal value. Either use 0x12345678 or tonumber ( "0x12345678" ). See projectcerbera for possible values. |
handlingFlags | Hexadecimal/Decimal | N/A | N/A | Property uses a decimal value, generated by a hexadecimal value. Either use 0x12345678 or tonumber ( "0x12345678" ). See projectcerbera for possible values. |
headLight | Integer | N/A | N/A | Get works, set is disabled. |
tailLight | Integer | N/A | N/A | Get works, set is disabled. |
animGroup | Integer | ?? | ?? | Get works, set is disabled due to people not knowing this property was vehicle-based and caused crashes. |