// 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 } DRAG_CUBE { cube = Fairing, 0.6602,0.745,0.7051, 0.6602,0.7453,0.7051, 1.217,0.9673,0.1492, 1.217,0.767,0.4913, 0.6629,0.7423,0.7222, 0.6629,0.7432,0.7222, -9.537E-07,0.0005498,3.576E-05, 1.25,0.5458,1.25 cube = Clean, 0.4559,0.6999,0.7222, 0.4559,0.6999,0.7222, 0.8838,0.7113,0.5849, 0.8838,0.7387,0.4504, 0.4559,0.697,0.7222, 0.4559,0.6994,0.7222, -9.537E-07,0.0005498,3.576E-05, 1.25,0.5458,1.25 } 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_501627 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 = 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 { 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 useMultipleDragCubes = false VARIANT { name = Size1 displayName = #LOC_Restock_variant-engine_size1 primaryColor = #999999 secondaryColor = #ffb80c 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 = #ffffff secondaryColor = #ffb80c 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 = #999999 secondaryColor = #999999 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 useMultipleDragCubes = 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 = ModuleSurfaceFX thrustProviderModuleIndex = 0 fxMax = 0.3 maxDistance = 30 falloff = 1.7 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.025 shaderProperty = _EmissiveColor excludedRenderers = EngineCoreGlow 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 = EngineCoreGlow 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 } } }