Difference between revisions of "Parts/Utility/spotLightMk2 v2/spotLightMk2 v2.cfg"

From Kerbal Space Program Wiki
< Parts‎ | Utility
Jump to: navigation, search
(Created page with "<pre> // --- general parameters --- name = spotLight2 module = Part author = NovaSilisko // --- asset parameters --- mesh = model.mu rescaleFactor = 1 // --- node definition...")
 
m (Update config)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<pre>
+
{{Part config|Illuminator Mk2|2=PART
// --- general parameters ---
 
name = spotLight2
 
module = Part
 
author = NovaSilisko
 
 
 
// --- asset parameters ---
 
mesh = model.mu
 
rescaleFactor = 1
 
 
 
// --- node definitions ---
 
// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
 
node_attach = 0.0, -0.03070444, 0.2692509, 0.0, 0.0, -1.0
 
 
 
// --- editor parameters ---
 
cost = 100
 
category = Utility
 
subcategory = 0
 
title = Illuminator Mk2
 
manufacturer = RKEA Inc.
 
description = The Illuminator Mk2 is an extra-wide beam, low-power Illuminator, for lighting up large swaths of whatever you wish. However, its beam does not shine very far.
 
 
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
 
attachRules = 0,1,0,0,1
 
 
 
// --- standard part parameters ---
 
mass = 0.015
 
dragModelType = default
 
maximum_drag = 0.2
 
minimum_drag = 0.2
 
angularDrag = 1
 
crashTolerance = 8
 
maxTemp = 3200
 
 
 
MODULE
 
 
{
 
{
name = ModuleLight
+
name = spotLight2_v2
        lightName = spotlight
+
module = Part
useAnimationDim = true
+
author = Alexander
lightBrightenSpeed = 2.5
+
mesh = model.mu
lightDimSpeed = 2.5
+
rescaleFactor = 1
animationName = LightAnimation
+
node_attach = 0.0, -0.03070444, 0.2692509, 0.0, 0.0, -1.0
resourceAmount = 0.02
+
TechRequired = electrics
useResources = true
+
entryCost = 800
 +
cost = 100
 +
category = Utility
 +
subcategory = 0
 +
title = #autoLOC_500957 //#autoLOC_500957 = Illuminator Mk2
 +
manufacturer = #autoLOC_501650 //#autoLOC_501650 = Rokea Inc
 +
description = #autoLOC_500958 //#autoLOC_500958 = The Illuminator Mk2 is an extra-wide beam, low-power Illuminator, for lighting up large swaths of whatever you wish. However, its beam does not shine very far.
 +
attachRules = 0,1,0,0,1
 +
mass = 0.015
 +
dragModelType = default
 +
maximum_drag = 0.2
 +
minimum_drag = 0.2
 +
angularDrag = 1
 +
crashTolerance = 8
 +
maxTemp = 2000 // = 3200
 +
PhysicsSignificance = 1
 +
bulkheadProfiles = srf
 +
tags = #autoLOC_500959 //#autoLOC_500959 = moar (more bulb candle dark flash flood (lamp (light shine torch
 +
MODULE
 +
{
 +
name = ModuleLight
 +
lightName = spotlight
 +
lightMeshRendererName = lightMesh
 +
useAnimationDim = true
 +
lightBrightenSpeed = 2.5
 +
lightDimSpeed = 2.5
 +
animationName = LightAnimation
 +
resourceAmount = 0.02
 +
useResources = true
 +
canBlink = true
 +
disableColorPicker = false
 +
}
 +
MODULE
 +
{
 +
name = ModuleCargoPart
 +
packedVolume = 50
 +
}
 +
MODULE
 +
{
 +
name = ModulePartVariants
 +
primaryColor = #000000
 +
secondaryColor = #000000
 +
baseDisplayName = #autoLOC_8007117
 +
baseThemeName = Dark
 +
useMultipleDragCubes = false
 +
VARIANT
 +
{
 +
name = White
 +
displayName = #autoLOC_8007119
 +
themeName = White
 +
primaryColor = #ffffff
 +
secondaryColor = #ffffff
 +
TEXTURE
 +
{
 +
mainTextureURL = Squad/Parts/Utility/spotLightMk2_v2/spotLightMk2_Diffuse_white
 +
}
 +
}
 +
}
 
}
 
}
</pre>
+
}}

Latest revision as of 07:55, 16 October 2024

This is the configuration file for Illuminator Mk2.
PART
{
	name = spotLight2_v2
	module = Part
	author = Alexander
	mesh = model.mu
	rescaleFactor = 1
	node_attach = 0.0, -0.03070444, 0.2692509, 0.0, 0.0, -1.0
	TechRequired = electrics
	entryCost = 800
	cost = 100
	category = Utility
	subcategory = 0
	title = #autoLOC_500957 //#autoLOC_500957 = Illuminator Mk2
	manufacturer = #autoLOC_501650 //#autoLOC_501650 = Rokea Inc
	description = #autoLOC_500958 //#autoLOC_500958 = The Illuminator Mk2 is an extra-wide beam, low-power Illuminator, for lighting up large swaths of whatever you wish. However, its beam does not shine very far.
	attachRules = 0,1,0,0,1
	mass = 0.015
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 1
	crashTolerance = 8
	maxTemp = 2000 // = 3200
	PhysicsSignificance = 1
	bulkheadProfiles = srf
	tags = #autoLOC_500959 //#autoLOC_500959 = moar (more bulb candle dark flash flood (lamp (light shine torch
	MODULE
	{
		name = ModuleLight
		lightName = spotlight
		lightMeshRendererName = lightMesh
		useAnimationDim = true
		lightBrightenSpeed = 2.5
		lightDimSpeed = 2.5
		animationName = LightAnimation
		resourceAmount = 0.02
		useResources = true
		canBlink = true
		disableColorPicker = false
	}
	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 50
	}
	MODULE
	{
		name = ModulePartVariants
		primaryColor = #000000
		secondaryColor = #000000
		baseDisplayName = #autoLOC_8007117
		baseThemeName = Dark
		useMultipleDragCubes = false
		VARIANT
		{
			name = White
			displayName = #autoLOC_8007119
			themeName = White
			primaryColor = #ffffff
			secondaryColor = #ffffff
			TEXTURE
			{
				mainTextureURL = Squad/Parts/Utility/spotLightMk2_v2/spotLightMk2_Diffuse_white
			}
		}		
	}
}