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
commit 29ae1c6aa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}
}

View File

@ -106,6 +106,7 @@
- Kerbodyne KR-2L+ "Rhino" Liquid Fuel Engine (Nertea)
- S3 KS-25x4 "Mammoth" Liquid Fuel Engine (Nertea)
- IX-6315 "Dawn" Electric Propulsion System (Nertea)
- CR-7 R.A.P.I.E.R. Engine (Nertea)
- Electrical
- Z-200 Rechargeable Battery Bank (Nertea)
- Z-1K Rechargeable Battery Bank (Nertea)

View File

@ -1,3 +1,14 @@
The art assets in this pack (all models and textures) are distributed under an All Rights Reserved License.
ART
---
You may not redistribute or re-use these assets without express permission from the authors of the individual assets (specified in the configuration file).
The art assets in this pack (all models and textures) are distributed under an All Rights Reserved License. You may not redistribute or re-use these assets without express permission from the author of the asset (located in the "author" field of the corresponding part configuration file).
CONFIGURATION
-------------
Configs are distributed under the MIT license
Copyright (c) 2019 the ReStock team
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -11,7 +11,7 @@ DEPENDENCIES
============
Required:
- ModuleManager (3.1.2)
- ModuleManager (4.0.1)
=============
CREDITS

View File

@ -18,11 +18,11 @@ Localization
#LOC_RestockPlus_restock-engine-boar_tags = ascent main propuls lower sls dynetics f1b restock
#LOC_RestockPlus_restock-engine-pug_title = LV-303 'Pug' Liquid Fuel Engine
#LOC_RestockPlus_restock-engine-pug_description =
#LOC_RestockPlus_restock-engine-pug_description = What a cute little engine! All dressed up and ready for Baby's First Upper Stage.
#LOC_RestockPlus_restock-engine-pug_tags = orbit vac upper propuls restock
#LOC_RestockPlus_restock-engine-valiant_title = LV-T15 'Valiant' Liquid Fuel Engine
#LOC_RestockPlus_restock-engine-valiant_description =
#LOC_RestockPlus_restock-engine-valiant_description = The first (well, the first that didn't regularly explode) model in the famed LV series of engines. Just enough to get you flying, and it even offers such startling amenities as "throttle" and "gimbal".
#LOC_RestockPlus_restock-engine-valiant_tags = ascent main propuls lower sls restock
#LOC_RestockPlus_restock-engine-torch_title = Mk-1H 'Torch' Liquid Fuel Engine
@ -34,7 +34,7 @@ Localization
#LOC_RestockPlus_restock-engine-srb-mallet_tags = moar (more motor rocket srb restock
#LOC_RestockPlus_restock-engine-srb-striker_title = RT-2 'Striker' Solid Rocket Booster
#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_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
// RCS
@ -45,7 +45,7 @@ Localization
#LOC_RestockPlus_restock-rcs-block-triple-angled-1_description = Apparently this is the most theoretically efficient RCS block.
#LOC_RestockPlus_restock-rcs-block-triple-angled-1_tags = restock cluster control dock maneuver manoeuvre react rendezvous rotate stab steer translate three triple
#LOC_RestockPlus_restock-rcs-block-quad-angled-1_title = RV-105-A RCS Thruster Block
#LOC_RestockPlus_restock-rcs-block-quad-angled-1_description = Angling the thrusters on the standark RV-105 model can produce much better RCS translation in some spacecraft.
#LOC_RestockPlus_restock-rcs-block-quad-angled-1_description = Angling the thrusters on the standard RV-105 model can produce much better RCS translation in some spacecraft.
#LOC_RestockPlus_restock-rcs-block-quad-angled-1_tags = restock cluster control dock maneuver manoeuvre react rendezvous rotate stab steer translate four lunar quad
#LOC_RestockPlus_restock-rcs-block-quint-1_title = RV-105X RCS Thruster Block
#LOC_RestockPlus_restock-rcs-block-quint-1_description = Apparently for some space programs, four jets is just plain not enough. After in-the-field observations of PA-7s jammed into RV-105 blocks with electrical tape and pruning shears, STEADLER has released to 105-XL with a fifth perpendicular nozzle.
@ -53,19 +53,19 @@ Localization
#LOC_RestockPlus_restock-rcs-single-mini-1_title = RC-1 RCS Linear RCS Port
#LOC_RestockPlus_restock-rcs-single-mini-1_description = STEADLER Engineering has worked tirelessly and at considerable expense with Probodobodyne Corp on die shrinking processes for space compute hardware, with resultingly lower assembly line fatality rates. Out of this engineering sprung an oversized communications port which has been repurposed as a reaction control thruster.
#LOC_RestockPlus_restock-rcs-single-mini-1_tags = restock restock control dock maneuver manoeuvre react rendezvous rotate stab steer translate single one
#LOC_RestockPlus_restock-rcs-single-mini-1_tags = restock control dock maneuver manoeuvre react rendezvous rotate stab steer translate single one
#LOC_RestockPlus_restock-rcs-block-dual-mini-1_title = RC-12 RCS Thruster Block
#LOC_RestockPlus_restock-rcs-block-dual-mini-1_description = A miniaturized RV-102, the RC-12 has a whole quarter of the thrust of its big brother.
#LOC_RestockPlus_restock-rcs-block-dual-mini-1_tags = restock restock cluster control dock maneuver manoeuvre react rendezvous rotate stab steer translate tiny dual two pair
#LOC_RestockPlus_restock-rcs-block-dual-mini-1_tags = restock cluster control dock maneuver manoeuvre react rendezvous rotate stab steer translate tiny dual two pair
#LOC_RestockPlus_restock-rcs-block-triple-angled-mini-1_title = RC-13 RCS Thruster Block
#LOC_RestockPlus_restock-rcs-block-triple-angled-mini-1_description = Check out the three thrusters on this one!
#LOC_RestockPlus_restock-rcs-block-triple-angled-mini-1_tags = restock restock cluster control dock maneuver manoeuvre react rendezvous rotate stab steer translate triple tiny quad
#LOC_RestockPlus_restock-rcs-block-triple-angled-mini-1_tags = restock cluster control dock maneuver manoeuvre react rendezvous rotate stab steer translate triple tiny quad
#LOC_RestockPlus_restock-rcs-block-quad-mini-1_title = RC-14 RCS Thruster Block
#LOC_RestockPlus_restock-rcs-block-quad-mini-1_description = A really basic RCS system block, but really small.
#LOC_RestockPlus_restock-rcs-block-quad-mini-1_tags = restock restock cluster control dock maneuver manoeuvre react rendezvous rotate stab steer translate four tiny quad
#LOC_RestockPlus_restock-rcs-block-quad-mini-1_tags = restock cluster control dock maneuver manoeuvre react rendezvous rotate stab steer translate four tiny quad
#LOC_RestockPlus_restock-rcs-block-quad-angled-mini-1_title = RC-14-A RCS Thruster Block
#LOC_RestockPlus_restock-rcs-block-quad-angled-mini-1_description = This angled block, is, you guessed it, canted slightly for better four way efficiency.
#LOC_RestockPlus_restock-rcs-block-quad-angled-mini-1_tags = restock restock cluster control dock maneuver manoeuvre react rendezvous rotate stab steer translate four tiny quad
#LOC_RestockPlus_restock-rcs-block-quad-angled-mini-1_tags = restock cluster control dock maneuver manoeuvre react rendezvous rotate stab steer translate four tiny quad
#LOC_RestockPlus_restock-rcs-block-quint-mini-1_title = RC-15 RCS Thruster Block
#LOC_RestockPlus_restock-rcs-block-quint-mini-1_description = Miniaturizing five RCS jets into one block wasn't easy, but we have you covered here - if covered refers to the fine misting of toxic gases that qualification models of these thrusters applied to several interns.
#LOC_RestockPlus_restock-rcs-block-quint-mini-1_tags = restock cluster control dock maneuver manoeuvre react rendezvous rotate stab steer translate five tiny quint

View File

@ -0,0 +1,458 @@
// ReStock+ 0.1.0
// Pug (1.25m starter vacuum engine)
PART
{
name = restock-engine-125-pug
module = Part
author = Porkjet and Chris Adderley (Nertea)
MODEL
{
model = ReStock/Assets/Engine/restock-engine-pug-1
}
rescaleFactor = 1
scale = 1
node_attach = 0.0, 0.251, 0.0, 0.0, 1.0, 0.0, 1
node_stack_top = 0.0, 0.251, 0.0, 0.0, 1.0, 0.0, 1
node_stack_bottom = 0.0, -0.249, 0.0, 0.0, -1.0, 0.0, 1
TechRequired = basicRocketry
entryCost = 1600
cost = 300
category = Engine
subcategory = 0
title = #LOC_RestockPlus_restock-engine-pug_title
manufacturer = #autoLOC_501638
description = #LOC_RestockPlus_restock-engine-pug_description
attachRules = 1,1,1,1,0
mass = 0.2
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 = 7
maxTemp = 2000 // = 3600
bulkheadProfiles = size1
tags = #LOC_RestockPlus_restock-engine-pug_tags
resourcePriorityUseParentInverseStage = 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-pug-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
{
modelName = ReStock/FX/restock-fx-pug-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
}
}
}
MODULE
{
name = ModuleEnginesFX
thrustVectorTransformName = thrustTransform
exhaustDamage = True
ignitionThreshold = 0.1
minThrust = 0
maxThrust = 25
heatProduction = 50
EngineType = LiquidFuel
exhaustDamageDistanceOffset = 0.34
runningEffectName = fx-pug-running
PROPELLANT
{
name = LiquidFuel
ratio = 0.9
DrawGauge = True
}
PROPELLANT
{
name = Oxidizer
ratio = 1.1
}
atmosphereCurve
{
key = 0 320
key = 1 150
key = 2 0.001
}
}
RESOURCE
{
name = LiquidFuel
amount = 18
maxAmount = 18
}
RESOURCE
{
name = Oxidizer
amount = 22
maxAmount = 22
}
MODULE
{
name = ModulePartVariants
baseVariant = Size1
VARIANT
{
name = Size1
displayName = #LOC_Restock_variant-engine_size1
primaryColor = #000000
secondaryColor = #999999
GAMEOBJECTS
{
LV_303 = true
LV_303_Boattail = false
LV_303_Compact = false
Shroud = true
Shroud_Compact = false
}
}
VARIANT
{
name = Boattail
displayName = #LOC_Restock_variant-engine_boattail
primaryColor = #999999
secondaryColor = #000000
GAMEOBJECTS
{
LV_303 = false
LV_303_Boattail = true
LV_303_Compact = false
Shroud = false
Shroud_Compact = false
}
}
VARIANT
{
name = Compact
displayName = #LOC_Restock_variant-engine_compact
primaryColor = #ffffff
secondaryColor = #f69449
GAMEOBJECTS
{
LV_303 = false
LV_303_Boattail = false
LV_303_Compact = true
Shroud = false
Shroud_Compact = true
}
}
}
MODULE
{
name = ModuleJettison
jettisonName = Shroud,Shroud_Compact
bottomNodeName = bottom
isFairing = True
jettisonedObjectMass = 0.1
jettisonForce = 0
jettisonDirection = 0 0 1
}
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 = ModuleSurfaceFX
thrustProviderModuleIndex = 0
fxMax = 0.3
maxDistance = 30
falloff = 1.7
thrustTransformName = thrustTransform
}
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.05
shaderProperty = _EmissiveColor
excludedRenderers = 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 = ModuleColorChanger
moduleID = throttleColor
animRate = 1
shaderProperty = _EmissiveColor
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
}
}
}

View File

@ -0,0 +1,587 @@
// ReStock+ 0.1.0
// Valiant (1.25m starter engine)
PART
{
name = restock-engine-125-valiant
module = Part
author = Porkjet and Chris Adderley (Nertea)
MODEL
{
model = ReStock/Assets/Engine/restock-engine-valiant-1
}
node_attach = 0.0, 0.4499999, 0.0, 0.0, 1.0, 0.0, 1
node_stack_top = 0.0, 0.4499999, 0.0, 0.0, 1.0, 0.0, 1
node_stack_bottom = 0.0, -0.87125, 0.0, 0.0, -1.0, 0.0, 1
rescaleFactor = 1
scale = 1
!EFFECTS {}
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
}
AUDIO
{
channel = Ship
clip = sound_explosion_low
volume = 1.0
pitch = 2.0
loop = false
}
}
fx-valiant-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 = turbo
modelName = ReStock/FX/restock-fx-valiant-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
}
MODEL_MULTI_PARTICLE
{
name = core
modelName = ReStock/FX/restock-fx-valiant-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 = ReStock/FX/restock-fx-valiant-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.35
speed = 1.0 1.0
}
PREFAB_PARTICLE
{
prefabName = fx_smokeTrail_light
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, 0
}
}
}
TechRequired = basicRocketry
entryCost = 1500
cost = 500
category = Engine
subcategory = 0
title = #LOC_RestockPlus_restock-engine-valiant_title
manufacturer = #autoLOC_501638
description = #LOC_RestockPlus_restock-engine-valiant_description
attachRules = 1,1,1,1,0
mass = 0.75
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 = 7
maxTemp = 2000 // = 3600
bulkheadProfiles = size1
tags = #LOC_RestockPlus_restock-engine-valiant_tags
MODULE
{
name = ModuleEnginesFX
thrustVectorTransformName = thrustTransform
exhaustDamage = True
ignitionThreshold = 0.1
minThrust = 0
maxThrust = 100
heatProduction = 200
fxOffset = 0, 0, -0.05
EngineType = LiquidFuel
runningEffectName = fx-valiant-running
exhaustDamageDistanceOffset = 0.79
PROPELLANT
{
name = LiquidFuel
ratio = 0.9
DrawGauge = True
}
PROPELLANT
{
name = Oxidizer
ratio = 1.1
}
atmosphereCurve
{
key = 0 270
key = 1 240
key = 7 0.001
}
}
MODULE
{
name = ModulePartVariants
baseVariant = Size1
VARIANT
{
name = Size1
displayName = #LOC_Restock_variant-engine_size1
primaryColor = #000000
secondaryColor = #999999
GAMEOBJECTS
{
LV_T15 = true
LV_T15_Boattail = false
LV_T15_Compact = false
Shroud = true
Shroud_Compact = false
EngineCompact = false
Engine = true
MovingPartsCompactT15 = false
MovingParts = true
Piston001Lower = true
Piston002Lower = true
Piston003Lower = false
Piston004Lower = false
Piston001Upper = true
Piston002Upper = true
Piston003Upper = false
Piston004Upper = false
}
}
VARIANT
{
name = Boattail
displayName = #LOC_Restock_variant-engine_boattail
primaryColor = #999999
secondaryColor = #000000
GAMEOBJECTS
{
LV_T15 = false
LV_T15_Boattail = true
LV_T15_Compact = false
Shroud = false
Shroud_Compact = false
EngineCompact = false
Engine = true
MovingPartsCompactT15 = false
MovingParts = false
Piston001Lower = false
Piston002Lower = false
Piston003Lower = false
Piston004Lower = false
Piston001Upper = false
Piston002Upper = false
Piston003Upper = false
Piston004Upper = false
}
}
VARIANT
{
name = Compact
displayName = #LOC_Restock_variant-engine_compact
primaryColor = #ffffff
secondaryColor = #f69449
GAMEOBJECTS
{
LV_T15 = false
LV_T15_Boattail = false
LV_T15_Compact = true
Shroud = false
Shroud_Compact = true
EngineCompact = true
Engine = false
MovingPartsCompactT15 = true
MovingParts = false
Piston001Lower = false
Piston002Lower = false
Piston003Lower = true
Piston004Lower = true
Piston001Upper = false
Piston002Upper = false
Piston003Upper = true
Piston004Upper = true
}
}
}
MODULE
{
name = ModuleGimbal
gimbalTransformName = Gimbal
gimbalRange = 5
gimbalResponseSpeed = 15
useGimbalResponseSpeed = true
}
MODULE
{
name = FXModuleLookAtConstraint
CONSTRAINLOOKFX
{
targetName = Piston001Lower
rotatorsName = Piston001Upper
}
CONSTRAINLOOKFX
{
targetName = Piston001Upper
rotatorsName = Piston001Lower
}
CONSTRAINLOOKFX
{
targetName = Piston002Lower
rotatorsName = Piston002Upper
}
CONSTRAINLOOKFX
{
targetName = Piston002Upper
rotatorsName = Piston002Lower
}
CONSTRAINLOOKFX
{
targetName = Piston003Lower
rotatorsName = Piston003Upper
}
CONSTRAINLOOKFX
{
targetName = Piston003Upper
rotatorsName = Piston003Lower
}
CONSTRAINLOOKFX
{
targetName = Piston004Lower
rotatorsName = Piston004Upper
}
CONSTRAINLOOKFX
{
targetName = Piston004Upper
rotatorsName = Piston004Lower
}
}
MODULE
{
name = ModuleJettison
jettisonName = Shroud,Shroud_Compact
bottomNodeName = bottom
isFairing = True
jettisonedObjectMass = 0.1
jettisonForce = 0
jettisonDirection = 0 0 1
}
MODULE
{
name = ModuleAlternator
RESOURCE
{
name = ElectricCharge
rate = 6.0
}
}
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 = 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.05
shaderProperty = _EmissiveColor
excludedRenderers = 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 = ModuleColorChanger
moduleID = throttleColor
animRate = 1
shaderProperty = _EmissiveColor
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
}
}
}

View File

@ -44,4 +44,4 @@
-- RC-15 RCS Thruster Block (Nertea): Five way RCS block, mini size
- Patches and fixes
-- Gimbals are enabled on stock SRBs
-- Oscar-B tank volume has been fixed (was far too high at 40, is now 12)
-- Oscar-B tank volume has been fixed (was far too high at 40, is now 18)

View File

@ -1 +1,14 @@
TBW
ART
---
The art assets in this pack (all models and textures) are distributed under an All Rights Reserved License. You may not redistribute or re-use these assets without express permission from the author of the asset (located in the "author" field of the corresponding part configuration file).
CONFIGURATION
-------------
Configs are distributed under the MIT license
Copyright (c) 2019 the ReStock team
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -2,14 +2,17 @@
RESTOCK+ 0.1.0
==============
Restock+ is a complement to Restock which adds useful parts that we feel are missing from the base game.
Restock+ is a complement to Restock which adds useful parts that we feel are missing from the base game. At the moment this concentrates on a couple of primary areas:
- 0.625m parts: filling out this range with engines, fuel tanks, SRBs and more
- 3.75m parts: filling out the range with engines, docking ports, control systems and more
In addition some glaring bugfixes and improvements are made
============
DEPENDENCIES
============
Required:
- Restock
- Restock (0.1.0)
- ModuleManager (4.0.1)
=============