Moin zusammen.
Ich würde gerne die Strasssenverbindungen in den Häusermods von AV ändern, da diese mir so nicht gefallen.
Also habe ich in der entsprechenden .con den Strassentyp für die street_connection ==10 geändert. Leider wird aber nun nur die alte kleine Standard-Landstrassen geladen. Was mache ich also verkehrt ?
if params.street_connection == 9
then
result.edgeLists[#result.edgeLists+1] = {
type = "STREET",
params = {
type = "standard/country_small_old.lua",
},
edges = {
{ { 0, 0, 0 }, { 0, 2, .0 } },
{ { 0, 2, 0 }, { 0, 2, .0 } },
},
snapNodes = { 1 }
}
result.edgeLists[#result.edgeLists+1] = {
type = "STREET",
params = {
type = "standard/country_small_old.lua",
},
edges = {
{ { 0, 0, 0 }, { 0, -2, .0 } },
{ { 0, -2, 0 }, { 0, -2, .0 } },
},
snapNodes = { 1 }
}
elseif params.street_connection == 10
then
result.edgeLists[#result.edgeLists+1] = {
type = "STREET",
params = {
type = "mods/rtp_roads_1/res/config/street/03_landstrassen/03_landstrasse_asphalt_zweispurig_klein.lua",
},
edges = {
{ { 0, 0, 0 }, { 0, 2, .0 } },
{ { 0, 2, 0 }, { 0, 2, .0 } },
},
snapNodes = { 1 }
}
result.edgeLists[#result.edgeLists+1] = {
type = "STREET",
params = {
type = "mods/rtp_roads_1/res/config/street/03_landstrassen/03_landstrasse_asphalt_zweispurig_klein.lua",
},
edges = {
{ { 0, 0, 0 }, { 0, -2, .0 } },
{ { 0, -2, 0 }, { 0, -2, .0 } },
},
snapNodes = { 1 }