// wos-A9-wing-fin.cfg v1.1.0.0
// Wernher's Old Stuff (WOS)
// created: 
// updated: 03 Nov 2022

// this file: CC BY-SA 4.0 by zer0Kerbal
// ghosted

PART
{
	name = wos-A9-wing-fin
	// Wing4A9
	module = Part
	author = TD and zer0Kerbal

	MODEL
	{
		model = WernhersOldStuff/Assets/A9Wing
	}
	scale = 1
	rescaleFactor = 0.64
	bulkheadProfiles = srf

	NODE
	{
		name = side
		transform = WingNode
		size = 1
		method = FIXED_JOINT
	}
	attachRules = 1,0,0,1,1

	CoLOffset = 0.0, 1.5, 0
	//CoPOffset = -0.08, -0.3, 0

	TechRequired = start
	entryCost = 4600
	cost = 600
	category = Aero
	subcategory = 0

	title = #WOS-A9-wing-fin-titl
	manufacturer = #WOS-Agency-titl
	description = #WOS-A9-wing-fin-desc
	tags = #autoLOC_500225 // aero aircraft fin lift plane rocket stab swept

	mass = 0.063
	explosionPotential = 0.1

	maxTemp = 2400
	thermalMassModifier = 8.0
	// heatConductivity = 0.06 // half default
	emissiveConstant = 0.95

	dragModelType = none
	maximum_drag = 0.02
	minimum_drag = 0.02
	angularDrag = 5

	crashTolerance = 12

	MODULE
	{
		name = ModuleControlSurface
		useInternalDragModel = True
		dragCoeff = 0.4
		deflectionLiftCoeff = 0.6614   //2.69 = area = 9.48m^2
		ctrlSurfaceRange = 35
		ctrlSurfaceArea =  0.08 //0.37 	// area = 3.45m^2
		actuatorSpeed = 25
		transformName = obj_ctrlSrf
	}

	MODULE
	{
		name = ModulePartVariants
		baseVariant = BnW
		// primaryColor = #ffffff
		// secondaryColor = #000000
		// baseDisplayName = Black and White Test Pattern
		// baseThemeName = BnW
		VARIANT
		{
			name = Green
			displayName = #WOS-theme-green-name
			themeName = Green
			primaryColor = #324335
			secondaryColor = #324335
			TEXTURE
			{
				mainTextureURL = WernhersOldStuff/Assets/V2-Extras_green
				_BumpMap = WernhersOldStuff/Assets/V2-Extras_NRM
				shader = KSP/Bumped	Specular	
			}
		}
		VARIANT
		{
			name = YellownBlack
			displayName = #WOS-theme-YnB-name
			themeName = YellownBlack // YnB
			primaryColor = #C4B723
			secondaryColor = #000000
			TEXTURE
			{
				mainTextureURL = WernhersOldStuff/Assets/V2-Extras_YnB
				_BumpMap = WernhersOldStuff/Assets/V2-Extras_NRM
				shader = KSP/Bumped Specular			
			}
		}
		VARIANT
		{
			name = Camo
			displayName = #WOS-theme-Camo-name // Tarnanstrich
			themeName = Camo
			primaryColor = #9F7700
			secondaryColor = #324335
			TEXTURE
			{
				mainTextureURL = WernhersOldStuff/Assets/V2-Extras_camo
				_BumpMap = WernhersOldStuff/Assets/V2-Extras_NRM
				shader = KSP/Bumped Specular			
			}
		}	
		VARIANT
		{
			name = Camp
			displayName = #WOS-theme-Camp-name // LGBTPride
			themeName = Camp
			primaryColor = #750787
			secondaryColor = #FFED00
			TEXTURE
			{
				mainTextureURL = WernhersOldStuff/Assets/V2-Extras_P
				_BumpMap = WernhersOldStuff/Assets/V2-Extras_NRM
				shader = KSP/Bumped Specular			
			}
		}
	}
}