https://modding.scssoft.com/index.php?title=Documentation/Engine/Units/vehicle_wheel_accessory&feed=atom&action=historyDocumentation/Engine/Units/vehicle wheel accessory - Revision history2024-03-28T09:42:12ZRevision history for this page on the wikiMediaWiki 1.32.1https://modding.scssoft.com/index.php?title=Documentation/Engine/Units/vehicle_wheel_accessory&diff=3322&oldid=prevSmarty: WIP2017-06-23T02:25:15Z<p>WIP</p>
<p><b>New page</b></p><div>{{Note|WIP &mdash; [[User:Smarty|Smarty]] ([[User talk:Smarty|talk]]) 04:25, 23 June 2017 (CEST)}}<br />
<br />
The '''vehicle_wheel_accessory''' unit class is used to 'attach' wheel/rim accessories and their data to vehicle and trailer configurations. Units of this type are typically nameless and declared within the same context as the configuration that owns/uses them.<br />
<br />
== Attributes ==<br />
{|class="wikitable"<br />
!Name<br />
![[Documentation/Engine/Units#Attribute_types|Type]]<br />
!Default Value<br />
!Description<br />
|-<br />
|wear<br />
|float<br />
|0.0<br />
|This attribute is used to track damage and wear to the accessory. 0 corresponds to an unworn state and 1 corresponds to a completely worn state.<br />
|-<br />
|'''data_path'''<br />
|string<br />
|<br />
|Full path to the SII file containing a suitable accessory data unit.<br />
|-<br />
|offset<br />
|uint<br />
|0<br />
|The axle index to which this accessory applies. "Front" (steering) axles are enumerated from the front of the vehicle to its rear and "rear" axles are enumerated from the rear of the vehicle to its front. Front and rear axles are enumerated independently.<br />
|-<br />
|paint_color<br />
|float3<br />
|'''default_color''' from data unit<br />
|The color to be used for .paint materials on the accessory model.<br />
|}<br />
<br />
== Suitable Accessory Data Types ==<br />
These accessory data types can be used by '''vehicle_wheel_accessory''':<br />
*[[Documentation/Engine/Units/accessory_rim_data|accessory_rim_data]]<br />
*[[Documentation/Engine/Units/accessory_wheel_data|accessory_wheel_data]]<br />
<br />
== Related Units ==<br />
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2"><br />
*[[Documentation/Engine/Units/traffic_trailer|traffic_trailer]]<br />
*[[Documentation/Engine/Units/traffic_vehicle|traffic_vehicle]]<br />
*[[Documentation/Engine/Units/trailer|trailer]]<br />
*[[Documentation/Engine/Units/vehicle|vehicle]]<br />
*[[Documentation/Engine/Units/vehicle_accessory|vehicle_accessory]]<br />
*[[Documentation/Engine/Units/vehicle_addon_accessory|vehicle_addon_accessory]]<br />
*[[Documentation/Engine/Units/vehicle_paint_job_accessory|vehicle_paint_job_accessory]]<br />
*[[Documentation/Engine/Units/vehicle_sound_accessory|vehicle_sound_accessory]]<br />
</div></div>Smarty