Jump to content

Part Invisible?


Recommended Posts

I've tried to create a mod following this tutorial, with the part successfully showing up in the parts section, though whenever I try to place the part, it does not show up except for the attachment node.

When I hover over the supposed location, nothing shows up, and I can't right click it either.

 

Config File:

Quote

 

PART
{
    // --- general parameters ---
    name = Oxidizer Converter
    module = Part
    author = Jlam
    

    // --- asset parameters ---
    MODEL
    {
        model = Jlam/Parts/OxidizerConverter/model
    }
    scale = 1
    rescaleFactor = 1

    // --- node definitions ---
    node_attach         = 0.0,   0.0, 0.0, 0.0, -1.0, 0.0
    node_stack_bottom01 = 0.0, 0.625, 2.0, 0.0,  0.0, 1.0, 1

    // --- editor parameters ---
    TechRequired = advAerodynamics
    entryCost = 16000
    cost = 3200
    category = Aero
    subcategory = 0
    title = Oxidizer Converter
    manufacturer = Lam Corp.
    description = This intake collects the atmosphere's air and converts it into oxidizer.
    Effective Intake Area: 0.0125

    // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
    attachRules = 1,1,1,1,0

    // --- standard part parameters ---
    mass = 0.04
    thermalMassModifier = 12.0
    heatConvectiveConstant = 0.75
    emissiveConstant = 0.95
    dragModelType = default
    maximum_drag = 0.2
    minimum_drag = 0.2
    angularDrag = 1
    crashTolerance = 20
    breakingForce = 2700
    breakingTorque = 2700
    maxTemp = 2400 // = 3400
    fuelCrossFeed = True
    

    MODULE
    {
        name = ModuleResourceIntake
        resourceName = IntakeAir
        checkForOxygen = true
        area = 0.0075
        intakeSpeed = 15
        intakeTransformName = Intake
        machCurve
        {
            key = 0 0.85 0 0
            key = 1 1 0 0
            key = 2 0.95 -0.08751557 -0.08751557
            key = 4 0.5 -0.4034287 -0.4034287
            key = 8 0.01 0 0
        }
    }

    RESOURCE
    {
        name = IntakeAir
        amount = 1.0 // Dummy value
        maxAmount = 1.0
    }
    
    
    MODULE
    {
        name = ModuleCrossFeed
    }

    MODULE
    {
        name = ModuleResourceHarvester
        HarvesterType = 0
        Efficiency = 1
        ResourceName = Oxidizer
        ConverterName = Oxidizer Converter
        StartActionName = Start Oxidizer Converter
        StopActionName = Stop Oxidizer Converter
        
        INPUT_RESOURCE
        {
            ResourceName = ElectricCharge
            Ratio = 3
        }
        
        HarvestThreshold = 0.025
    }
}

 

Not sure whether the harvester thing works or  not, but it shouldn't affect the part appearance eh? I apologize in advance if I haven't given enough information about the problem, but I will quickly reply with the information you need if required. Thanks guys

Edited by Jlam98
Config File Update
Link to comment
Share on other sites

first, always set you object position to 0 on all axes in unity (especially the parent object), right know i see it as x=4 y =0.8 z=2

On 8/2/2016 at 6:08 AM, Jlam98 said:

Could it be that Unity 4.3.4 does not work for KSP?

4.2.2 is (as of now) the recommended version as it's the only one that still support the animation correctly, but all later version work fine if you don't have any animation on your part.

.also, check you KSP log file to see if all the texture needed fr your part are loaded.

Edited by Hary R
Link to comment
Share on other sites

15 minutes ago, Badsector said:

A problem with import scale ?

Click the imported object and check if the scale is set to 1

yep, that can also be a problem here, some file import in a different scale, for exemple, FBX import at 100 scale by default.

Link to comment
Share on other sites

On 2016-02-10 at 9:40 PM, wasml said:

What was the problem? (for future reference)

This is my first ever mod. Also my first ever time using blender. I did not know how to use units in blender. it turns out the part was there.... just bigger than the friggin hangar itself, which is why I couldn't see it.

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