Jump to content

Cfg edit thrust won't mirror in game. Making new mod for high power requirement engines using cfg of Lynx Rover Hover Engine. Please help me correct the thrust.


Recommended Posts

So I copied the rear_hover and hover cfg from the Lynx parts that are part of a rover mod into a new folder as new titled parts. Near the middle is "max thrust" and "thrust speed" and when I attempt to change the value to be higher; it will not reflect in game. I can change the scale to 0.25 as I wanted, can change the electric charge used, even the description; but the thrust will not change. There is no min thrust anywhere.

 

Also in the cfg files the thrust says 80, but in game it is 100? And on the second engine it says 130\\80. Where can I actually change the value of thrust and have it reflected in game for the custom part? I want to combine the power usage and thrust of several of these electric engines so I can make an electric lifter/super sonic jet engine with a reduced part count as I put 40 of these in a fuselage and got it to mach 4.19; now i want to add the power of 20-40 into one. Can't I "weld" them together or something?

 

Can I create a brand new part, use an already used mesh, and just add that it is electric and has that thrust?

So I am trying to make a series of power sucking electric engines that need an MPS nuclear power system and cooling to operate, and in Lynx I found the perfect candidate.

So I copied the rear_hover and hover cfg from the Lynx parts that are part of a rover mod into a new folder as new titled parts. Near the middle is "max thrust" and "thrust speed" and when I attempt to change the value to be higher; it will not reflect in game. I can change the scale to 0.25 as I wanted, can change the electric charge used, heat generated, (which is much higher so it requires cooling for balance) even the description; but the thrust will not change. There is no min thrust anywhere.
 
Also in the cfg files the thrust says 80, but in game it is 100? And on the second engine it says 130\\80. Is a patch overriding these values somewhere?? Where can I actually change the value of thrust and have it reflected in game for the custom part? I want to combine the power usage and thrust of several of these electric engines so I can make an electric lifter/super sonic jet engine with a reduced part count as I put 40 of these in a fuselage and got it to mach 4.19; now i want to add the power of 20-40 into one. Can't I "weld" them together or something? I'd prefer it to be a new part based on the hover engine mesh, allows tilt or rotor deployment (rotor deployment is muuuuch lower and seems to work well for angling the engine.) that allows for a different challenge like power consumption, power storage, and high speed supersonic heat reduction using multiple forms of cooling and secondary power systems.
 
I want this to require nuclear power to run from the power draw for balance. I figure I can do this by just increasing the power requirements enough to need nuclear power.

If anyone can point me just in the right direction with the right place to look it would allow me to start building the mod for 1.3.1 KSP and up as I want a unique challenge here.

Below is the code for the Lynx Hover Engine and then the new part copied and edited as Sonic Engine 1:

This is the Original Hover Engine File for the Lynx:


"PART

{

    //The hover engine for the Lynx Rover of the Feline Utility Rover series


    //---Metadata---

    name = Lynx_Hoverengine

    module = Part

    author = Nils277


    //---Visual---

    MODEL

    {

        model = KerbetrotterLtd/FelineUtilityRover/Assets/Parts/HoverEngine

    }

    

    rescaleFactor = 1


    //---Nodes and Attachment---

    attachRules = 1,1,0,0,1

    node_stack_front = 0, 0, 0, 1, 0, 0, 0

    node_attach = 0, 0, 0, 1, 0, 0, 0

    CoMOffset = -0.8, 0, 0

    

    //---Costs & Tech---

    TechRequired = landing

    entryCost = 15000

    cost = 8000


    //---Descriptions---

    category = Engine

    title = #LOC_FUR.hoverengine.title

    manufacturer = #LOC_FUR.manufacturer

    description = #LOC_FUR.hoverengine.description

    vesselType = Rover

    subcategory = 0


    //---Physical---

    mass = 0.01

    crashTolerance = 20

    maxTemp = 1200

    breakingForce = 200

    breakingTorque = 200

    bulkheadProfiles = srf


    //---Drag---

    dragModelType = default

    maximum_drag = 0.2

    minimum_drag = 0.2

    angularDrag = 1


    //---General---

    tags = #LOC_FUR.hoverengine.tags

    

    //---Effects---

    

    EFFECTS

    {

        running

        {

            AUDIO

            {

                channel = Ship

                clip = KerbetrotterLtd/FelineUtilityRover/Sounds/sound_hoverengine

                volume = 0 0.07 0 0

                volume = 0.05 0.6 0.7 0.7

                volume = 1 1 0.4 0

                pitch = 0.0 1.0

                pitch = 1.0 1.2

                loop = true

            }

            MODEL_MULTI_PARTICLE

            {

                modelName = KerbetrotterLtd/FelineUtilityRover/FX/fx_impeller

                transformName = EffectTransform

                emission = 0.0 0.0

                emission = 0.25 0.5

                emission = 1.0 1.0

                speed = 0 0 0 18.65

                speed = 0.05 0.4 0.75 0.75

                speed = 0.5 0.7 0.52 0.52

                speed = 1 1 0.52 0

            }           

        }

        engage

        {

            AUDIO

            {

                channel = Ship

                clip = sound_vent_medium

                loop = false

            }

        }

        disengage

        {

            AUDIO

            {

                channel = Ship

                clip = sound_vent_soft

                loop = false

            }

        }

    }

    

    

    //---Control Modules---

    

    MODULE

    {

        name = ModuleKerbetrotterEngine

        thrustVectorTransformName = ThrustTransform

        heightTransformName = RotorCase

        maxThrust = 80

        thrustSpeed = 1

        engineType = Turbine

        maxHoverHeight = 4

        minHoverHeight = 0.4

        allowHover = true

        

        PID-PROFILE

        {

            planet = Kerbin

            values = 1.5, 2.0, 1.0

            isDefault = true

        }

        

        PID-PROFILE

        {

            planet = Duna

            values = 3.0, 1.0, 1.0

        }

        

        PID-PROFILE

        {

            planet = Laythe

            values = 1.5, 2.0, 1.0

        }

        

        PID-PROFILE

        {

            planet = Eve

            values = 0.5, 1.5, 1.0

        }

        

        MODE

        {

            name = Electrical

            engineType = Electric

            needsAtmosphere = true

            flameoutThreshold = 0.1

            

            PROPELLANT

            {

                name = ElectricCharge

                ratio = 7

            }

            

            consumptionCurve

            {

                key = 0 0 0 0

                key = 0.5 0.35 1.2 1.2

                key = 1 1 1.7

            }

            

            velocityCurve

            {

                key = 0 1 0 0

                key = 90 0.75 -0.009 -0.009

                key = 180 0.1 0 0

            }

            

            atmosphereThrustCurve

            {

                key = 0 0 0 8.5

                key = 0.01 0.1 5 5

                key = 0.04 0.2 2.5 2.5

                key = 0.16 0.4 1.25 1.25

                key = 0.36 0.6 0.83333 0.83333

                key = 0.64 0.8 0.625 0.625

                key = 1 1 0.5 0.5

                key = 4 2 0.25 0.25

                key = 9 3 0.125 0.125

            }

        }

        

        MODE

        {

            name = Air Breathing

            engineType = Turbine

            needsAtmosphere = true

            needsOxygen = true

            flameoutThreshold = 0.01

            

            PROPELLANT

            {

                name = LiquidFuel

                ratio = 0.135 //Equal to an ISP of ~12000

            }

            

            consumptionCurve

            {

                key = 0 0 0 0

                key = 0.5 0.35 1.2 1.2

                key = 1 1 1.7

            }

            

            velocityCurve

            {

                key = 0 1 0 0

                key = 90 0.75 -0.009 -0.009

                key = 180 0.1 0 0

            }

            

            atmosphereThrustCurve

            {

                key = 0 0 0 8.5

                key = 0.01 0.1 5 5

                key = 0.04 0.2 2.5 2.5

                key = 0.16 0.4 1.25 1.25

                key = 0.36 0.6 0.83333 0.83333

                key = 0.64 0.8 0.625 0.625

                key = 1 1 0.5 0.5

                key = 4 2 0.25 0.25

                key = 9 3 0.125 0.125

            }

        }

    }

    


    

    MODULE

    {

        name = ModuleKerbetrotterEngineControl

        thrustTransformName = ThrustTransform

        referenceTransformName = ReferenceTransform

        engineName = Hover Engine

        animationID = RotorAnimation

        maxAngleRate = 90

        controlAngleRate = 5

    }

    

    MODULE

    {

        name = ModuleAnimateGeneric

        animationName = RotorFold

        moduleID = RotorAnimation

        startEventGUIName = #LOC_KERBETROTTER.engine.anim.unfold

        endEventGUIName = #LOC_KERBETROTTER.engine.anim.fold

        actionGUIName = #LOC_KERBETROTTER.engine.anim.toggle

    }

    

    //---Visual Modules---

    

    MODULE

    {

        name = ModuleKerbetrotterEngineAnimation

        engineName = Hover Engine

        transformName = Rotor

        maxRotationSpeed = 100

        minRotationSpeed = 3

        speedChangeRate = 1

        speedCurve

        {

            key = 0 0 0 50

            key = 0.05 0.8 0.63 0.63

            key = 1 1 0 0

        }

    }

    

    MODULE

    {

        name = ModuleKerbetrotterConstrainedLookAt

        sourceTransformName = ThrustTransform

        destinationTransformName = RotorArm

        referenceTransformName = ReferenceTransform

        constrainedAxis = X

    }

    

    MODULE

    {

        name = ModuleKerbetrotterConstrainedLookAt

        sourceTransformName = ThrustTransform

        destinationTransformName = RotorCase

        referenceTransformName = RotorArm

        constrainedAxis = Y

    }

    

    MODULE

    {

        name = ModuleKerbetrotterEditorMesh

        transformNames = Pointer

        availableInFlight = false

    }

}"

This is the one i built that does not reflect the thrust change in game: 


"PART

{

    //The Improved hover engine made for sub-sonic and super sonic jats that run of nulcear power.


    //---Metadata---

    name = Sonic Electric Engine 1

    module = Part

    author = Nils277


    //---Visual---

    MODEL

    {

        model = KerbetrotterLtd/FelineUtilityRover/Assets/Parts/HoverEngine

    }

    

    rescaleFactor = 0.25


    //---Nodes and Attachment---

    attachRules = 1,1,0,0,1

    node_stack_front = 0, 0, 0, 1, 0, 0, 0

    node_attach = 0, 0, 0, 1, 0, 0, 0

    CoMOffset = -0.8, 0, 0

    

    //---Costs & Tech---

    TechRequired = landing

    entryCost = 15000

    cost = 8000


    //---Descriptions---

    category = Engine

    title = Sonic Electric Engine 1

    manufacturer = FSEJE

    description = The Improved hover engine made for sub-sonic and super sonic jats that run of nulcear power.

    vesselType = Rover

    subcategory = 0


    //---Physical---

    mass = 0.001

    crashTolerance = 20

    maxTemp = 1200

    breakingForce = 200

    breakingTorque = 200

    bulkheadProfiles = srf


    //---Drag---

    dragModelType = default

    maximum_drag = 0.2

    minimum_drag = 0.2

    angularDrag = 1


    //---General---

    tags = Sonic

    

    //---Effects---

    

    EFFECTS

    {

        running

        {

            AUDIO

            {

                channel = Ship

                clip = KerbetrotterLtd/FelineUtilityRover/Sounds/sound_hoverengine

                volume = 0 0.07 0 0

                volume = 0.05 0.6 0.7 0.7

                volume = 1 1 0.4 0

                pitch = 0.0 1.0

                pitch = 1.0 1.2

                loop = true

            }

            MODEL_MULTI_PARTICLE

            {

                modelName = KerbetrotterLtd/FelineUtilityRover/FX/fx_impeller

                transformName = EffectTransform

                emission = 0.0 0.0

                emission = 0.25 0.5

                emission = 1.0 1.0

                speed = 0 0 0 18.65

                speed = 0.05 0.4 0.75 0.75

                speed = 0.5 0.7 0.52 0.52

                speed = 1 1 0.52 0

            }           

        }

        engage

        {

            AUDIO

            {

                channel = Ship

                clip = sound_vent_medium

                loop = false

            }

        }

        disengage

        {

            AUDIO

            {

                channel = Ship

                clip = sound_vent_soft

                loop = false

            }

        }

    }

    

    

    //---Control Modules---

    

    MODULE

    {

        name = ModuleKerbetrotterEngine

        thrustVectorTransformName = ThrustTransform

        heightTransformName = RotorCase

        minThrust = 80

        maxThrust = 1200

        thrustSpeed = 10

        engineType = Turbine

        maxHoverHeight = 4

        minHoverHeight = 0.4

        allowHover = true

        

        PID-PROFILE

        {

            planet = Kerbin

            values = 1.5, 2.0, 1.0

            isDefault = true

        }

        

        PID-PROFILE

        {

            planet = Duna

            values = 3.0, 1.0, 1.0

        }

        

        PID-PROFILE

        {

            planet = Laythe

            values = 1.5, 2.0, 1.0

        }

        

        PID-PROFILE

        {

            planet = Eve

            values = 0.5, 1.5, 1.0

        }

        

        MODE

        {

            name = Electrical

            engineType = Electric

            needsAtmosphere = true

            flameoutThreshold = 0.1

            

            PROPELLANT

            {

                name = ElectricCharge

                ratio = 500

            }

            

            consumptionCurve

            {

                key = 0 0 0 0

                key = 0.5 0.35 1.2 1.2

                key = 1 1 1.7

            }

            

            velocityCurve

            {

                key = 0 1 0 0

                key = 90 0.75 -0.009 -0.009

                key = 180 0.1 0 0

            }

            

            atmosphereThrustCurve

            {

                key = 0 0 0 8.5

                key = 0.01 0.1 5 5

                key = 0.04 0.2 2.5 2.5

                key = 0.16 0.4 1.25 1.25

                key = 0.36 0.6 0.83333 0.83333

                key = 0.64 0.8 0.625 0.625

                key = 1 1 0.5 0.5

                key = 4 2 0.25 0.25

                key = 9 3 0.125 0.125

            }

        }

        

        MODE

        {

            name = Air Breathing

            engineType = Turbine

            needsAtmosphere = true

            needsOxygen = true

            flameoutThreshold = 0.01

            

            PROPELLANT

            {

                name = LiquidFuel

                ratio = 0.135 //Equal to an ISP of ~12000

            }

            

            consumptionCurve

            {

                key = 0 0 0 0

                key = 0.5 0.35 1.2 1.2

                key = 1 1 1.7

            }

            

            velocityCurve

            {

                key = 0 1 0 0

                key = 90 0.75 -0.009 -0.009

                key = 180 0.1 0 0

            }

            

            atmosphereThrustCurve

            {

                key = 0 0 0 8.5

                key = 0.01 0.1 5 5

                key = 0.04 0.2 2.5 2.5

                key = 0.16 0.4 1.25 1.25

                key = 0.36 0.6 0.83333 0.83333

                key = 0.64 0.8 0.625 0.625

                key = 1 1 0.5 0.5

                key = 4 2 0.25 0.25

                key = 9 3 0.125 0.125

            }

        }

    }

    


    

    MODULE

    {

        name = ModuleKerbetrotterEngineControl

        thrustTransformName = ThrustTransform

        referenceTransformName = ReferenceTransform

        engineName = Hover Engine

        animationID = RotorAnimation

        maxAngleRate = 90

        controlAngleRate = 5

    }

    

    MODULE

    {

        name = ModuleAnimateGeneric

        animationName = RotorFold

        moduleID = RotorAnimation

        startEventGUIName = #LOC_KERBETROTTER.engine.anim.unfold

        endEventGUIName = #LOC_KERBETROTTER.engine.anim.fold

        actionGUIName = #LOC_KERBETROTTER.engine.anim.toggle

    }

    

    //---Visual Modules---

    

    MODULE

    {

        name = ModuleKerbetrotterEngineAnimation

        engineName = Hover Engine

        transformName = Rotor

        maxRotationSpeed = 100

        minRotationSpeed = 3

        speedChangeRate = 1

        speedCurve

        {

            key = 0 0 0 50

            key = 0.05 0.8 0.63 0.63

            key = 1 1 0 0

        }

    }

    

    MODULE

    {

        name = ModuleKerbetrotterConstrainedLookAt

        sourceTransformName = ThrustTransform

        destinationTransformName = RotorArm

        referenceTransformName = ReferenceTransform

        constrainedAxis = X

    }

    

    MODULE

    {

        name = ModuleKerbetrotterConstrainedLookAt

        sourceTransformName = ThrustTransform

        destinationTransformName = RotorCase

        referenceTransformName = RotorArm

        constrainedAxis = Y

    }

    

    MODULE

    {

        name = ModuleKerbetrotterEditorMesh

        transformNames = Pointer

        availableInFlight = false

    }

}"

Edited by dulcisvolintarious
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...