PROP
{
	name = ASET_CRT_Display
	
// Monitor settup ========================================================================
	
	MODULE
	{
		name = RasterPropMonitor
		screenTransform = ASET_CRT_Screen_Obj // Name of transform for the screen surface.
		fontTransform = ASET/ASET_Props/MFDs/Fonts/mainfont       // Name of transform containing the font texture OR a full texture URL, either should work.
		textureLayerID = _Emissive            // Name of texture layer to work with on the screen surface.
		screenWidth = 24                      // Screen width in letters.
		screenHeight = 18                      // Screen height in lines.
		screenPixelWidth = 384               // Width of the generated screen texture in pixels.
		screenPixelHeight = 576             // Height of the generated screen texture in pixels.
		fontLetterWidth = 16                  // Width of a font character.
		fontLetterHeight = 32                 // Height of a font character.
		defaultFontTint = 30,255,30,255
		cameraAspect = 1.333333
		fontDefinition = ASET/ASET_Props/MFDs/Fonts/fontDefinition.txt
		
		refreshDrawRate = 2
		refreshTextRate = 4 //2
		refreshDataRate = 4 //2
		emptyColor = 0,0,0,255
		doScreenshots = true
		needsElectricCharge = true
		
		buttonClickSound = Squad/Sounds/sound_click_tick
		buttonClickVolume = 0.6
		globalButtons = ASET_CRT_Button_MODE_TGGL_ColliderObj,ASET_CRT_Button_PREV_ColliderObj,ASET_CRT_Button_NEXT_ColliderObj,ASET_CRT_Button_ENTER_ColliderObj,ASET_CRT_Button_BACK_ColliderObj,ASET_CRT_BoltObj013
		noSignalTextureURL = ASET/ASET_Props/MFDs/ScreenPlates/nosignal		

// --------------------Target Selection Menu  ----------------------------------------	
		PAGE
		{
			name = ASET_CRT_TargetMenu
			button = ASET_CRT_Button_MODE_TGGL_ColliderObj
			localMargins = 1,1,1,1
			PAGEHANDLER
			{
				name = JSITargetMenu
				method = ShowMenu
				buttonClickMethod = ButtonProcessor
				pageActiveMethod = PageActive
				buttonUp = 1
				buttonDown = 2
				buttonEnter = 3
				buttonEsc = 4
				buttonHome = 5
				pageTitle =          TARGET MENU
				nameColor = 25,200,0,255
				distanceColor = 15,150,0,225
				selectedColor = 50,255,50,255
				unavailableColor = 0,100,0,225
			}		
		}	

// -------------------- External Cameras ----------------------------------------

		PAGE
		{
			name = ASET_CRT_EXTCAM
			button = ASET_CRT_Button_MODE_TGGL_ColliderObj

			BACKGROUNDHANDLER
			{
				name = JSISteerableCamera
				method = RenderCamera
				pageActiveMethod = PageActive
				skipMissingCameras = true
				showNoSignal = yes
				buttonClickMethod = ClickProcessor
				buttonReleaseMethod = ReleaseProcessor
				cameraPixelSize = 128,128
				cameraTransform = ExtCam1|ExtCam2|ExtCam3|ExtCam4|ExtCam5|ExtCam6|ExtCam7|ExtCam8|CurrentReferenceDockingPortCamera
				flickerChance = 0.01
				flickerRange = 15
				fovLimits = 90,45|90,45|90,45|90,45|90,45|90,45|90,45|90,45
				zoomRate = 30|30|30|30|30|30|30|30
				zoomIn = 3
				zoomOut = 4
				nextCamera = 2
				prevCamera = 1
				cameraEffectShader = RPM/Noise
				cameraEffectVariables = _Gain,2.0|_Blend,0.6|_NoiseOffset,RANDOM
				cameraEffectTextures = _Noise,ASET/ASET_Props/MFDs/ScreenPlates/noise
			}
		} 	
	}		
	
// TURN ON =========================================================

// action ----------------------------------------------------

	MODULE
	{
		name = JSIActionGroupSwitch
		switchTransform = ASET_CRT_PRW_SwitchColiderObj
		animationName = ASET_CRT_PWR_ON_Anim
		actionName = dummy
		perPodPersistenceName = ASET_CRT_PRW_ON
		
	}
	
	
// screen on/off	--------------------------------------------

	MODULE
	{
		name = JSICallbackAnimator
		variableName = CUSTOM_ASET_CRT_SCREEN_ON
	
		VARIABLESET
		{
			coloredObject = ASET_CRT_Screen_Obj
			passiveColor = 0,0,0,255
			activeColor = 255,255,255,255
			scale = 0.5,1.5
		}
	}		
	
// Backlight -------------------------------------------------------------
	
	MODULE
	{
		name = JSICallbackAnimator
		variableName = CUSTOM_ALCOR_BACKLIGHT_ON

 		VARIABLESET
		{
			coloredObject = ASET_CRT_Labels_Obj
			passiveColor = 0,0,0,255
			activeColor = COLOR_ASET_SWITCHER_NAME_POSITIVECOLOR
			scale = 0.5,1.1
		}		
		VARIABLESET
		{
			coloredObject = SwitcherTumblerMark
			passiveColor = 0,0,0,255
			activeColor = COLOR_ASET_SWITCHER_MARK_POSITIVECOLOR
			scale = 0.5,1.1
		}
		VARIABLESET
		{
			coloredObject = ASET_CRT_MODE_TGGL_KeyObj
			passiveColor = 0,0,0,255
			activeColor = COLOR_ASET_SWITCHER_NAME_POSITIVECOLOR
			scale = 0.5,1.1
		}		
		VARIABLESET
		{
			coloredObject = ASET_CRT_PREV_KeyObj
			passiveColor = 0,0,0,255
			activeColor = COLOR_ASET_SWITCHER_MARK_POSITIVECOLOR
			scale = 0.5,1.1
		}
		VARIABLESET
		{
			coloredObject = ASET_CRT_NEXT_KeyObj
			passiveColor = 0,0,0,255
			activeColor = COLOR_ASET_SWITCHER_MARK_POSITIVECOLOR
			scale = 0.5,1.1
		}		
		VARIABLESET
		{
			coloredObject = ASET_CRT_ENTER_KeyObj
			passiveColor = 0,0,0,255
			activeColor = COLOR_ASET_SWITCHER_NAME_POSITIVECOLOR
			scale = 0.5,1.1
		}
		VARIABLESET
		{
			coloredObject = ASET_CRT_BACK_KeyObj
			passiveColor = 0,0,0,255
			activeColor = COLOR_ASET_SWITCHER_MARK_POSITIVECOLOR
			scale = 0.5,1.1
		}
	}
}	