Merge pull request #640 from PorktoberRevolution/mh-engines-1

Mh engines 1
This commit is contained in:
Chris Adderley 2019-06-27 14:06:19 -07:00 committed by GitHub
commit 51115b3694
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
83 changed files with 2731 additions and 22 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 MiB

After

Width:  |  Height:  |  Size: 4.0 MiB

View File

@ -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

View File

@ -121,11 +121,6 @@
cube = SEMIDEPLOYED, 4.283,0.3263,1.015, 4.283,0.3262,1.015, 2.625,0.9762,9.545, 2.625,0.9686,10.19, 4.537,0.3698,1.015, 4.537,0.3471,1.142, 6.557E-07,4.612,-0.09567, 1.837,10.07,1.837
cube = DEPLOYED, 14.88,30.65,3.314, 14.88,30.65,3.314, 32.22,51.8,9.75, 32.22,51.1,10.19, 15.11,31.28,3.314, 15.11,30.72,3.445, 7.153E-07,4.614,-0.09567, 6.454,10.07,6.454
}
MODULE
{
name = ModuleRestockDepthMask
maskTransform = RadialChuteMask
}
}
@ -157,10 +152,5 @@
cube = SEMIDEPLOYED, 1.071,0.8158,0.5571, 1.071,0.8155,0.5571, 0.6563,2.44,4.824, 0.6563,2.421,5.132, 1.134,0.9246,0.5571, 1.134,0.8677,0.6185, 3.278E-07,2.306,-0.04783, 0.9185,5.035,0.9185
cube = DEPLOYED, 3.719,4.228,1.707, 3.719,4.227,1.707, 8.056,7.146,4.929, 8.056,7.048,5.134, 3.779,4.314,1.707, 3.779,4.237,1.774, 3.576E-07,2.307,-0.04783, 3.227,5.037,3.227
}
MODULE
{
name = ModuleRestockDepthMask
maskTransform = RadialChuteDrogueMask
}
}

View File

@ -12,7 +12,7 @@ v0.2.0
- M-2x2 Structural Panel (Nertea): now has Basic, Truss, Insulated, White, Gold Foil, Silver foil variants
- M-Beam 200 I-Beam (Nertea): now has Basic, Truss, Insulated variants
- M-Beam 200 I-Beam Pocket Edition (Nertea): now has Basic, Truss, Insulated variants
- M-Beam 650 I-Beam (Nertea): now has Basic, Truss variants
- M-Beam 650 I-Beam (Nertea): now has Basic, Truss, Insulated variants
- Resources
- 'Drill-O-Matic' Mining Excavator (Andrew Cassidy)
- 'Drill-O-Matic Junior' Mining Excavator (Andrew Cassidy)
@ -30,19 +30,24 @@ v0.2.0
- FTX-2 External Fuel Duct (Andrew)
- EAS-4 Strut Connector (Andrew)
- Making History parts replaced:
- New Engine parts
- RV-1 'Cub' Vernier Engine (Nertea): now has Basic, Wide and Bare variants
- RK-7 'Kodiak' Liquid Fueled Engine (Nertea): now has 1.875m, 1.875m (boattail), 1.25m, 1.25m (boattail) and compact variants
- RE-J10 'Wolfhound' Liquid Fuel Engine (Nertea): now has 2.5m, 1.875m, 1.25m and compact variants
- RE-I2 'Skiff' Liquid Fuel Engine (Nertea): now has 2.5m, 1.875m, 1.25m and compact variants
- Fuel Tanks
- FL-C1000 Fuel Tank (Nertea)
- FL-TX220 Fuel Tank (Nertea)
- FL-TX440 Fuel Tank (Nertea)
- FL-TX900 Fuel Tank (Nertea)
- FL-C1000 Fuel Tank (Nertea)
- FL-A150 Fuel Tank Adapter (Nertea)
- FL-A151L Fuel Tank Adapter (Nertea)
- FL-A151S Fuel Tank Adapter (Nertea)
- FL-A215 Fuel Tank Adapter (Nertea)
- FL-R5 RCS Fuel Tank (Nertea)
- FL-C1000 Fuel Tank (Nertea)
- FL-TX220 Fuel Tank (Nertea)
- FL-TX440 Fuel Tank (Nertea)
- FL-TX900 Fuel Tank (Nertea)
- FL-C1000 Fuel Tank (Nertea)
- FL-A150 Fuel Tank Adapter (Nertea)
- FL-A151L Fuel Tank Adapter (Nertea)
- FL-A151S Fuel Tank Adapter (Nertea)
- FL-A215 Fuel Tank Adapter (Nertea)
- FL-R5 RCS Fuel Tank (Nertea)
- Thermal
- Heat Shield (1.875m) (Nertea): new Unpainted, Classic, Black variants
- Heat Shield (1.875m) (Nertea): new Unpainted, Classic, Black variants
- New Depth Mask module added
- Some parts can now be inset into other parts without visible clipping inside them
- Aero
@ -61,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
------

View File

@ -27,11 +27,27 @@ 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.
#LOC_RestockPlus_restock-engine-srb-anvil_tags = a moar (more motor rocket shuttle ssrb srb restock anvil
#LOC_RestockPlus_restock-engine-ursa_title = RK-107 'Ursa' Liquid Fuel Engine
#LOC_RestockPlus_restock-engine-ursa_description = Though the Ursa is bearish on gimbal mechanisms, it is fairly powerful and does simple, effective duty as a booster engine.
#LOC_RestockPlus_restock-engine-ursa_tags = fueltank ?lfo liquid oxidizer propellant rocket (ursa restock
#LOC_RestockPlus_restock-engine-caravel_title = RE-I2 'Caravel' Liquid Fuel Engine
#LOC_RestockPlus_restock-engine-caravel_description = The caravel easily sails into the winds of interplanetary space with average efficiency and thrust
#LOC_RestockPlus_restock-engine-caravel_tags = fueltank ?lfo liquid oxidizer propellant rocket (caravel restock
#LOC_RestockPlus_restock-engine-schnauzer_title = RE-137 'Schnauzer' Liquid Fuel Engine
#LOC_RestockPlus_restock-engine-schnauzer_description = The Schnauzer has a large snout - er, bell, and as such functions majestically as a upper stage engine.
#LOC_RestockPlus_restock-engine-schnauzer_tags = fueltank ?lfo liquid oxidizer propellant rocket (schanuzer restock
// 1.25m
#LOC_RestockPlus_restock-engine-pug_title = LV-303 'Pug' Liquid Fuel Engine
#LOC_RestockPlus_restock-engine-pug_description = What a cute little engine! All dressed up and ready for Baby's First Upper Stage.
@ -54,6 +70,11 @@ Localization
#LOC_RestockPlus_restock-engine-srb-striker_description = Extending the Mallet with additional segments can provide more boom than your integration team knows what to do with!
#LOC_RestockPlus_restock-engine-srb-striker_tags = a moar (more motor rocket srb restock striker
// Radial
#LOC_RestockPlus_restock-engine-panda_title = RK-1 'Trash Panda' Vernier Engine
#LOC_RestockPlus_restock-engine-panda_description = This small engine has a very large single axis gimbal mechanism which allows excellent control at all flight regimes.
#LOC_RestockPlus_restock-engine-panda_tags = restock fueltank ?lfo liquid oxidizer propellant rocket (panda
// CONTROL
// =======

View File

@ -0,0 +1,572 @@
// ReStock+ 0.2.0
// 1.875m sustainer
PART
{
name = restock-engine-caravel-1
module = Part
author = Chris Adderley (Nertea)
rescaleFactor = 1.0
MODEL
{
model = ReStock/Assets/Engine/restock-engine-caravel-1
}
EFFECTS
{
engage
{
AUDIO
{
channel = Ship
clip = sound_vent_medium
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-caravel-running
{
AUDIO
{
channel = Ship
clip = sound_rocket_hard
volume = 0.0 0.0
volume = 0.01 0.2
volume = 1.0 0.6
pitch = 0.0 0.1
pitch = 0.01 0.2
pitch = 1.0 0.5
loop = true
}
MODEL_MULTI_PARTICLE
{
name = core
modelName = ReStock/FX/restock-fx-skiff-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.8
speed = 1.0 1.0
}
MODEL_MULTI_PARTICLE
{
name = plume
modelName = ReStock/FX/restock-fx-skiff-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
}
}
}
node_stack_top = 0.0, 1.80521, 0.0, 0.0, 1.0, 0.0, 2
node_stack_bottom = 0.0, -1.1, 0.0, 0.0, -1.0, 0.0, 2
node_attach = 0.0, 1.08738, 0.0, 0.0, 1.0, 0.0, 2
/// Flag to disable this part if MH is installed
MHReplacement = True
TechRequired = heavierRocketry
entryCost = 9200
cost = 2300
category = Engine
subcategory = 0
title = #LOC_RestockPlus_restock-engine-caravel_title
manufacturer = #autoLOC_501637 //#autoLOC_501637 = Rockomax Conglomerate
description = #LOC_RestockPlus_restock-engine-caravel_description
attachRules = 1,1,1,0,0
mass = 1.6
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.3
angularDrag = 2
crashTolerance = 7
breakingForce = 150
breakingTorque = 150
maxTemp = 2000 // = 3000
fuelCrossFeed = True
bulkheadProfiles = size1, size1p5, srf
tags = #LOC_RestockPlus_restock-engine-caravel_tags
MODULE
{
name = ModuleEnginesFX
thrustVectorTransformName = thrustTransform
runningEffectName = fx-caravel-running
exhaustDamage = True
ignitionThreshold = 0.1
minThrust = 0
maxThrust = 300
heatProduction = 175
fxOffset = 0, 0, 0.1
EngineType = LiquidFuel
exhaustDamageDistanceOffset = 0.35
PROPELLANT
{
name = LiquidFuel
ratio = 0.9
DrawGauge = True
}
PROPELLANT
{
name = Oxidizer
ratio = 1.1
}
atmosphereCurve
{
key = 0 330
key = 1 265
key = 9 0.001
}
}
MODULE
{
name = ModuleAlternator
RESOURCE
{
name = ElectricCharge
rate = 3.0
}
}
MODULE
{
name = ModuleGimbal
gimbalTransformName = B_GimbalSkiff
gimbalRange = 2
gimbalResponseSpeed = 15
useGimbalResponseSpeed = true
}
MODULE
{
name = FXModuleLookAtConstraint
CONSTRAINLOOKFX
{
targetName = Tgt01
rotatorsName = Tube01
}
CONSTRAINLOOKFX
{
targetName = Tgt02
rotatorsName = Tube02
}
}
MODULE
{
name = ModulePartVariants
baseVariant = Shroud
VARIANT
{
// AKA 2.5m boattail (wtf)
name = Shroud
displayName = #autoLOC_8007104
themeName = Shroud
primaryColor = #999999
secondaryColor = #cecece
sizeGroup = GroupA
GAMEOBJECTS
{
SkiffBoattail = true
SkiffCompact = false
Skiff1875 = false
Skiff125 = false
Shroud1p5x3 = false
Shroud2x3 = true
}
NODES
{
node_stack_top = 0.0, 1.80521, 0.0, 0.0, 1.0, 0.0, 2
node_stack_bottom = 0.0, -1.46, 0.0, 0.0, 1.0, 0.0, 2
}
}
VARIANT
{
name = Size1p5
displayName = #LOC_Restock_variant-engine_size1p5
primaryColor =
secondaryColor =
GAMEOBJECTS
{
SkiffBoattail = false
SkiffCompact = false
Skiff1875 = true
Skiff125 = false
Shroud1p5x3 = false
Shroud1p5x3_2 = true
Shroud2x3 = false
}
NODES
{
node_stack_top = 0.0, 1.08738, 0.0, 0.0, 1.0, 0.0, 2
node_stack_bottom = 0.0, -1.413, 0.0, 0.0, 1.0, 0.0, 2
}
}
VARIANT
{
name = Size1
displayName = #LOC_Restock_variant-engine_size1
primaryColor =
secondaryColor =
GAMEOBJECTS
{
SkiffBoattail = false
SkiffCompact = false
Skiff1875 = false
Skiff125 = true
Shroud1p5x3 = true
Shroud1p5x3_2 = false
Shroud2x3 = false
}
NODES
{
node_stack_top = 0.0, 1.08738, 0.0, 0.0, 1.0, 0.0, 2
node_stack_bottom = 0.0, -1.413, 0.0, 0.0, 1.0, 0.0, 2
}
}
VARIANT
{
name = Bare
displayName = #LOC_Restock_variant-engine_compact
themeName = Bare
primaryColor =
secondaryColor =
GAMEOBJECTS
{
SkiffBoattail = false
SkiffCompact = true
Skiff1875 = false
Skiff125 = false
Shroud1p5x3 = true
Shroud1p5x3_2 = false
Shroud2x3 = false
}
NODES
{
node_stack_top = 0.0, 1.08738, 0.0, 0.0, 1.0, 0.0, 2
node_stack_bottom = 0.0, -1.413, 0.0, 0.0, 1.0, 0.0, 2
}
}
}
MODULE
{
name = ModuleJettison
jettisonName = Shroud1p5x3,Shroud2x3,Shroud1p5x3_2
bottomNodeName = bottom
isFairing = True
jettisonedObjectMass = 0.1
jettisonForce = 5
jettisonDirection = 0 0 1
useMultipleDragCubes = false
}
MODULE
{
name = ModuleSurfaceFX
thrustProviderModuleIndex = 0
fxMax = 0.8
maxDistance = 50
falloff = 2
thrustTransformName = thrustTransform
}
MODULE
{
name = ModuleTestSubject
useStaging = True
useEvent = True
situationMask = 127
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 = GT
value = 0 // this just registers altitude as something to care about
situationMask = 8
}
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 = ModuleColorChanger
moduleID = heatColor
animRate = 0.025
shaderProperty = _EmissiveColor
excludedRenderers = EngineCore
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 = EngineCore
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
}
}
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 = 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
}
}
}

View File

@ -0,0 +1,568 @@
// ReStock+ 0.2.0
// 1.875m vacuum engine
PART
{
name = restock-engine-schnauzer-1
module = Part
author = Chris Adderley (Nertea)
MODEL
{
model = ReStock/Assets/Engine/restock-engine-schnauzer-1
}
rescaleFactor = 1
node_stack_top = 0.0, 0.361067, 0.0, 0.0, 1.0, 0.0, 2
node_stack_bottom = 0.0, -1.8, 0.0, 0.0, -1.0, 0.0, 2
/// Flag to disable this part if MH is installed
MHReplacement = True
EFFECTS
{
engage
{
AUDIO
{
channel = Ship
clip = sound_vent_medium
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-schnauzer-running
{
AUDIO
{
channel = Ship
clip = sound_rocket_hard
volume = 0.0 0.0
volume = 0.01 0.2
volume = 1.0 0.6
pitch = 0.0 0.1
pitch = 0.01 0.2
pitch = 1.0 0.5
loop = true
}
MODEL_MULTI_PARTICLE
{
name = core
modelName = ReStock/FX/restock-fx-wolfhound-core
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.8
speed = 1.0 1.0
}
MODEL_MULTI_PARTICLE
{
name = plume
modelName = ReStock/FX/restock-fx-wolfhound-plume
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
}
}
}
TechRequired = veryHeavyRocketry
entryCost = 12000
cost = 3000
category = Engine
subcategory = 0
title = #LOC_RestockPlus_restock-engine-schnauzer_title
manufacturer = #autoLOC_501637
description = #LOC_RestockPlus_restock-engine-schnauzer_description
attachRules = 1,0,1,1,0
mass = 3.3
heatConductivity = 0.06 // half default
skinInternalConductionMult = 4.0
emissiveConstant = 0.8 // engine nozzles are good at radiating.
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 6
breakingForce = 200
breakingTorque = 200
maxTemp = 2000 // = 3600
bulkheadProfiles = size2, size 1p5, size1, srf
tags = #LOC_RestockPlus_restock-engine-schnauzer_tags
MODULE
{
name = ModuleEnginesFX
thrustVectorTransformName = thrustTransform
runningEffectName = fx-schnauzer-running
exhaustDamage = True
ignitionThreshold = 0.1
minThrust = 0
maxThrust = 375
heatProduction = 83
fxOffset = 0, 0, 0.23
EngineType = LiquidFuel
exhaustDamageDistanceOffset = 1.75
PROPELLANT
{
name = LiquidFuel
ratio = 0.9
DrawGauge = True
}
PROPELLANT
{
name = Oxidizer
ratio = 1.1
}
atmosphereCurve
{
key = 0 380
key = 1 70
key = 3 0.001
}
}
MODULE
{
name = ModuleGimbal
gimbalTransformName = B_GimbalWH
gimbalRange = 3.0
}
MODULE
{
name = ModuleAlternator
RESOURCE
{
name = ElectricCharge
rate = 8.0
}
}
MODULE
{
name = ModuleSurfaceFX
thrustProviderModuleIndex = 0
fxMax = 0.6
maxDistance = 30
falloff = 1.5
thrustTransformName = thrustTransform
}
MODULE
{
name = ModulePartVariants
baseVariant = Shroud
VARIANT
{
name = Shroud
displayName = #LOC_Restock_variant-mounting_classic
primaryColor = #999999
secondaryColor = #3d3d3d
GAMEOBJECTS
{
WH_25 = false
WH_25Base = true
WH_1875 = false
WH_Compact = false
WH_Pipes25 = true
WH_Pipes = false
Shroud1p5x3_2 = false
Shroud2x2_2 = false
Shroud2x2 = true
Shroud1p5x3 = false
}
NODES
{
node_stack_bottom = 0.0, -1.715, 0.0, 0.0, -1.0, 0.0, 2
}
}
VARIANT
{
name = Size2
displayName = #LOC_Restock_variant-engine_size2
primaryColor =
secondaryColor =
GAMEOBJECTS
{
WH_25 = true
WH_25Base = false
WH_1875 = false
WH_Compact = false
WH_Pipes25 = false
WH_Pipes = true
Shroud1p5x3_2 = false
Shroud2x2_2 = true
Shroud2x2 = false
Shroud1p5x3 = false
}
NODES
{
node_stack_bottom = 0.0, -1.715, 0.0, 0.0, -1.0, 0.0, 2
}
}
VARIANT
{
name = Size1p5
displayName = #LOC_Restock_variant-engine_size1p5
primaryColor =
secondaryColor =
GAMEOBJECTS
{
WH_25 = false
WH_25Base = false
WH_1875 = true
WH_Compact = false
WH_Pipes25 = false
WH_Pipes = true
Shroud1p5x3_2 = true
Shroud2x2_2 = false
Shroud2x2 = false
Shroud1p5x3 = false
}
NODES
{
node_stack_bottom = 0.0, -2.14, 0.0, 0.0, -1.0, 0.0, 2
}
}
VARIANT
{
name = Bare
displayName = #LOC_Restock_variant-engine_compact
primaryColor =
secondaryColor =
GAMEOBJECTS
{
WH_25 = false
WH_25Base = false
WH_1875 = false
WH_Compact = true
WH_Pipes25 = false
WH_Pipes = true
Shroud1p5x3_2 = false
Shroud2x2_2 = false
Shroud2x2 = false
Shroud1p5x3 = true
}
NODES
{
node_stack_bottom = 0.0, -2.14, 0.0, 0.0, -1.0, 0.0, 2
}
}
}
MODULE
{
name = ModuleJettison
jettisonName = Shroud2x2,Shroud1p5x3,Shroud2x2_2,Shroud1p5x3_2
bottomNodeName = bottom
isFairing = True
jettisonedObjectMass = 0.1
jettisonForce = 5
jettisonDirection = 0 0 1
useMultipleDragCubes = false
}
MODULE
{
name = ModuleSurfaceFX
thrustProviderModuleIndex = 0
fxMax = 0.8
maxDistance = 50
falloff = 2
thrustTransformName = thrustTransform
}
MODULE
{
name = ModuleTestSubject
useStaging = True
useEvent = True
situationMask = 127
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 = GT
value = 0 // this just registers altitude as something to care about
situationMask = 8
}
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 = ModuleColorChanger
moduleID = heatColor
animRate = 0.025
shaderProperty = _EmissiveColor
excludedRenderers = EngineCore
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 = EngineCore
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
}
}
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 = 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
}
}
}

View File

@ -0,0 +1,560 @@
// ReStock+ 0.2.0
// 1.875m booster
PART
{
name = restock-engine-ursa-1
module = Part
author = Chris Adderley (Nertea)
rescaleFactor = 1.0
MODEL
{
model = ReStock/Assets/Engine/restock-engine-ursa-1
}
node_attach = 0.0, 0.75, 0.0, 0.0, 1.0, 0.0, 1
node_stack_top = 0.0, 0.75, 0.0, 0.0, 1.0, 0.0, 1
node_stack_bottom = 0.0, -1, 0.0, 0.0, -1.0, 0.0, 1
/// Flag to disable this part if MH is installed
MHReplacement = True
EFFECTS
{
engage
{
AUDIO
{
channel = Ship
clip = sound_vent_medium
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-ursa-running
{
AUDIO
{
channel = Ship
clip = sound_rocket_hard
volume = 0.0 0.0
volume = 0.01 0.2
volume = 1.0 0.6
pitch = 0.0 0.1
pitch = 0.01 0.2
pitch = 1.0 0.5
loop = true
}
MODEL_MULTI_PARTICLE
{
name = core
modelName = ReStock/FX/restock-fx-kodiak-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.8
speed = 1.0 1.0
}
MODEL_MULTI_PARTICLE
{
name = plume
modelName = ReStock/FX/restock-fx-kodiak-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
}
}
}
TechRequired = heavierRocketry
entryCost = 4400
cost = 1100
category = Engine
subcategory = 0
title = #LOC_RestockPlus_restock-engine-ursa_title
manufacturer = #autoLOC_501639
description = #LOC_RestockPlus_restock-engine-ursa_description
attachRules = 1,1,1,1,0
mass = 1.25
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.3
angularDrag = 2
crashTolerance = 9
breakingForce = 150
breakingTorque = 150
maxTemp = 2000 // = 3000
fuelCrossFeed = True
bulkheadProfiles = size1, size1p5, srf
tags = #LOC_RestockPlus_restock-engine-ursa_tags
MODULE
{
name = ModuleEnginesFX
thrustVectorTransformName = thrustTransform
runningEffectName = fx-ursa-running
exhaustDamage = True
ignitionThreshold = 0.1
minThrust = 0
maxThrust = 260
heatProduction = 175
fxOffset = 0, 0, 0
EngineType = LiquidFuel
exhaustDamageDistanceOffset = 0.35
PROPELLANT
{
name = LiquidFuel
ratio = 0.9
DrawGauge = True
}
PROPELLANT
{
name = Oxidizer
ratio = 1.1
}
atmosphereCurve
{
key = 0 300
key = 1 285
key = 9 0.001
}
}
MODULE
{
name = ModuleAlternator
RESOURCE
{
name = ElectricCharge
rate = 5.0
}
}
MODULE
{
name = ModulePartVariants
baseVariant = Bare
VARIANT
{
name = Bare
displayName = #LOC_Restock_variant-engine_compact
primaryColor = #cc0e0e
secondaryColor = #000000
GAMEOBJECTS
{
Kodiak1875 = false
Kodiak125 = false
KodiakCompact = true
UrsaBoattail125 = false
UrsaBoattail1875 = false
UrsaBoattailCommon = false
UrsaShroud1875 = false
UrsaShroud125 = false
Shroud1p5x2 = true
Shroud1x0 = false
Shroud1p5x0 = false
}
NODES
{
node_stack_bottom = 0.0, -1.125, 0.0, 0.0, -1.0, 0.0, 1
}
}
VARIANT
{
// 1.25 covered
name = ShroudSmall
displayName = #LOC_Restock_variant-engine_boattail_size1
primaryColor = #ffffff
secondaryColor = #999999
GAMEOBJECTS
{
Kodiak1875 = false
Kodiak125 = false
KodiakCompact = false
UrsaBoattail125 = true
UrsaBoattail1875 = false
UrsaBoattailCommon = true
UrsaShroud1875 = false
UrsaShroud125 = false
Shroud1p5x2 = false
Shroud1x0 = true
Shroud1p5x0 = false
}
NODES
{
node_stack_bottom = 0.0, -1.292, 0.0, 0.0, -1.0, 0.0, 1
}
}
VARIANT
{
// 1.25 bare
name = Size1Bare
displayName = #LOC_Restock_variant-engine_size1
primaryColor = #ffffff
secondaryColor = #999999
GAMEOBJECTS
{
Kodiak1875 = false
Kodiak125 = true
KodiakCompact = false
UrsaBoattail125 = false
UrsaBoattail1875 = false
UrsaBoattailCommon = false
UrsaShroud1875 = false
UrsaShroud125 = true
Shroud1p5x2 = false
Shroud1x0 = false
Shroud1p5x0 = false
}
NODES
{
node_stack_bottom = 0.0, -1.292, 0.0, 0.0, -1.0, 0.0, 1
}
}
VARIANT
{
// 1.875 covered
name = ShroudBig
displayName = #LOC_Restock_variant-engine_boattail_size1p5
primaryColor = #ffffff
secondaryColor = #999999
sizeGroup = GroupB
GAMEOBJECTS
{
Kodiak1875 = false
Kodiak125 = false
KodiakCompact = false
UrsaBoattail125 = false
UrsaBoattail1875 = true
UrsaBoattailCommon = true
UrsaShroud1875 = false
UrsaShroud125 = false
Shroud1p5x2 = false
Shroud1x0 = false
Shroud1p5x0 = true
}
NODES
{
node_stack_bottom = 0.0, -1.3, 0.0, 0.0, -1.0, 0.0, 2
}
}
VARIANT
{
// 1.875 bare
name = Size1p5Bare
displayName = #LOC_Restock_variant-engine_size1p5
primaryColor = #ffffff
secondaryColor = #999999
GAMEOBJECTS
{
Kodiak1875 = true
Kodiak125 = false
KodiakCompact = false
UrsaBoattail125 = false
UrsaBoattail1875 = false
UrsaBoattailCommon = false
UrsaShroud1875 = true
UrsaShroud125 = false
Shroud1p5x2 = false
Shroud1x0 = false
Shroud1p5x0 = false
}
NODES
{
node_stack_bottom = 0.0, -1.292, 0.0, 0.0, -1.0, 0.0, 1
}
}
}
MODULE
{
name = ModuleJettison
jettisonName = Shroud1p5x2,Shroud1p5x0,Shroud1x0,UrsaShroud125,UrsaShroud1875
bottomNodeName = bottom
isFairing = True
jettisonedObjectMass = 0.1
jettisonForce = 5
jettisonDirection = 0 0 1
useMultipleDragCubes = false
}
MODULE
{
name = ModuleSurfaceFX
thrustProviderModuleIndex = 0
fxMax = 0.5
maxDistance = 30
falloff = 1.7
thrustTransformName = thrustTransform
}
MODULE
{
name = ModuleTestSubject
useStaging = True
useEvent = True
situationMask = 127
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 = GT
value = 0 // this just registers altitude as something to care about
situationMask = 8
}
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 = ModuleColorChanger
moduleID = heatColor
animRate = 0.025
shaderProperty = _EmissiveColor
excludedRenderers = EngineCore
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 = EngineCore
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
}
}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = heatColor
responseSpeed = 1.0
dependOnEngineState = True
dependOnThrottle = True
}
MODULE
{
name = FXModuleThrottleEffects
fxModuleNames = throttleColor
responseSpeed = 1.0
dependOnEngineState = True
dependOnThrottle = True
}
}

View File

@ -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
}
}
}

View File

@ -0,0 +1,456 @@
// ReStock+ 0.2.0
// Soyuz vernier engine
PART
{
name = restock-engine-panda-1
module = Part
author = Chris Adderley (Nertea)
MODEL
{
model = ReStock/Assets/Engine/restock-engine-panda-1
}
rescaleFactor = 1.0
node_attach = 0.0, 0.0, -0.16, 0.0, 0.0, 1.0, 1
/// Flag to disable this part if MH is installed
MHReplacement = True
EFFECTS
{
engage
{
AUDIO
{
channel = Ship
clip = sound_vent_medium
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-panda-running
{
AUDIO
{
channel = Ship
clip = sound_rocket_hard
volume = 0.0 0.0
volume = 0.01 0.2
volume = 1.0 0.6
pitch = 0.0 0.1
pitch = 0.01 0.2
pitch = 1.0 0.5
loop = true
}
MODEL_MULTI_PARTICLE
{
name = core
modelName = ReStock/FX/restock-fx-cub-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.8
speed = 1.0 1.0
}
MODEL_MULTI_PARTICLE
{
name = plume
modelName = ReStock/FX/restock-fx-cub-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
}
}
}
TechRequired = precisionPropulsion
entryCost = 3200
cost = 800
category = Engine
subcategory = 0
title = #LOC_RestockPlus_restock-engine-panda_title
manufacturer = #autoLOC_501639
description = #LOC_RestockPlus_restock-engine-panda_description
attachRules = 0,1,0,1,0
mass = 0.18
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.3
angularDrag = 2
crashTolerance = 7
breakingForce = 150
breakingTorque = 150
maxTemp = 2000 // = 3000
fuelCrossFeed = True
bulkheadProfiles = size1, srf
tags = #LOC_RestockPlus_restock-engine-panda_tags
MODULE
{
name = ModuleEnginesFX
runningEffectName = fx-panda-running
thrustVectorTransformName = thrustTransform
exhaustDamage = True
ignitionThreshold = 0.1
minThrust = 0
maxThrust = 32
heatProduction = 150
fxOffset = 0, 0, 0.125
EngineType = LiquidFuel
exhaustDamageDistanceOffset = 0.15
PROPELLANT
{
name = LiquidFuel
ratio = 0.9
DrawGauge = True
}
PROPELLANT
{
name = Oxidizer
ratio = 1.1
}
atmosphereCurve
{
key = 0 310
key = 1 280
key = 7 0.001
}
}
MODULE
{
name = ModulePartVariants
baseVariant = Basic
VARIANT
{
name = Basic
displayName = #LOC_Restock_variant-engine_shroud
primaryColor = #cc0e0e
secondaryColor = #000000
GAMEOBJECTS
{
CubBasic = true
CubBare = false
CubWide = false
}
}
VARIANT
{
name = Wide
displayName = #LOC_Restock_variant-engine_shroud_wide
primaryColor = #cc0e0e
secondaryColor = #000000
GAMEOBJECTS
{
CubBasic = false
CubBare = false
CubWide = true
}
}
VARIANT
{
name = Bare
displayName = #LOC_Restock_variant-engine_compact
primaryColor = #cc0e0e
secondaryColor = #000000
GAMEOBJECTS
{
CubBasic = false
CubBare = true
CubWide = false
}
}
}
MODULE
{
name = ModuleGimbal
gimbalTransformName = B_GimbalCub
gimbalRange = 22.5
yMult = 0
useGimbalResponseSpeed = true
}
MODULE
{
name = ModuleTestSubject
useStaging = True
useEvent = True
situationMask = 127
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 = GT
value = 0 // this just registers altitude as something to care about
situationMask = 8
}
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 = ModuleColorChanger
moduleID = heatColor
animRate = 0.025
shaderProperty = _EmissiveColor
excludedRenderers = EngineCore
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 = EngineCore
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
}
}
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 = ModuleRestockDepthMask
maskTransform = BasicMask
}
MODULE
{
name = ModuleRestockDepthMask
maskTransform = WideMask
}
}

View File

@ -23,6 +23,12 @@ v0.2.0
- Oscar-A Liquid Fuel Tank (Nertea): 0.625m half Oscar-B tank (White and Metallic variants)
- PRBE-9 Liquid Fuel Tank (Nertea): 0.625m exposed probe-style tank (long)
- PRBE-4 Liquid Fuel Tank (Nertea): 0.625m exposed probe-style tank
- New Engine parts
- RK-1 'Trash Panda' Vernier Engine (Nertea): 1.875m radial soyuz-like vernier engine, with Basic, Wide and Bare variants
- 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)