Add Cherenkov engine

pull/640/head
Chris Adderley 5 years ago
parent fa7e6f0077
commit d84a1907cb

@ -10,11 +10,16 @@ Localization
{
#LOC_Restock_variant-engine_size0 = 0.625m
#LOC_Restock_variant-engine_size1 = 1.25m
#LOC_Restock_variant-engine_size1p5 = 1.875m
#LOC_Restock_variant-engine_size2 = 2.5m
#LOC_Restock_variant-engine_size3 = 3.75m
#LOC_Restock_variant-engine_compact = Compact
#LOC_Restock_variant-engine_radial = Radial
#LOC_Restock_variant-engine_boattail = Boattail
#LOC_Restock_variant-engine_boattail_size1 = Boattail (1.25m)
#LOC_Restock_variant-engine_boattail_size1p5 = Boattail (1.875m)
#LOC_Restock_variant-engine_shroud = Shrouded
#LOC_Restock_variant-engine_shroud_wide = Wide Shrouded
#LOC_Restock_variant-mounting_classic = Classic
#LOC_Restock_variant-mounting_truss = Truss

@ -66,6 +66,11 @@ v0.2.0
- Electrical
- OX-4L 1x6 Solar Panels
- OX-4W 3x2 Solar Panels
- Bugfixes
- Updated Gigantor colliders to be closer to stock
- Updated Gigantor mesh to be more performant
- Fixed Twin Boar flag being on wrong side compared to original model
- Tweaked Nerv plume to be prettier
v0.1.4
------

@ -27,6 +27,10 @@ Localization
#LOC_RestockPlus_restock-engine-boar_description = The single Boar is slightly more efficient than its dual counterpart, and provides, logically, half the thrust. Due to a less integrated set of mounting points, there is a slight decrease in raw thrust-to-weight ratio.
#LOC_RestockPlus_restock-engine-boar_tags = ascent main propuls lower sls dynetics f1b restock kr1 boar
#LOC_RestockPlus_restock-engine-cherenkov_title = LV-N410 'Cherenkov' Atomic Rocker Motor
#LOC_RestockPlus_restock-engine-cherenkov_description = By popular demand, Rockomax has brought a powerful large nuclear engine to market. Like its smaller cousin the Nerv, it runs on only Liquid Fuel. As a result of a large development budget, gimballing mechanisms have been installed on the turbopump exhaust ducts, allowing limited vectored thrust abilities.
#LOC_RestockPlus_restock-engine-cherenkov_tags = active atom efficient engine inter liquid (cherenkov nuclear nuke orbit propuls radio reactor vacuum restock
// 1.875m
#LOC_RestockPlus_restock-engine-srb-anvil_title = STS-1 'Anvil' Solid Rocket Booster
#LOC_RestockPlus_restock-engine-srb-anvil_description = This colossal solid rocket booster has more than enough power to be used to push lower thrust cores really high up or even be used as a core stage, if your engineers feel that the unstable explosive combustion's spine-tingling rumble could be harnessed as a back massage function for bored Kerbonauts.

@ -201,7 +201,7 @@ PART
VARIANT
{
name = Size1p5
displayName =
displayName = #LOC_Restock_variant-engine_size1p5
primaryColor =
secondaryColor =
GAMEOBJECTS
@ -223,7 +223,7 @@ PART
VARIANT
{
name = Size1
displayName =
displayName = #LOC_Restock_variant-engine_size1
primaryColor =
secondaryColor =
GAMEOBJECTS
@ -245,7 +245,7 @@ PART
VARIANT
{
name = Bare
displayName =
displayName = #LOC_Restock_variant-engine_compact
themeName = Bare
primaryColor =
secondaryColor =
@ -545,4 +545,28 @@ PART
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = FXModuleLookAtConstraint
CONSTRAINLOOKFX
{
targetName = B_SkiffCylUpper001
rotatorsName = B_Wolfhound_GimbalLower01
}
CONSTRAINLOOKFX
{
targetName = B_SkiffCylUpper002
rotatorsName = B_SkiffCylLower002
}
CONSTRAINLOOKFX
{
targetName = B_SkiffCylLower001
rotatorsName = B_SkiffCylUpper001
}
CONSTRAINLOOKFX
{
targetName = B_SkiffCylLower002
rotatorsName = B_SkiffCylUpper002
}
}
}

@ -167,7 +167,7 @@ PART
VARIANT
{
name = Shroud
displayName =
displayName = #LOC_Restock_variant-mounting_classic
primaryColor = #999999
secondaryColor = #3d3d3d
GAMEOBJECTS
@ -191,8 +191,8 @@ PART
VARIANT
{
name = Size2
displayName = Size2
primaryColor =
displayName = #LOC_Restock_variant-engine_size2
primaryColor =
secondaryColor =
GAMEOBJECTS
{
@ -215,7 +215,7 @@ PART
VARIANT
{
name = Size1p5
displayName = 1875
displayName = #LOC_Restock_variant-engine_size1p5
primaryColor =
secondaryColor =
GAMEOBJECTS
@ -239,7 +239,7 @@ PART
VARIANT
{
name = Bare
displayName =
displayName = #LOC_Restock_variant-engine_compact
primaryColor =
secondaryColor =
GAMEOBJECTS
@ -541,4 +541,28 @@ PART
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = FXModuleLookAtConstraint
CONSTRAINLOOKFX
{
targetName = B_Wolfhound_GimbalUpper01
rotatorsName = B_Wolfhound_GimbalLower01
}
CONSTRAINLOOKFX
{
targetName = B_Wolfhound_GimbalUpper02
rotatorsName = B_Wolfhound_GimbalLower02
}
CONSTRAINLOOKFX
{
targetName = B_Wolfhound_GimbalLower01
rotatorsName = B_Wolfhound_GimbalUpper01
}
CONSTRAINLOOKFX
{
targetName = B_Wolfhound_GimbalLower02
rotatorsName = B_Wolfhound_GimbalUpper02
}
}
}

@ -152,7 +152,7 @@ PART
VARIANT
{
name = Bare
displayName = #autoLOC_8007109
displayName = #LOC_Restock_variant-engine_compact
primaryColor = #cc0e0e
secondaryColor = #000000
GAMEOBJECTS
@ -178,7 +178,7 @@ PART
{
// 1.25 covered
name = ShroudSmall
displayName = #autoLOC_8007110
displayName = #LOC_Restock_variant-engine_boattail_size1
primaryColor = #ffffff
secondaryColor = #999999
GAMEOBJECTS
@ -204,7 +204,7 @@ PART
{
// 1.25 bare
name = Size1Bare
displayName = #autoLOC_8007110
displayName = #LOC_Restock_variant-engine_size1
primaryColor = #ffffff
secondaryColor = #999999
GAMEOBJECTS
@ -230,7 +230,7 @@ PART
{
// 1.875 covered
name = ShroudBig
displayName = #autoLOC_8007111
displayName = #LOC_Restock_variant-engine_boattail_size1p5
primaryColor = #ffffff
secondaryColor = #999999
sizeGroup = GroupB
@ -257,7 +257,7 @@ PART
{
// 1.875 bare
name = Size1p5Bare
displayName = #autoLOC_8007110
displayName = #LOC_Restock_variant-engine_size1p5
primaryColor = #ffffff
secondaryColor = #999999
GAMEOBJECTS

@ -0,0 +1,521 @@
// ReStock+ 0.2.0
// Cherenkov (2.5m nuke)
PART
{
// --- general parameters ---
name = restock-engine-cherenkov
module = Part
author = Chris Adderley (Nertea)
// --- asset parameters ---
MODEL
{
model = ReStockPlus/Assets/Engine/restock-engine-cherenkov-1
scale = 1.0, 1.0, 1.0
}
scale = 1.0
rescaleFactor = 1
// --- node definitions ---
node_attach = 0.0, 1.982, 0.0, 0.0, 1.0, 0.0, 2
node_stack_top = 0.0, 2.4118, 0.0, 0.0, 1.0, 0.0, 2
node_stack_bottom = 0.0, -4.69188, 0.0, 0.0, -1.0, 0.0, 2
// --- FX definitions ---
EFFECTS
{
engage
{
AUDIO
{
channel = Ship
clip = sound_vent_soft
volume = 1.0
pitch = 2.0
loop = false
}
}
flameout
{
AUDIO
{
channel = Ship
clip = sound_explosion_low
volume = 1.0
pitch = 2.0
loop = false
}
}
fx-cherenkov-running
{
AUDIO
{
channel = Ship
clip = sound_rocket_spurts
volume = 0.0 0.0
volume = 0.01 0.4
volume = 1.0 1.0
pitch = 0.0 0.2
pitch = 0.01 0.6
pitch = 1.0 1.8
loop = true
}
MODEL_MULTI_PARTICLE
{
name = core
modelName = ReStockPlus/FX/restock-fx-cherenkov-core-1
transformName = fxTransformCore
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
}
MODEL_MULTI_PARTICLE
{
name = plume
modelName = ReStockPlus/FX/restock-fx-cherenkov-plume-1
transformName = fxTransformPlume
emission = 0.0 0.0
emission = 0.01 0.1
emission = 0.075 0.25
emission = 1.0 1.0
speed = 0.0 0.8
speed = 1.0 1.0
}
MODEL_MULTI_PARTICLE
{
name = turbo
modelName = ReStockPlus/FX/restock-fx-cherenkov-turbo-1
transformName = fxTransformTurbo
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
}
}
}
// --- editor parameters ---
TechRequired = veryHeavyRocketry
entryCost = 31000
cost = 7000
category = Engine
subcategory = 0
title = #LOC_RestockPlus_restock-engine-cherenkov_title
manufacturer = #autoLOC_501638
description = #LOC_RestockPlus_restock-engine-cherenkov_description
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
attachRules = 1,1,1,0,0
bulkheadProfiles = size2, srf
// --- standard part parameters ---
mass = 12
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 20
maxTemp = 2000
breakingForce = 5000
breakingTorque = 5000
tags = #LOC_RestockPlus_restock-engine-cherenkov_tags
MODULE
{
name = ModuleEnginesFX
engineID = MainExhaust
thrustVectorTransformName = thrustTransform
exhaustDamage = True
runningEffectName = fx-cherenkov-running
ignitionThreshold = 0.1
minThrust = 0
maxThrust = 300
heatProduction = 5
fxOffset = 0, 0, 0
EngineType = LiquidFuel
exhaustDamageDistanceOffset = 1.5
PROPELLANT
{
name = LiquidFuel
ratio = 0.9
DrawGauge = True
}
PROPELLANT
{
name = Oxidizer
ratio = 1.1
}
atmosphereCurve
{
key = 0 820
key = 1 200
key = 12 100
}
transformMultipliers
{
trf0 = 0.02
trf1 = 0.02
trf2 = 0.96
}
}
MODULE
{
name = ModuleAlternator
RESOURCE
{
name = ElectricCharge
rate = 3.0
}
}
MODULE
{
name = ModuleGimbal
gimbalTransformName = B_TurboGimbal
gimbalRange = 3
}
MODULE
{
name = ModulePartVariants
baseVariant = Size2
VARIANT
{
name = Size2
displayName = #LOC_Restock_variant-engine_size2
primaryColor = #999999
secondaryColor = #f69449
GAMEOBJECTS
{
LargeNukeCompact = false
LargeNuke25Ring = true
Cherenkov_ShroudLong = true
Cherenkov_ShroudShort = false
}
NODES
{
node_stack_top = 0.0, 2.4118, 0.0, 0.0, 1.0, 0.0, 2
}
}
VARIANT
{
name = Compact
displayName = #LOC_Restock_variant-engine_compact
primaryColor = #ffffff
secondaryColor = #f69449
GAMEOBJECTS
{
LargeNukeCompact = true
LargeNuke25Ring = false
Cherenkov_ShroudLong = false
Cherenkov_ShroudShort = true
}
NODES
{
node_stack_top = 0.0, 1.982, 0.0, 0.0, 1.0, 0.0, 2
}
}
}
MODULE
{
name = ModuleTestSubject
useStaging = True
useEvent = True
situationMask = 121
CONSTRAINT
{
type = REPEATABILITY
value = ALWAYS
prestige = Trivial
}
CONSTRAINT
{
type = REPEATABILITY
value = BODYANDSITUATION
prestige = Significant
}
CONSTRAINT
{
type = REPEATABILITY
value = ONCEPERPART
prestige = Exceptional
}
CONSTRAINT
{
type = ALTITUDEENV
test = GT
value = 4000
prestige = Trivial
}
CONSTRAINT
{
type = ALTITUDEENV
test = LT
value = 8000
prestige = Trivial
}
CONSTRAINT
{
type = ALTITUDEENV
test = GT
value = 2000
prestige = Significant
}
CONSTRAINT
{
type = ALTITUDEENV
test = LT
value = 4000
prestige = Significant
}
CONSTRAINT
{
type = ALTITUDEENV
test = GT
value = 1000
prestige = Exceptional
}
CONSTRAINT
{
type = ALTITUDEENV
test = LT
value = 2000
prestige = Exceptional
}
CONSTRAINT
{
type = ALTITUDE
test = LT
value = 300000
situationMask = 16
body = _NotSun
}
CONSTRAINT
{
type = ALTITUDE
test = LT
value = 600000
situationMask = 32
body = _NotSun
}
CONSTRAINT
{
type = SPEED
test = GT
value = 0
situationMask = 8
prestige = Trivial
}
CONSTRAINT
{
type = SPEED
test = LT
value = 600
situationMask = 8
prestige = Trivial
}
CONSTRAINT
{
type = SPEED
test = GT
value = 300
situationMask = 8
prestige = Significant
}
CONSTRAINT
{
type = SPEED
test = LT
value = 1200
situationMask = 8
prestige = Significant
}
CONSTRAINT
{
type = SPEED
test = GT
value = 600
situationMask = 8
prestige = Exceptional
}
CONSTRAINT
{
type = SPEED
test = LT
value = 2500
situationMask = 8
prestige = Exceptional
}
CONSTRAINT
{
type = SPEEDENV
test = LT
value = 200
prestige = Trivial
}
CONSTRAINT
{
type = SPEEDENV
test = GT
value = 100
prestige = Trivial
}
CONSTRAINT
{
type = SPEEDENV
test = LT
value = 100
prestige = Significant
}
CONSTRAINT
{
type = SPEEDENV
test = GT
value = 50
prestige = Significant
}
CONSTRAINT
{
type = SPEEDENV
test = LT
value = 50
prestige = Exceptional
}
CONSTRAINT
{
type = SPEEDENV
test = GT
value = 20
prestige = Exceptional
}
}
MODULE
{
name = FXModuleLookAtConstraint
CONSTRAINLOOKFX
{
targetName = B_TurboCylTop001
rotatorsName = B_TurboCylBottom001
}
CONSTRAINLOOKFX
{
targetName = B_TurboCylTop002
rotatorsName = B_TurboCylBottom002
}
CONSTRAINLOOKFX
{
targetName = B_TurboCylTop003
rotatorsName = B_TurboCylBottom003
}
CONSTRAINLOOKFX
{
targetName = B_TurboCylTop004
rotatorsName = B_TurboCylBottom004
}
CONSTRAINLOOKFX
{
targetName = B_TurboCylBottom001
rotatorsName = B_TurboCylTop001
}
CONSTRAINLOOKFX
{
targetName = B_TurboCylBottom002
rotatorsName = B_TurboCylTop002
}
CONSTRAINLOOKFX
{
targetName = B_TurboCylBottom003
rotatorsName = B_TurboCylTop003
}
CONSTRAINLOOKFX
{
targetName = B_TurboCylBottom004
rotatorsName = B_TurboCylTop004
}
}
MODULE
{
name = ModuleJettison
jettisonName = Cherenkov_ShroudLong,Cherenkov_ShroudShort
bottomNodeName = bottom
isFairing = True
jettisonedObjectMass = 0.1
jettisonForce = 5
jettisonDirection = 0 0 1
useMultipleDragCubes = false
}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = heatColor
responseSpeed = 1.0
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = throttleColor
responseSpeed = 1.0
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = ModuleColorChanger
moduleID = heatColor
animRate = 0.025
shaderProperty = _EmissiveColor
excludedRenderers = CherenkovEngineCore, CherenkovEngineCore2
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
}
}
MODULE
{
name = ModuleColorChanger
moduleID = throttleColor
animRate = 1
shaderProperty = _TintColor
includedRenderers = CherenkovEngineCore, CherenkovEngineCore2
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 0
key = 1 1
}
greenCurve
{
key = 0 0
key = 1 1
}
blueCurve
{
key = 0 0
key = 1 1
}
alphaCurve
{
key = 0 0
key = 1 1
}
}
}

@ -140,7 +140,7 @@ PART
VARIANT
{
name = Basic
displayName =
displayName = #LOC_Restock_variant-engine_shroud
primaryColor = #cc0e0e
secondaryColor = #000000
GAMEOBJECTS
@ -153,7 +153,7 @@ PART
VARIANT
{
name = Wide
displayName =
displayName = #LOC_Restock_variant-engine_shroud_wide
primaryColor = #cc0e0e
secondaryColor = #000000
GAMEOBJECTS
@ -167,7 +167,7 @@ PART
VARIANT
{
name = Bare
displayName =
displayName = #LOC_Restock_variant-engine_compact
primaryColor = #cc0e0e
secondaryColor = #000000
GAMEOBJECTS

@ -28,6 +28,7 @@ v0.2.0
- RK-107 'Ursa' Liquid Fueled Engine (Nertea): 1.875m booster engine, with 1.875m, 1.875m (boattail), 1.25m, 1.25m (boattail) and compact variants
- RE-137 'Schnauzer' Liquid Fuel Engine AJ10 (Nertea): 1.875m vacuum engine, with 2.5m, 1.875m, 1.25m and compact variants
- RE-I2 'Caravel' Liquid Fuel Engine (Nertea): 1.875m sustainer engine, with 2.5m, 1.875m, 1.25m and compact variants
- LV-N410' Atomic Rocket Motor (Nertea): 2.5m atomic engine with 2.5m and compact variants
- New Structural parts
- FL-XA30 Adapter (Nertea): 1.875m to 2.5m flat adapter (White, Black and White, Dark Grey/Orange and Metallic variants)
- FL-XA15 Adapter (Nertea): 1.25m to 1.875m flat adapter (White, Black and White, Dark Grey/Orange and Metallic variants)

Loading…
Cancel
Save