Initial push of Aerospike

Outstanding issues:
- thrustTransform position and rotation
- Shroud/fairing for boattail variant
This commit is contained in:
Poodmund 2024-05-27 10:06:27 +01:00
parent 3ff95fa5d8
commit 45224d2f1f
5 changed files with 95 additions and 5 deletions

View File

@ -6,7 +6,7 @@
// - LV-T30 "Reliant" Liquid Fuel Engine (liquidEngine_v2)
// - LV-T45 "Swivel" Liquid Fuel Engine (liquidEngine2_v2)
// - Mk-55 "Thud" Liquid Fuel Engine (radialLiquidEngine1-2) - FX only
// - T-1 Toroidal "Aerospike" Liquid Fuel Engine (toroidalAerospike) - FX only
// - T-1 Toroidal "Aerospike" Liquid Fuel Engine (toroidalAerospike)
// LV-N "Nerv" Atomic Rocket Motor
@PART[nuclearEngine]:HAS[~RestockIgnore[*]]:FOR[000_ReStock]
@ -1749,9 +1749,23 @@
}
}
// T-1 Toroidal "Aerospike" Liquid Fuel Engine (FX only)
// T-1 Toroidal "Aerospike" Liquid Fuel Engine
@PART[toroidalAerospike]:HAS[~RestockIgnore[*]]:FOR[000_ReStock]
{
@author = Kavaeric
!mesh = DELETE
!MODEL {}
MODEL
{
model = ReStock/Assets/Engine/restock-engine-dart-1
}
%node_attach = 0.0, 0, 0.0, 0.0, 1.0, 0.0, 1
!DRAG_CUBE {}
DRAG_CUBE
{
cube = Fairing, 1.355,0.7569,0.7222, 1.355,0.7569,0.7222, 1.213,0.9305,0.254, 1.213,0.7276,0.9296, 1.355,0.7569,0.7222, 1.355,0.7568,0.7222, 0,-0.394,0, 1.25,1.095,1.25
cube = Clean, 0.6549,0.6778,0.691, 0.6549,0.6778,0.691, 1.095,0.9444,0.2547, 1.095,0.7086,0.8151, 0.6549,0.6767,0.691, 0.6549,0.6789,0.691, 0,-0.3368,0, 1.188,0.9809,1.188
}
!fx_exhaustFlame_blue = DELETE
!fx_exhaustLight_blue = DELETE
!fx_smokeTrail_light = DELETE
@ -1793,7 +1807,7 @@
volume = 0.0 0.0
volume = 1.0 1.0
pitch = 0.0 0.2
pitch = 1.0 1.0
pitch = 2.0 2.0
loop = true
}
MODEL_MULTI_PARTICLE
@ -1807,7 +1821,7 @@
emission = 1.0 1.0
speed = 0.0 0.35
speed = 1.0 1.0
localRotation = -90, 0, 0
localRotation = 0, 0, 0
}
MODEL_MULTI_PARTICLE
{
@ -1820,7 +1834,7 @@
emission = 1.0 1.0
speed = 0.0 0.35
speed = 1.0 1.0
localRotation = -90, 0, 0
localRotation = 0, 0, 0
}
}
}
@ -1829,4 +1843,80 @@
@name = ModuleEnginesFX
%runningEffectName = fx-dart-running
}
MODULE
{
name = ModulePartVariants
baseVariant = TrussMount
VARIANT
{
name = TrussMount
displayName = #LOC_Restock_variant-engine_size1
primaryColor = #999999
secondaryColor = #ffffff
GAMEOBJECTS
{
Aerospike_Common = true
Aerospike_12_Mount = true
Aerospike_12_Boattail = false
Aerospike_Shroud = true
}
}
VARIANT
{
name = Shroud
displayName = #LOC_Restock_variant-engine_boattail
primaryColor = #ffffff
secondaryColor = #ffffff
GAMEOBJECTS
{
Aerospike_Common = true
Aerospike_12_Mount = false
Aerospike_12_Boattail = true
Aerospike_Shroud = false
}
}
}
@MODULE[ModuleJettison]
{
@jettisonName = Aerospike_Shroud
//useMultipleDragCubes = false
}
!MODULE[FXModuleAnimateThrottle] {}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = heatColor
responseSpeed = 1.0
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = ModuleColorChanger
moduleID = heatColor
animRate = 0.05
shaderProperty = _EmissiveColor
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
greenCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
blueCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
alphaCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
}
}