Spline object problems

trainman184

NS and Japan Enthusiast
Hi all, I'm trying to make a road spline but I just can't make it work. I've tried every thing I can think of. :( If anyone can explain to me how to make it work or if you any suggestions it would be greatly appreciated.:)

Micah.:)
 
Hello,

1. Did you make the mesh so it is in top view going down on the screen from a Y=0 to a negative Y?
[Y -> is the axis going from a 0 around center of screen to either top (positive) or bottom (negative) part of the screen]

2. Did you make the mesh so it was centered around the X axis making the right side of the mesh about the same X value in positive number as the left side of the mesh is in negative value on the X axis?
[X -> is the axis going from a 0 around center of screen to either right side (positive) or left side (negative) part of the screen]

Those two are the most important ones in making a mesh act like a spline as a spline operates around the idea/principles that the center of it is equal a X axis value of 0 in a modeling program. And, it is drawn/dragged out along the negative value of the Y axis so all parts has to be along that path to show up in the game.

Hope this helps some?

Best of luck

Linda
 
Hello to you as well Linda.:) I thank you for your help, but unfortunately even with the mesh oriented as you described it still isn't working.:( I think it may have something to do with the config file. Here is a copy,


kuid <kuid:401720:1391>
username "US Double Yellow Line"
bendy 1
carrate 0
casts_shadows 0
endlength 1
grounded 0.4
isroad 1
isfreeway 0
numlanes 2
istrack 0
length 0.9
repeats 1
rgb 0,0,0
shadows 0
upright 0
visible-on-minimap 0
width 0.3
trainz-build 2.9
category-region "US"
category-era "1980s;2010s"
kind "spline"
category-class "SR"
mesh-table
{
mesh
{
mesh "DyellowLine1.im"
auto-create 1
}
}

Also for reference this is a model of only the center lines.

Thank you for your help:) , Micah.
 
Last edited:
I've done it!

Good news. I've finally got it to work.:) It turns out it was the config. :hehe: So I want to thank you for all your help.

Micah
 
Hi Micah,

Glad to hear you figured it out, that pesky config can be a problem sometime. :eek:

But, you figured it out, that is the important part - cool idea to just model the center lines! :)

Linda
 
Back
Top