Jump to content

BSConnectPoint, Parents and Children: Variable names, Roots, and Targets


Recommended Posts

I'm presently working in Nifskope, and I'm wondering exactly how Fallout 4's engine uses BSConnectPoints. Is there a specific naming convention that we must follow when assigning variable names?...and how does that relate to targets? Furthermore, what role do roots play?

The reason I ask is that naming seems to be rather arbitrary, and while I've seen some NiNodes names used under Roots, other Meshes' roots have names that I haven't (yet) been able to track down in related meshes.

What I really want to know is if I can use my own names and targets, and if not, why not, and under what circumstances I can use them, and when I can't.

Any help here will be greatly appreciated.

Link to comment
Share on other sites

As far as i know, the root names do not play a role at all as long as it is a (somewhat) reasonable name. Edit

The root name should be "WorkshopConnectPoints". In some cases the name could be left blank, though it doesn't matter if it is named anyway.

Also make sure that the name of the node (BSConnectPoint::Parents) is always "CPA". Else the node is not recongnized by the engine.

There is a basic set of connect point names, like P-WS-Autoplace, P-WS-Origin, etc. Otherwise you are free to choose the names for connect points as long as this are custom connect points.

 

There are some "snapping rules" though:

 

myName snaps to myName

myName snaps to myName-Dif

myName does not snap to myName-Dif2

 

myName-Dif snaps to myName

myName-Dif snaps to myName-Dif2

myName-Dif does not snap to myName-Dif

 

myName-Dif2 does only snap to myName-Dif

 

You may replace "myName" with whatever you want and add (or leave out) the appendicies "-Dif" or "-Dif2"

Edited by deadbeeftffn
Link to comment
Share on other sites

As far as i know, the root names do not play a role at all as long as it is a (somewhat) reasonable name. Edit

The root name should be "WorkshopConnectPoints". In some cases the name could be left blank, though it doesn't matter if it is named anyway.

Also make sure that the name of the node (BSConnectPoint::Parents) is always "CPA". Else the node is not recongnized by the engine.

There is a basic set of connect point names, like P-WS-Autoplace, P-WS-Origin, etc. Otherwise you are free to choose the names for connect points as long as this are custom connect points.

 

There are some "snapping rules" though:

 

myName snaps to myName

myName snaps to myName-Dif

myName does not snap to myName-Dif2

 

myName-Dif snaps to myName

myName-Dif snaps to myName-Dif2

myName-Dif does not snap to myName-Dif

 

myName-Dif2 does only snap to myName-Dif

 

You may replace "myName" with whatever you want and add (or leave out) the appendicies "-Dif" or "-Dif2"

Thanks for the response. Any chance you can share a pic of the relevant fields just to make sure I'm following correctly?

Link to comment
Share on other sites

  • 1 month later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...