Jump to content

kingoflolz321

Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by kingoflolz321

  1. Hi all,

    I'm currently in the works of mod and seem to be having difficulty with landing gear. The animation works but steering doesn't rotate the right way and suspension (not sure whats causing it) is causing the test craft to go kraken mode.

    I also have been following these tutorials:

     

    Here's the config file

    Quote

    PART
    {
        name = a380_front_gear
        module = Part
        author = kingoflolz321
        scale = 1.0
        rescaleFactor = 1.0
        node_attach = 0.00, 0.00, 0.00, 0.0, 1.0, 0.0, 1
        TechRequired = advLanding
        entryCost = 4800
        cost = 700
        category = Ground
        subcategory = 0
        title = A380 Nose Landing Gear
        manufacturer = Goodrich Landing Gear
        description = #autoLOC_500982 //#autoLOC_500982 = High performance retractable landing gear. This bigger version features two large tires to support big and heavy planes. The longer assembly allows for improved ground clearance.
        attachRules = 1,1,1,1,1
        //mass = 0.01
        mass = 0.25
        thermalMassModifier = 4.0 
        // heatConductivity = 0.06
        emissiveConstant = 0.95
        dragModelType = default
        maximum_drag = 0.3
        minimum_drag = 0.2
        angularDrag = 1
        maxTemp = 2600 
        crashTolerance = 50
        breakingForce = 50
        breakingTorque = 50
        // PhysicsSignificance = 1        // I think this should have mass
        bulkheadProfiles = srf
        tags = #autoLOC_500983 //#autoLOC_500983 = aero (air aircraft ground plane retract roll takeoff taxi wheel
        EFFECTS
        {
            deploy
            {
                AUDIO
                {
                    channel = Ship
                    clip = Squad/Sounds/elev_start
                    volume = 0 0
                    volume = 1 0.5
                    pitch = 0.9
                }
                AUDIO_LOOP
                {
                    channel = Ship
                    clip = Squad/Sounds/elev_loop
                    volume = 0 0
                    volume = 1 0.5
                    pitch = 0.65
                }
            }
            deployed
            {
                AUDIO
                {
                    channel = Ship
                    clip = Squad/Sounds/elev_stop
                    volume = 0 0
                    volume = 1 0.5
                    pitch = 0.8
                }
            }
            retract
            {
                AUDIO
                {
                    channel = Ship
                    clip = Squad/Sounds/elev_stop
                    volume = 0 0
                    volume = 1 0.5
                    pitch = 0.9
                }
                AUDIO_LOOP
                {
                    channel = Ship
                    clip = Squad/Sounds/elev_loop
                    volume = 0 0
                    volume = 1 0.5
                    pitch = 0.65
                }
            }
            retracted
            {
                AUDIO
                {
                    channel = Ship
                    clip = Squad/Sounds/elev_start
                    volume = 0 0
                    volume = 1 0.5
                    pitch = 0.9
                }
            }
        }
        MODEL
        {
            model = APP/a380-800/Wheel/NoseLandingGear/nose_landing_gear
            //scale = 1, 1, 1
        }
        MODULE
        {
            name = ModuleWheelBase
            
            wheelColliderTransformName = WheelCollider        
            wheelTransformName = WheelPivot
            
            wheelType = FREE

            // setting this to true will override the radius and center parameters
            FitWheelColliderToMesh = False        
            radius = 0.25
            center = 0,0.0,0
            mass = 0.080
            groundHeightOffset = 1.72
                    
            TooltipTitle = #autoLOC_502079 //#autoLOC_502079 = Retractable Landing Gear
            TooltipPrimaryField = #autoLOC_6004046 //#autoLOC_6004046 = Retractable
        }
        MODULE
        {
            name = ModuleWheelSuspension
            baseModuleIndex = 0
            suspensionTransformName = SuspensionPivot
            
            suspensionDistance = 0.2
            suspensionOffset = 0.0
            targetPosition = 0.0        // 0-1 scalar - determines the 'at rest' position of the wheel along the suspension travel    
            springRatio = 14
            damperRatio = 1.0
            // boostRatio = 0.65
        }    
        MODULE
        {
            name = ModuleWheelSteering
            baseModuleIndex = 0
            
            caliperTransformName = SteeringPivot
            
            steeringResponse = 2
            steeringCurve
            {
                key = 0 40
                key = 10 9
                key = 30 2
            }
        }
        MODULE
        {
            name = ModuleWheelBrakes
            baseModuleIndex = 0
            
            maxBrakeTorque = 8
            brakeResponse = 1

            statusLightModuleIndex = 7
        }
        MODULE
        {
            name = ModuleWheelDeployment
            baseModuleIndex = 0
            
            animationTrfName = a380_front_landinggear
            animationStateName = nose_gear_deploy
            deployedPosition = 0
            deployTargetTransformName = deployTgt
            
            TsubSys = 1.0
            useStandInCollider = True
            slaveModules = 8
            
            fxDeploy = deploy
            fxRetract = retract
            fxDeployed = deployed
            fxRetracted = retracted
        }
        MODULE
        {
            name = FXModuleConstrainPosition        // match rotation of the upper scissor link to the steered section
            matchRotation = true
            matchPosition = false
            CONSTRAINFX
            {
                targetName = SteeringPivot
                moversName = SteeringActuator
            }
        }
        MODULE
        {
            name = FXModuleLookAtConstraint            // scissor links
            CONSTRAINLOOKFX
            {
                targetName = anchor2
                rotatorsName = link1
            }
            CONSTRAINLOOKFX
            {
                targetName = anchor1
                rotatorsName = link2
            }
        }
        MODULE
        {
            name = ModuleTestSubject
            environments = 15
            useStaging = False
            useEvent = True
        }
        MODULE
        {
            name = ModuleWheelDamage
            baseModuleIndex = 0
            
            stressTolerance = 9000
            impactTolerance = 3000
            deflectionMagnitude = 10
            deflectionSharpness = 2.0
            slipMagnitude = 15
            slipSharpness = 2.0
            explodeMultiplier = 1.0
        }
        MODULE
        {
            name = ModuleDragModifier
            dragCubeName = Deployed
            dragModifier = 2
        }
        MODULE
        {
            name = ModuleDragModifier
            dragCubeName = Retracted
            dragModifier = 0.5
        }
    }
     

     

    Here's the unity setup

    v85PCKB.png

     

    Here's it in game

    xfKjVL3.png

    And here's it whilst steering

    1cXfuRp.png

    Here it is after detaching from the launch clamp

    gw03AU0.png

    And this is what happens landing

    EkR6YOB.png

     

    I have no idea what is happening

    Any help would be appreciated. 

  2. My Rockets

    99% Mods, 1% Stock

    So these are some of my rocket recreations of real world rockets. These are just some of the recreations I do, the crafts I make use a few mods.

     

    Falcon 1

    Wn1EbB7.png

     

    Boeing Starliner

    bNKY8Xw.png

     

    Soyuz MS

    jgqgsOP.png

     

     

    Falcon 9 1.1

    0a59quN.png

     

    Falcon 9 FT

    beJqgTP.png

     

    Falcon 9 Block 5

    xtB660O.png

     

    Falcon Heavy

    2M7Jgjg.png

     

    Blue Origin New Shepard

    wIoCDEJ.png

     

    Mercury Redstone

    nQ39hwj.png

     

    X-15 + B-52

    nIr5HDo.png

     

    If you've got any ideas on what else I should make, leave a comment!

    (They will be recreated and uploaded to my YouTube Channel)

     

    Thanks for reading!

  3. 14 hours ago, Gargamel said:

    Probably missing some dependencies.  Recheck the list and reinistall the correct version of the dependencies. 

    The thread doesn't show any, but if you are missing a button in the editor, that usually means there's a toolbar mod you're missing.  Usually.  

    But your best case is to look in the mod thread to see if anybody else is having the same issues. 

      

    I looked through the forum and no one else is having the same problem and it doesn't say any dependencies needed.

  4. Hey all I have been having some trouble with solar panels in ksp 1.3. Usually when you right click them it comes up with a tag saying "Extend Panels" but when I right click it now it comes up with nothing. This problem has been also happening with mods that use solar panels except SSTU (so far). However the solar panels that don't extend/retract still work.

     

    If anyone has any answers or ways to fix this problem please comment below.

     

×
×
  • Create New...