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

From Kerbal Space Program Wiki
< Parts‎ | Utility
Jump to: navigation, search
(Created page with "<pre> // --- general parameters --- name = spotLight1 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 Mk1|2=PART
// --- general parameters ---
 
name = spotLight1
 
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.012301, 0.2139421, 0.0, 0.0, -1.0
 
 
 
// --- editor parameters ---
 
cost = 100
 
category = Utility
 
subcategory = 0
 
title = Illuminator Mk1
 
manufacturer = RKEA Inc.
 
description = The Illuminator Mk1 from RKEA projects a strong beam of photons in its prograde direction, increasing the brightness of anything that they touch (it's a big flashlight)
 
 
 
// 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 = spotLight1_v2
        lightName = spotlight
+
module = Part
useAnimationDim = true
+
author = Alexander
lightBrightenSpeed = 2.5
+
mesh = model.mu
lightDimSpeed = 2.5
+
rescaleFactor = 1
resourceAmount = 0.04
+
node_attach = 0.0, 0.012301, 0.2139421, 0.0, 0.0, -1.0
animationName = LightAnimation
+
TechRequired = electrics
useResources = true
+
entryCost = 800
 +
cost = 100
 +
category = Utility
 +
subcategory = 0
 +
title = #autoLOC_500954 //#autoLOC_500954 = Illuminator Mk1
 +
manufacturer = #autoLOC_501650 //#autoLOC_501650 = Rokea Inc
 +
description = #autoLOC_500955 //#autoLOC_500955 = The Illuminator Mk1 from RKEA projects a strong beam of photons in its prograde direction, increasing the brightness of surfaces exposed to the beam (it's a big flashlight).
 +
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_500956 //#autoLOC_500956 = moar (more bulb candle dark flash (lamp (light shine spot torch
 +
MODULE
 +
{
 +
name = ModuleLight
 +
lightName = spotlight
 +
lightMeshRendererName = lightMesh
 +
useAnimationDim = true
 +
lightBrightenSpeed = 2.5
 +
lightDimSpeed = 2.5
 +
resourceAmount = 0.04
 +
animationName = LightAnimation
 +
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/spotLightMk1_v2/spotLightMk1_Diffuse_white
 +
}
 +
}
 +
}
 
}
 
}
</pre>
+
}}

Latest revision as of 07:55, 16 October 2024

This is the configuration file for Illuminator Mk1.
PART
{
	name = spotLight1_v2
	module = Part
	author = Alexander
	mesh = model.mu
	rescaleFactor = 1
	node_attach = 0.0, 0.012301, 0.2139421, 0.0, 0.0, -1.0
	TechRequired = electrics
	entryCost = 800
	cost = 100
	category = Utility
	subcategory = 0
	title = #autoLOC_500954 //#autoLOC_500954 = Illuminator Mk1
	manufacturer = #autoLOC_501650 //#autoLOC_501650 = Rokea Inc
	description = #autoLOC_500955 //#autoLOC_500955 = The Illuminator Mk1 from RKEA projects a strong beam of photons in its prograde direction, increasing the brightness of surfaces exposed to the beam (it's a big flashlight).
	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_500956 //#autoLOC_500956 = moar (more bulb candle dark flash (lamp (light shine spot torch
	MODULE
	{
		name = ModuleLight
		lightName = spotlight
		lightMeshRendererName = lightMesh
		useAnimationDim = true
		lightBrightenSpeed = 2.5
		lightDimSpeed = 2.5
		resourceAmount = 0.04
		animationName = LightAnimation
		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/spotLightMk1_v2/spotLightMk1_Diffuse_white
			}
		}		
	}
}