
//manual activation
STATIC
{
	mesh = lightBeacon1.mu
	module = Part
	static = true
	manufacturer = Kerbal Flight Safety Organization
	name = OKC_lightBeacon1MANU
	author = OrdinaryKerman
	title = FSO-BKN1C 'Mouse-Click'
	category = OKC Misc
	description = A manually-activated omnidirectional beacon light. Three color variants.
	keepConvex = False
	isSquad = False
	isHidden = False
	DefaultFacilityType = None

	MODULE
	{
		namespace = KerbalKonstructs
		name = AnimateOnClick

		animationName = lightBeacon_On
		collider = extLights

		// Optional
		HighlightOnHover = True// should the object lightened up when the mouse goes over it
		animationSpeed = 1 // Animation speed 
	}

	MODULE
	{
		name = AdvancedTextures
		namespace = KerbalKonstructs
		transforms = extLights
		newShader = KSP/Scenery/Emissive/Bumped Specular
		_MainTex = BUILTIN:/ksp_runway_lights_diff
		_Emissive = BUILTIN:/ksp_runway_lights_em
		_BumpMap = BUILTIN:/ksp_runway_lights_normal
	}

	MODULE
	{
		name = AdvancedTextures
		namespace = KerbalKonstructs
		transforms = flare1
		newShader = Unlit/Transparent
	}

//Variants
	// first one is the default 
	VARIANT 
	{
		name = White
		deactivateTransforms = flareGreen,flareRed
	}
	VARIANT 
	{
		name = Red
		deactivateTransforms = flareGreen,flareWhite
	}
	VARIANT 
	{
		name = Green
		deactivateTransforms = flareWhite,flareRed
	}
}

//proximity 50m
STATIC
{
	mesh = lightBeacon1.mu
	module = Part
	static = true
	manufacturer = Kerbal Flight Safety Organization
	name = OKC_lightBeacon1PROX50
	author = OrdinaryKerman
	title = FSO-BKN1D1 'Detector'
	category = OKC Misc
	description = A proximity-activated omnidirectional beacon light. 50m activation radius. Three color variants.
	keepConvex = False
	isSquad = False
	isHidden = False
	DefaultFacilityType = None

	MODULE
	{
		namespace = KerbalKonstructs
		name = AnimateOnTrigger

		ColliderNames = trig_beacon_50

		AnimOnStay = lightBeacon_On
	}

	MODULE
	{
		name = AdvancedTextures
		namespace = KerbalKonstructs
		transforms = extLights
		newShader = KSP/Scenery/Emissive/Bumped Specular
		_MainTex = BUILTIN:/ksp_runway_lights_diff
		_Emissive = BUILTIN:/ksp_runway_lights_em
		_BumpMap = BUILTIN:/ksp_runway_lights_normal
	}

	MODULE
	{
		name = AdvancedTextures
		namespace = KerbalKonstructs
		transforms = flare1
		newShader = Unlit/Transparent
	}

//Variants
	// first one is the default 
	VARIANT 
	{
		name = White
		deactivateTransforms = flareGreen,flareRed
	}
	VARIANT 
	{
		name = Red
		deactivateTransforms = flareGreen,flareWhite
	}
	VARIANT 
	{
		name = Green
		deactivateTransforms = flareWhite,flareRed
	}
}