Also, ich brauche mal ein bisschen Hilfe/Erklärung.
Ist es möglich in einer .CON Datei mehrere .MDL Dateien zu Kombinieren? Eigentlich genau so wie mehrere .MTL Dateien an ein .MSH hinzugefügt werden können.
Diese Kombinationen habe ich schon probiert:
elseif params.bordsoort == 18 and params.onderbord == 5 and params.hoogte == 1 and params.positie == 1 then
result.models[#result.models+1] = {
id = "asset/Borden/SRO/S_o1.mdl", "asset/Borden/Onderborden/ob_ww.mdl,",
transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, -2.5, -50, 1 },
}
Zeigt nur der erster .MDL
elseif params.bordsoort == 18 and params.onderbord == 5 and params.hoogte == 1 and params.positie == 1 then
result.models[#result.models+1] = {
id = "asset/Borden/SRO/S_o1.mdl, asset/Borden/Onderborden/ob_ww.mdl,",
transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, -2.5, -50, 1 },
}
Zeigt ein blaues placeholder square
elseif params.bordsoort == 18 and params.onderbord == 5 and params.hoogte == 1 and params.positie == 1 then
result.models[#result.models+2] = {
id = "asset/Borden/SRO/S_o1.mdl", "asset/Borden/Onderborden/ob_ww.mdl,",
transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, -2.5, -50, 1 },
}
Zeigt empty model
Vielleicht geht das alles gar nicht, aber habe die Hoffnung das so etwas doch irgendwie klappt.
Es wäre ja viel einfacher um 2 Modelle zu Kombinieren statt 15 neue zu Bauen