Skip to content

Commit c0ed87c

Browse files
author
Robin Chang
committed
(WIP) Update LES to use ModuleEngineFX
For #112. Need to make custom LES engine particle effect.
1 parent a4ef5ca commit c0ed87c

1 file changed

Lines changed: 36 additions & 9 deletions

File tree

  • GameData/SDHI/Service Module System/Parts/SDHI_LES

GameData/SDHI/Service Module System/Parts/SDHI_LES/part.cfg

Lines changed: 36 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ PART
4343
stageOffset = 1
4444
childStageOffset = 1
4545
46-
fx_exhaustFlame_yellow_small = -0.3, 0.9, 0.0, 1.0, 1.0, 0.0, running
47-
fx_smokeTrail_light = -0.3, 0.9, 0.0, 1.0, 1.0, 0.0, running
48-
fx_exhaustLight_yellow = -0.3, 0.9, 0.0, 1.0, 1.0, 0.0, running
46+
//fx_exhaustFlame_yellow_small = -0.3, 0.9, 0.0, 1.0, 1.0, 0.0, running
47+
//fx_smokeTrail_light = -0.3, 0.9, 0.0, 1.0, 1.0, 0.0, running
48+
//fx_exhaustLight_yellow = -0.3, 0.9, 0.0, 1.0, 1.0, 0.0, running
4949
5050
sound_vent_medium = engage
5151
sound_rocket_hard = running
@@ -56,6 +56,31 @@ PART
5656
5757
EFFECTS
5858
{
59+
les_running
60+
{
61+
AUDIO
62+
{
63+
channel = Ship
64+
clip = sound_rocket_spurts
65+
volume = 0.0 0.0
66+
volume = 1.0 1.0
67+
pitch = 0.0 0.2
68+
pitch = 1.0 1.0
69+
loop = true
70+
}
71+
MODEL_MULTI_PARTICLE
72+
{
73+
modelName = Squad/FX/LES_Thruster // TODO - Replace with custom FX
74+
transformName = thrustTransform
75+
emission = 0.0 0.0
76+
emission = 0.05 0.0
77+
emission = 0.075 0.25
78+
emission = 1.0 1.25
79+
speed = 0.0 0.5
80+
speed = 1.0 1.2
81+
}
82+
}
83+
5984
rcs_running
6085
{
6186
AUDIO
@@ -107,22 +132,24 @@ PART
107132
108133
MODULE
109134
{
110-
name = ModuleEngines
135+
name = ModuleEnginesFX
136+
engineID = SDHI_LES
137+
powerEffectName = les_running
111138
thrustVectorTransformName = thrustTransform
139+
exhaustDamage = False
112140
throttleLocked = True
113-
exhaustDamage = true
114141
ignitionThreshold = 0.1
115142
minThrust = 0
116143
maxThrust = 750
117144
heatProduction = 200
118-
useEngineResponseTime = True
119-
engineAccelerationSpeed = 10.0
145+
fxOffset = 0, 0, 0.02
146+
EngineType = SolidBooster
120147
allowShutdown = False
121-
fxOffset = 0, 0, 0.02
148+
122149
PROPELLANT
123150
{
124151
name = SolidFuel
125-
ratio = 1.0
152+
ratio = 1.0
126153
DrawGauge = True
127154
}
128155
atmosphereCurve

0 commit comments

Comments
 (0)