From 7d7f6b371a52a4515e3221b9535fc725e8a47195 Mon Sep 17 00:00:00 2001 From: Chris Adderley Date: Fri, 25 Jan 2019 07:44:43 -0800 Subject: [PATCH] Test srb configs --- .../Engine/0625/restock-srb-mallet-1.cfg | 295 ++++++++++++++++++ .../Engine/0625/restock-srb-striker-1.cfg | 295 ++++++++++++++++++ 2 files changed, 590 insertions(+) create mode 100644 Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-srb-mallet-1.cfg create mode 100644 Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-srb-striker-1.cfg diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-srb-mallet-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-srb-mallet-1.cfg new file mode 100644 index 00000000..d15060c1 --- /dev/null +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-srb-mallet-1.cfg @@ -0,0 +1,295 @@ +PART +{ + name = restock-srb-mallet-1 + module = Part + author = Chris Adderley (Nertea) + rescaleFactor = 1 + scale = 1 + MODEL + { + model = ReStockPlus/Assets/Engine/restock-engine-mallet-1 + } + + node_stack_bottom = 0.0, -0.9975, 0.0, 0.0, -1.0, 0.0, 0 + node_stack_top = 0.0, 0.7575, 0.0, 0.0, 1.0, 0.0, 0 + node_attach = 0.0, 0.0, -0.3125, 0.0, 0.0, 1.0, 0 + + TechRequired = start + entryCost = 0 + cost = 200 + category = Engine + subcategory = 0 + title = + description = + attachRules = 1,1,1,1,0 + mass = 0.45 + 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 = size0, srf + tags = #autoLOC_500489 //#autoLOC_500489 = (flea moar (more motor rocket srb + MODULE + { + name = ModuleEnginesFX + thrustVectorTransformName = thrustTransform + throttleLocked = True + exhaustDamage = True + ignitionThreshold = 0.1 + minThrust = 0 + maxThrust = 192 + heatProduction = 545 + useEngineResponseTime = True + engineAccelerationSpeed = 10.0 + allowShutdown = False + fxOffset = 0, 0, 0.12 + + // 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 165 + key = 1 140 + key = 6 0.001 + } + } + + RESOURCE + { + name = SolidFuel + amount = 80 + maxAmount = 80 + } + 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 = ModuleJettison + jettisonName = shroud + bottomNodeName = bottom + isFairing = True + jettisonedObjectMass = 0.1 + jettisonForce = 5 + jettisonDirection = 0 0 1 + useMultipleDragCubes = false + } +} diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-srb-striker-1.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-srb-striker-1.cfg new file mode 100644 index 00000000..a75dbad2 --- /dev/null +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/0625/restock-srb-striker-1.cfg @@ -0,0 +1,295 @@ +PART +{ + name = restock-srb-striker-1 + module = Part + author = Chris Adderley (Nertea) + rescaleFactor = 1 + scale = 1 + MODEL + { + model = ReStockPlus/Assets/Engine/restock-engine-striker-1 + } + + node_stack_bottom = 0.0, -0.9975, 0.0, 0.0, -1.0, 0.0, 0 + node_stack_top = 0.0, 0.7575, 0.0, 0.0, 1.0, 0.0, 0 + node_attach = 0.0, 0.0, -0.3125, 0.0, 0.0, 1.0, 0 + + TechRequired = start + entryCost = 0 + cost = 200 + category = Engine + subcategory = 0 + title = + description = + attachRules = 1,1,1,1,0 + mass = 0.45 + 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 = size0, srf + tags = #autoLOC_500489 //#autoLOC_500489 = (flea moar (more motor rocket srb + MODULE + { + name = ModuleEnginesFX + thrustVectorTransformName = thrustTransform + throttleLocked = True + exhaustDamage = True + ignitionThreshold = 0.1 + minThrust = 0 + maxThrust = 192 + heatProduction = 545 + useEngineResponseTime = True + engineAccelerationSpeed = 10.0 + allowShutdown = False + fxOffset = 0, 0, 0.12 + + // 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 165 + key = 1 140 + key = 6 0.001 + } + } + + RESOURCE + { + name = SolidFuel + amount = 160 + maxAmount = 160 + } + 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 = ModuleJettison + jettisonName = shroud + bottomNodeName = bottom + isFairing = True + jettisonedObjectMass = 0.1 + jettisonForce = 5 + jettisonDirection = 0 0 1 + useMultipleDragCubes = false + } +}