I'm stuck with a problem about edges. I have a mdl file with some transportnodes as seen in attached image. I get a CTD if I connect the blue marked edges to the same coordinate as the connection street. This mdl file was only converted with the TpF1 -> TpF2 converter from @EAT1963 and missing parameters that is new in TpF2 is manually added, like "linkable = false, -- /(true)," in the laneLists. I would appreciate help from anyone that know how streets should be configurated in TpF2.
I have also tried to set the linkable to true but I don't get any automated connection only a CTD for each try. Comparing the structure with the vanilla bus station doesn't give me any new idea.
local laneutil = require "laneutil"
function data()
return {
boundingInfo = {
bbMax = { 41.2, 6, 5.2, },
bbMin = { -41.2, -6, 0, },
},
collider = {
params = { },
transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, },
type = "MESH",
},
lods = {
{
node = {
animations = { },
children = {
{
_meshId = 1,
_origMeshId = 1,
materials = { "streets/Walkway.mtl", },
mesh = "Autobahn_medium_small/small_Bridge_walkway_city.msh",
name = "MSH_small_Bridge_walkway_city_1",
transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, },
},
},
name = "RootNode",
transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, },
},
static = false,
visibleFrom = 0,
visibleTo = 2500,
},
},
metadata = {
availability = {
yearFrom = 0,
yearTo = 0,
},
cost = {
price = -1,
},
transportNetworkProvider = {
laneLists = {
{
nodes = {
{
{ -30, 4.5, 3.5, },
{ -10, 0, 0, },
3,
},
{
{ -40, 4.5, 3.5, }, -- { -41.2, 4.5, 3.5, },
{ -10, 0, 0, },
3,
},
{
{ 30, -4.5, 3.5, },
{ 10, 0, 0, },
3,
},
{
{ 40, -4.5, 3.5, }, -- { 41.2, -4.5, 3.5, },
{ 10, 0, 0, },
3,
},
{
{ -40, -4.5, 3.5, }, -- { -41.2, -4.5, 3.5, },
{ 10, 0, 0, },
3,
},
{
{ -30, -4.5, 3.5, },
{ 10, 0, 0, },
3,
},
{
{ 40, 4.5, 3.5, }, -- { 41.2, 4.5, 3.5, },
{ -10, 0, 0, },
3,
},
{
{ 30, 4.5, 3.5, },
{ -10, 0, 0, },
3,
},
},
speedLimit = 20,
linkable = false,
transportModes = { "PERSON", },
},
},
terminals = { },
},
},
version = 1,
}
end
Alles anzeigen