Jump to content

Problem with similar models in single part folder


Recommended Posts

Ok, so i have 3 separate, but similar parts, each with it's own .mu and .cfg.... All 3, however, share the same texture...
When I have ALL the files in one folder, all three parts show up in the editor, using the first model. (All 3 parts are EXACTLY the same in-game)

However, if I separate each parts' .mu and .cfg, with a copy of the shared texture, into 3 separate folders, everything works, and the 3 unique models show up in-game...

Anyone have any idea what could be going on?... I was thinking it has to be something with identical naming somewhere... Its not the .cfgs...
Importing the models into Blender, I do see that some of the objects are named the same across the models... I tried renaming everything uniquely, and upon exporting, KSP chokes on the parts, and freezes the loading screen, whether the models are in the same folder, or split up...

These arent originally my models, and I'm very new to modelling...

Any ideas would be quite helpful... :)

Link to comment
Share on other sites

use

MODEL {
model = path/to/mesh      
     //no dot mu
texture = textureName, path/to/texture         // not necessary if texture is in same folder
}

instead of mesh = model.mu

Edited by nli2work
Link to comment
Share on other sites

You can also implement a scale definition into the MODEL{} node:

	MODEL
	{
		model = HGA/TKS/parts/va_capsule
		scale = 0.60976,0.60976,0.60976
	}
	rescaleFactor = 1.0
	scale = 1.0

makes it easy to model in 1:1 real scale in blender and downscale the model to the desired size in KSP (here: 4100mm ->2500mm in game)

Link to comment
Share on other sites

Thank you both... @nli2work & @InsaneDruid :)

However, its not working... :(

I tried MODEL{}, and now none of the parts show up in game... ???
This is an example from one of the .cfgs:
 

// --- asset parameters ---
    //mesh = mount2.mu
    //scale = 1
    //rescaleFactor = 1.05

    MODEL {
    	model = XXXX\Parts\Propulsion\Radial Mount
    	texture = XXXX\Parts\Propulsion\Radial Mount
		}
    scale = 1
    rescaleFactor = 1.05

I tried both with & without the "texture = "

This is the folder structure:

\XXXX\Parts\Propulsion\Radial Mount

- Mount1.cfg

- mount1.mu
- Mount2.cfg

- mount2.mu

- Mount3.cfg

- mount3.mu

- texture.dds

Edited by Stone Blue
Link to comment
Share on other sites

39 minutes ago, Stone Blue said:

Thank you both... @nli2work & @InsaneDruid :)

However, its not working... :(

I tried MODEL{}, and now none of the parts show up in game... ???
This is an example from one of the .cfgs:
 


// --- asset parameters ---
    //mesh = mount2.mu
    //scale = 1
    //rescaleFactor = 1.05

    MODEL {
    	model = XXXX\Parts\Propulsion\Radial Mount
    	texture = XXXX\Parts\Propulsion\Radial Mount
		}
    scale = 1
    rescaleFactor = 1.05

I tried both with & without the "texture = "

This is the folder structure:

\XXXX\Parts\Propulsion\Radial Mount

- Mount1.cfg

- mount1.mu
- Mount2.cfg

- mount2.mu

- Mount3.cfg

- mount3.mu

- texture.dds

You forgot to actually put the.mu file name:

model = XXXX\Parts\Propulsion\Radial Mount\mount1 for exemple.

Edited by Hary R
Link to comment
Share on other sites

16 minutes ago, Hary R said:

You forgot to actually put the.mu file name:

model = XXXX\Parts\Propulsion\Radial Mount\mount1 for exemple.

Doh!... Didnt actually forget... More like misunderstood nli2work's example...lol

Unfortunately, they STILL dont show up ingame even after the correction... :P

I've also doubllechecked against some other mods, specifically Fuel Tanks Plus, that have multiple parts in the same folder, sharing models & textures... ???

Edited by Stone Blue
Link to comment
Share on other sites

3 minutes ago, Stone Blue said:

Necro'd...

Yup... OMG...I'm such a noob!!...

Had backslashes instead of forward... DoH!

Working now... FINALLY!!...

Several noob mistakes/issues learned in just this one thread... :)
THANK YOU ALL!

I'm glad it worked, and yes you have to use slash for you paths, I don't know why i didn't noticed it earlier.

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