Difference between revisions of "Parts/Utility/stackCouplers/stackTriCoupler v2.cfg"

From Kerbal Space Program Wiki
< Parts‎ | Utility
Jump to: navigation, search
(Created page with "<pre> // this is a sample config file, for determining a good file format for defining part parameters // comment line - ignored by cfg parser // empty lines, or lines without...")
 
m (Update config)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<pre>
+
{{Part config|TVR-1180C Mk1 Stack Tri-Coupler|2=PART
// this is a sample config file, for determining a good file format for defining part parameters
+
{
// comment line - ignored by cfg parser
+
name = stackTriCoupler_v2
// empty lines, or lines without a '=' sign are also ignored
+
module = Part
// all other lines are split at the '=' sign, and the left operand is used to know what parameter we are setting
+
author = Pablo
// diferent parameters require data in different formats (see docs), and each module has it's own parameters (again, see docs)
+
MODEL
// each assignment must be in a single line. Lines without assignments will be ignored. (You CAN turn on word wrap, though)
+
{
// each keyword here relates to an existing variable in the assigned module. If the keyword isn't found, it is ignored.
+
model = Squad/Parts/Utility/stackCouplers/Assets/stackTriCoupler_v2
// conversely, if a keyword is left unassigned (as in not in the file), it will be initialized with it's default value
+
}
// This is done automatically, so any public variable defined in the loaded module can be accessed this way (provided it's value can be parsed)
+
scale = 1
 
+
rescaleFactor = 1
 
+
node_stack_top = 0.0, 0.5349199, 0.0, 0.0, 1.0, 0.0
// --- general parameters ---
+
node_stack_bottom01 = 0, -0.43421, -0.72431, 0.0, -1.0, 0.0
name = stackTriCoupler
+
node_stack_bottom02 = -0.62722, -0.43421, 0.36023, 0.0, -1.0, 0.0
module = Part
+
node_stack_bottom03 = 0.62722, -0.43421, 0.36023, 0.0, -1.0, 0.0
author = NovaSilisko
+
TechRequired = advConstruction
 
+
entryCost = 2100
// --- asset parameters ---
+
cost = 680
mesh = model.mu
+
category = Structural
scale = 1
+
subcategory = 0
rescaleFactor = 1
+
title = #autoLOC_500966 //#autoLOC_500966 = TVR-1180C Mk1 Stack Tri-Coupler
 
+
manufacturer = #autoLOC_501629 //#autoLOC_501629 = O.M.B. Demolition Enterprises
// --- node definitions ---
+
description = #autoLOC_500967 //#autoLOC_500967 = The Stack Tricoupler! If your stack is lacking in awesomeness, this is the tool for you! Just remember that this is not a decoupler, and won't separate stages.
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
+
attachRules = 1,0,1,1,0
node_stack_top = 0.0, 0.5349199, 0.0, 0.0, 1.0, 0.0
+
stackSymmetry = 2
node_stack_bottom01 = 0, -0.4361493, -0.7233048, 0.0, 1.0, 0.0
+
mass = 0.15
node_stack_bottom02 = -0.6264005, -0.4361493, 0.3616524, 0.0, 1.0, 0.0
+
dragModelType = default
node_stack_bottom03 = 0.6264006, -0.4361493, 0.3616522, 0.0, 1.0, 0.0
+
maximum_drag = 0.3
 
+
minimum_drag = 0.3
// --- FX definitions ---
+
angularDrag = 3
 
+
crashTolerance = 12
 
+
maxTemp = 2000 // = 3400
// --- editor parameters ---
+
fuelCrossFeed = True
cost = 680
+
bulkheadProfiles = size1
category = Structural
+
tags = #autoLOC_500968 //#autoLOC_500968 = ?3 mount multi split three triple
subcategory = 0
+
MODULE
title = TVR-1180C Mk1 Stack Tri-Coupler
+
{
manufacturer = O.M.B. Demolition Enterprises
+
name = ModulePartVariants
description = The Stack Tricoupler! If your stack is lacking in awesomeness, this is the tool for you! Just remember that this is not a decoupler, and won't separate stages.
+
baseVariant = Dark
 
+
useMultipleDragCubes = false
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
VARIANT
attachRules = 1,0,1,0,0
+
{
stackSymmetry = 2
+
name = Dark
 
+
displayName = #autoLOC_8007117
mass = 0.15
+
themeName = Dark
dragModelType = default
+
primaryColor = #000000
maximum_drag = 0.3
+
TEXTURE
minimum_drag = 0.3
+
{
angularDrag = 3
+
shader=KSP/Bumped
crashTolerance = 12
+
mainTextureURL = Squad/Parts/Utility/stackCouplers/Assets/stackCouplersDiffuse_Dark
maxTemp = 3400
+
_BumpMap=Squad/Parts/Utility/stackCouplers/Assets/stackCouplers_NRM
fuelCrossFeed = True
+
}
 
+
}
// keeps fuel from flowing FROM the bottom nodes (prevents stack imbalances and such)
+
VARIANT
NoCrossFeedNodeKey = bottom
+
{
 
+
name = White
// ----- DO NOT EDIT BELOW THIS POINT ------
+
displayName = #autoLOC_8007116
</pre>
+
themeName = White
 +
primaryColor = #ffffff
 +
TEXTURE
 +
{
 +
shader=KSP/Bumped
 +
mainTextureURL = Squad/Parts/Utility/stackCouplers/Assets/stackCouplersDiffuse
 +
_BumpMap=Squad/Parts/Utility/stackCouplers/Assets/stackCouplers_NRM
 +
}
 +
}
 +
VARIANT
 +
{
 +
name = Orange
 +
displayName = #autoLOC_8007123
 +
themeName = Orange
 +
primaryColor = #f49841
 +
secondaryColor = #4c4f47
 +
TEXTURE
 +
{
 +
mainTextureURL = Squad/Parts/Utility/stackCouplers/Assets/stackCouplersDiffuse_Orange
 +
_BumpMap=Squad/Parts/Utility/stackCouplers/Assets/stackCouplers_Orange_NRM
 +
}
 +
}
 +
}
 +
MODULE
 +
{
 +
name = ModuleCargoPart
 +
packedVolume = -1
 +
}
 +
}
 +
}}

Latest revision as of 18:41, 10 October 2024

This is the configuration file for TVR-1180C Mk1 Stack Tri-Coupler.
PART
{
	name = stackTriCoupler_v2
	module = Part
	author = Pablo
	MODEL
	{
	model = Squad/Parts/Utility/stackCouplers/Assets/stackTriCoupler_v2	
	}
	scale = 1
	rescaleFactor = 1
	node_stack_top = 0.0, 0.5349199, 0.0, 0.0, 1.0, 0.0
	node_stack_bottom01 = 0, -0.43421, -0.72431, 0.0, -1.0, 0.0
	node_stack_bottom02 = -0.62722, -0.43421,  0.36023, 0.0, -1.0, 0.0
	node_stack_bottom03 = 0.62722, -0.43421, 0.36023, 0.0, -1.0, 0.0
	TechRequired = advConstruction
	entryCost = 2100
	cost = 680
	category = Structural
	subcategory = 0
	title = #autoLOC_500966 //#autoLOC_500966 = TVR-1180C Mk1 Stack Tri-Coupler
	manufacturer = #autoLOC_501629 //#autoLOC_501629 = O.M.B. Demolition Enterprises
	description = #autoLOC_500967 //#autoLOC_500967 = The Stack Tricoupler! If your stack is lacking in awesomeness, this is the tool for you! Just remember that this is not a decoupler, and won't separate stages.
	attachRules = 1,0,1,1,0
	stackSymmetry = 2
	mass = 0.15
	dragModelType = default
	maximum_drag = 0.3
	minimum_drag = 0.3
	angularDrag = 3
	crashTolerance = 12
	maxTemp = 2000 // = 3400
	fuelCrossFeed = True
	bulkheadProfiles = size1
	tags = #autoLOC_500968 //#autoLOC_500968 = ?3 mount multi split three triple
	MODULE
	{
		name = ModulePartVariants
		baseVariant = Dark
		useMultipleDragCubes = false
		VARIANT
		{
			name = Dark
			displayName = #autoLOC_8007117
			themeName = Dark
			primaryColor = #000000
			TEXTURE
			{
				shader=KSP/Bumped
				mainTextureURL = Squad/Parts/Utility/stackCouplers/Assets/stackCouplersDiffuse_Dark
				_BumpMap=Squad/Parts/Utility/stackCouplers/Assets/stackCouplers_NRM
			}
		}
		VARIANT
		{
			name = White
			displayName = #autoLOC_8007116
			themeName = White
			primaryColor = #ffffff
			TEXTURE
			{
				shader=KSP/Bumped
				mainTextureURL = Squad/Parts/Utility/stackCouplers/Assets/stackCouplersDiffuse
				_BumpMap=Squad/Parts/Utility/stackCouplers/Assets/stackCouplers_NRM
			}
		}
		VARIANT
		{
			name = Orange
			displayName = #autoLOC_8007123
			themeName = Orange
			primaryColor = #f49841
			secondaryColor = #4c4f47
			TEXTURE
			{
				mainTextureURL = Squad/Parts/Utility/stackCouplers/Assets/stackCouplersDiffuse_Orange
				_BumpMap=Squad/Parts/Utility/stackCouplers/Assets/stackCouplers_Orange_NRM
			}
		}
	}
	MODULE
	{
		name = ModuleCargoPart		
		packedVolume = -1
	}
}