NEC Platform Pak1

I have created and partially textured the first platform in this pack. I will need help creating or findig and mapping the texture for the top of the platform. I ALSO NEED HELP CREATING A CONFIG FILE FOR THIS SPLINE. If i finish by today in the event people help me with things stated above i will do a late night release.:D:p
NECPlatformPic2.png
NECPlatformPic1.png
 
Look at the config files of other platforms/splines already in the game. Most, if not all, follow the same basic structure; the only thing you'll have to do is tweak some of the parameters to fit your needs. One thing to point out from your screens above: if it's going to be a spline and not a stand-alone object, you need the entire mesh to be oriented on the -Y axis, otherwise it won't behave like a spline will. It looks like you have it centered at the origin, which would make it usable only as an object.
 
Use this config:

username "RDG Catenary 4 Track 2 Wires Center Tracks 1 Cross Spar"
kuid <kuid:481384:100500>
trainz-build 2.9
category-class "SF"
category-region "US"
category-era "1990s;2000s;2010s"
kind "track"
istrack 0
isroad 0
visible-on-minimap 0
author "RRSignal"
description "RDG Catenary 4 Track 2 Wires over Center Tracks 1 Cross Spar. Spline version."
license "DRM-Freeware. Essentially open-source as long as it's not used in a DRM-protected project or ported to a DRM-protected platform."

mesh-table
{
cat0
{
mesh "cat4-2.im"
auto-create 1
}
}

track
{
mesh-length 91.44
adjust-cross-section-to-ground 0
adjust-height-to-ground-offset 0
coordinate-transformation "spline"
use-superelevation 0

track-lod-tree
{
lod-distance 5000

high-detail
{
mesh "cat0"
subdivisions 1
}

low-detail
{
mesh "cat0"
subdivisions 1
}
}
}

thumbnails
{
0
{
image "thumbnail.jpg"
width 240
height 180
}
}

kuid-table
{
}

The most important value is mesh-length. This is the length the platform is supposed to be in METERS. You'll probably have to adjust it up to 50% from whatever length you determine so as to prevent the texture from becoming distorted (assuming you are using a non-solid, quality texture like asphalt or concrete.)
 
Back
Top