From 1c505b29a9b13d7b5244f5b3fbe750e998c4cac9 Mon Sep 17 00:00:00 2001 From: ChrisAdderley Date: Fri, 25 Jan 2019 09:18:32 -0800 Subject: [PATCH] Fix corgi --- .../Parts/Engine/375/restock-engine-corgi.cfg | 992 +++++++++--------- 1 file changed, 495 insertions(+), 497 deletions(-) diff --git a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/375/restock-engine-corgi.cfg b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/375/restock-engine-corgi.cfg index ace42d08..ea79bca8 100644 --- a/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/375/restock-engine-corgi.cfg +++ b/Distribution/RestockPlus/GameData/ReStockPlus/Parts/Engine/375/restock-engine-corgi.cfg @@ -3,58 +3,58 @@ PART { - // --- general parameters --- - name = restock-engine-375-corgi - module = Part - author = Chris Adderley (Nertea) + // --- general parameters --- + name = restock-engine-375-corgi + module = Part + author = Chris Adderley (Nertea) - // --- asset parameters --- - MODEL - { - model = ReStockPlus/Assets/Engine/restock-engine-corgi-1 - scale = 1.0, 1.0, 1.0 - } - scale = 1.0 - rescaleFactor = 1 + // --- asset parameters --- + MODEL + { + model = ReStockPlus/Assets/Engine/restock-engine-corgi-1 + scale = 1.0, 1.0, 1.0 + } + scale = 1.0 + rescaleFactor = 1 - // --- node definitions --- - node_attach = 0.0, 0.753, 0.0, 0.0, 1.0, 0.0, 3 - node_stack_top = 0.0, 0.753, 0.0, 0.0, 1.0, 0.0, 3 - node_stack_bottom = 0.0, -2.315, 0.0, 0.0, -1.0, 0.0, 3 + // --- node definitions --- + node_attach = 0.0, 0.753, 0.0, 0.0, 1.0, 0.0, 3 + node_stack_top = 0.0, 0.753, 0.0, 0.0, 1.0, 0.0, 3 + node_stack_bottom = 0.0, -2.315, 0.0, 0.0, -1.0, 0.0, 3 - // --- FX definitions --- - EFFECTS - { - 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 = thrustTransform - oneShot = true - } - AUDIO - { - channel = Ship - clip = sound_explosion_low - volume = 1.0 - pitch = 2.0 - loop = false - } + // --- FX definitions --- + EFFECTS + { + 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 = thrustTransform + oneShot = true + } + AUDIO + { + channel = Ship + clip = sound_explosion_low + volume = 1.0 + pitch = 2.0 + loop = false + } } fx-corgi-running - { + { AUDIO { channel = Ship @@ -65,433 +65,431 @@ PART pitch = 1.0 0.95 loop = true } - - MODEL_MULTI_PARTICLE - { + MODEL_MULTI_PARTICLE + { name = core - modelName = ReStockPlus/FX/restock-fx-corgi-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 - { + modelName = ReStockPlus/FX/restock-fx-corgi-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-corgi-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 - } - - } - } + modelName = ReStockPlus/FX/restock-fx-corgi-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 + } + } + } - // --- editor parameters --- - TechRequired = veryHeavyRocketry - entryCost = 26800 - cost = 15200 - category = Engine - subcategory = 0 - title = #LOC_RestockPlus_restock-engine-corgi_title - manufacturer = #autoLOC_501638 - description = #LOC_RestockPlus_restock-engine-corgi_description + // --- editor parameters --- + TechRequired = veryHeavyRocketry + entryCost = 13500 + cost = 4250 + category = Engine + subcategory = 0 + title = #LOC_RestockPlus_restock-engine-corgi_title + manufacturer = #autoLOC_501638 + description = #LOC_RestockPlus_restock-engine-corgi_description - // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision - attachRules = 1,1,1,0,0 + // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision + attachRules = 1,1,1,0,0 bulkheadProfiles = size3, size2 - // --- standard part parameters --- - mass = 3 - dragModelType = default - maximum_drag = 0.2 - minimum_drag = 0.2 - angularDrag = 2 - crashTolerance = 20 - maxTemp = 2000 + // --- standard part parameters --- + mass = 5.25 + dragModelType = default + maximum_drag = 0.2 + minimum_drag = 0.2 + angularDrag = 2 + crashTolerance = 20 + maxTemp = 2000 - breakingForce = 5000 - breakingTorque = 5000 + breakingForce = 5000 + breakingTorque = 5000 - tags = #LOC_RestockPlus_restock-engine-corgi_tags + tags = #LOC_RestockPlus_restock-engine-corgi_tags - MODULE - { - name = ModuleEnginesFX - engineID = MainExhaust - thrustVectorTransformName = thrustTransform - exhaustDamage = True - runningEffectName = fx-corgi-running - ignitionThreshold = 0.1 - minThrust = 0 - maxThrust = 1540 - 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 328 - key = 1 309 - key = 12 0.001 - } - } MODULE - { - name = ModuleAlternator - RESOURCE - { - name = ElectricCharge - rate = 3.0 - } - } + { + name = ModuleEnginesFX + engineID = MainExhaust + thrustVectorTransformName = thrustTransform + exhaustDamage = True + runningEffectName = fx-corgi-running + ignitionThreshold = 0.1 + minThrust = 0 + maxThrust = 750 + 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 355 + key = 1 95 + key = 12 0.001 + } + } + MODULE + { + name = ModuleAlternator + RESOURCE + { + name = ElectricCharge + rate = 3.0 + } + } - MODULE - { - name = ModuleGimbal - gimbalTransformName = B_Gimbal - gimbalRange = 4 - gimbalResponseSpeed = 6 - useGimbalResponseSpeed = true - } + MODULE + { + name = ModuleGimbal + gimbalTransformName = B_Gimbal + gimbalRange = 4 + gimbalResponseSpeed = 6 + useGimbalResponseSpeed = true + } - 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 = 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 = CylTop004 - rotatorsName = CylLower004 - } - CONSTRAINLOOKFX - { - targetName = CylTop005 - rotatorsName =CylLower005 - } - CONSTRAINLOOKFX - { - targetName = CylTop006 - rotatorsName = CylLower006 - } - CONSTRAINLOOKFX - { - targetName = CylLower004 - rotatorsName = CylTop004 - } - CONSTRAINLOOKFX - { - targetName = CylLower005 - rotatorsName = CylTop005 - } - CONSTRAINLOOKFX - { - targetName = CylLower006 - rotatorsName = CylTop006 - } - CONSTRAINLOOKFX - { - targetName = CylTop007 - rotatorsName = CylLower007 - } - CONSTRAINLOOKFX - { - targetName = CylTop008 - rotatorsName =CylLower008 - } - CONSTRAINLOOKFX - { - targetName = CylTop009 - rotatorsName = CylLower009 - } - CONSTRAINLOOKFX - { - targetName = CylLower008 - rotatorsName = CylTop008 - } - CONSTRAINLOOKFX - { - targetName = CylLower009 - rotatorsName = CylTop009 - } - CONSTRAINLOOKFX - { - targetName = CylLower007 - rotatorsName = CylTop007 - } - CONSTRAINLOOKFX - { - targetName = CylTop010 - rotatorsName = CylLower010 - } - CONSTRAINLOOKFX - { - targetName = CylTop011 - rotatorsName =CylLower011 - } - CONSTRAINLOOKFX - { - targetName = CylTop012 - rotatorsName = CylLower012 - } - CONSTRAINLOOKFX - { - targetName = CylLower010 - rotatorsName = CylTop010 - } - CONSTRAINLOOKFX - { - targetName = CylLower011 - rotatorsName = CylTop011 - } - CONSTRAINLOOKFX - { - targetName = CylLower012 - rotatorsName = CylTop012 - } - CONSTRAINLOOKFX - { - targetName = CylTop013 - rotatorsName = CylLower013 - } - CONSTRAINLOOKFX - { - targetName = CylTop014 - rotatorsName =CylLower014 - } - CONSTRAINLOOKFX - { - targetName = CylTop015 - rotatorsName = CylLower015 - } - CONSTRAINLOOKFX - { - targetName = CylLower013 - rotatorsName = CylTop013 - } - CONSTRAINLOOKFX - { - targetName = CylLower014 - rotatorsName = CylTop014 - } - CONSTRAINLOOKFX - { - targetName = CylLower015 - rotatorsName = CylTop015 - } - } - MODULE - { - name = ModuleJettison - jettisonName = Fairing375 - bottomNodeName = bottom - isFairing = True - jettisonedObjectMass = 0.1 - jettisonForce = 5 - jettisonDirection = 0 0 1 - } + MODULE + { + name = FXModuleLookAtConstraint + CONSTRAINLOOKFX + { + targetName = CylTop004 + rotatorsName = CylLower004 + } + CONSTRAINLOOKFX + { + targetName = CylTop005 + rotatorsName =CylLower005 + } + CONSTRAINLOOKFX + { + targetName = CylTop006 + rotatorsName = CylLower006 + } + CONSTRAINLOOKFX + { + targetName = CylLower004 + rotatorsName = CylTop004 + } + CONSTRAINLOOKFX + { + targetName = CylLower005 + rotatorsName = CylTop005 + } + CONSTRAINLOOKFX + { + targetName = CylLower006 + rotatorsName = CylTop006 + } + CONSTRAINLOOKFX + { + targetName = CylTop007 + rotatorsName = CylLower007 + } + CONSTRAINLOOKFX + { + targetName = CylTop008 + rotatorsName =CylLower008 + } + CONSTRAINLOOKFX + { + targetName = CylTop009 + rotatorsName = CylLower009 + } + CONSTRAINLOOKFX + { + targetName = CylLower008 + rotatorsName = CylTop008 + } + CONSTRAINLOOKFX + { + targetName = CylLower009 + rotatorsName = CylTop009 + } + CONSTRAINLOOKFX + { + targetName = CylLower007 + rotatorsName = CylTop007 + } + CONSTRAINLOOKFX + { + targetName = CylTop010 + rotatorsName = CylLower010 + } + CONSTRAINLOOKFX + { + targetName = CylTop011 + rotatorsName =CylLower011 + } + CONSTRAINLOOKFX + { + targetName = CylTop012 + rotatorsName = CylLower012 + } + CONSTRAINLOOKFX + { + targetName = CylLower010 + rotatorsName = CylTop010 + } + CONSTRAINLOOKFX + { + targetName = CylLower011 + rotatorsName = CylTop011 + } + CONSTRAINLOOKFX + { + targetName = CylLower012 + rotatorsName = CylTop012 + } + CONSTRAINLOOKFX + { + targetName = CylTop013 + rotatorsName = CylLower013 + } + CONSTRAINLOOKFX + { + targetName = CylTop014 + rotatorsName =CylLower014 + } + CONSTRAINLOOKFX + { + targetName = CylTop015 + rotatorsName = CylLower015 + } + CONSTRAINLOOKFX + { + targetName = CylLower013 + rotatorsName = CylTop013 + } + CONSTRAINLOOKFX + { + targetName = CylLower014 + rotatorsName = CylTop014 + } + CONSTRAINLOOKFX + { + targetName = CylLower015 + rotatorsName = CylTop015 + } + } + MODULE + { + name = ModuleJettison + jettisonName = Fairing375 + bottomNodeName = bottom + isFairing = True + jettisonedObjectMass = 0.1 + jettisonForce = 5 + jettisonDirection = 0 0 1 + } - MODULE - { - name = ModuleSurfaceFX - thrustProviderModuleIndex = 0 - fxMax = 1.0 - maxDistance = 70 - falloff = 2 - thrustTransformName = thrustTransform - } + MODULE + { + name = ModuleSurfaceFX + thrustProviderModuleIndex = 0 + fxMax = 1.0 + maxDistance = 70 + falloff = 2 + thrustTransformName = thrustTransform + } MODULE { name = FXModuleThrottleEffects @@ -570,46 +568,46 @@ PART } } MODULE - { - name = ModulePartVariants - baseVariant = Size3 - VARIANT - { - name = Size3 - displayName = #LOC_Restock_variant-engine_size3 - primaryColor = #999999 - secondaryColor = #da8544 - GAMEOBJECTS - { - Var_25m = false - Var_375m = true - Fairing375 = true - } - NODES - { - node_attach = 0.0, 0.753, 0.0, 0.0, 1.0, 0.0, 3 - node_stack_top = 0.0, 0.753, 0.0, 0.0, 1.0, 0.0, 3 - } - } + { + name = ModulePartVariants + baseVariant = Size3 VARIANT - { - name = Compact - displayName = #LOC_Restock_variant-engine_size2 + { + name = Size3 + displayName = #LOC_Restock_variant-engine_size3 primaryColor = #999999 - secondaryColor = #555555 - GAMEOBJECTS - { - Var_25m = true - Var_375m = false - Fairing375 = false + secondaryColor = #da8544 + GAMEOBJECTS + { + Var_25m = false + Var_375m = true + Fairing375 = true + } + NODES + { + node_attach = 0.0, 0.753, 0.0, 0.0, 1.0, 0.0, 3 + node_stack_top = 0.0, 0.753, 0.0, 0.0, 1.0, 0.0, 3 + } + } + VARIANT + { + name = Compact + displayName = #LOC_Restock_variant-engine_size2 + primaryColor = #999999 + secondaryColor = #555555 + GAMEOBJECTS + { + Var_25m = true + Var_375m = false + Fairing375 = false - } - NODES - { - node_stack_top = 0.0,0.558,0.0 , 0.0, 1.0, 0.0, 2 - node_attach = 0.0,0.558,0.0 , 0.0, 1.0, 0.0, 2 - } - } - } + } + NODES + { + node_stack_top = 0.0,0.558,0.0 , 0.0, 1.0, 0.0, 2 + node_attach = 0.0,0.558,0.0 , 0.0, 1.0, 0.0, 2 + } + } + } }