Jump to content

Help a Aspiring Modder


Recommended Posts

Hey guys,

I've been trying to make a simple part for ksp but when the game loads my part it just stops. I'm not sure where I have gone wrong but could someone who actually knows what they are doing take a look and tell me what I have done wrong. The config text is below and I can upload the blender/unity files or .mu and .mbm as needed.

PART

{

// --- general parameters ---

name = 1m Adapter

module = Strut

author = tHarvey

// --- asset parameters ---

mesh = model.mu

scale = 1

rescaleFactor = 1

// --- node definitions ---

// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z

node_stack_top = 0, 0.0, 2.5, 0.0, 1.0, 0.0,

node_stack_bottom = 0, 0.0, -2.5, 0.0, 1.0, 0.0,

// --- FX definitions ---

// --- editor parameters ---

TechRequired = composites

entryCost = 1000

cost = 300

category = 2

subcategory = 0

title = 1m Adapter

manufacturer = tHarvey

description = Connect two 0.625 metre modules to a 1.25 metre diameter stack.

// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision

attachRules = 1,0,1,1,0

// --- standard part parameters ---

mass = 0.4

dragModelType = default

maximum_drag = 0.2

minimum_drag = 0.3

angularDrag = 2

crashTolerance = 40

breakingForce = 400

breakingTorque = 400

maxTemp = 3900

fuelCrossFeed = True

NoCrossFeedNodeKey = bottom

}

On a side note does anyone know of any good tutorials for modding ksp or can give me any tips and tricks. Thanks for your help.

Link to comment
Share on other sites

Check output_log.txt, not KSP.log. It has more information.

Also, I do believe your error is here:


// definition format is Position X, Position Y, Position Z, Up X, Up Y, Up Z
node_stack_top = 0, 0.0, 2.5, 0.0, 1.0, 0.0,
node_stack_bottom = 0, 0.0, -2.5, 0.0, 1.0, 0.0,

The comment is incorrect. There is one last parameter following, which is the node size. You provided an empty string behind the comma, hence the FormatException. Try putting a real node size from 0 to 2 (or 3? can't remember) there.

Edited by blizzy78
Link to comment
Share on other sites

It shows this:

FormatException: Input string was not in the correct format

at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0

at PartLoader.ParsePart (.UrlConfig urlConfig, .ConfigNode node) [0x00000] in <filename unknown>:0

at PartLoader+

.MoveNext () [0x00000] in <filename unknown>:0

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