Jump to content

Question about part modding


jdsutton

Recommended Posts

I'm in the process of making my first KSP mod (first mod ever really), and I'm encountering some problems.

This is the part I'm making, it's just a simple launch clamp that will break away a bit more dramatically than the stock ones.

xeYQWUO.png

It looks fine in Blender and Unity, but when I use it in the VAB some weird rotation and scaling things happen.

Od78kTU.jpg

As you can see, it looks normal in the part preview (top row middle icon), but when I try to attach it a few things happen:

-The clamp does not pivot at all toward the ship, although I was careful to check the .cfg file and set trf_towerPivot_name = obj_girdercap

-The girder itself scales horizontally instead of vertically and does not add additional sections as needed like the stock launch clamp does.

-The base seems to flip on its side no matter what I do, even though it is upright in my model and in the preview.

I'm using KSP part tools 0.20 for this, which is the most up to date version I could find. Obviously that might be causing some problems but I wouldn't know. I'm completely new to this, so if some more experienced people could give me their thoughts here I would be extremely grateful.

EDIT: Is a specific version of Unity required for something simple like this? I'm using version 4...

Edited by jdsutton
Link to comment
Share on other sites

Your using the right PartTools, thats not your issue.

I have never made launch claps so not sure...but best guess is that you have the transforms controling certain clap functions are turned the wrong way. A screen shot of your unity hierarchy would probably let others (that know more about clamps) help ya track down the issue.

Link to comment
Share on other sites

Just tried that, I must have done something wrong because every part failed to load and all my ships were deleted. At least I sort of figured out the rotation thing, it's a weird difference between Blender and Unity's rotation values.

Also: This may be a stupid question, but if I add a script to a part in Unity will it run properly in game? I'd like to make the base rotate but that doesn't happen with the way it's set up right now.

Edited by jdsutton
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...