Jump to content

ISRU module triggering engine FX when in engines cfg


Recommended Posts

So when i add a ISRU module to an engine config, when the converter is activated, it triggers the engine fx like thrust effect. What could cause that?

Here's the config:

 

PART
{
    name = HPUN-01
    module = Part
    author = KerboNerd
    mesh = nuke.mu
    rescaleFactor = 1
    node_stack_top = 0.0, 1.201, 0.0, 0.0, 1.0, 0.0, 2
    node_stack_bottom = 0.0, -3.433, 0.0, 0.0, -1.0, 0.0, 2
    mass = 1.5
    // heatConductivity = 0.06 // half default
    emissiveConstant = 0.8 // engine nozzles are good at radiating.
    dragModelType = default
    maximum_drag = 0.2
    minimum_drag = 0.2
    angularDrag = 2
    breakingForce = 400
    breakingTorque = 400
    crashTolerance = 22
    maxTemp = 2000 // = 3600
    TechRequired = start
    entryCost = 0
    cost = 470000
    category = Engine
    subcategory = 0
    title = HPUN-01 "HyperProp" ThermoNuclear Self-Reprocessing HyperPlutonium Engine
    manufacturer = KerboNerd Industries
    description = This ones special. Equiped with a top-shelf miniature HyperPlutonium nuclear reactor, by reprocessing fuel in many cycles, this could be one of the most efficient nuclear engines ever made!
    attachRules = 1,1,1,1,0
    tags = hyperprop
    
    EFFECTS
    {
        engine_engaged
        {
            AUDIO
            {
                channel = Ship
                clip = Squad/Sounds/sound_falconheavy_lowmid
                volume = 0.0 0.0
                volume = 0.1 1.5
                volume = 0.2 3.0
                volume = 0.4 4.5
                volume = 0.5 6.0
                volume = 1.0 7.5
                pitch = 0.0 1.2
                pitch = 1.0 2.0
                loop = true
            }
            PREFAB_PARTICLE
            {
                prefabName = fx_smokeTrail_veryLarge
                transformName = thrustTransform
                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
            {
                modelName = Squad/FX/SRB_Large
                transformName = thrustTransform
                emission = 0.0 0.0
                emission = 0.05 1.0
                emission = 0.2 3.5
                emission = 0.5 5.0
                emission = 1.0 10.0
                speed = 0.0 0.5
                speed = 1.0 1.2
                localOffset = 0, 0, 1
            }
        }
    }
    MODULE
    {
         name = ModuleResourceConverter
         ConverterName = ThermoDynamic Reactor
         StartActionName = Engage reactor
         StopActionName = Terminate reactor
         ToggleActionName = Toggle reactor
         FillAmount = 100
        AutoShutdown = false
        GeneratesHeat = false
        UseSpecialistBonus = false
 
         
         INPUT_RESOURCE
         {
            ResourceName = HyperPlutonium
            Ratio = 0.0016875
            FlowMode = STAGE_PRIORITY_FLOW
         }
         OUTPUT_RESOURCE
         {
            ResourceName = ElectricCharge
            Ratio = 250
            DumpExcess = false
         }
    }
    MODULE
    {
        name = ModuleEnginesFX
        engineID = ClosedCycle
        runningEffectName = engine_engaged
        thrustVectorTransformName = thrustTransform
        exhaustDamage = True
        ignitionThreshold = 0.1
        minThrust = 0
        maxThrust = 2800
        heatProduction = 720
        fxOffset = 0, 0, 2
        EngineType = LiquidFuel
        exhaustDamageDistanceOffset = 2.5
        PROPELLANT
        {
            name = HyperPlutonium
            resourceFlowMode = STAGE_STACK_FLOW_BALANCE
            ratio = 0.0001
            DrawGauge = True
        }
        PROPELLANT
        {
            name = ElectricCharge
            ratio = 0.01
            DrawGauge = True
        }
        atmosphereCurve
        {
            key = 0 9800
            key = 1 40
        }
    }
    MODULE
    {
        name = ModuleGimbal
        gimbalTransformName = gimbal
        gimbalRange = 3
        gimbalResponseSpeed = 7
         useGimbalResponseSpeed = true
    }
    MODULE
    {
        name = ModuleOverheatDisplay
    }

    MODULE
    {
         name = ModuleResourceConverter
         ConverterName = HyperPlutonium
         StartActionName = Start Compressor [HyperPlutonium]
         StopActionName = Stop Compressor [HyperPlutonium]
        AutoShutdown = true
        TemperatureModifier
        {
            key = 0 100000
            key = 750 50000
            key = 1000 10000
            key = 1250 500    
            key = 2000 50    
            key = 4000 0
        }                
        GeneratesHeat = true
        DefaultShutoffTemp = .8
        ThermalEfficiency 
        {
            key = 0 0 0 0
            key = 500 0.1 0 0
            key = 1000 1.0 0 0
            key = 1250 0.1 0 0
            key = 3000 0 0 0 
        }


        UseSpecialistBonus = true
        SpecialistEfficiencyFactor = 0.2
        SpecialistBonusBase = 0.05
        UseSpecialistHeatBonus = true
        SpecialistHeatFactor = 0.1
        ExperienceEffect = ConverterSkill
        EfficiencyBonus = 1

         
         INPUT_RESOURCE
         {
            ResourceName = Plutonium
            Ratio = 1.0
            FlowMode = STAGE_PRIORITY_FLOW
           }
         INPUT_RESOURCE
         {
            ResourceName = ElectricCharge
            Ratio = 50
         }
         OUTPUT_RESOURCE
         {
            ResourceName = HyperPlutonium
            Ratio = 0.5
            DumpExcess = false
            FlowMode = STAGE_PRIORITY_FLOW
         }
    }

    MODULE
    {
         name = ModuleResourceConverter
         ConverterName = Plutonium
         StartActionName = Start ISRU [Plutonium]
         StopActionName = Stop ISRU [Plutonium]
        AutoShutdown = true
        TemperatureModifier
        {
            key = 0 100000
            key = 750 50000
            key = 1000 10000
            key = 1250 500    
            key = 2000 50    
            key = 4000 0
        }                
        GeneratesHeat = true
        DefaultShutoffTemp = .8
        ThermalEfficiency 
        {
            key = 0 0 0 0
            key = 500 0.1 0 0
            key = 1000 1.0 0 0
            key = 1250 0.1 0 0
            key = 3000 0 0 0 
        }

        UseSpecialistBonus = true
        SpecialistEfficiencyFactor = 0.2
        SpecialistBonusBase = 0.05
        UseSpecialistHeatBonus = true
        SpecialistHeatFactor = 0.1
        ExperienceEffect = ConverterSkill
        EfficiencyBonus = 1

         
         INPUT_RESOURCE
         {
            ResourceName = NeptuniumGas
            Ratio = 0.5
         }
         INPUT_RESOURCE
         {
            ResourceName = ElectricCharge
            Ratio = 20
         }
         OUTPUT_RESOURCE
         {
            ResourceName = Plutonium
            Ratio = 1
            DumpExcess = false
         }
    }
    
    MODULE
    {
        name = ModuleAnimationGroup
        deployAnimationName = 
        activeAnimationName = pressureRelease
        deployActionName = #autoLOC_6002380 //#autoLOC_6002380 = Deploy <<1>>
        retractActionName = #autoLOC_6002381 //#autoLOC_6002381 = Retract <<1>>
        toggleActionName = #autoLOC_6002382 //#autoLOC_6002382 = Toggle <<1>>
        moduleType = #autoLOC_7001227  //Converter //#autoLOC_7001227 = Converter
        autoDeploy = true
    }
    MODULE
    {
        name = ModuleJettison
        jettisonName = jettison
        bottomNodeName = bottom
        isFairing = False
        jettisonedObjectMass = 0.5
        jettisonForce = 15
        jettisonDirection = 0 0 1
    }
}
 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...