Documentation / @sw-file-lib/xml / VehicleSchemas / ComponentOImmutable
Interface: ComponentOImmutable
interface ComponentOImmutable {
readonly r?: string;
readonly bc?: string;
readonly bc2?: string;
readonly bc3?: string;
readonly ac?: string;
readonly sc?: string;
readonly scale?: number;
readonly spawn_rod?: boolean;
readonly spring_factor?: number;
readonly ai_type?: number;
readonly blade_count?: number;
readonly blade_pitch?: number;
readonly blade_length?: number;
readonly coal_fill?: number;
readonly current_tick?: number;
readonly custom_name?: string;
readonly control_mode_0?: number;
readonly decimal_point_pos?: number;
readonly audio_data?: string;
readonly flare_type?: number;
readonly flare_color?: number;
readonly fluid_type?: number;
readonly fuel_factor?: number;
readonly gc?: string;
readonly gca?: string;
readonly gear_ratio_1?: number;
readonly gear_ratio_2?: number;
readonly grip_factor?: number;
readonly hold_duration?: number;
readonly default_state?: boolean;
readonly input_ch_1?: number;
readonly input_ch_2?: number;
readonly input_ch_3?: number;
readonly interactive_default_state?: boolean;
readonly fluid_filter?: number;
readonly fluid_fill?: number;
readonly m_fov_x?: number;
readonly m_fov_y?: number;
readonly m_pitch_angle?: number;
readonly m_sweep_mode?: number;
readonly max_force_scalar?: number;
readonly max_force_scale?: number;
readonly muzzle_velocity?: number;
readonly gear_ratio?: number;
readonly input_velocity?: number;
readonly ordinance_type?: number;
readonly property_ammo_damage?: number;
readonly property_ammo_type?: number;
readonly rps_limit?: number;
readonly sensitivity?: number;
readonly spawn_charge?: number;
readonly stiffness_factor?: number;
readonly damping_factor?: number;
readonly throttle_min?: number;
readonly throttle_max?: number;
readonly timer_scalar_1?: number;
readonly timer_scalar_2?: number;
readonly tire_type?: number;
readonly trigger?: number;
readonly trigger_label?: string;
readonly func_type?: number;
readonly hotkey_0?: number;
readonly hotkey_0_label?: string;
readonly hotkey_1?: number;
readonly hotkey_1_label?: string;
readonly hotkey_2?: number;
readonly hotkey_2_label?: string;
readonly hotkey_3?: number;
readonly hotkey_3_label?: string;
readonly hotkey_4?: number;
readonly hotkey_4_label?: string;
readonly hotkey_5?: number;
readonly hotkey_5_label?: string;
readonly control_mode_0_label?: string;
readonly control_mode_1?: number;
readonly control_mode_1_label?: string;
readonly control_mode_2?: number;
readonly control_mode_2_label?: string;
readonly control_mode_3?: number;
readonly control_mode_3_label?: string;
readonly is_infrared?: boolean;
readonly lss_mode?: number;
readonly property_text?: string;
readonly radar_fov?: number;
readonly sensor_radius?: number;
readonly sensor_type?: number;
readonly sensor_mode?: number;
readonly val_1_name?: string;
readonly val_2_name?: string;
readonly volume?: number;
readonly pitch?: number;
readonly wheel_size?: number;
readonly double_wheel?: boolean;
readonly tyre_pressure?: number;
readonly microprocessor_definition?: MicroprocessorDefinitionImmutable;
readonly vp?: XmlVec3Immutable;
readonly logic_slots?: readonly LogicSlotImmutable[];
readonly delta_damping?: XmlVec3Immutable;
readonly display_1?: DisplayImmutable;
readonly display_2?: DisplayImmutable;
readonly display_3?: DisplayImmutable;
readonly display_4?: DisplayImmutable;
readonly impact_sensor_threshold?: TextValuePairImmutable;
readonly m_sweep_limit?: TextValuePairImmutable;
readonly m_sweep_speed?: TextValuePairImmutable;
readonly min_value?: TextValuePairImmutable;
readonly max_value?: TextValuePairImmutable;
readonly property_output_float_val?: TextValuePairImmutable;
readonly min_threshold?: TextValuePairImmutable;
readonly max_threshold?: TextValuePairImmutable;
readonly pid_controller_ki?: TextValuePairImmutable;
readonly pid_controller_kp?: TextValuePairImmutable;
readonly pid_controller_kd?: TextValuePairImmutable;
readonly pid_controller_max_error?: TextValuePairImmutable;
readonly exp?: TextValuePairImmutable;
readonly min_lever_value?: TextValuePairImmutable;
readonly max_lever_value?: TextValuePairImmutable;
readonly starting_lever_value?: TextValuePairImmutable;
readonly trim_x_display?: TextValuePairImmutable;
readonly trim_y_display?: TextValuePairImmutable;
readonly trim_z_display?: TextValuePairImmutable;
readonly trim_w_display?: TextValuePairImmutable;
readonly axis_sensitivity?: AxisSensitivityImmutable;
}Defined in: packages/xml/src/schemas/generated/vehicle-immutable.ts:492
Represents <o> element in Stormworks vehicle data.
XML location: <vehicle> / <bodies> / <body> / <components> / <c> / <o>
Parent: ComponentImmutable
This is the recommended type for function parameters when it does not need to modify the value. Use ComponentO instead if mutation is required.
See
Properties
| Property | Modifier | Type |
|---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
| ||
| ||
| readonly | |
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
|