Skip to content

Commit d074924

Browse files
author
Robin "sumghai" Chang
committed
Revert "Fix rescaling bug that occurs on scene reload"
This reverts commit 804324b.
1 parent 804324b commit d074924

2 files changed

Lines changed: 104 additions & 26 deletions

File tree

GameData/SDHI/Service Module System/Parts/SDHI_2.5_ServiceModule/AvionicsRing.cfg

Lines changed: 50 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,18 @@ PART
66

77
MODEL
88
{
9-
model = SDHI/Service Module System/Parts/SDHI_2.5_ServiceModule/AvionicsRing
10-
scale = 1.25, 1.25, 1.25
9+
model = SDHI/Service Module System/Parts/SDHI_2.5_ServiceModule/AvionicsRing
10+
scale = 0.8, 0.8, 0.8
1111
}
12-
12+
1313
MODEL
1414
{
15-
model = SDHI/Service Module System/Parts/SDHI_2.5_ServiceModule/SM_Umbilical
16-
scale = 1.25, 1.25, 1.25
17-
position = 0.0, 0.21875, -1.2061625
15+
model = SDHI/Service Module System/Parts/SDHI_2.5_ServiceModule/SM_Umbilical
16+
scale = 0.8, 0.8, 0.8
17+
position = 0.0, 0.175, -0.96493
1818
}
19-
20-
rescaleFactor = 1.0
21-
22-
node_stack_top = 0.0, 0.08625, 0.0, 0.0, 1.0, 0.0
19+
20+
node_stack_top = 0.0, 0.069, 0.0, 0.0, 1.0, 0.0
2321
node_stack_bottom = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0
2422

2523
TechRequired = specializedControl
@@ -48,6 +46,8 @@ PART
4846
4947
stageOffset = 1
5048
childStageOffset = 1
49+
50+
//vesselType = Debris
5151
5252
fx_gasBurst_white = 0.0, 0.875, 0.0, 0.0, 1.0, 0.0, decouple
5353
sound_decoupler_fire = decouple
@@ -81,10 +81,48 @@ PART
8181
8282
MODULE
8383
{
84-
name = ModuleAnimatedDecoupler
84+
name = ModuleGenerator
85+
isAlwaysActive = false
86+
activateGUIName = Turn on Fuel Cell
87+
shutdownGUIName = Turn off Fuel Cell
88+
INPUT_RESOURCE
89+
{
90+
name = LiquidFuel
91+
rate = 0.009
92+
}
93+
INPUT_RESOURCE
94+
{
95+
name = Oxidizer
96+
rate = 0.011
97+
}
98+
OUTPUT_RESOURCE
99+
{
100+
name = ElectricCharge
101+
rate = 10
102+
}
103+
}
104+
105+
MODULE
106+
{
107+
name = ModuleDecouple
85108
ejectionForce = 200
86109
explosiveNodeID = top
87110
staged = false
88-
animationName = SDHI_Umbilical
89111
}
112+
113+
// Test animation
114+
// Replace with "play on decouple" capability
115+
116+
MODULE
117+
{
118+
name = FSanimateGeneric
119+
animationName = SDHI_Umbilical
120+
startEventGUIName = [TEST] Detach Umbilical
121+
endEventGUIName = [TEST] Reattach Umbilical
122+
toggleActionName = Toggle Umbilical
123+
customAnimationSpeed = 3.0
124+
moduleID = 0
125+
startDeployed = false
126+
playAnimationOnEditorSpawn = false
127+
}
90128
}

GameData/SDHI/Service Module System/Parts/SDHI_2.5_ServiceModule/ServiceModule.cfg

Lines changed: 54 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,23 @@ PART
33
name = SDHI_2.5_ServiceModule
44
module = Part
55
author = sumghai
6-
6+
7+
78
MODEL
89
{
9-
model = SDHI/Service Module System/Parts/SDHI_2.5_ServiceModule/ServiceModule
10-
scale = 1.25, 1.25, 1.25
10+
model = SDHI/Service Module System/Parts/SDHI_2.5_ServiceModule/ServiceModule
11+
scale = 0.8, 0.8, 0.8
1112
}
12-
13+
1314
MODEL
1415
{
15-
model = SDHI/Service Module System/Parts/SDHI_2.5_ServiceModule/SM_Umbilical
16-
scale = 1.25, 1.25, 1.25
17-
position = 0.0, 0.5625, -1.206125
16+
model = SDHI/Service Module System/Parts/SDHI_2.5_ServiceModule/SM_Umbilical
17+
scale = 0.8, 0.8, 0.8
18+
position = 0.0, 0.45, -0.96493
1819
}
19-
20-
rescaleFactor = 1.0
21-
22-
node_stack_top = 0.0, 0.43, 0.0, 0.0, 1.0, 0.0
23-
node_stack_bottom = 0.0, -0.84375, 0.0, 0.0, 1.0, 0.0
20+
21+
node_stack_top = 0.0, 0.344, 0.0, 0.0, 1.0, 0.0
22+
node_stack_bottom = 0.0, -0.675, 0.0, 0.0, 1.0, 0.0
2423

2524
TechRequired = heavierRocketry
2625
entryCost = 7500
@@ -48,6 +47,8 @@ PART
4847

4948
stageOffset = 1
5049
childStageOffset = 1
50+
51+
//vesselType = Debris
5152

5253
fx_gasBurst_white = 0.0, 0.875, 0.0, 0.0, 1.0, 0.0, decouple
5354
sound_decoupler_fire = decouple
@@ -102,10 +103,49 @@ PART
102103

103104
MODULE
104105
{
105-
name = ModuleAnimatedDecoupler
106+
name = ModuleGenerator
107+
isAlwaysActive = false
108+
activateGUIName = Turn on Fuel Cell
109+
shutdownGUIName = Turn off Fuel Cell
110+
INPUT_RESOURCE
111+
{
112+
name = LiquidFuel
113+
rate = 0.009
114+
}
115+
INPUT_RESOURCE
116+
{
117+
name = Oxidizer
118+
rate = 0.011
119+
}
120+
OUTPUT_RESOURCE
121+
{
122+
name = ElectricCharge
123+
rate = 10
124+
}
125+
}
126+
127+
MODULE
128+
{
129+
name = ModuleDecouple
106130
ejectionForce = 200
107131
explosiveNodeID = top
108132
staged = false
109-
animationName = SDHI_Umbilical
110133
}
134+
135+
136+
// Test animation
137+
// Replace with "play on decouple" capability
138+
139+
MODULE
140+
{
141+
name = FSanimateGeneric
142+
animationName = SDHI_Umbilical
143+
startEventGUIName = [TEST] Detach Umbilical
144+
endEventGUIName = [TEST] Reattach Umbilical
145+
toggleActionName = Toggle Umbilical
146+
customAnimationSpeed = 3.0
147+
moduleID = 0
148+
startDeployed = false
149+
playAnimationOnEditorSpawn = false
150+
}
111151
}

0 commit comments

Comments
 (0)