Jump to content

KSP Bro AE

Recommended Posts

Help!

Not really much to ask, but I am making a star wars bd addon(ask me for link if u want), and I made all the models, textures, etc, but I don't get the node attachments, node top, bottom. Could someone please help with these?

Link to comment
Share on other sites

Over in the Mod Development Links Compilation thread there is a large list of useful tutorials and other info.

But a brief overview - the old way (as in has been around for a long time) is to have a node_stack_top listed in the part config file - using squad's LV-t45 as an example "node_stack_top = 0.0, 7.21461, 0.0, 0.0, 1.0, 0.0" you'll notice seven numbers. The first set of three numbers are the X(0), Y(7.21461) and Z(0) position of the node. The second set are the direction the node is pointing(pointing in the Y direction). The last number is the node size - size zero in this case.

 

There is a new way (as of 0.90? or maybe 1.0.x) to do nodes where you add a transform in Unity and then reference it in the config file. If I remember correctly the blue (Z) arrow needs to point in the direction the node will point - towards the part that this part will attach to).

NODE
{
   name = Top           // Our name for the node
   transform = StackTop // This is the GameObject name from in Unity
   size = 2             // Size of green connect point indicator in VAB/SHB
   method = FIXED_JOINT
}

 

Link to comment
Share on other sites

4 hours ago, wasml said:

NODE

{
   name = Top           // Our name for the node
   transform = StackTop // This is the GameObject name from in Unity
   size = 2             // Size of green connect point indicator in VAB/SHB
   method = FIXED_JOINT
}

 

This is for the cfg file, right?

And so, do I have to make a seperate game object or leave it?

Link to comment
Share on other sites

Both the "node_stack_top = ..." and the "NODE {..." are in the cfg.

The "NODE {..." route has you add a empty game object for each node to your unity model and then give it a name before writing to a .mu file. This is how I've been setting up stuff in Unity:

PartName (GameObject)

        -> StackNodeTop (GameObject)

        -> StackNodeBottom (GameObject)

        -> BlenderImport (Model)

               --> Mesh

               --> Collider

 

Note that capitalization is very important in the config file - StackNodetop will not link to StackNodeTop and may hang the game during loading.

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