Template out 1.8 part configs

This commit is contained in:
ChrisAdderley
2019-09-26 14:49:58 -07:00
parent b524c82cf8
commit 892e39dfe3
13 changed files with 1479 additions and 54 deletions

View File

@ -1,5 +1,6 @@
// ReStock+ 0.1.0
// ReStock+ 0.2.0
// 1.875m Nosecone
// NOTE: Soft-deprecated as of KSP 1.8 update
PART
{
name = restock-nosecone-1875-1
@ -7,7 +8,7 @@ PART
author = Chris Adderley (Nertea)
MODEL
{
model = ReStockPlus/Assets/Aero/restock-nosecone-1875-1
model = ReStock/Assets/Aero/restock-nosecone-1875-1
scale = 1.0, 1.0, 1.0
}
scale = 1
@ -20,7 +21,8 @@ PART
entryCost = 4200
// Info
cost = 480
category = Aero
category = none
TechHidden = True
subcategory = 0
title = #LOC_RestockPlus_restock-nosecone-1875-1_title
manufacturer = #autoLOC_501638

View File

@ -0,0 +1,88 @@
// ReStock+ 0.2.0
// 1.875m Nosecone (as of KSP 1.8)
PART
{
name = restock-nosecone-1875-2
module = Part
author = Chris Adderley (Nertea)
MODEL
{
model = ReStock/Assets/Aero/restock-nosecone-1875-2
scale = 1.0, 1.0, 1.0
}
scale = 1
rescaleFactor = 1
// Attachment
attachRules = 1,1,1,1,0
node_stack_bottom = 0.0, -0.94, 0, 0.0, -1.0, 0.0, 1
// Tech
TechRequired = aerodynamicSystems
entryCost = 4200
// Info
cost = 480
category = Aero
subcategory = 0
title = #LOC_RestockPlus_restock-nosecone-1875-2_title
manufacturer = #autoLOC_501638
description = #LOC_RestockPlus_restock-nosecone-1875-2_description
tags = #LOC_RestockPlus_restock-nosecone-1875-2_tags
bulkheadProfiles = size1p5
// Parameters
mass = 0.12
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.3
angularDrag = 2
crashTolerance = 6
maxTemp = 2000
breakingForce = 350
breakingTorque = 350
MODULE
{
name = ModulePartVariants
baseVariant = White
useMultipleDragCubes = false
VARIANT
{
name = White
displayName = #autoLOC_8007119
themeName = White
primaryColor = #ffffff
secondaryColor = #ffffff
GAMEOBJECTS
{
1875mNoseconeBlackWhite = false
1875mNosecone = true
1875mNoseconeOrange = false
}
}
VARIANT
{
name = BlackAndWhite
displayName = #autoLOC_8007122
themeName = BlackAndWhite
primaryColor = #ffffff
secondaryColor = #000000
GAMEOBJECTS
{
1875mNoseconeBlackWhite = true
1875mNosecone = false
1875mNoseconeOrange = false
}
}
VARIANT
{
name = Orange
displayName = #autoLOC_8007123
themeName = Orange
primaryColor = #f49841
secondaryColor = #4c4f47
GAMEOBJECTS
{
1875mNoseconeBlackWhite = false
1875mNosecone = false
1875mNoseconeOrange = true
}
}
}
}

View File

@ -1,5 +1,6 @@
// ReStock+ 0.1.0
// ReStock+ 0.2.0
// Small 0625m SRB
// NOTE: Soft-deprecated as of KSP 1.8 update
PART
{
name = restock-srb-mallet-1
@ -9,7 +10,7 @@ PART
scale = 1
MODEL
{
model = ReStockPlus/Assets/Engine/restock-engine-mallet-1
model = ReStock/Assets/Engine/restock-engine-mallet-1
}
node_stack_bottom = 0.0, -1.4, 0.0, 0.0, -1.0, 0.0, 0
node_stack_top = 0.0, 1.71, 0.0, 0.0, 1.0, 0.0, 0
@ -87,7 +88,8 @@ PART
TechRequired = start
entryCost = 0
cost = 125
category = Engine
category = none
TechHidden = True
subcategory = 0
title = #LOC_RestockPlus_restock-engine-srb-mallet_title
description = #LOC_RestockPlus_restock-engine-srb-mallet_description

View File

@ -1,5 +1,7 @@
// ReStock+ 0.1.0
// ReStock+ 0.2.0
// Small 0625m SRB
// NOTE: Soft-deprecated as of KSP 1.8 update
PART
{
name = restock-srb-striker-1
@ -9,7 +11,7 @@ PART
scale = 1
MODEL
{
model = ReStockPlus/Assets/Engine/restock-engine-striker-1
model = ReStock/Assets/Engine/restock-engine-striker-1
}
EFFECTS
{
@ -87,7 +89,9 @@ PART
TechRequired = start
entryCost = 0
cost = 200
category = Engine
category = none
TechHidden = True
subcategory = 0
subcategory = 0
title = #LOC_RestockPlus_restock-engine-srb-striker_title
description = #LOC_RestockPlus_restock-engine-srb-striker_description

View File

@ -1,5 +1,6 @@
// ReStock+ 0.1.0
// ReStock+ 0.2.0
// 1.875m SRB
// NOTE: Soft-deprecated as of KSP 1.8 update
PART
{
name = restock-srb-anvil-1
@ -9,7 +10,7 @@ PART
scale = 1
MODEL
{
model = ReStockPlus/Assets/Engine/restock-srb-anvil-1
model = ReStock/Assets/Engine/restock-srb-anvil-1
}
EFFECTS
{
@ -87,7 +88,8 @@ PART
TechRequired = heavierRocketry
entryCost = 0
cost = 10500
category = Engine
category = none
TechHidden = True
subcategory = 0
title = #LOC_RestockPlus_restock-engine-srb-anvil_title
description = #LOC_RestockPlus_restock-engine-srb-anvil_description

View File

@ -0,0 +1,459 @@
// ReStock+ 0.2.0
// 1.875m SRB for post-1.8 (mirrors Pollux)
PART
{
name = restock-srb-anvil-1
module = Part
author = Chris Adderley (Nertea)
rescaleFactor = 1
scale = 1
MODEL
{
model = ReStock/Assets/Engine/restock-srb-castor-1
}
EFFECTS
{
engage
{
AUDIO
{
channel = Ship
clip = sound_vent_medium
volume = 1.0
pitch = 2.0
loop = false
}
}
flameout
{
PREFAB_PARTICLE
{
prefabName = fx_exhaustSparks_flameout_2
transformName = thrustTransform
oneShot = true
}
AUDIO
{
channel = Ship
clip = sound_explosion_low
volume = 1.0
pitch = 2.0
loop = false
}
}
fx-anvil-running
{
AUDIO
{
channel = Ship
clip = sound_rocket_hard
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-srb-anvil
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
}
PREFAB_PARTICLE
{
prefabName = fx_smokeTrail_veryLarge
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
}
}
}
node_stack_bottom = 0.0, -10.699, 0.0, 0.0, -1.0, 0.0, 1
node_stack_top = 0.0, 7.574, 0.0, 0.0, 1.0, 0.0, 1
node_attach = 0.0, 0.0, -0.9375, 0.0, 0.0, 1.0, 1
TechRequired = heavierRocketry
entryCost = 0
cost = 10500
category = Engine
subcategory = 0
title = #LOC_RestockPlus_restock-engine-srb-castor_title
description = #LOC_RestockPlus_restock-engine-srb-castor_description
attachRules = 1,1,1,1,0
mass = 10
heatConductivity = 0.06 // 1/2 default
skinInternalConductionMult = 4.0
emissiveConstant = 0.5 // yes, it's white. But let's claim it's an emissive white...
dragModelType = default
maximum_drag = 0.3
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 7
maxTemp = 2000 // = 3600
stagingIcon = SOLID_BOOSTER
bulkheadProfiles = size1p5, srf
tags = #LOC_RestockPlus_restock-engine-srb-anvil_tags
MODULE
{
name = ModuleEnginesFX
thrustVectorTransformName = thrustTransform
throttleLocked = True
exhaustDamage = True
ignitionThreshold = 0.1
minThrust = 0
maxThrust = 2250
heatProduction = 545
useEngineResponseTime = True
engineAccelerationSpeed = 10.0
allowShutdown = False
fxOffset = 0, 0, 0.0
runningEffectName = fx-anvil-running
// Possible EngineType values:
// Generic, SolidBooster, LiquidFuel, Piston, Turbine, ScramJet, Electric, Nuclear, MonoProp
EngineType = SolidBooster
exhaustDamageDistanceOffset = 0.6
PROPELLANT
{
name = SolidFuel
ratio = 1.0
DrawGauge = True
}
atmosphereCurve
{
key = 0 238
key = 1 212
key = 4 100
}
}
RESOURCE
{
name = SolidFuel
amount = 7200
maxAmount = 7200
}
MODULE
{
name = ModuleGimbal
gimbalTransformName = Gimbal
gimbalRange = 3
gimbalResponseSpeed = 5
useGimbalResponseSpeed = true
}
MODULE
{
name = ModuleTestSubject
useStaging = True
useEvent = True
situationMask = 60
CONSTRAINT
{
// disable all but home
type = SITUATION
value = 0
body = _NotHome
prestige = Trivial
}
CONSTRAINT
{
// disable all but home
type = SITUATION
value = 0
body = _NotHome
prestige = Significant
}
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 = 0
situationMask = 8
prestige = Significant
}
CONSTRAINT
{
type = SPEED
test = LT
value = 900
situationMask = 8
prestige = Significant
}
CONSTRAINT
{
type = SPEED
test = GT
value = 300
situationMask = 8
prestige = Exceptional
}
CONSTRAINT
{
type = SPEED
test = LT
value = 1200
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.7
maxDistance = 50
falloff = 2
thrustTransformName = thrustTransform
}
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.1
shaderProperty = _EmisiveColor
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 = FXModuleLookAtConstraint
CONSTRAINLOOKFX
{
targetName = UpperCyl001
rotatorsName = LowerCyl001
}
CONSTRAINLOOKFX
{
targetName = UpperCyl002
rotatorsName = LowerCyl002
}
CONSTRAINLOOKFX
{
targetName = LowerCyl001
rotatorsName = UpperCyl001
}
CONSTRAINLOOKFX
{
targetName = LowerCyl002
rotatorsName = UpperCyl002
}
}
}