Ich habe heute den Beta-Patch 12215 aktiviert.
Wollte mein Savegame laden, habe aber folgende Lua-error bekommen.
Ich bin nachgegangen.
ind_2_1x1_02_01.mdl:
function data()
return {
boundingInfo = {
bbMax = {
4.6110119819641, 7.7513880729675, 8.2976665496826,
},
bbMin = {
-4.6110119819641, -2.8596239089966, -3,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "building/era_b/lod_1_ind_2_1x1_02_01.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
},
},
events = {
},
matConfigs = {
{
0,
},
},
static = false,
visibleFrom = 240,
visibleTo = 2600,
}, {
animations = {
},
children = {
{
id = "building/era_b/lod_0_ind_2_1x1_02_01.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
},
},
events = {
},
matConfigs = {
{
0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 240,
},
},
metadata = {
particleSystem = {
emitters = {
{
position = { 0, 7.0294, 8.1 },
velocity = { 0, 0, 1 },
color = { .6, .6, .6 },
frequency = 12,
lifeTime = 5.0,
size01 = { .2, 5.0 },
child = 0,
},
}
}
},
}
end
Dann lod_0_ind_2_1x1_02_01.msh:
function data()
return {
animations = {
},
matConfigs = {
{
0,
},
},
subMeshes = {
{
indices = {
normal = {
count = 612,
offset = 4228,
},
position = {
count = 612,
offset = 3004,
},
uv0 = {
count = 612,
offset = 3616,
},
},
materials = {
"building/era_b/ind_2_1x1_02_01/ind_2_1x1_02_merged_01_lod.mtl",
},
},
},
vertexAttr = {
normal = {
count = 1836,
numComp = 3,
offset = 1168,
},
position = {
count = 456,
numComp = 3,
offset = 0,
},
uv0 = {
count = 712,
numComp = 2,
offset = 456,
},
},
}
end
Dann ind_2_1x1_02_01/ind_2_1x1_02_merged_01_lod.mtl:
local townbuildingutil = require "townbuildingutil"
function data()
return townbuildingutil.make_material_lod_1_metallic(
"res/textures/models/building/era_b/ind_2_1x1_02_merged_01_lod_albedo.dds",
"res/textures/models/building/era_b/ind_2_1x1_02_merged_01_lod_metal_gloss_ao.dds"
)
end
Die hier genannten dds files existieren und sind im richtigen Ordner...
Was ist hier denn schief gegangen?
Danke für eure Hilfe im Voraus!