Jump to content

Trying to learn how to make parts, my custom part removes all parts from the game


Artorp

Recommended Posts

Hey guys!

I've got some previous experience with 3d modeling and wanted to make custom parts for this game. I've already ported one part successfully, but now I'm running into some strange problem when I tried to port another. Basically, whenever I add my part to the GameData folder the game fails to load any part, all active flights are wiped, etc etc. This is how the VAB looks like: http://i.imgur.com/6SWIhxs.png

If I remove the part everything goes back to normal.

Here's the part.cfg if that can give any pointers of what went wrong:

PART
{
// Kerbal Space Program - Part CFG file
// Icarus Heat Shield - Inspired by Sunshine, this part will act as a large heat shield for low Kerbol orbit missions

// --- general parameters ---
name = heatshieldIcarus
module = Part
author = Artorp

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

// --- node definitions ---
node_stack_bottom = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 2.0

// --- editor parameters ---
cost = 450
category = Utility
subcategory = 0
title = Icarus Heat Shield
manufacturer = Artorp's Production Facility Inc.
description = Inspired by the movie Sunshine brave kerbals wanted their own large heat shield for dangerous missions to low Kerbol orbit.

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

// --- standard part parameters ---
mass = 5.0
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 0.2
crashTolerance = 50
maxTemp = 3500
}

The model I'm trying to export: http://i.imgur.com/xhkmGjQ.png http://i.imgur.com/2rSZOLh.png

Any ideas of what may be causing this error?

Link to comment
Share on other sites

I checked the console and it spat out this error:

[EXC 13:05:33.422] FormatException: Input string was not in the correct format

After a bit of googling I found what was wrong, "node_stack_bottom = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 2.0" the last number is an integer and not a floating point value. After I changed it to "node_stack_bottom = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 2" everything worked flawlessly.

Thanks for pointing me in the right direction! This small error drove me mad, I'm glad it was easily corrected.

http://i.imgur.com/RZRn0ue.png

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