Ok. Nachdem ich nun mein Problem mit den Abstürzen bei anderen gelöst bekommen habe, habe Ich doch mal eine Frage. Wieso funktionierte es bei mir ohne Fehlermeldung und Abstürze? Die Abstürze verursachten die Faces für die Bodentextur und die Terrainangleichung.
Altes Script was bei mir ging und das Problem verursachte:
local face
face = {{-138.2, -9.7, z}, { -138.2, 9.7, z}, { 138.2, 9.7, z}, { 138.2, -9.7, z}}
face1 = {{-56.2, 29.7, z}, { -56.2, 9.7, z}, { 56.2, 9.7, z}, { 56.2, 29.7, z}}
face2 = {{-138.2, -30.7, z}, { -138.2, -9.3, z}, { 34.2, -9.3, z}, { 34.2, -30.7, z}}
face3 = {{-145, -32, z}, { -145, 32, z}, { 36, 32, z}, { 36, -32, z}}
face4 = {{34, -11.5, z}, { 34, 32, z}, { 145, 32, z}, { 145, -11.5, z}}
-- Terrainangleichung
result.terrainAlignmentLists[#result.terrainAlignmentLists + 1] = { type = "EQUAL", faces = { face3, face4 } }
-- Bodentextur
if ((params.hessie_groundTextures or 0) == 1) then
result.groundFaces[#result.groundFaces + 1] = { face = face, modes = { { type = "FILL", key = "town_concrete.lua" } } }
--result.groundFaces[#result.groundFaces + 1] = { face = face, modes = { { type = "STROKE_OUTER", key = "building_paving.lua" } } }
result.groundFaces[#result.groundFaces + 1] = { face = face1, modes = { { type = "FILL", key = "town_concrete.lua" } } }
--result.groundFaces[#result.groundFaces + 1] = { face = face1, modes = { { type = "STROKE_OUTER", key = "building_paving.lua" } } }
result.groundFaces[#result.groundFaces + 1] = { face = face2, modes = { { type = "FILL", key = "town_concrete.lua" } } }
--result.groundFaces[#result.groundFaces + 1] = { face = face2, modes = { { type = "STROKE_OUTER", key = "building_paving.lua" } } }
Alles anzeigen
Und hier das was das Problem gelöst hat:
local face
face = {{-138.2, -9.7, z}, { -138.2, 9.7, z}, { 138.2, 9.7, z}, { 138.2, -9.7, z}}
local face1
face1 = {{-56.2, 29.7, z}, { -56.2, 9.7, z}, { 56.2, 9.7, z}, { 56.2, 29.7, z}}
local face2
face2 = {{-138.2, -30.7, z}, { -138.2, -9.3, z}, { 34.2, -9.3, z}, { 34.2, -30.7, z}}
local face3
face3 = {{-145, -32, z}, { -145, 32, z}, { 36, 32, z}, { 36, -32, z}}
local face4
face4 = {{34, -11.5, z}, { 34, 32, z}, { 145, 32, z}, { 145, -11.5, z}}
-- Terrainangleichung
result.terrainAlignmentLists[#result.terrainAlignmentLists + 1] = { type = "EQUAL", faces = { face3, face4 } }
-- Bodentextur
if ((params.hessie_groundTextures or 0) == 1) then
result.groundFaces[#result.groundFaces + 1] = { face = face, modes = { { type = "FILL", key = "town_concrete.lua" } } }
--result.groundFaces[#result.groundFaces + 1] = { face = face, modes = { { type = "STROKE_OUTER", key = "building_paving.lua" } } }
result.groundFaces[#result.groundFaces + 1] = { face = face1, modes = { { type = "FILL", key = "town_concrete.lua" } } }
--result.groundFaces[#result.groundFaces + 1] = { face = face1, modes = { { type = "STROKE_OUTER", key = "building_paving.lua" } } }
result.groundFaces[#result.groundFaces + 1] = { face = face2, modes = { { type = "FILL", key = "town_concrete.lua" } } }
--result.groundFaces[#result.groundFaces + 1] = { face = face2, modes = { { type = "STROKE_OUTER", key = "building_paving.lua" } } }
Alles anzeigen
Ist mir irgendwie ein Rätsel, das es bei mir keine Abstürze verursachte.