package Vehicle
using RTDB, BaseStats, Driving

v_standard3_militech_hellhound : Vehicle_4w_Default
{
	entityTemplatePath = "ep1\vehicles\standard\v_standard3_militech_hellhound__basic_01.ent";
	visualTags = 
	[
		"Standard"
	];
	tags += 
	[
		"CanDriveOnVehicles"
	];
	manufacturer = "Vehicle.Militech";
	displayName = "LocKey#93986";
	vehicleUIData = "Vehicle.VehicleMilitechHellhoundUIData";
	headlightColor = 
	[
		255, 240, 200, 255
	];
	destroyedAppearance = "militech_hellhound__basic_burnt";
	enableDestruction = true;
	isArmoredVehicle = true;
	destruction = "Vehicle.VehicleDestructionParamsHellhound";
	fxWheelsDecals = "Vehicle.FxWheels_AllTerrain_M";
	player_audio_resource = "v_car_militech_hellhound";
	traffic_audio_resource = "v_car_militech_hellhound_traffic";
	vehDataPackage = 
	{
		vehSeatSet = "Vehicle.Vehicle2SeatSetDefault";
		driverCombat = "DriverCombatTypes.MountedWeapons";
		wheelBumperLengthScalor = 1.05f;
		wheelBumperWidthScalor = 1.1f;
		wheelBumperVertOffsetScalor = 0.45f;
		tireOnVehicleDamageImpulseScalor = 25.0f;
		windowsRollDown = false;
	} : VehicleDataPackageStandard3;
	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"
	];
	statModifierGroups += 
	[
		"VehicleStatPreset.VeryDurable"
	];
	vehWheelDimensionsSetup = 
	{
		frontPreset = 
		{
			tireRadius = 0.49f;
			rimRadius = 0.42f;
			tireWidth = 0.32f;
			wheelOffset = 0.07f;
		} : VehicleWheelDimensionsPreset;
		backPreset = 
		{
			tireRadius = 0.49f;
			rimRadius = 0.42f;
			tireWidth = 0.32f;
			wheelOffset = 0.07f;
		} : VehicleWheelDimensionsPreset;
	} : VehicleWheelDimensionsSetup;
	vehDriveModelData = 
	{
		chassis_mass = 3500.0f;
		total_mass = 3500.0f;
		center_of_mass_offset = ( 0.0f, 0.18f, 0.5f );
		momentOfInertia = ( 8300.0f, 1760.0f, 8675.0f );
		wheelTurnMaxAddPerSecond = 69.f;
		wheelTurnMaxSubPerSecond = 110.f;
		turnUpdateMaxSpeedTurnChangeMul = 0.91f;
		handbrakeBrakingTorque = 1550.0f;
		wheelSetup = 
		{
			frontPreset = 
			{
				frictionMulLateral = 0.96f;
				frictionMulLongitudinal = 0.95f;
				tireLateralSlipEffectsMul = 0.92f;
				swaybarStiffness = 33.0f;
				swaybarDisplacementLimit = 0.19f;
				springStiffness = 51.0f;
				springDamping = 4100.0f;
				springReboundDamping = 4200.0f;
				springBoundDampingLowRate = 3000.0f;
				springReboundDampingLowRate = 3100.0f;
				extremeCompressionEventScalor = 0.57f;
				visualSuspensionDroop = 0.13f;
				wheelsVerticalOffset = 0.03f;
				visualSuspensionCompressionLength = 0.08f;
			} : VehicleWheelPreset_SupronKurtz_Front;
			backPreset = 
			{
				frictionMulLateral = 0.95f;
				frictionMulLongitudinal = 0.95f;
				tireLateralSlipEffectsMul = 1.04f;
				tireLongitudinalSlipEffectsMul = 1.1f;
				swaybarStiffness = 17.0f;
				swaybarDisplacementLimit = 0.19f;
				springStiffness = 45.0f;
				springDamping = 3900.0f;
				springReboundDamping = 4000.0f;
				springBoundDampingLowRate = 2700.0f;
				springReboundDampingLowRate = 2800.0f;
				extremeCompressionEventScalor = 0.48f;
				visualSuspensionDroop = 0.12f;
				wheelsVerticalOffset = 0.03f;
				visualSuspensionCompressionLength = 0.08f;
			} : VehicleWheelPreset_SupronKurtz_Rear;
		} : VehicleWheelDrivingSetup_4_AWD;
		burnOut = 
		{
			maxDriveWheelSlipRatio = 22.0f;
			lateralForceMaxAcceleration = 0.37f;
			maxLateralAccelSlipRatioMultipler = 1.0f;
			maxLongFrictionSlipRatioMultipler = 0.55f;
			lateralForceMaxSpeed = 6.2f;
			minLongFrictionCoeff = 0.78f;
			maxBrakeForceModifier = 0.86f;
			burnOutGripBonus = 5.3f;
		} : VehicleBurnOut_Mackinaw_Nomad;
	} : VehicleDriveModelData_SupronKurtz;
	vehEngineData = 
	{
		engineMaxTorque = 480.0f;
	} : VehicleEngineData_4_Truck;
	vehAirControl = 
	{
		massReference = 1200.f;
		flippedOverRecoveryPID = 
		[
			-250.f, 0.f, 0.f
		];
	} : VehicleAirControl_TallTruck;
	crowdMemberSettings = "Crowds.SUV_DrivingPackage";
	tppCameraPresets = 
	[
		"Camera.VehicleTPP_4w_Truck_Preset_High_Close", "Camera.VehicleTPP_4w_Truck_Preset_High_Medium", "Camera.VehicleTPP_4w_Truck_Preset_High_Far", "Camera.VehicleTPP_4w_Truck_Preset_High_DriverCombatClose", "Camera.VehicleTPP_4w_Truck_Preset_High_DriverCombatMedium", "Camera.VehicleTPP_4w_Truck_Preset_High_DriverCombatFar", "Camera.VehicleTPP_4w_Truck_Preset_Low_Close", "Camera.VehicleTPP_4w_Truck_Preset_Low_Medium", "Camera.VehicleTPP_4w_Truck_Preset_Low_Far", "Camera.VehicleTPP_4w_Truck_Preset_Low_DriverCombatClose", "Camera.VehicleTPP_4w_Truck_Preset_Low_DriverCombatMedium", "Camera.VehicleTPP_4w_Truck_Preset_Low_DriverCombatFar"
	];
	vehDriver_FPPCameraParams = 
	{
		lookat_offset_vertical = 0.07f;
		enable_rear_view = true;
		rear_view_offset = ( 0.0000, -1.6471, 1.6562 );
	} : VehicleDriverFPPCameraParamsDefault;
	vehDriverCombat_FPPCameraParams = 
	{
		enable_rear_view = true;
		float lookat_yaw_left_offset = 0.15f;
		float lookat_yaw_left_up_offset = 0.0f;
		float lookat_yaw_right_offset = 0.25f;
		float lookat_yaw_right_up_offset = 0.0f;
		lookat_offset_vertical = 0.07f;
	} : VehicleDriverFPPCameraParamsDefault;
}

v_standard3_militech_hellhound_police : v_standard3_militech_hellhound
{
	entityTemplatePath = "base\vehicles\standard\v_standard3_militech_hellhound__basic_01.ent";
	destroyedAppearance = "militech_hellhound__basic_burnt_police";
	visualTags = 
	[
		"NCPD"
	];
	displayName = "LocKey#93987";
	affiliation = "Factions.NCPD";
	vehicleUIData = 
	{
		mass = 6235.0f;
		info = "LocKey#93988";
	} : VehicleMilitechHellhoundUIData;
	statModifierGroups += 
	[
		"VehicleStatPreset.Prevention"
	];
	vehDataPackage = 
	{
		useAuxiliary = true;
		vehSeatSet = "Vehicle.Vehicle2SeatSetDefault";
		driverCombat = "DriverCombatTypes.MountedWeapons";
	} : VehicleDataPackageStandard3;
	player_audio_resource = "v_car_militech_hellhound_police";
	traffic_audio_resource = "v_car_militech_hellhound_police_traffic";
}

VehicleDestructionParamsHellhound : VehicleDestructionParamsDefault_4w
{
	gridDimensions = ( 2.0f, 5.2f, 0.7f );
	gridLocalOffset = ( 0.0f, -0.1f, 0.85f );
	chargePortCenter = ( 0.477120399f, -0.430685043f, 1.55744624f );
	detachableParts = 
	[
		{
			name = "Trunk";
			gridCells = 
			[
				0, 1
			];
			threshold = 0.85;
			components = 
			[
				"trunk_a", "trunk_01_shadowmesh", "trunk_stickers_maxtac_01"
			];
		}, 
		{
			name = "Hood";
			gridCells = 
			[
				6, 7
			];
			threshold = 0.9;
			components = 
			[
				"hood_a", "hood_01_shadowmesh", "hood_stickers_maxtac_01"
			];
		}, 
		{
			name = "DoorBackLeftOutside";
			gridCells = 
			[
				2
			];
			threshold = 0.8;
			components = 
			[
				"door_bl_a", "door_bl_shadowmesh", "door_bl_stickers_maxtac_01", "door_bl_b", "crystaldome_bl_a", "crystaldome_bl_b"
			];
		}, 
		{
			name = "DoorBackRightOutside";
			gridCells = 
			[
				3
			];
			threshold = 0.8;
			components = 
			[
				"door_br_a", "door_br_shadowmesh", "door_br_stickers_maxtac_01", "door_br_b", "crystaldome_br_a", "crystaldome_br_b"
			];
		}, 
		{
			name = "DoorFrontLeftOutside";
			gridCells = 
			[
				2, 4
			];
			threshold = 0.8;
			components = 
			[
				"door_fl_a", "door_fl_shadowmesh", "door_fl_stickers_maxtac_01", "door_fl_b", "crystaldome_fl_a", "crystaldome_fl_b"
			];
		}, 
		{
			name = "DoorFrontRightOutside";
			gridCells = 
			[
				3, 5
			];
			threshold = 0.8;
			components = 
			[
				"door_fr_a", "door_fr_shadowmesh", "door_fr_stickers_maxtac_01", "door_fr_b", "crystaldome_fr_a", "crystaldome_fr_b"
			];
		}, 
		{
			name = "HatchDoor";
			gridCells = 
			[
				10
			];
			threshold = 0.8;
			components = 
			[
				"hatch_door_01", "hatch_door_01_shadowmesh"
			];
		}, 
		{
			name = "PoliceLightBL";
			gridCells = 
			[
				1
			];
			threshold = 0.2;
			components = 
			[
				"police_light_back_l"
			];
		}, 
		{
			name = "PoliceLightBR";
			gridCells = 
			[
				0
			];
			threshold = 0.2;
			components = 
			[
				"police_light_back_r"
			];
		}
	];
	lights = 
	[
		{
			component = "head_light_right_01";
			gridCells = 
			[
				7
			];
			threshold = 0.1f;
		}, 
		{
			component = "head_light_right_2";
			gridCells = 
			[
				7
			];
			threshold = 0.1f;
		}, 
		{
			component = "break_light_right_01";
			gridCells = 
			[
				1
			];
			threshold = 0.1f;
		}, 
		{
			component = "break_light_left_01";
			gridCells = 
			[
				0
			];
			threshold = 0.1f;
		}, 
		{
			component = "position_light_left_02";
			gridCells = 
			[
				0
			];
			threshold = 0.1f;
		}, 
		{
			component = "position_light_right_02";
			gridCells = 
			[
				1
			];
			threshold = 0.1f;
		}, 
		{
			component = "position_light_right_01";
			gridCells = 
			[
				7
			];
			threshold = 0.1f;
		}, 
		{
			component = "police_light_fr";
			gridCells = 
			[
				7
			];
			threshold = 0.1f;
		}, 
		{
			component = "police_light_fl";
			gridCells = 
			[
				6
			];
			threshold = 0.1f;
		}, 
		{
			component = "police_light_bl";
			gridCells = 
			[
				0
			];
			threshold = 0.1f;
		}, 
		{
			component = "police_light_br";
			gridCells = 
			[
				1
			];
			threshold = 0.1f;
		}, 
		{
			component = "police_lightbar_left_01";
			gridCells = 
			[
				2, 3
			];
			threshold = 0.1f;
		}, 
		{
			component = "police_lightbar_right_01";
			gridCells = 
			[
				3, 4
			];
			threshold = 0.1f;
		}
	];
	deformableParts = 
	[
		{
			component = "hood_a";
			zones = 
			[
				{
					shapes = 
					[
						0
					];
					gridCells = 
					[
						6, 7
					];
				}
			];
		}, 
		{
			component = "trunk_a";
			zones = 
			[
				{
					shapes = 
					[
						0, 1
					];
					gridCells = 
					[
						0, 1
					];
				}
			];
		}, 
		{
			component = "body_01";
			zones = 
			[
				{
					shapes = 
					[
						5
					];
					gridCells = 
					[
						6, 7
					];
				}, 
				{
					shapes = 
					[
						19, 20, 21, 22, 23, 24, 25
					];
					gridCells = 
					[
						0, 1
					];
				}
			];
		}
	];
}

VehicleMilitechHellhoundUIData : VehicleDefaultUIData
{
	productionYear = "2049-2077";
	driveLayout = "LocKey#45372";
	horsepower = 820.0f;
	mass = 6210.0f;
	info = "LocKey#94369";
}

