Hello everyone,
at the moment i am working on a small project for which i created more than 20 different Lamps. I would like to use a Splinesystem for the Cable and Wire/Chain-Suspension. I am trying to get into Visual Scripting since a little bit more than one week now. Normaly i try to figure everything out on my own with success. But in this case i feel like a 80 Year old that is sitting the first time in front of a computer. So i realy hope that some one of you can give me his helping hand.
Everything that i found online, was regarding “single spline functions”. That some one is placing one or multiple objects along a spline. But what i did not found was a function with multiple splines in one construction script.
I was able to create a, (let me call it) “multi spline function”. Which is from the main functionality exactly what i need. But as you will see, it is a mess and unusable. As i searched for a solution, i found a Video with a very nice BP, but sadly again a “single spline function”. I would like to combine both, but here starts the trouble.
This is what i have (Dont pay attention to the lamp it is only for testing ) :
The marked Meshes in the first picture are Static, the unmarked Meshes are for the Splines.
The ability to simply change the Cable (checked is Cable_01 / unchecked is Cable_02)
Check/Uncheck Cable_03
Here is whole function, i hope you can see everything:
What i did was using the Spline-Function that you find in nearly every Youtube Video about Splines. I copy pasted the function and added my Static-Cable (Lamp_01_01_02) with “Add Static Mesh Component”. Which i want to change together with Spline_Cable_01 to Spline_Cable_02.
I added Branches and two Boolean Variables to controle the Checkboxes.
Because i have two splines on the X Axis and two Splines on the Z Axis i added a Variable for the Axis_Orientation.
Short, the BP gives the Main functionality but it is a totally buggy mess , also the Meshes along the spline are not instanced and so on.
What i would like to have:
- 4 Splines on two different Axis, two on X and two on Z
- The ability to change cables, same with the wire to a chain, simple with Checkbox
- The ability to show or hide a Cable with a Checkbox
- Everything condensed instead of a copy paste mess like i did
- Instanced like in the function i will show you now down below
This is a function from the Youtuber “Pending Kill”:
I am not interessted in the “Color Scheme Function” but here is also a picture of this part
Here is the Link to his Video:
Now is the question, how can i get my Function into something like he showed?
Thank you for spending your precious time reading, i wish you a nice day.