package Vehicle
using RTDB, BaseStats, Driving, Camera

v_utility4_militech_behemoth : Vehicle_4w_Default
{
	entityTemplatePath = "base\vehicles\utility\v_utility4_militech_behemoth_basic_01.ent";
	randomPassengers = 
	[
		"Passengers.WorkerSpecialistDriverEntry", "Passengers.WorkerSpecialistPassengerFrontEntry"
	];
	displayName = "LocKey#22093";
	visualTags = 
	[
		"Militech"
	];
	manufacturer = "Vehicle.Militech";
	vehicleUIData = "Vehicle.VehicleMilitechBehemothUIData";
	destroyedAppearance = "militech_behemoth_basic_burnt_01";
	fxWheelsDecals = "Vehicle.FxWheels_AllTerrain_L";
	widgetStyleSheetPath = "base/gameplay/gui/widgets/vehicle/bratsk/bratsk_stylesheet_regular.inkstyle";
	player_audio_resource = "v_car_militech_atilla";
	traffic_audio_resource = "v_car_militech_atilla_traffic";
	vehDataPackage = 
	{
		driverCombat = "DriverCombatTypes.Standard";
	} : Vehicle.VehicleDataPackageUtility4;
	statModifierGroups += 
	[
		"VehicleStatPreset.Indestructible"
	];
	enableDestruction = true;
	unmountOffsetPosition = ( 2.5, 1.0, 2.5 );
	destruction = "Vehicle.VehicleDestructionParamsBehemoth";
	tags += 
	[
		"DisableChargePortDestruction"
	];
	vehWheelDimensionsSetup = 
	{
		frontPreset = 
		{
			tireRadius = 0.68f;
			rimRadius = 0.44f;
			tireWidth = 0.38f;
		} : VehicleWheelDimensionsPreset;
		backPreset = 
		{
			tireRadius = 0.68f;
			rimRadius = 0.44f;
			tireWidth = 0.38f;
		} : VehicleWheelDimensionsPreset;
	} : VehicleWheelDimensionsSetup;
	vehDriveModelData = 
	{
		total_mass = 9380.0f;
		chassis_mass = 9380.0f;
		center_of_mass_offset = ( 0.0f, 0.0f, 0.0f );
		wheelSetup = 
		{
			frontPreset = 
			{
				wheelsVerticalOffset = -0.02f;
			} : VehicleWheelPreset_Utility;
			backPreset = 
			{
				frictionMulLateral = 1.0f;
				wheelsVerticalOffset = -0.02f;
			} : VehicleWheelPreset_Utility;
		} : VehicleWheelDrivingSetup_4_AWD;
	} : VehicleDriveModelData_Utility_Big;
	vehEngineData = "Vehicle.VehicleEngineData_4_Utility_Big";
	tppCameraPresets = 
	[
		"Camera.VehicleTPP_v_utility4_militech_behemoth_Preset_High_Close", "Camera.VehicleTPP_v_utility4_militech_behemoth_Preset_High_Medium", "Camera.VehicleTPP_v_utility4_militech_behemoth_Preset_High_Far", "Camera.VehicleTPP_v_utility4_militech_behemoth_Preset_High_DriverCombatClose", "Camera.VehicleTPP_v_utility4_militech_behemoth_Preset_High_DriverCombatMedium", "Camera.VehicleTPP_v_utility4_militech_behemoth_Preset_High_DriverCombatFar"
	];
	vehDriver_FPPCameraParams = 
	{
		enable_rear_view = true;
		rear_view_offset = ( 0.0000, -4.1605, 0.5715 );
	} : VehicleDriverFPPCameraParamsDefault;
	vehDriverCombat_FPPCameraParams = 
	{
		lookat_yaw_left_offset = 0.75f;
		lookat_yaw_left_up_offset = 0.0f;
		lookat_yaw_right_offset = 0.2f;
		lookat_yaw_right_up_offset = 0.0f;
		lookat_offset_vertical = 0.05f;
		is_forward_offset = 1.0f;
		forward_offset_value = 0.0f;
	} : VehicleDriverCombatFPPCameraParamsDefault;
	vehPassR_FPPCameraParams = 
	{
		float lookat_pitch_forward_offset = 0.0f;
		float lookat_pitch_forward_down_ratio = 1.0f;
		float lookat_yaw_left_offset = 0.1f;
		float lookat_yaw_left_up_offset = 0.0f;
		float lookat_yaw_right_offset = 0.1f;
		float lookat_yaw_right_up_offset = 0.0f;
		float lookat_yaw_offset_active_angle = 30.0f;
		float is_paralax = 1.0f;
		float paralax_radius = 0.1f;
		float paralax_forward_offset = 0.1f;
		float lookat_offset_vertical = 0.0f;
		float is_forward_offset = 1.0f;
		float forward_offset_value = 0.0f;
		float upperbody_pitch_weight = 0.0f;
		float upperbody_yaw_weight = 0.0f;
		float is_pitch_off = 0.0f;
		float is_yaw_off = 1.0f;
	} : VehiclePassengerRFPPCameraParamsDefault;
	trafficSuspension = "Vehicle.TrafficSuspension_Utility";
	debugStatusString = "HandlingUntuned";
}

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

v_utility4_militech_behemoth_kangtao : v_utility4_militech_behemoth
{
	visualTags = 
	[
		"KangTao"
	];
}

v_utility4_militech_behemoth_border_patrol : v_utility4_militech_behemoth
{
	visualTags = 
	[
		"BorderPatrol"
	];
}

v_utility4_militech_behemoth_police : v_utility4_militech_behemoth
{
	entityTemplatePath = "ep1\vehicles\utility\v_utilty4_militech_behemoth_police_01.ent";
	vehDataPackage = 
	{
		driverCombat = "DriverCombatTypes.Disabled";
	} : Vehicle.VehicleDataPackageUtility4;
	appearanceName = "militech_behemoth_police_police_01";
	destroyedAppearance = "militech_behemoth_police_police_01_burnt";
}

v_utility4_militech_behemoth_netwatch : v_utility4_militech_behemoth
{
	entityTemplatePath = "ep1\vehicles\utility\v_utilty4_militech_behemoth_netwatch_01.ent";
	appearanceName = "militech_behemoth_police_netwatch_01";
	destroyedAppearance = "militech_behemoth_police_netwatch_01_burnt";
}

v_utility4_militech_behemoth_maxtac : v_utility4_militech_behemoth
{
	entityTemplatePath = "ep1\vehicles\utility\v_utilty4_militech_behemoth_netwatch_01.ent";
	statModifierGroups += 
	[
		"VehicleStatPreset.Prevention"
	];
	vehDataPackage = 
	{
		driverCombat = "DriverCombatTypes.Disabled";
	} : Vehicle.VehicleDataPackageUtility4;
	appearanceName = "militech_behemoth_police_maxtac_01";
	destroyedAppearance = "militech_behemoth_police_netwatch_01_burnt";
}

v_utility4_militech_behemoth_kurtz : v_utility4_militech_behemoth
{
	entityTemplatePath = "ep1\vehicles\utility\v_utilty4_militech_behemoth_basic_01.ent";
	vehDataPackage = 
	{
		driverCombat = "DriverCombatTypes.Disabled";
	} : Vehicle.VehicleDataPackageUtility4;
	appearanceName = "militech_behemoth_basic_kurtz_01";
	destroyedAppearance = "militech_behemoth_basic_kurtz_burnt_01";
}

VehicleDestructionParamsBehemoth : VehicleDestructionParamsDefault_4w
{
	gridDimensions = ( 2.6f, 7.5f, 1.0f );
	gridLocalOffset = ( 0.0f, 0.2f, 1.5f );
	chargePortCenter = ( -1.38179684f, 1.48755836f, 0.415858150f );
	velocityValueMaxDamage = 100.0f;
	glass = 
	[
		{
			component = "window_f";
			isWindshield = true;
			gridCells = 
			[
				6, 7, 14, 15
			];
			threshold = 0.15;
		}, 
		{
			component = "window_fl";
			gridCells = 
			[
				6, 14
			];
			threshold = 0.1;
		}, 
		{
			component = "window_fr";
			gridCells = 
			[
				37, 15
			];
			threshold = 0.1;
		}
	];
	detachableParts = 
	[
		{
			name = "MirrorLeft";
			gridCells = 
			[
				6, 14
			];
			threshold = 0.15;
			components = 
			[
				"v_utility4_militech_behemoth__ext0_mirror_fl_01", "mirror_fl_shadow"
			];
		}, 
		{
			name = "MirrorRight";
			gridCells = 
			[
				7, 15
			];
			threshold = 0.15;
			components = 
			[
				"v_utility4_militech_behemoth__ext0_mirror_fr_01", "mirror_fr_shadow"
			];
		}
	];
	wheels = 
	[
		{
			name = "FrontLeft";
			intact = "tire_01_fl_a";
			hitsToFlatten = 3;
		}, 
		{
			name = "FrontRight";
			intact = "tire_01_fr_a";
			hitsToFlatten = 3;
		}, 
		{
			name = "BackRight";
			intact = "tire_01_br_a";
			hitsToFlatten = 4;
		}, 
		{
			name = "BackLeft";
			intact = "tire_01_bl_a";
			hitsToFlatten = 4;
		}, 
		{
			name = "BackRight2";
			intact = "tire_01_fr_b";
			linkedTire = 2;
			hitsToFlatten = 4;
		}, 
		{
			name = "BackLeft2";
			intact = "tire_01_fl_b";
			linkedTire = 3;
			hitsToFlatten = 4;
		}
	];
	lights = 
	[
		{
			component = "reverse_light_01";
			gridCells = 
			[
				0, 1, 8, 9
			];
			threshold = 0.1f;
		}, 
		{
			component = "reverse_light_left_01";
			gridCells = 
			[
				0, 8
			];
			threshold = 0.1f;
		}, 
		{
			component = "break_light_left_01";
			gridCells = 
			[
				0, 8
			];
			threshold = 0.1f;
		}, 
		{
			component = "position_light_left_02";
			gridCells = 
			[
				0, 8
			];
			threshold = 0.1f;
		}, 
		{
			component = "break_light_right_01";
			gridCells = 
			[
				1, 9
			];
			threshold = 0.1f;
		}, 
		{
			component = "position_light_right_02";
			gridCells = 
			[
				1, 9
			];
			threshold = 0.1f;
		}, 
		{
			component = "police_lightbar_right_01";
			gridCells = 
			[
				5, 13
			];
			threshold = 0.1f;
		}, 
		{
			component = "police_lightbar_left_01";
			gridCells = 
			[
				4, 12
			];
			threshold = 0.1f;
		}, 
		{
			component = "head_light_left_01";
			gridCells = 
			[
				6, 14
			];
			threshold = 0.1f;
		}, 
		{
			component = "position_light_right_01";
			gridCells = 
			[
				7, 15
			];
			threshold = 0.1f;
		}, 
		{
			component = "position_light_left_01";
			gridCells = 
			[
				6, 14
			];
			threshold = 0.1f;
		}, 
		{
			component = "head_light_right_01";
			gridCells = 
			[
				6, 7, 14, 15
			];
			threshold = 0.1f;
		}
	];
}

VehicleMilitechBehemothUIData : VehicleDefaultUIData
{
	productionYear = "2067-2077";
	driveLayout = "LocKey#45372";
	horsepower = 515.0f;
	mass = 9300.0f;
	info = "LocKey#53577";
}

