Changes

Jump to navigation Jump to search

Documentation/Engine/Units/accessory wheel data

444 bytes removed, 21:33, 24 February 2018
Added useful formulas for calculating the rolling radius/bb location
|(1.0, 1.0, 1.0)
|Sets the default color for the wheel accessory.
<!--
|-
|inner_width
|
|
-->
|-
|roll_resistance
|float
|5.5
|Tire rolling resistance in kg/t (EU Tyre Labelling Regulation 1222/2009)
|-
|wet_grip
|float
|1.0
|Tire wet grip performance (EU Tyre Labelling Regulation 1222/2009)
|-
|noise_volume
|float
|73.0
|Tire rolling noise in dB (EU Tyre Labelling Regulation 1222/2009)
|}
|Empty
|}
== Calculating Rolling Radius from RPM or RPK ==
To get a correct rolling radius for accurate performance, it is possible to use the Revolutions per Mile (RPM) or per Kilometer (RPK) figure published by the tire manufacturer. This is used to set the position of the ''bb'' locator in the wheel model.
===From RPM===
The rolling radius in meters is given by:
r<sub>rolling</sub> = 1609.34 &divide; ( RPM &times; 2 &times; &pi; )
===From RPK===
The rolling radius in meters is given by:
r<sub>rolling</sub> = 1000 &divide; ( RPK &times; 2 &times; &pi; )
== Related Classes ==
*[[Documentation/Engine/Units/accessory_rim_data|accessory_rim_data]]
 
{{UnitDef|def=<nowiki> "accessory_wheel_data":{
"superclass":"accessory_data",
"attrs":{
"name":{
"type": "string"
},
"short_name":{
"type": "string"
},
"icon":{
"type": "string"
},
"info":{
"type": "string_array"
},
"price":{
"type": "s64"
},
"unlock":{
"type": "uint"
},
"suitable_for":{
"type": "string_array"
},
"conflict_with":{
"type": "string_array"
},
"defaults":{
"type": "string_array"
},
"require":{
"type": "token_array"
},
"model":{
"type": "string"
},
"look":{
"type": "token"
},
"paintable":{
"type": "bool"
},
"default_color":{
"type": "float3"
},
"inner_width":{
"type": "float"
},
"inner_radius":{
"type": "float"
},
"roll_resistance":{
"type": "float"
},
"wet_grip":{
"type": "float"
},
"noise_volume":{
"type": "float"
}
}
},</nowiki>}}
309
edits

Navigation menu