-
Notifications
You must be signed in to change notification settings - Fork 10
/
AdaptorShroud1250Soyuz.cfg
308 lines (251 loc) · 8.74 KB
/
AdaptorShroud1250Soyuz.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
// 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 = USAdaptorShroud1250Soyuz
// Common fields
// Every part has these core variables
/+
// Base attributes
title = #autoLOC_US_AdaptorShroud1250Soyuz_Title
category = Payload
tags = #autoLOC_US_AdaptorShroud1250Soyuz_Tags
description = #autoLOC_US_AdaptorShroud1250Soyuz_Description
// Balanced against Stock: cost = 900
// Balanced against Stock: mass = 0.225
cost = 250
mass = 0.050
maxTemp = 2900
fuelCrossFeed = True
bulkheadProfiles = size1, size1p5
crashTolerance = 14
// Tech Tree
TechRequired = generalConstruction
entryCost = 2800
/-
// 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 = USAdaptorShroud1250Soyuz
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.7079,0.7509,0.8908, 0.7079,0.7509,0.8908, 1.911,0.8047,0.68, 1.911,0.9928,0.1467, 0.7079,0.7518,0.8908, 0.7079,0.75,0.8908, 0,0.2414,5.96E-08, 1.575,0.48,1.575
cube = B0, 0.9111,0.6625,2.559, 0.911,0.6625,1.706, 3.687,0.8154,0.5169, 3.644,0.9364,0.6794, 0.9106,0.6627,1.706, 0.9105,0.6625,1.706, 0.0002362,0.2411,-8.935E-05, 2.452,0.4794,2.453
cube = A1, 1.214,0.7468,0.8769, 1.214,0.7468,0.8769, 1.91,0.7621,0.9687, 1.91,0.9931,0.1015, 1.214,0.7474,0.8769, 1.214,0.7461,0.8769, 0,0.4448,5.96E-08, 1.575,0.8787,1.575
cube = B1, 1.648,0.6476,1.914, 1.648,0.6475,1.914, 5.141,0.8174,1.089, 5.138,0.9125,0.3973, 1.647,0.6475,1.969, 1.647,0.6473,2.036, 0.0002363,0.4395,-8.518E-05, 3.238,0.8893,3.239
cube = A2, 1.721,0.7598,0.8769, 1.721,0.7598,0.8769, 1.91,0.7621,1.369, 1.91,0.9931,0.09858, 1.721,0.7602,0.8769, 1.721,0.7593,0.8769, 0,0.6448,5.96E-08, 1.575,1.279,1.575
cube = B2, 2.414,0.635,2.117, 2.414,0.635,2.117, 6.588,0.8274,1.423, 6.589,0.9036,0.6866, 2.414,0.6351,2.117, 2.414,0.6352,2.117, 0.0002363,0.5894,-7.892E-05, 4.018,1.392,4.018
cube = A3, 2.252,0.7626,0.8769, 2.252,0.7626,0.8769, 1.91,0.7621,1.778, 1.91,0.9931,0.0963, 2.252,0.763,0.8769, 2.252,0.7623,0.8769, 0,0.8499,5.96E-08, 1.575,1.689,1.575
cube = B3, 3.273,0.6316,2.598, 3.273,0.6315,2.598, 8.2,0.8051,1.931, 8.2,0.8832,0.6023, 3.272,0.6325,3.76, 3.272,0.6328,3.76, 0.0002362,0.7429,-7.248E-05, 4.819,1.904,4.82
}
// Model call
MODEL
{
model = UniversalStorage2/Parts/Shrouds/AdaptorShroud1250Soyuz
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
combinedAvailableInEVA = true
combinedAvailableInVessel = true
combinedAvailableInEditor = true
combinedActionAvailable = true
UseDoorObstructions = false
ObstructionDebugLines = false
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
combinedStartEventGUIName = #autoLOC_US_DeployAllBays
combinedEndEventGUIName = #autoLOC_US_RetractAllBays
combinedToggleActionName = #autoLOC_US_ToggleAllBays
}
MODULE
{
name = USDragSwitch
SwitchID = 0
DragCubes = A0,B0;A1,B1;A2,B2;A3,B3
}
MODULE
{
name = ModuleCargoBay
DeployModuleIndex = 0
lookupCenter = 0,0.2,0
closedPosition = 0
lookupRadius = 0.55
}
MODULE
{
name = USSwitchControl
SwitchID = 0
ButtonName = Function
ModuleDisplayName = Function
CurrentVariantTitle = #autoLOC_US_Configuration
ShowPreviousButton = False
ObjectNames = #autoLOC_US_SingleHeight;#autoLOC_US_DoubleHeight;#autoLOC_US_TripleHeight;#autoLOC_US_QuadHeight
VariantColors = #3a562a,#999999;#40657f,#999999
}
MODULE
{
name = USMeshSwitch
SwitchID = 0
MeshTransforms = SoyuzOne;SoyuzTwo;SoyuzThree;SoyuzFour
AffectColliders = True
DeleteUnused = True
}
MODULE
{
name = USCargoSwitch
SwitchID = 0
CargoBayCenter = 0,0.2,0;0,0.3,0;0,0.55,0;0,0.75,0
CargoBayRadius = 0.55;0.6;0.8;1
}
MODULE
{
name = USNodeSwitch
SwitchID = 0
AttachNodes = SoyuzGroup;SoyuzGroup;SoyuzGroup;SoyuzGroup
}
MODULE
{
name = USSwitchControl
SwitchID = 1
ButtonName = #autoLOC_US_Appearance //Appearance
ModuleDisplayName = #autoLOC_US_Appearance //Appearance
CurrentVariantTitle = #autoLOC_US_Appearance
ShowPreviousButton = False
ObjectNames = Olive; White; Tantares Black; Tantares Grey
VariantColors = #565656,#565656;#1f1d1b,#1f1d1b
}
MODULE
{
name = USMeshSwitch
SwitchID = 1
MeshTransforms = SoyuzOneGreen,SoyuzTwoGreen,SoyuzThreeGreen,SoyuzFourGreen;SoyuzOneWhite,SoyuzTwoWhite,SoyuzThreeWhite,SoyuzFourWhite;SoyuzOneBlack,SoyuzTwoBlack,SoyuzThreeBlack,SoyuzFourBlack;SoyuzOneGrey,SoyuzTwoGrey,SoyuzThreeGrey,SoyuzFourGrey
AffectColliders = True
}
MODULE
{
name = USSwitchControl
SwitchID = 2
ButtonName = Toridial Tankage
ModuleDisplayName = Toridial Tankage
CurrentVariantTitle = Toridial Tankage
ShowPreviousButton = False
FuelSwitchModeTwo = True
ObjectNames = Structural;Liquid Fuel;Monopropellant
VariantColors = #565656,#565656;#1f1d1b,#1f1d1b;#eeeeee,#565656
}
MODULE
{
name = USMeshSwitch
SwitchID = 2
MeshTransforms = SoyuzTorusStructural;SoyuzTorusLF;SoyuzTorusMono
AffectColliders = True
}
MODULE
{
name = USFuelSwitch
SwitchID = 2
resourceNames = Structural;Structural;Structural;Structural|LiquidFuel,Oxidizer;LiquidFuel,Oxidizer;LiquidFuel,Oxidizer;LiquidFuel,Oxidizer|MonoPropellant;MonoPropellant;MonoPropellant;MonoPropellant
resourceAmounts = 0;0;0;0|40,48;80,96;120,144;160,192|40,80,120,160
initialResourceAmounts = 0;0;0;0|40,48;80,96;120,144;160,192|40,80,120,160
tankCost = 0;0;0;0|221;442;663;884|109;218;327;436
tankMass = 0;0;0;0|0.506;1.012;1.518;2.024|0.185;0.370;0.555;0.740
hasGUI = True
availableInEditor = False
displayCurrentTankCost = True
ShowInfo = False
}
// Special
// Contains any special functionality for this part
/+
// Connected Living Space
MODULE:NEEDS[ConnectedLivingSpace]
{
name = ModuleConnectedLivingSpace
passable = true
}
/-
// Stack node definitions
NODE
{
name = OuterNode
transform = OuterNode
size = 2
method = FIXED_JOINT
}
NODE
{
name = InnerNode
transform = InnerNode
size = 2
method = FIXED_JOINT
}
// Node Groups
MODULE
{
name = USModuleStructuralNode
rootObject = SoyuzGroup
attachNodeNames = InnerNode,OuterNode
}
MODULE
{
name = USSolarSwitch
SwitchID = 0
secondaryTransformName = sunCatcher
solarMeshTransformName = Solar
resourceName = ElectricCharge
chargeRate = 1;2;3;4
toggleSolarPanelEventGUIName = #autoLOC_US_ToggleSolarPanel
AddedCost = 225;450;675;900
AddedPanelMass = 0.010;0.020;0.030;0.040;0
DebugMode = false
}
/-
}
// Module Manager
// Contains @PART code for Module Manager, things that cannot be placed in within PART{}
/+
/-
// Notes
/+
// Structure balanced against 300% of T-25 Structure Tube.
// Then rebalanced with other structure parts (see Universal Storage 2 Excel workbook)
/-