package Senses
using RTDB

VisionDummy100mStart : VisionFar
{
	position1 = ( 0.f, 0.f, 0.f );
	position2 = ( 0.f, 1.5f, 0.f );
	radius1 = 0.1f;
	radius2 = 0.1f;
	detectionMultiplier = 0.f;
}

VisionDummy100mEnd : VisionFar
{
	position1 = ( 0.f, 1.5f, 0.f );
	position2 = ( 0.f, 100.f, 0.f );
	radius1 = 0.1f;
	radius2 = 0.1f;
	detectionMultiplier = 0.f;
}

CerberusAbsoluteBack : Box
{
	min = ( -50.f, -50.f, -10.f );
	max = ( 50.f, 1.f, 10.f );
	detectionMultiplier = 100.f;
}

CerberusAbsoluteFront : AngleRange
{
	angle = 180.f;
	range = 20.f;
	halfHeight = 10.f;
	detectionMultiplier = 100.f;
}

VisionQ306Start : VisionFar
{
	position1 = ( 0.f, 0.f, 0.f );
	position2 = ( 0.f, 1.5f, 0.f );
	radius1 = 0.1f;
	radius2 = 1.8f;
}

VisionQ306End : VisionFar
{
	position1 = ( 0.f, 1.5f, 0.f );
	position2 = ( 0.f, 15.f, 0.f );
	radius1 = 1.8f;
	radius2 = 1.8f;
}

VisionWideQ306Start : VisionWide
{
	position1 = ( 0.f, 0.0f, 0.f );
	position2 = ( 0.f, 2.5f, 0.f );
	radius1 = 0.1f;
	radius2 = 1.0f;
}

VisionWideQ306End : VisionWide
{
	position1 = ( 0.f, 2.5f, 0.f );
	position2 = ( 0.f, 15.f, 0.f );
	radius1 = 1.8f;
	radius2 = 1.8f;
}

PeripheralQ306Close : Peripheral
{
	position = ( 0.0f, 0.0f, -0.5f );
	angle = 224.f;
	range = 2.5f;
	halfHeight = 0.8f;
}

PeripheralQ306Medium : Peripheral
{
	position = ( 0.0f, 0.0f, -2.0f );
	angle = 136.f;
	range = 15.f;
	halfHeight = 2.0f;
}

Q302_Drone_Octant_Relaxed : DroneDefault
{
	useZCorrection = true;
	detectionDropFactor = 2.f;
	detectionCoolDownTime = 3.f;
	detectionFactor = 0.9f;
	shapes += 
	[
		{
			position = ( 0.0f, 0.0f, 0.0f );
			angle = 120.f;
			range = 35.f;
			halfHeight = 10.f;
		} : AngleRange
	];
}

Q302_Drone_Octant_Alerted : DroneDefault
{
	useZCorrection = true;
	detectionDropFactor = 2.f;
	detectionCoolDownTime = 3.f;
	detectionFactor = 0.9f;
	shapes += 
	[
		{
			position = ( 0.0f, 0.0f, 0.0f );
			angle = 120.f;
			range = 35.f;
			halfHeight = 10.f;
		} : AngleRange
	];
}

Q302_Drone_Octant_Combat : DroneDefault
{
	useZCorrection = true;
	detectionDropFactor = 2.f;
	detectionCoolDownTime = 3.f;
	shapes += 
	[
		{
			position = ( 0.0f, 0.0f, 0.0f );
			angle = 120.f;
			range = 35.f;
			halfHeight = 10.f;
		} : AngleRange
	];
}

Q303_Tech_Floor_Relaxed : Default
{
	detectionFactor = 400.f;
	detectionDropFactor = 20.f;
	detectionCoolDownTime = 3.f;
	shapes = 
	[
		"Senses.VisionFar30mStart", "Senses.VisionFar30mEnd", "Senses.VisionWide30mStart", "Senses.VisionWide30mEnd", "Senses.VisionVeryWide30mStart", "Senses.VisionVeryWide30mEnd", "Senses.VisionVeryWideLower30mStart", "Senses.VisionVeryWideLower30mEnd", "Senses.PeripheralClose", "Senses.PeripheralMedium", "Senses.VisionDummy100mStart", "Senses.VisionDummy100mEnd"
	];
	curves = 
	[
		"Senses.DefaultDetectionCurve", "Senses.StealthDetectionCurve", "Senses.AttentionDetectionCurve"
	];
	materialCurves = 
	[
		"Senses.TransparentMaterialDetectionCurve", "Senses.SemiTransparentMaterialDetectionCurve"
	];
}

Q303_Tech_Floor_Alerted : Default
{
	detectionCoolDownTime = 0.f;
	useZCorrection = true;
	shapes = 
	[
		"Senses.VisionFar30mStart", "Senses.VisionFar30mEnd", "Senses.VisionWide30mStart", "Senses.VisionWide30mEnd", "Senses.VisionVeryWide30mStart", "Senses.VisionVeryWide30mEnd", "Senses.VisionVeryWideLower30mStart", "Senses.VisionVeryWideLower30mEnd", "Senses.PeripheralClose", "Senses.PeripheralMedium", "Senses.VisionDummy100mStart", "Senses.VisionDummy100mEnd"
	];
}

Q303_Tech_Floor_Combat : SniperCombat100m
{
	ignorePhysicsTest = true;
	detectionDropFactor = 0.f;
}

Q303_Cerberus_Alerted : AlertedSasquatch
{
}

Q303_Cerberus_Combat : AbsoluteInstant
{
	detectionDropFactor = 0.f;
}

Q303_Cerberus_Bridge_Chase : Default
{
	shapes = 
	[
		"Senses.CerberusAbsoluteBack", "Senses.CerberusAbsoluteFront"
	];
	ignorePhysicsTest = true;
}

Q303_Cerberus_Introduction_Chase : Default
{
	shapes += 
	[
		"Senses.CerberusAbsoluteBack"
	];
}

Q306_OA_MainHall_Relaxed : Default
{
	detectionFactor = 150.f;
	detectionDropFactor = 20.f;
	shapes = 
	[
		"Senses.VisionQ306Start", "Senses.VisionQ306End", "Senses.VisionWideQ306Start", "Senses.VisionWideQ306End", "Senses.PeripheralQ306Close", "Senses.PeripheralQ306Medium"
	];
	curves = 
	[
		"Senses.DefaultDetectionCurve", "Senses.StealthDetectionCurve", "Senses.AttentionDetectionCurve"
	];
}

