Jump to content

Custom part not showing in editor


Recommended Posts

Hello,

I've been working on a spacex oil rig to land super-heavy in the ocean. I am now trying to test the part in game but it's not appearing in editor.

I've found the following output relating to the part in ksp.log :

Spoiler

[LOG 20:08:13.146] Load(Texture): LeygueS/Parts/Landing_Plateform/LandingZ
[LOG 20:08:13.208] Load(Texture): LeygueS/Parts/Landing_Plateform/MetalBare0201
[LOG 20:08:13.240] Load(Texture): LeygueS/Parts/Landing_Plateform/MetalLeaking0027
[LOG 20:08:13.385] Load(Texture): LeygueS/Parts/Landing_Plateform/MetalPainted0217
[LOG 20:08:13.418] Load(Texture): LeygueS/Parts/Landing_Plateform/container001-blue-small
[LOG 20:08:42.905] Load(Model): LeygueS/Parts/Landing_Plateform/Landing_Plateform
[LOG 20:09:06.210] Config(PART) LeygueS/Parts/Landing_Plateform/Landing_Plateform/spaceXSeaPlateform
Added   : LeygueS/Parts/Landing_Plateform/Landing_Plateform.cfg
Deleted : LeygueS/Parts/Launch_Plateform/Landing_Plateform.cfg
[LOG 20:07:49.130] Applying update 999_KSP-Recall/patches/refunding/@PART[*]:NEEDS[KSPRECALL-REFUNDING] to LeygueS/Parts/Landing_Plateform/Landing_Plateform.cfg/PART[spaceXSeaPlateform]
[LOG 20:07:49.340] Applying update MechJeb2/Parts/MechJebNoCommandPod/@PART[*]:HAS[@MODULE[ModuleCommand],!MODULE[KerbalEVA]]:NEEDS[!MechJebUseCommandPod,!RP-0,!RealismOverhaul] to LeygueS/Parts/Landing_Plateform/Landing_Plateform.cfg/PART[spaceXSeaPlateform]
[LOG 20:07:52.252] Applying update BoosterGuidance/BoosterGuidance/@PART[*]:HAS[@MODULE[ModuleCommand]]:FOR[BoosterGuidance] to LeygueS/Parts/Landing_Plateform/Landing_Plateform.cfg/PART[spaceXSeaPlateform]
[LOG 20:09:18.720] PartLoader: Compiling Part 'LeygueS/Parts/Landing_Plateform/Landing_Plateform/spaceXSeaPlateform'
If you absolutely need to use negative scaling you can use the convex MeshCollider. Scene hierarchy path "spaceXSeaPlateform/model/LeygueS/Parts/Landing_Plateform/Landing_Plateform(Clone)/Colinder"

And here's the landing_plateform.cfg :

Spoiler

PART
{
    name = spaceXSeaPlateform
    author = Hugues Leygue
    
    MODEL
    {
        model = LeygueS/Parts/Landing_Plateform/Landing_Plateform
    }

    
    module = Part
    rescaleFactor = 1.25
    node_attach = 0.5, 0.0, 0.0, 1.0, 0.0, 0.0
    TechRequired = basicRocketry
    entryCost = 20
    cost = 98523
    category = Command //Only certain categories are pre-defined. Be careful to choose one of them.
    subcategory = 0
    title = SpaceX Landing Plateform //This is what appears in the editor tool tip box
    manufacturer = SpaceX    
    description = The SpaceX Landing Plateform allows you to land your biggest booster in the ocean.
    attachRules = 1,1,1,1,0 // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
    mass = 110
    dragModelType = default
    maximum_drag = 0.2
    minimum_drag = 0.2
    angularDrag = 2
    crashTolerance = 50
    maxTemp = 20000
    breakingForce = 5000 //how much force before the joint breaks
    breakingTorque = 50000 //how much twisting before the joint breaks
    bulkheadProfiles = size1, srf //part size for sorting in the editor. Does not affect part physics.

    //PART MODULES AND RESOURCE DEFINITIONS GO HERE
    
MODULE
{
    name = ModuleSAS
    SASServiceLevel = 3
}

MODULE
{
    name = ModuleReactionWheel
 
    PitchTorque = 550000
    YawTorque = 550000
    RollTorque = 550000
 
    RESOURCE
    {
        name = ElectricCharge
        rate = 0.001
    }
}

MODULE
    {
        name = ModuleCommand
        minimumCrew = 0
        RESOURCE
        {
            name = ElectricCharge
            rate = 0.15
        }
        hasHibernation = False
    }

RESOURCE
    {
        name = ElectricCharge
        amount = 80000
        maxAmount = 80000
    }
    
    MODULE
    {
        name = ModuleDataTransmitter
        antennaType = INTERNAL
        packetInterval = 1.0
        packetSize = 2
        packetResourceCost = 12.0
        requiredResource = ElectricCharge
        antennaPower = 6500
        optimumRange = 2500
        packetFloor = .1
        packetCeiling = 5
    }    
    
    RESOURCE
    {
        name = XenonGas
        amount = 10000
        maxAmount = 10000
    }
    
}

I've tried to replace 

Quote

 MODEL
    {
        model = LeygueS/Parts/Landing_Plateform/Landing_Plateform
    }

by

Quote

mesh = Landing_Plateform.mu

without success.

 

and here's what the part's folder looks like, with the hierarchy in the bottom :

Capture-d-cran-2021-03-30-10-56-18.png

 

Can someone help me fix this issue ?

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...