Jump to content

Scripts and Splines


Recommended Posts

Are there any good scripts or tricks revolving around splines, wires and ropes?

For instance is it possible to spawn a rope into the game?

With beginning and end spline points?

Link to comment
Share on other sites

I don't think you spawn (or manipulate) Bendable Splines with Papyrus.

 

Bendable Spline doesn't even have a script object unfortunately. But even if it had, you still couldn't connect it to a Power Grid.

 

As far as I know, Transfer Settlements spawn and connect them with an F4SE plugin (.dll). I suppose they reverse engineered the hardcoded functions that the Workshop Menu (the interface) calls when you connect power sources together ingame.

Edited by LarannKiar
Link to comment
Share on other sites

SUP F4SE has a function to create a spline between two objectrefs from script.

I've used it extensively for my Settlement Map mod. Truth is, TommInfinite added that function at my request, so I could make the map mod.

Kudos to him.

 

Transfer Settlements actually uses "wires" and not "splines".

In fact, wires are internally made from a spline plus entries in the power grid tables.

Working with wires can be difficult, because once you connect them to anything (such as other wires), you can't scrap them from script anymore - for doing so causes the scrap crash.

 

Plain splines from SUP F4SE don't suffer from this drawback (but of course they also cannot transfer "electricity").

Furthermore, you can easily specify both thickness and slack for the SUP F4SE splines, whereas F4SE wires will use whatever slack default is set for the workshop.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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