Merge pull request #249 from PorktoberRevolution/other-pork-engines

More content
This commit is contained in:
Chris Adderley
2019-01-31 16:27:21 -08:00
committed by GitHub
32 changed files with 1524 additions and 20 deletions

View File

@ -0,0 +1,246 @@
// Patches applying art changes to jet engines
// Contents:
// - CR-7 R.A.P.I.E.R. Engine (RAPIER)
// Rapier
@PART[RAPIER]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL {
model = ReStock/Assets/Engine/restock-engine-rapier-1
}
!EFFECTS {}
EFFECTS
{
running_closed
{
AUDIO
{
channel = Ship
clip = sound_rocket_spurts
volume = 0.0 0.0
volume = 1.0 1.0
pitch = 0.0 0.2
pitch = 1.0 1.0
loop = true
}
PREFAB_PARTICLE
{
prefabName = fx_smokeTrail_aeroSpike
transformName = smokePoint
emission = 0.0 0.0
emission = 0.05 0.0
emission = 0.075 0.25
emission = 1.0 1.25
speed = 0.0 0.25
speed = 1.0 1.0
localOffset = 0, 0, 1
}
MODEL_MULTI_PARTICLE
{
name = coreclosed
modelName = ReStock/FX/restock-fx-rapier-closed-core-1
transformName = fxTransformCore
emission = 0.0 0.0
emission = 0.05 0.0
emission = 0.075 0.25
emission = 1.0 1.25
speed = 0.0 0.5
speed = 1.0 1.2
}
MODEL_MULTI_PARTICLE
{
name = plumeclosed
modelName = ReStock/FX/restock-fx-rapier-closed-plume-1
transformName = fxTransformPlume
emission = 0.0 0.0
emission = 0.05 0.0
emission = 0.075 0.25
emission = 1.0 1.25
speed = 0.0 0.5
speed = 1.0 1.2
}
}
power_open
{
AUDIO
{
channel = Ship
clip = sound_rocket_spurts
volume = 0.0 0.0
volume = 0.05 0.0
volume = 1.0 1.0
pitch = 0.0 0.2
pitch = 1.0 1.0
loop = true
}
MODEL_MULTI_PARTICLE
{
name = coreopen
modelName = ReStock/FX/restock-fx-rapier-open-core-1
transformName = fxTransformCore
emission = 0.0 0.0
emission = 0.05 0.0
emission = 0.075 0.25
emission = 1.0 1.25
speed = 0.0 0.5
speed = 1.0 1.2
}
MODEL_MULTI_PARTICLE
{
name = plumeopen
modelName = ReStock/FX/restock-fx-rapier-open-plume-1
transformName = fxTransformPlume
emission = 0.0 0.0
emission = 0.05 0.0
emission = 0.075 0.25
emission = 1.0 1.25
speed = 0.0 0.5
speed = 1.0 1.2
}
}
running_open
{
AUDIO
{
channel = Ship
clip = sound_jet_deep
volume = 0.0 0.0
volume = 0.05 0.6
volume = 1.0 1.0
pitch = 0.0 0.7
pitch = 1.0 1.4
loop = true
}
PREFAB_PARTICLE
{
prefabName = fx_smokeTrail_aeroSpike
transformName = smokePoint
emission = 0.0 0.0
emission = 0.05 0.0
emission = 0.075 0.25
emission = 1.0 1.25
speed = 0.0 0.25
speed = 1.0 1.0
localOffset = 0, 0, 1
}
}
engage
{
AUDIO
{
channel = Ship
clip = sound_vent_soft
volume = 1.0
pitch = 2.0
loop = false
}
}
flameout
{
PREFAB_PARTICLE
{
prefabName = fx_exhaustSparks_flameout_2
transformName = smokePoint
oneShot = true
}
AUDIO
{
channel = Ship
clip = sound_explosion_low
volume = 1.0
pitch = 2.0
loop = false
}
}
}
@MODULE[ModuleGimbal]
{
@gimbalTransformName = Gimbal
gimbalResponseSpeed = 8
useGimbalResponseSpeed = true
}
!MODULE[FXModuleAnimateThrottle] {}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = heatColor
responseSpeed = 0.005
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = throttleColor
responseSpeed = 1.0
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = ModuleColorChanger
moduleID = heatColor
animRate = 0.0005
shaderProperty = _EmissiveColor
excludedRenderer = EngineCoreT45
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 1
key = 1 1
}
greenCurve
{
key = 0 1
key = 1 1
}
blueCurve
{
key = 0 1
key = 1 1
}
alphaCurve
{
key = 0 0
key = 1 1
}
}
MODULE
{
name = ModuleColorChanger
moduleID = throttleColor
animRate = 1
shaderProperty = _EmissiveColor
includedRenderer = EngineCoreT45
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 1
key = 1 1
}
greenCurve
{
key = 0 1
key = 1 1
}
blueCurve
{
key = 0 1
key = 1 1
}
alphaCurve
{
key = 0 0
key = 1 1
}
}
}

View File

@ -5,6 +5,8 @@
// - LV-909 "Terrier" Liquid Fuel Engine (liquidEngine3_v2)
// - LV-T45 "Swivel" Liquid Fuel Engine (liquidEngine2)
// - LV-T30 "Reliant" Liquid Fuel Engine (liquidEngine)
// - Mk-55 "Thud" Liquid Fuel Engine (radialLiquidEngine1-2) - FX only
// - T-1 Toroidal "Aerospike" Liquid Fuel Engine (toroidalAerospike) - FX only
// LV-N
@PART[nuclearEngine]
@ -1064,10 +1066,10 @@
LV_T45_Boattail = true
LV_T45_Basic = false
LV_T45_Compact = false
T45_PistonTop001 = false
T45_PistonTop002 = false
T45_PistonTop003 = false
T45_PistonTop004 = false
T45_Piston001 = false
T45_Piston002 = false
T45_Piston003 = false
T45_Piston004 = false
Engine = false
EngineBoattail = true
ShroudT45 = false
@ -1233,3 +1235,186 @@
}
}
}
// Thud (FX only)
@PART[radialLiquidEngine1-2]
{
!fx_exhaustFlame_blue_small = DELETE
!fx_exhaustLight_blue = DELETE
!sound_vent_medium = DELETE
!sound_rocket_hard = DELETE
!sound_vent_soft = DELETE
!sound_explosion_low = DELETE
EFFECTS
{
engage
{
AUDIO
{
channel = Ship
clip = sound_vent_medium
volume = 1.0
pitch = 2.0
loop = false
}
}
flameout
{
PREFAB_PARTICLE
{
prefabName = fx_exhaustSparks_flameout
transformName = thrustTransform
oneShot = true
localRotation = -90, 0, 0
}
AUDIO
{
channel = Ship
clip = sound_explosion_low
volume = 1.0
pitch = 2.0
loop = false
}
}
fx-thud-running
{
AUDIO
{
channel = Ship
clip = sound_rocket_hard
volume = 0.0 0.0
volume = 1.0 1.0
pitch = 0.0 0.2
pitch = 1.0 1.0
loop = true
}
MODEL_MULTI_PARTICLE
{
name = core
modelName = ReStock/FX/restock-fx-thud-core-1
transformName = thrustTransform
emission = 0.0 0.0
emission = 0.01 0.1
emission = 0.075 0.25
emission = 1.0 1.0
speed = 0.0 0.35
speed = 1.0 1.0
localRotation = -90, 0, 0
}
MODEL_MULTI_PARTICLE
{
name = plume
modelName = ReStock/FX/restock-fx-thud-plume-1
transformName = thrustTransform
emission = 0.0 0.0
emission = 0.01 0.1
emission = 0.075 0.25
emission = 1.0 1.0
speed = 0.0 0.35
speed = 1.0 1.0
localRotation = -90, 0, 0
}
}
}
@MODULE[ModuleEngines]
{
@name = ModuleEnginesFX
%runningEffectName = fx-thud-running
}
}
// Dart (FX only)
@PART[toroidalAerospike]
{
!fx_exhaustFlame_blue = DELETE
!fx_exhaustLight_blue = DELETE
!fx_smokeTrail_light = DELETE
!fx_exhaustSparks_flameout = DELETE
!sound_vent_medium = DELETE
!sound_rocket_hard = DELETE
!sound_vent_soft = DELETE
!sound_explosion_low = DELETE
EFFECTS
{
engage
{
AUDIO
{
channel = Ship
clip = sound_vent_medium
volume = 1.0
pitch = 2.0
loop = false
}
}
flameout
{
PREFAB_PARTICLE
{
prefabName = fx_exhaustSparks_flameout
transformName = thrustTransform
oneShot = true
localRotation = -90, 0, 0
}
AUDIO
{
channel = Ship
clip = sound_explosion_low
volume = 1.0
pitch = 2.0
loop = false
}
}
fx-dart-running
{
AUDIO
{
channel = Ship
clip = sound_rocket_hard
volume = 0.0 0.0
volume = 1.0 1.0
pitch = 0.0 0.2
pitch = 1.0 1.0
loop = true
}
MODEL_MULTI_PARTICLE
{
name = core
modelName = ReStock/FX/restock-fx-dart-core-1
transformName = thrustTransform
emission = 0.0 0.0
emission = 0.01 0.1
emission = 0.075 0.25
emission = 1.0 1.0
speed = 0.0 0.35
speed = 1.0 1.0
localRotation = -90, 0, 0
}
MODEL_MULTI_PARTICLE
{
name = plume
modelName = ReStock/FX/restock-fx-dart-plume-1
transformName = thrustTransform
emission = 0.0 0.0
emission = 0.01 0.1
emission = 0.075 0.25
emission = 1.0 1.0
speed = 0.0 0.35
speed = 1.0 1.0
localRotation = -90, 0, 0
}
}
}
@MODULE[ModuleEngines]
{
@name = ModuleEnginesFX
%runningEffectName = fx-dart-running
}
}