-
Notifications
You must be signed in to change notification settings - Fork 10
/
BasicMicroSatWedge.cfg
321 lines (277 loc) · 7.14 KB
/
BasicMicroSatWedge.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
// 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.
// name = USBasicMicroSatWedge
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
/-
// .- -- .- --.. .. -. --. --. ..- -.-- ...
// Common fields
// Every part has these core variables
/+
// Base attributes
title = #autoLOC_US_BasicMicroSatWedge_Title
category = Science
tags = #autoLOC_US_BasicMicroSatWedge_Tags
description = #autoLOC_US_BasicMicroSatWedge_Description
cost = 4875
mass = 0.325
maxTemp = 2000
fuelCrossFeed = True
bulkheadProfiles = wedge
crashTolerance = 8
// Tech Tree
TechRequired = survivability
entryCost = 6800
/-
// .- -- .- --.. .. -. --. --. ..- -.-- ...
// Special
// Contains any special functionality for this part
/+
MODULE
{
name = USAnimateGeneric
dragModuleIndex = 1
primaryAnimationName = AntDeploy
primaryAvailableInEVA = false
primaryAvailableInVessel = true
primaryAvailableInEditor = false
primaryActionAvailable = true
combinedAvailableInEVA = false
combinedAvailableInVessel = true
combinedAvailableInEditor = false
combinedActionAvailable = true
UseDoorObstructions = false
ObstructionDebugLines = false
primaryStartEventGUIName = #autoLOC_US_DeployAntenna
primaryEndEventGUIName = #autoLOC_US_RetractAntenna
}
// KIS
// Adds KIS functionality when KIS is installed
MODULE:NEEDS[KIS]
{
name = ModuleKISItem
shortcutKeyAction = drop
useName = use
usableFromEva = true
usableFromContainer = true
usableFromPod = true
usableFromEditor = false
stackable = true
volumeOverride = 0
moveSndPath = KIS/Sounds/itemMove
equipable = true
equipMode = part
equipSlot = Back
equipSkill = <null>
equipRemoveHelmet = false
equipMeshName = jetpack_base01
equipBoneName = aliasJetpack
equipPos = (0,-0.05,-0.3)
equipDir = (0,270,0)
carriable = true
allowPartAttach = 1
allowStaticAttach = 0
}
/-
// .- -- .- --.. .. -. --. --. ..- -.-- ...
MODULE
{
name = USDecouple
ejectionForce = 5
explosiveNodeID = attach
menuName = #autoLOC_US_Decouple //Decouple
DecoupleAnimationName = DoorDeploy
DecoupleTime = 1 // 0.08
DecoupleEVA = true
AnimationSpeed = 1
debrisAfterDecouple = false
nameSuffix = Basic
}
MODULE
{
name = ModuleCommand
minimumCrew = 0
RESOURCE
{
name = ElectricCharge
rate = 0.0000009259259
}
hasHibernation = True
defaultControlPointDisplayName = #autoLOC_6011003 //#autoLOC_6011003 = Default
CONTROLPOINT
{
name = forward
displayName = #autoLOC_6011001 //#autoLOC_6011001 = Forward
orientation = 90,0,0
}
CONTROLPOINT
{
name = reverse
displayName = #autoLOC_6011004 //#autoLOC_6011004 = Reversed
orientation = 0,0,180
}
}
MODULE
{
name = ModuleKerbNetAccess
MinimumFoV = 25
MaximumFoV = 45
AnomalyDetection = 0
DISPLAY_MODES
{
Mode = Terrain,#autoLOC_438839 //#autoLOC_438839 = Terrain
}
}
//MODULE
//{
// name = ModuleDeployableAntenna
// showStatus = false
// isTracking = false
// windResistance = 1
// animationName = AntDeploy
// extendActionName = #autoLOC_6002398 //#autoLOC_6002398 = Extend <<1>>
// retractActionName = #autoLOC_6002399 //#autoLOC_6002399 = Retract <<1>>
// extendpanelsActionName = #autoLOC_6002400 //#autoLOC_6002400 = Toggle <<1>>
//}
MODULE
{
name = ModuleDataTransmitter
antennaType = DIRECT
packetInterval = .1
packetSize = .1
packetResourceCost = 0.1
requiredResource = ElectricCharge
antennaPower = 50000
DeployFxModules = 0
antennaCombinable = False
}
RESOURCE
{
name = ElectricCharge
amount = 10
maxAmount = 10
}
MODULE
{
name = ModuleEnviroSensor
sensorType = TEMP
}
MODULE
{
name = ModuleScienceExperiment
experimentID = UStemperatureScan
experimentActionName = #autoLOC_502067 //#autoLOC_502067 = Log Temperature
resetActionName = #autoLOC_502064 //#autoLOC_502064 = Delete Data
useStaging = False
useActionGroups = True
hideUIwhenUnavailable = False
xmitDataScalar = 0.5
dataIsCollectable = False
//collectActionName = #autoLOC_238018 //#autoLOC_238018 = Take Data
//interactionRange = 1.5
rerunnable = True
usageReqMaskInternal = 1
usageReqMaskExternal = -1
}
MODULE
{
name = ModuleEnviroSensor
sensorType = PRES
}
MODULE
{
name = ModuleScienceExperiment
experimentID = USbarometerScan
experimentActionName = #autoLOC_502065 //#autoLOC_502065 = Log Pressure Data
resetActionName = #autoLOC_502064 //#autoLOC_502064 = Delete Data
useStaging = False
useActionGroups = True
hideUIwhenUnavailable = False
xmitDataScalar = 0.5
dataIsCollectable = False
//collectActionName = #autoLOC_238018 //#autoLOC_238018 = Take Data
//interactionRange = 1.5
rerunnable = True
usageReqMaskInternal = 1
usageReqMaskExternal = -1
}
//
// Science
//
// 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 = USBasicMicroSatWedge
rescaleFactor = 1
attachRules = 1,0,1,1,0
// Drag
angularDrag = 1
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
DRAG_CUBE
{
cube = A0, 0.368,0.7181,0.5331, 0.368,0.7588,0.4462, 0.2215,0.8275,0.5045, 0.2219,0.8372,0.7504, 0.3807,0.7734,0.5514, 0.3807,0.7827,0.4585, 0.0253,-0.04042,0.00687, 0.5636,0.8811,0.54
}
// Model call
MODEL
{
model = UniversalStorage2/Parts/Science/BasicMicroSatWedge
scale = 1, 1, 1
}
MODULE
{
name = USModuleGreeble
IsActive = True
BottomNodeName = attach
CheckBottomNode = True
AllowGreebleToggle = false
GreebleToggleName = #autoLOC_US_ToggleDetails //Toggle Details
GreebleTransform = Greebles
}
MODULE
{
name = USModuleJettison
jettisonName = Greebles
bottomNodeName = attach
isFairing = True
jettisonedObjectMass = 0.1
jettisonForce = 5
jettisonDirection = 0 0 1
hideJettisonMenu = true
decoupleEnabled = false
manualJettison = true
}
//////////////////////////
// Wedge attach node definitions
NODE
{
name = attach
transform = attach
size = 0
method = HINGE_JOINT
}
/-
// .- -- .- --.. .. -. --. --. ..- -.-- ...
}
// Module Manager
// Contains @PART code for Module Manager, things that cannot be placed in within PART{}
/+
/-
// .- -- .- --.. .. -. --. --. ..- -.-- ...
// Notes
/+
// Structure per wedge mass removed so total mass will equal the balance part
/-
// .- -- .- --.. .. -. --. --. ..- -.-- ...