package SmartGun
using RTDB

SmartGunTargetSortData_Hip : SmartGunTargetSortData
{
	float angleProximityThresholdSq = 2.f;
	float angleProximityBonusSq = 100.f;
	float angleDistUnitSq = 16.f;
	float angleDistUnitWeightSq = 8100.f;
	float worldProximityThresholdSq = 0.f;
	float worldProximityBonusSq = 0.f;
	float worldDistUnitSq = 2.25f;
	float worldDistUnitWeightSq = 225.f;
	float previouslyLockedBonusSq = 1.f;
}

SmartGunTargetSortData_Ads : SmartGunTargetSortData
{
	float angleProximityThresholdSq = 2.f;
	float angleProximityBonusSq = 10000.f;
	float angleDistUnitSq = 16.f;
	float angleDistUnitWeightSq = 1225.f;
	float worldProximityThresholdSq = 0.f;
	float worldProximityBonusSq = 0.f;
	float worldDistUnitSq = 4.f;
	float worldDistUnitWeightSq = 25.f;
	float previouslyLockedBonusSq = 1.f;
}

SmartGunTargetSortConfigurations_Default : SmartGunTargetSortConfigurations
{
	hipConfig = "SmartGun.SmartGunTargetSortData_Hip";
	adsConfig = "SmartGun.SmartGunTargetSortData_Ads";
}

SmartGunMissParams_Default : SmartGunMissParams
{
	float minMissAngleYaw = -25.f;
	float maxMissAngleYaw = 25.f;
	float areaToIgnoreHalfYaw = 10.f;
	float minMissAnglePitch = 0.f;
	float maxMissAnglePitch = 15.f;
	float spiralRampUpDistanceStart = 0.4f;
	float spiralRampUpDistanceEnd = 1.5f;
	float spiralRadius = 0.3f;
	float spiralCycleTimeMin = 0.4f;
	float spiralCycleTimeMax = 0.8f;
	float spiralRampDownDistanceStart = 0.0f;
	float spiralRampDownDistanceEnd = 0.0f;
	float spiralRampDownFactor = 0.0f;
	bool spiralRandomizePhase = true;
	float gravity = -5.f;
}

SmartGunUIParams
{
	CName[] smartAudioEvents = 
	[
		"w_gun_ui_smart_lock_start", "w_gun_ui_smart_lock_middle", "w_gun_ui_smart_lock_end"
	];
	float[] smartAudioEventsDelays = 
	[
		0f, 0.29f, 0.6f
	];
}

