// llp-fin-grid.cfg v0.9.99.0
// Launch Pack (LLP)
// created: 07 Dec 2014
// updated: 13 Mar 2023

// this file: CC BY-ND 4.0 by Lazarus Luan and zer0Kerbal
PART
{
	name = llp-fin-grid
	oldName = LazTekGridfin
	module = Part
	author = Lazarus Luan and zer0Kerbal

	MODEL { model = LazTek/LaunchPack/Assets/llp-fin-grid }
	scale = 1.0
	rescaleFactor = 0.85
	bulkheadProfiles = srf

	attachRules = 0,1,0,1,0
	node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1, 1

	TechRequired = hypersonicFlight
	entryCost = 18000
	cost = 400
	category = Aero
	subcategory = 0

	title = #LLP-fin-grid-titl
	manufacturer = #LTD-Agency-titl
	description = #LLP-fin-grid-desc
	tags = #autoLOC_500114 // (air airbrake aircraft brake dive drag fligh landing plane slow speed spoil

	mass = 0.01
	fuelCrossFeed = True
	explosionPotential = 0.1

	dragModelType = none
	maximum_drag = 0.02
	minimum_drag = 0.02
	angularDrag = 2

	crashTolerance = 12

	maxTemp = 2400
	thermalMassModifier = 5.0 // a hair worse than airliner parts
	emissiveConstant = 0.4

	MODULE
	{
		name = ModuleControlSurface
		dragCoeff = 0.5
		deflectionLiftCoeff = 0.7
		ctrlSurfaceRange = 20
		ctrlSurfaceArea = 0.95
	}

	MODULE
	{
		name = ModuleAeroSurface
		useInternalDragModel = True
		dragCoeff = 0.6
		deflectionLiftCoeff = 0.38
		ctrlSurfaceRange = 70
		ctrlRangeFactor = 0.2
		ctrlSurfaceArea = 1
		actuatorSpeed = 20
		// transformName = Flap
		// liftingSurfaceCurve = SpeedBrake
		defaultActionGroup = Brakes
		ignorePitch = true
		ignoreYaw = true
		uncasedTemp = 1200
		casedTemp = 2400
	}

	MODULE
	{
		name = ModuleAnimateGeneric
		animationName = Gridfin
		startEventGUIName = #LTD-MAG-fin-grid-strt // Extend Gridfin
		endEventGUIName = #LTD-MAG-fin-grid-stop // Retract Gridfin
		actionGUIName = #LTD-MAG-fin-grid-actn // Toggle Gridfin
		eventAvailableEditor = True
		eventAvailableFlight = True
		eventAvailableEVA = True
		evaDistance = 10
		allowDeployLimit = True
		revClampDirection = False
		revClampSpeed = True
		revClampPercent = True
	}

}