Skip to content

Commit 0ea4585

Browse files
committed
Moving and splitting up patches
1 parent 4894360 commit 0ea4585

File tree

2 files changed

+75
-96
lines changed

2 files changed

+75
-96
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
@INTERNAL:HAS[@MODEL:HAS[#model[ProbeControlRoom/Spaces/MissionControl/MissionControl]]&!PROP:HAS[@MODULE[CivilianKerbal]]]
2+
{
3+
!MODULE[InternalCameraSwitch],* {}
4+
5+
PROP
6+
{
7+
name = EmptyProp
8+
position = -0.451999992, 0, 0
9+
rotation = 0, -0.707106829, 0, -0.707106709
10+
11+
MODULE
12+
{
13+
name = InternalSeat
14+
seatTransformName = model
15+
kerbalEyeOffset = 0,0.2,0
16+
}
17+
18+
MODULE
19+
{
20+
name = CivilianKerbal
21+
prefabName = Instructor_Gene
22+
childObjectName = instructor_Gene
23+
headTransformPath = model01/head01
24+
kerbalName = Gene Kerman
25+
}
26+
}
27+
PROP
28+
{
29+
name = EmptyProp
30+
position = 0.575999975, 0, -1.49000001
31+
rotation = 0, -0.707106829, 0, -0.707106709
32+
33+
MODULE
34+
{
35+
name = InternalSeat
36+
seatTransformName = model
37+
kerbalEyeOffset = 0,0.2,0
38+
}
39+
40+
MODULE
41+
{
42+
name = CivilianKerbal
43+
prefabName = Strategy_MechanicGuy
44+
childObjectName = Gus
45+
headTransformPath = model01/head02
46+
kerbalName = Gus Kerman
47+
}
48+
}
49+
PROP
50+
{
51+
name = EmptyProp
52+
position = 0.513000011, 0, 1.53999996
53+
rotation = 0, -0.707106829, 0, -0.707106709
54+
55+
MODULE
56+
{
57+
name = InternalSeat
58+
seatTransformName = model
59+
kerbalEyeOffset = 0,0.2,0
60+
}
61+
62+
MODULE
63+
{
64+
name = CivilianKerbal
65+
prefabName = Strategy_ScienceGuy
66+
childObjectName = linus
67+
headTransformPath = model01/head01
68+
kerbalName = Linus Kerman
69+
}
70+
}
71+
}
Lines changed: 4 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Initial setup with default config
22
// IVA mods providing alternative mission control layouts can modify this
3-
// node in any phase before LAST[ProbeControlRoom] to change the default setup
3+
// node in any phase before FOR[ProbeControlRoom] to change the default setup
44
PROBECONTROLROOM_CONFIG
55
{
66
INTERNAL
@@ -60,15 +60,8 @@ PROBECONTROLROOM_CONFIG
6060
DATA { internalName = MissionControl }
6161
}
6262
}
63-
}
64-
}
6563

66-
// RevIVA setup for known IVA mods
67-
@PROBECONTROLROOM_CONFIG:NEEDS[DE_IVAExtension]
68-
{
69-
@MODULE[ModuleB9PartSwitch]
70-
{
71-
SUBTYPE
64+
SUBTYPE:NEEDS[DE_IVAExtension]
7265
{
7366
// note the DE name here matches what Reviva uses internally and has some interactions with DE_IVA:
7467
// https://github.com/JonnyOThan/DE_IVAExtension/blob/6a649dd3ba6fd61397b3e423c6f89d642be6ab79/GameData/DE_IVAExtension/Parts.cfg#L135
@@ -83,14 +76,8 @@ PROBECONTROLROOM_CONFIG
8376
DATA { internalName = DE_MissionControl }
8477
}
8578
}
86-
}
87-
}
8879

89-
@PROBECONTROLROOM_CONFIG:NEEDS[KSA]
90-
{
91-
@MODULE[ModuleB9PartSwitch]
92-
{
93-
SUBTYPE
80+
SUBTYPE:NEEDS[KSA]
9481
{
9582
name = KSA_MissionControl
9683
primaryColor = Blue
@@ -103,14 +90,8 @@ PROBECONTROLROOM_CONFIG
10390
DATA { internalName = KSA_MissionControl }
10491
}
10592
}
106-
}
107-
}
10893

109-
@PROBECONTROLROOM_CONFIG:NEEDS[PCRIVAPLUS]
110-
{
111-
@MODULE[ModuleB9PartSwitch]
112-
{
113-
SUBTYPE
94+
SUBTYPE:NEEDS[PCRIVAPLUS]
11495
{
11596
name = PCRIVAPLUS_MissionControl_RETRO
11697
primaryColor = Blue
@@ -125,7 +106,6 @@ PROBECONTROLROOM_CONFIG
125106
}
126107
}
127108
}
128-
129109
// Add the mission control INTERNAL to every probe that does not yet have an INTERNAL
130110
@PART:HAS[@MODULE[ModuleCommand],!INTERNAL]:FOR[ProbeControlRoom]
131111
{
@@ -145,75 +125,3 @@ PROBECONTROLROOM_CONFIG
145125

146126
// Clean up the config node
147127
-PROBECONTROLROOM_CONFIG:LAST[ProbeControlRoom] {}
148-
149-
@INTERNAL:HAS[@MODEL:HAS[#model[ProbeControlRoom/Spaces/MissionControl/MissionControl]]&!PROP:HAS[@MODULE[CivilianKerbal]]]
150-
{
151-
!MODULE[InternalCameraSwitch],* {}
152-
153-
PROP
154-
{
155-
name = EmptyProp
156-
position = -0.451999992, 0, 0
157-
rotation = 0, -0.707106829, 0, -0.707106709
158-
159-
MODULE
160-
{
161-
name = InternalSeat
162-
seatTransformName = model
163-
kerbalEyeOffset = 0,0.2,0
164-
}
165-
166-
MODULE
167-
{
168-
name = CivilianKerbal
169-
prefabName = Instructor_Gene
170-
childObjectName = instructor_Gene
171-
headTransformPath = model01/head01
172-
kerbalName = Gene Kerman
173-
}
174-
}
175-
PROP
176-
{
177-
name = EmptyProp
178-
position = 0.575999975, 0, -1.49000001
179-
rotation = 0, -0.707106829, 0, -0.707106709
180-
181-
MODULE
182-
{
183-
name = InternalSeat
184-
seatTransformName = model
185-
kerbalEyeOffset = 0,0.2,0
186-
}
187-
188-
MODULE
189-
{
190-
name = CivilianKerbal
191-
prefabName = Strategy_MechanicGuy
192-
childObjectName = Gus
193-
headTransformPath = model01/head02
194-
kerbalName = Gus Kerman
195-
}
196-
}
197-
PROP
198-
{
199-
name = EmptyProp
200-
position = 0.513000011, 0, 1.53999996
201-
rotation = 0, -0.707106829, 0, -0.707106709
202-
203-
MODULE
204-
{
205-
name = InternalSeat
206-
seatTransformName = model
207-
kerbalEyeOffset = 0,0.2,0
208-
}
209-
210-
MODULE
211-
{
212-
name = CivilianKerbal
213-
prefabName = Strategy_ScienceGuy
214-
childObjectName = linus
215-
headTransformPath = model01/head01
216-
kerbalName = Linus Kerman
217-
}
218-
}
219-
}

0 commit comments

Comments
 (0)