Jump to content

Texture not assigning to part


Recommended Posts

BLUF: A part I have created is displaying in KSP as a white component with no texture, despite a .png texture being available.

Alright, so I've been working on my Jasper Aerospace Technologies mod, creating an ISRU for converting CO2 to fuel, and I'm upgrading the parts. However, textures are no longer assigning themselves to the models. Let me explain.

I've been following a couple of tutorials on using Unity, namely Nifty255 on Youtube. I followed these tutorials when first generating the mod, and it worked fine...but now, not so much. Here is my process....

  1. Create part and collider in Blender
  2. Paint .png texture in photoshop (based on Blender UV map)
  3. Export part as .fbx
  4. Import .23 part tools into Unity (4.6.3f1)
  5. Import model and texture into Unity
  6. Assign texture to material
  7. Assign PartTools to new GameObject
  8. Migrate the model to the GameObject
  9. Assign Collision Mesh to Collider
  10. Write GameObject as "model.mu"

I then move the model.mu to the Gamedata folder as well as the .png texture. I rename the texture as model000.png. Thus my file structure is as such:

GameData > JAT > Converter > model.mu

GameData > JAT > Converter > model000.png

GameData > JAT > Converter > part.cfg

I have tried many model declarations in my .cfg, and currently it reads:


PART
{
// --- general parameters ---
name = JAT_Converter_25
module = Part
author = Kalloran


// --- asset parameters ---
mesh = model.mu


// --- node definitions ---
node_stack_top = 0.0, 0.275, 0.0, 0.0, 1.0, 0.0,2
node_stack_bottom = 0.0, -0.2576, 0.0, 0.0, -1.0, 0.0,2

I have also tried


// -- asset parameters ---
MODEL{
model = JAT/Converter/model
texture = Diffuse, JAT/Converter/model000
}

In either case, the model shows up in KSP as a white part with no texture. Help!

- - - Updated - - -

Ok figured it out.....apparently renaming the texture .png is a BAD idea......

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