I have been working on the Stena Line Ferry and this huge vessel needs a harbour.
The Ferry doesn't fit in the UG Harbor. That's why I now also have started to construct the Stena terminal.
The first thing I wish to understand is how the paths are made in Blender. I have found the TNP (Transport Network Provider) object and added one into my Blender project, please see the screen shot below.
In the TNP I have placed two curves just for testing and then I can export the project with the plugin from Merk.
The result can be seen on row 92-98, the content is empty .
I have been searching for tutorial, but I'm not a lucky person. I have also tested to import the UG harbour but this is failing as the plugin is (for now) only made for Train Fever. I hope someone can give me some help on how to setup a simple Ship paths inside blender.
local laneutil = require "laneutil"
function data()
return {
boundingInfo = {
bbMax = { 151.1678, 13.08573, 15.36984, },
bbMin = { -47.36639, -60.0, -0.0, },
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
children = {
{
id = "station/train/Stena_Terminal/Cylinder.004.msh",
transf = {
0.23409, 0.0, 0.0, 0.0, 0.0, 0.23409, 0.0, 0.0, 0.0, 0.0, 0.23409, 0.0, -12.0, -4.7, 13.15957, 1.0,
},
type = "MESH",
},
{
id = "station/train/Stena_Terminal/Cylinder.004.msh",
transf = {
0.23409, 0.0, 0.0, 0.0, 0.0, 0.23409, 0.0, 0.0, 0.0, 0.0, 0.23409, 0.0, -12.0, 4.7, 13.15957, 1.0,
},
type = "MESH",
},
{
id = "station/train/Stena_Terminal/Cube.001.msh",
transf = {
0.0, -26.45471, 0.0, 0.0, -20.58392, -0.0, 0.0, 0.0, -0.0, 0.0, 1.0, 0.0, -26.78247, 12.95963, 1.19334, 1.0,
},
type = "MESH",
},
{
id = "station/train/Stena_Terminal/Plane.010.msh",
transf = {
1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 3.2, 1.0,
},
type = "MESH",
},
{
id = "station/train/Stena_Terminal/Plane.005.msh",
transf = {
1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, -2.32482, 0.0, 9.16465, 1.0,
},
type = "MESH",
},
{
id = "station/train/Stena_Terminal/Plane.001.msh",
transf = {
1.0, 0.0, 0.0, 0.0, 0.0, 0.07666, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, -12.0, -4.57793, 8.97511, 1.0,
},
type = "MESH",
},
{
id = "station/train/Stena_Terminal/Plane.003.msh",
transf = {
1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, -12.0, 6.0, 8.72171, 1.0,
},
type = "MESH",
},
{
id = "station/train/Stena_Terminal/Plane.002.msh",
transf = {
1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 3.2, 1.0,
},
type = "MESH",
},
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 2500,
},
},
metadata = {
availability = {
yearFrom = 0,
yearTo = 0,
},
cost = {
price = 0,
},
transportNetworkProvider = {
laneLists = {
},
terminals = {
},
},
},
}
end
Alles anzeigen