/
KF-APU.cfg
134 lines (128 loc) · 2.61 KB
/
KF-APU.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
PART
{
// --- general parameters ---
name = KF-APU
module = Part
author = Spanner
// --- asset parameters ---
MODEL
{
model = KerbalFoundries/Assets/KF-APU
}
rescaleFactor = 1
node_stack_001 = 0, 0, 0.0, 0, -1, 0.0, 0
node_attach = 0, 0, 0.0, 0, -1, 0.0
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 0,1,1,1,0
// --- editor parameters ---
TechRequired = specializedElectrics
entryCost = 12200
cost = 4500
category = Utility
subcategory = 0
title = KF Auxiliary Power Unit
manufacturer = SM_Solutions For KerbalFoundries
description = When trying to prank Valentina, Jeb filled the engine of her private jet with iron filings. The result was an engine the produces no thrust, but plenty of electricity.
mass = 0.2
emissiveConstant = 0.8
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 7
maxTemp = 2000
bulkheadProfiles = size0
EFFECTS
{
throttle
{
AUDIO
{
channel = Ship
clip = KerbalFoundries/Sounds/APU
volume = 0.0 0.0
volume = 0.05 0.4
volume = 1.0 0.9
pitch = 0.0 0.8
pitch = 1.0 1.4
loop = true
}
KSPWHEELFX
{
modelName = KerbalFoundries/Effects/KF-APUSmoke
transformName = ThrustTransform
textureName = KSPWheel/Assets/particle
}
}
}
RESOURCE
{
name = ElectricCharge
amount = 300
maxAmount = 300
}
RESOURCE
{
name = IntakeAir
amount = 0
maxAmount = 2
}
MODULE
{
name = ModuleResourceIntake
resourceName = IntakeAir
checkForOxygen = true
area = 0.0074
intakeSpeed = 10
intakeTransformName = ThrustTransform
machCurve
{
key = 0 0.85 0 0
key = 1 1 0 0
key = 2 0.95 -0.08751557 -0.08751557
key = 4 0.5 -0.4034287 -0.4034287
key = 8 0.01 0 0
}
}
MODULE
{
name = KFAPUController
throttleEffect = throttle
startEffect = engage
stopEffect = disengage
noFuelEffect = flameout
ConverterName = APU
StartActionName = Start APU
StopActionName = Stop APU
ToggleActionName = Toggle APU
FillAmount = 1
AutoShutdown = false
GeneratesHeat = false
UseSpecialistBonus = false
INPUT_RESOURCE
{
ResourceName = LiquidFuel
Ratio = 0.02025
FlowMode = STAGE_PRIORITY_FLOW
}
//inputs 2 & 3 are swapped between through the plugin to simulate open/closed mode switching
INPUT_RESOURCE
{
ResourceName = Oxidizer
Ratio = 0.02475
FlowMode = STAGE_PRIORITY_FLOW
}
INPUT_RESOURCE
{
ResourceName = IntakeAir
Ratio = 0.02475
FlowMode = STAGE_PRIORITY_FLOW
}
OUTPUT_RESOURCE
{
ResourceName = ElectricCharge
Ratio = 18
DumpExcess = true
}
}
}