-
Notifications
You must be signed in to change notification settings - Fork 10
/
AdaptorShroud0625.cfg
346 lines (293 loc) · 8.68 KB
/
AdaptorShroud0625.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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
// Universal Storage 2 by Paul Kingtiger, Daishi and DMagic.
// See packaged file for license information
// This file is best viewed with notepad++ https://notepad-plus-plus.org/
// Using the KSP Module Manager language file included in the mod.
PART
{
// name = USAdaptorShroud0625
// Common fields
// Every part has these core variables
/+
// Base attributes
title = #autoLOC_US_AdaptorShroud0625_Title //Universal Storage: Tapered fairing (0.625m to 1.25m)
category = Payload
tags = #autoLOC_US_AdaptorShroud0625_Tags //Universal Storage Shroud Capsule Cap
description = #autoLOC_US_AdaptorShroud0625_Description //A small, self contained payload system for use with command modules. Four small payload bays are covered by retractable fairings. Available in Apollo Silver, Gemini Black, Restock and Tantares color schemes.
cost = 300
mass = 0.075
maxTemp = 2600
fuelCrossFeed = True
bulkheadProfiles = size0, size1
crashTolerance = 9
// Tech Tree
TechRequired = advConstruction
entryCost = 3600
// Special
// Contains any special functionality for this part
/+
/-
// Shared by all parts in the mod
// Module, Author, Manufacturer, Subcategory
// These values should never change and are common to all parts.
/+
module = Part
author = Daishi,DMagic,and Paul Kingtiger
manufacturer = #autoLOC_US_Manufacturer //New Horizons & Nox Industrial
subcategory = 0
/-
// .- -- .- --.. .. -. --. --. ..- -.-- ...
// Don't edit anything below this line. Here be dragons!
// Drag, Model call, US*Switch
// Changing these values breaks the part, so don't do that!
/+
name = USAdaptorShroud0625
rescaleFactor = 1
attachRules = 1,0,1,1,0
// Drag. "A" cubes are core heights, "B" cubes are opened bays for said height.
angularDrag = 1
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
DRAG_CUBE
{
cube = A0, 0.5898,0.6902,1.372, 0.5898,0.6894,0.8648, 1.242,0.6444,0.5996, 1.242,0.9614,0.1887, 0.5893,0.6921,0.8648, 0.5893,0.6865,1.372, -5.96E-08,0.2057,5.96E-08, 1.523,0.5761,1.523
cube = B0, 0.5721,0.6917,2.211, 0.5721,0.7027,2.112, 2.701,0.9106,0.7352, 2.706,0.9233,0.5432, 0.5722,0.6784,2.112, 0.5722,0.7037,2.211, -2.384E-07,0.07299,1.192E-07, 2.329,0.8415,2.329
}
// Model call
MODEL
{
model = UniversalStorage2/Parts/Shrouds/AdaptorShroud0625
scale = 1, 1, 1
}
// Plugin Control. Do not change load order! Index0 must always be animategeneric, Index1 always the dragswitch module. ModuleCargoBay must always reference index0 to enable drag occulsion.
MODULE
{
name = USAnimateGeneric
dragModuleIndex = 1
primaryAnimationName = Take 001
primaryAvailableInEVA = true
primaryAvailableInVessel = true
primaryAvailableInEditor = true
primaryActionAvailable = true
UseDoorObstructions = true
PrimaryObstructionSource = RaySource
PrimaryDoorObstructionLength = 0.45
ObstructionDebugLines = false
statusTitle = #autoLOC_US_Status
SolarPanelToggle = True
ToggleDoorRadiators = False
SwitchID = 0
AnimationControlState = 3;3;3;3;1
DebugMode = false
statusTitle = #autoLOC_US_Status
primaryStartEventGUIName = #autoLOC_US_DeployPrimaryBays
primaryEndEventGUIName = #autoLOC_US_RetractPrimaryBays
primaryToggleActionName = #autoLOC_US_TogglePrimaryBays
lockPrimaryDoorName = #autoLOC_US_LockPrimaryBays
unlockPrimaryDoorName = #autoLOC_US_UnlockPrimaryBays
primaryDeployLimitName = #autoLOC_US_PrimaryBayDeployLimit
//jettisonAvailable = true
//jettisonIndices = 5;6;7;8
}
MODULE
{
name = USDragSwitch
SwitchID = 0
DragCubes = A0,B0;A0,B0;A0,B0
}
MODULE
{
name = ModuleCargoBay
DeployModuleIndex = 0
lookupCenter = 0,0.2,0
closedPosition = 0
lookupRadius = 0.55
}
MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = false
}
MODULE:NEEDS[ConnectedLivingSpace]
{
name = USModuleSwitch
SwitchID = 0
TargetModule = ModuleConnectedLivingSpace
TargetFields = passable
TargetValues = false;true;false
}
// MODULE UNUSED
// {
// name = ModuleJettison
// jettisonName = polySurface291
// bottomNodeName = OuterNode
// allowShroudToggle = False
// hideJettisonMenu = True
// isFairing = False
// jettisonedObjectMass = 0.01
// jettisonForce = 5
// jettisonDirection = -1 0 1
// stagingEnable = True
// stagingToggleEnabledEditor = False
// stagingToggleEnabledFlight = False
// }
MODULE
{
name = USSwitchControl
SwitchID = 0
ButtonName = #autoLOC_US_Configuration //Configuration
ModuleDisplayName = #autoLOC_US_Configuration //Configuration
CurrentVariantTitle = #autoLOC_US_Configuration
ShowPreviousButton = False
ObjectNames = #autoLOC_US_Structural;#autoLOC_US_CrewTransferTunnel;#autoLOC_US_WedgeBracket
VariantColors = #3a562a,#999999;#3a562a,#999999;#40657f,#999999
}
MODULE
{
name = USMeshSwitch
SwitchID = 0
MeshTransforms = CoreInner;TubeInner;WedgeInner
AffectColliders = True
DeleteUnused = True
}
MODULE
{
name = USNodeSwitch
SwitchID = 0
AttachNodes = Stack;Stack;Wedge
}
MODULE
{
name = USSwitchControl
SwitchID = 1
ButtonName = #autoLOC_US_Appearance //Appearance
ModuleDisplayName = #autoLOC_US_Appearance //Appearance
CurrentVariantTitle = #autoLOC_US_Appearance
ShowPreviousButton = False
ObjectNames = Apollo Silver;Gemini Black;Restock White;Tantares Olive;Tantares White;Tantares Grey;Tantares Black
VariantColors = #565656,#565656;#1f1d1b,#1f1d1b;#eeeeee,#565656;#eeeeee,#565656;#eeeeee,#565656;#eeeeee,#565656;#eeeeee,#565656
}
MODULE
{
name = USMeshSwitch
SwitchID = 1
MeshTransforms = ApolloCore,ApolloTube,ApolloWedge;GeminiCore,GeminiTube,GeminiWedge;PorkjetTube,PorkjetCore,PorkjetWedge;OliveTube,OliveCore,OliveWedge;WhiteTube,WhiteCore,WhiteWedge;GreyTube,GreyCore,GreyWedge;BlackTube,BlackCore,BlackWedge
AffectColliders = True
}
// KIS
// Adds KIS functionality when KIS is installed
MODULE:NEEDS[KIS]
{
name = ModuleKISPartMount
sndStorePath = KIS/Sounds/containerMount
allowRelease = false
MOUNT
{
attachNode = QuadcoreAttachNode1
allowedPartName = USAerozineWedge
allowedPartName = USBatteryWedge
allowedPartName = USCarbonDioxideWedge
allowedPartName = USElektron
allowedPartName = USFoodWedge
allowedPartName = USFuelCellMedium
allowedPartName = USFuelCellSmal
allowedPartName = USGuidenceComputer
allowedPartName = USHydrazineWedge
allowedPartName = USHydrogenWedge
allowedPartName = USKASWedge
allowedPartName = USOxygenWedge
allowedPartName = USSabatier
allowedPartName = USWaterPurifier
allowedPartName = USWaterWedge
allowedPartName = USThermoBaroWedge
allowedPartName = USMatBayWedge
allowedPartName = USGooBayWedge
allowedPartName = USAccelGravWedge
allowedPartName = USGreyWaterWedge
allowedPartName = USSolidWasteWedge
allowedPartName = USRTGWedge
allowedPartName = USGooBayWedge
allowedPartName = USFluidSpectroWedge
allowedPartName = USMatBayWedge
allowedPartName = USThermoBaroWedge
allowedPartName = USAccelGravWedge
allowedPartName = dmUS2Asert
allowedPartName = dmUS2GoreSat
allowedPartName = dmUS2ImagingPlatform
allowedPartName = dmUS2MagBoom
allowedPartName = dmUS2Scope
allowedPartName = dmUS2SoilMoisture
allowedPartName = dmUS2SolarParticles
allowedPartName = dmUS2RPWS
}
}
/-
// .- -- .- --.. .. -. --. --. ..- -.-- ...
// Stack node definitions
NODE
{
name = OuterNode
transform = OuterNode
size = 0
method = FIXED_JOINT
}
NODE
{
name = UpperNode
transform = UpperNode
size = 0
method = FIXED_JOINT
}
NODE
{
name = WedgeNode
transform = WedgeNode
size = 0
method = FIXED_JOINT
}
// Node Groups
MODULE
{
name = USModuleStructuralNode
rootObject = Stack
attachNodeNames = UpperNode,OuterNode
}
MODULE
{
name = USModuleStructuralNode
rootObject = Wedge
attachNodeNames = UpperNode,OuterNode,WedgeNode
}
MODULE
{
name = USSolarSwitch
SwitchID = 0
secondaryTransformName = sunCatcher
solarMeshTransformName = Solar
resourceName = ElectricCharge
chargeRate = 1.4
toggleSolarPanelEventGUIName = #autoLOC_US_ToggleSolarPanel
AddedCost = 300
AddedPanelMass = 0.010;0
DebugMode = false
}
MODULE
{
name = USModuleGreeble
IsActive = True
BottomNodeName = OuterNode
CheckBottomNode = True
AllowGreebleToggle = true
GreebleToggleName = #autoLOC_US_ToggleDetails //Toggle Details
GreebleTransform = Greebles
}
/-
}
// Module Manager
// Contains @PART code for Module Manager, things that cannot be placed in within PART{}
/+
/-
// Notes
/+
// Structure balanced against 100% of SM-6 (Cost and Mass).
/-