Jump to content

Recommended Posts

Posted

Hello!

is it possible to repeat an object on a spline? Like a piece of railroad (see image) I would like it to repeat itself from beginning to end, so I have a nice railroad. Can I use this same method for roads?

Railroad.png

Posted

You can place items along a spline at set distances either by Using the Set Object Distance value or by the Use Distance Table see the relevant tutorial for their use,

https://farmerboysmodding.com/index.php?/topic/2414-terrain-height-paint-terrain-and-spline-placement-scripts-tutorials/

Regarding railways and roads you will only be able to place stright sections as the spline will not automatically 'bend' rail or road meshes.

For custom rail/road meshes It is best to create them in Blender using the spline as a reference then export (as i3d) the finished mesh into GE as an i3d described in the following tutorial

https://farmerboysmodding.com/index.php?/topic/2413-export-a-spline-from-giants-editor-into-blender-to-create-roadsrailways-updated/

 

Posted

Works like a charm! Thank you!

Do you perhaps know if it's enough to have a straight spline for the railroads or does it have to be a loop/path/circuit? I saw a Youtube tutorial where the guy mentions it being a loop where the train disappears from the map and reappears again on the other end.

Posted

You can have whatever shape spline you want, its entirely up to you how the railway looks.

You can loop the spline underneath the map and bring it back to the start and join the spline ('O' toggles the function on/off) which will give the effect you mention

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now