package Vehicle
using RTDB, BaseStats, Driving

v_standard2_archer_quartz_nomad : Vehicle_4w_Default
{
	displayName = "LocKey#22079";
	vehicleUIData = "Vehicle.VehicleArcherQuartzNomadUIData";
	destroyedAppearance = "archer_quartz_nomad_burnt_01";
	headlightColor = 
	[
		255, 236, 188, 255
	];
	visualTags = 
	[
		"Aldecados"
	];
	manufacturer = "Vehicle.Archer";
	widgetStyleSheetPath = "base/gameplay/gui/widgets/vehicle/archer/archer_nomad.inkstyle";
	entityTemplatePath = "base\vehicles\standard\v_standard2_archer_quartz_nomad__01.ent";
	fxWheelsDecals = "Vehicle.FxWheels_Radial_L";
	player_audio_resource = "v_car_archer_quartz_nomad";
	traffic_audio_resource = "v_car_archer_quartz_nomad_traffic";
	statModifiers += 
	[
		{
			statType = "BaseStats.PowerLevel";
			modifierType = "Additive";
			value = 2;
		} : ConstantStatModifier
	];
	statModifierGroups += 
	[
		"VehicleStatPreset.Strong"
	];
	string hijackDifficulty = "EASY";
	string crackLockDifficulty = "EASY";
	vehDataPackage = 
	{
		useAuxiliary = true;
		vehSeatSet = "Vehicle.Vehicle2SeatSetDefault";
		driverCombat = "DriverCombatTypes.MountedWeapons";
	} : VehicleDataPackageDefault;
	enableDestruction = true;
	isArmoredVehicle = true;
	weapons = 
	[
		"Vehicle.Vehicle_Power_Weapon_Left_A", "Vehicle.Vehicle_Power_Weapon_Right_A", "Vehicle.Vehicle_Power_Weapon_Left_B", "Vehicle.Vehicle_Power_Weapon_Right_B", "Vehicle.Vehicle_Power_Weapon_Left_C", "Vehicle.Vehicle_Power_Weapon_Right_C", "Vehicle.Vehicle_Missile_Launcher_A", "Vehicle.Vehicle_Missile_Launcher_B", "Vehicle.Vehicle_Missile_Launcher_C"
	];
	destruction = 
	{
		gridDimensions = ( 1.7f, 3.9f, 0.3f );
		gridLocalOffset = ( 0.0f, 0.0f, 0.7f );
	} : VehicleDestructionParamsQuartzNomad;
	vehWheelDimensionsSetup = 
	{
		frontPreset = 
		{
			tireRadius = 0.34f;
			rimRadius = 0.26f;
			tireWidth = 0.3f;
			wheelOffset = 0.18f;
		} : VehicleWheelDimensionsPreset;
		backPreset = 
		{
			tireRadius = 0.35f;
			rimRadius = 0.26f;
			tireWidth = 0.37f;
			wheelOffset = 0.21f;
		} : VehicleWheelDimensionsPreset;
	} : VehicleWheelDimensionsSetup;
	vehDriveModelData = 
	{
		chassis_mass = 1300.0f;
		total_mass = 1300.0f;
		center_of_mass_offset = ( 0.0f, -0.1f, 0.16f );
		momentOfInertia = ( 1850.0f, 600.0f, 2010.0f );
		airResistanceFactor = 2.9f;
		wheelSetup = 
		{
			frontPreset = 
			{
				maxBrakingTorque = 540.0f;
				frictionMulLateral = 0.88f;
				frictionMulLongitudinal = 0.88f;
				tireLateralSlipEffectsMul = 0.7f;
				springStiffness = 14.0f;
				extremeCompressionEventScalor = 0.72f;
				visualSuspensionDroop = 0.14f;
				logicalSuspensionCompressionLength = 0.49f;
				wheelsVerticalOffset = 0.06f;
			} : VehicleWheelDrivingPreset_4_AWD_Rear;
			backPreset = 
			{
				maxBrakingTorque = 640.0f;
				frictionMulLateral = 0.91f;
				frictionMulLongitudinal = 0.88f;
				tireLateralSlipEffectsMul = 0.8f;
				swaybarStiffness = 18.0f;
				springStiffness = 17.0f;
				extremeCompressionEventScalor = 0.68f;
				visualSuspensionDroop = 0.13f;
				logicalSuspensionCompressionLength = 0.50f;
				wheelsVerticalOffset = 0.07f;
			} : VehicleWheelDrivingPreset_4_AWD_Front;
		} : VehicleWheelDrivingSetup_4_AWD;
		burnOut = 
		{
			burnOutGripBonus = 6.0f;
			gripBonusMaxLaunchSpeed = 7.0f;
			maxBrakeForceModifier = 0.9f;
		} : VehicleBurnOut_Nomad_AWD;
	} : VehicleDriveModelData_Regular_Nomad_AWD;
	vehEngineData = 
	{
		engineMaxTorque = 660.0f;
	} : VehicleEngineData_4_Sport;
	vehDriver_FPPCameraParams = 
	{
		lookat_offset_vertical = 0.03f;
		enable_rear_view = true;
		rear_view_offset = ( 0.0000, -1.2903, 0.9816 );
	} : VehicleDriverFPPCameraParamsDefault;
	vehDriverCombat_FPPCameraParams = 
	{
		lookat_offset_vertical = 0.03f;
		enable_rear_view = true;
		rear_view_offset = ( 0.0000, -1.2903, 0.9816 );
	} : VehicleDriverFPPCameraParamsDefault;
	tppCameraPresets = 
	[
		"Camera.VehicleTPP_4w_Archer_Quarz_High_Close", "Camera.VehicleTPP_4w_Archer_Quarz_High_Medium", "Camera.VehicleTPP_4w_Archer_Quarz_High_Far", "Camera.VehicleTPP_4w_Archer_Quarz_High_DriverCombatClose", "Camera.VehicleTPP_4w_Archer_Quarz_High_DriverCombatMedium", "Camera.VehicleTPP_4w_Archer_Quarz_High_DriverCombatFar", "Camera.VehicleTPP_4w_Archer_Quarz_Low_Close", "Camera.VehicleTPP_4w_Archer_Quarz_Low_Medium", "Camera.VehicleTPP_4w_Archer_Quarz_Low_Far", "Camera.VehicleTPP_4w_Archer_Quarz_Low_DriverCombatClose", "Camera.VehicleTPP_4w_Archer_Quarz_Low_DriverCombatMedium", "Camera.VehicleTPP_4w_Archer_Quarz_Low_DriverCombatFar"
	];
	trafficSuspension = "Vehicle.TrafficSuspension_Standard";
}

v_standard2_archer_quartz_nomad_quest : v_standard2_archer_quartz_nomad
{
	savable = true;
	tags += 
	[
		"Immortal", "IgnoreImpulses"
	];
	vehDefaultState = 
	{
		DisableAllInteractions = true;
	};
}

v_standard2_archer_quartz_nomad_wraith : v_standard2_archer_quartz_nomad
{
	displayName = "LocKey#22753";
	headlightColor = 
	[
		181, 126, 255, 255
	];
	visualTags = 
	[
		"Wraiths"
	];
}

VehicleDestructionParamsQuartzNomad : VehicleDestructionParamsDefault_4w
{
	gridDimensions = ( 1.7f, 3.9f, 0.3f );
	gridLocalOffset = ( 0.0f, 0.0f, 0.7f );
	chargePortCenter = ( -0.941431046f, 0.806182861f, 0.468422055f );
	pointDampers = 
	[
		{
			pointIndex = 0;
			dampValue = 0.70;
			pointFragility = 0.80;
		}, 
		{
			pointIndex = 1;
			dampValue = 0.70;
			pointFragility = 0.80;
		}, 
		{
			pointIndex = 2;
			dampValue = 0.70;
			pointFragility = 0.80;
		}, 
		{
			pointIndex = 3;
			dampValue = 0.70;
			pointFragility = 0.80;
		}, 
		{
			pointIndex = 5;
			dampValue = 0.70;
			pointFragility = 0.80;
		}, 
		{
			pointIndex = 6;
			dampValue = 0.70;
			pointFragility = 0.80;
		}, 
		{
			pointIndex = 8;
			dampValue = 0.70;
			pointFragility = 0.80;
		}, 
		{
			pointIndex = 9;
			dampValue = 0.70;
			pointFragility = 0.80;
		}, 
		{
			pointIndex = 10;
			dampValue = 0.50;
			pointFragility = 0.80;
		}, 
		{
			pointIndex = 11;
			dampValue = 0.50;
			pointFragility = 0.80;
		}, 
		{
			pointIndex = 12;
			dampValue = 0.50;
			pointFragility = 0.80;
		}, 
		{
			pointIndex = 13;
			dampValue = 0.50;
			pointFragility = 0.80;
		}, 
		{
			pointIndex = 14;
			dampValue = 0.50;
			pointFragility = 0.80;
		}
	];
	detachableParts = 
	[
		{
			name = "Trunk_a";
			gridCells = 
			[
				0, 1
			];
			threshold = 0.7;
			components = 
			[
				"trunk_a", "trunk_a_shadow", "trunk_a_sticker_01"
			];
		}, 
		{
			name = "Trunk_b";
			gridCells = 
			[
				0, 1
			];
			threshold = 0.4;
			components = 
			[
				"trunk_b", "trunk_b_shadow", "trunk_b_sticker_01"
			];
		}, 
		{
			name = "Hood";
			gridCells = 
			[
				6, 7
			];
			threshold = 0.8;
			components = 
			[
				"hood_a", "hood_a_shadow", "hood_sticker_01"
			];
		}, 
		{
			name = "BumperFront";
			gridCells = 
			[
				6, 7
			];
			threshold = 0.8;
			components = 
			[
				"bumper_f_01", "bumper_f_shadow"
			];
		}, 
		{
			name = "BumperBack";
			gridCells = 
			[
				0, 1
			];
			threshold = 0.8;
			components = 
			[
				"bumper_b_01", "bumper_b_shadow"
			];
		}, 
		{
			name = "DoorFrontLeft";
			gridCells = 
			[
				4
			];
			threshold = 0.65;
			components = 
			[
				"door_fl_a", "door_fl_shadow2067", "door_fl_sticker_01", "window_fl", "window_fl_sticker_01", "crystaldome_fl_f_a", "crystaldome_fl_f_b", "crystaldome_fl_b_a", "crystaldome_fl_b_b"
			];
		}, 
		{
			name = "DoorFrontRight";
			gridCells = 
			[
				5
			];
			threshold = 0.65;
			components = 
			[
				"door_fr_a", "door_fr_shadow", "door_fr_sticker_01", "window_fr_01", "window_fr_sticker_01", "sensor_medium_01", "sensor_medium_01_shadow", "crystaldome_fr_f_a", "crystaldome_fr_f_b", "crystaldome_fr_b_a", "crystaldome_fr_b_b"
			];
		}, 
		{
			name = "sensor_medium_01";
			gridCells = 
			[
				5
			];
			threshold = 0.2;
			components = 
			[
				"sensor_medium_01"
			];
		}, 
		{
			name = "sensor_medium_03";
			gridCells = 
			[
				6, 7
			];
			threshold = 0.2;
			components = 
			[
				"sensor_medium_03"
			];
		}, 
		{
			name = "sensor_medium_02";
			gridCells = 
			[
				6
			];
			threshold = 0.2;
			components = 
			[
				"sensor_medium_02", "sensor_medium_02_shadow"
			];
		}, 
		{
			name = "detector_medium_01";
			gridCells = 
			[
				6, 7
			];
			threshold = 0.2;
			components = 
			[
				"detector_medium_01"
			];
		}, 
		{
			name = "detector_medium_02";
			gridCells = 
			[
				6, 7
			];
			threshold = 0.2;
			components = 
			[
				"detector_medium_02"
			];
		}, 
		{
			name = "detector_medium_03";
			gridCells = 
			[
				6, 7
			];
			threshold = 0.2;
			components = 
			[
				"detector_medium_03"
			];
		}, 
		{
			name = "detector_medium_04";
			gridCells = 
			[
				6, 7
			];
			threshold = 0.2;
			components = 
			[
				"detector_medium_04"
			];
		}
	];
	wheels = 
	[
		{
			name = "FrontLeft";
			intact = "tire_01_fl_a";
			hitsToFlatten = 2;
		}, 
		{
			name = "FrontRight";
			intact = "tire_01_fr_a";
			hitsToFlatten = 2;
		}, 
		{
			name = "BackRight";
			intact = "tire_01_br_a";
			hitsToFlatten = 2;
		}, 
		{
			name = "BackLeft";
			intact = "tire_01_bl_a";
			hitsToFlatten = 2;
		}
	];
	lights = 
	[
		{
			component = "head_light_left_01";
			gridCells = 
			[
				6
			];
			threshold = 0.1f;
		}, 
		{
			component = "head_light_left_02";
			gridCells = 
			[
				6
			];
			threshold = 0.1f;
		}, 
		{
			component = "head_light_left_03";
			gridCells = 
			[
				4, 6
			];
			threshold = 0.15f;
		}, 
		{
			component = "head_light_right_01";
			gridCells = 
			[
				7
			];
			threshold = 0.1f;
		}, 
		{
			component = "head_light_right_02";
			gridCells = 
			[
				7
			];
			threshold = 0.1f;
		}, 
		{
			component = "head_light_right_03";
			gridCells = 
			[
				7
			];
			threshold = 0.1f;
		}, 
		{
			component = "head_light_right_04";
			gridCells = 
			[
				5, 7
			];
			threshold = 0.15f;
		}, 
		{
			component = "break_left_light_01";
			gridCells = 
			[
				0
			];
			threshold = 0.1f;
		}, 
		{
			component = "break_light_01";
			gridCells = 
			[
				0, 1
			];
			threshold = 0.2f;
		}
	];
	deformableParts = 
	[
		{
			component = "hood_a";
			zones = 
			[
				{
					shapes = 
					[
						0, 1
					];
					gridCells = 
					[
						6, 7
					];
				}
			];
		}, 
		{
			component = "trunk_a";
			zones = 
			[
				{
					shapes = 
					[
						0, 1, 2, 3
					];
					gridCells = 
					[
						0, 1
					];
				}
			];
		}, 
		{
			component = "bumper_b_01";
			zones = 
			[
				{
					shapes = 
					[
						0, 1, 2, 3, 4, 5
					];
					gridCells = 
					[
						0, 1, 8, 9
					];
				}
			];
		}, 
		{
			component = "bumper_f_01";
			zones = 
			[
				{
					shapes = 
					[
						0, 1, 2, 3, 4
					];
					gridCells = 
					[
						6, 7, 14, 15
					];
				}
			];
		}, 
		{
			component = "body_01";
			zones = 
			[
				{
					shapes = 
					[
						7, 8
					];
					gridCells = 
					[
						6, 7
					];
				}, 
				{
					shapes = 
					[
						0, 2, 5
					];
					gridCells = 
					[
						0, 1
					];
				}
			];
		}
	];
}

VehicleArcherQuartzNomadUIData : VehicleDefaultUIData
{
	productionYear = "2041-2077";
	driveLayout = "LocKey#45372";
	horsepower = 520.0f;
	mass = 1377.0f;
	info = "LocKey#53545";
}

