Hi, I'm trying to get the text label on a bus stop, in the model editor the text is showing but not in the game. do you know what I'm doing wrong? :thonk:
+ I'm adding .mdl file
thank you very much for your help 🫡
[Blockierte Grafik: https://cdn.discordapp.com/attachments/654337954650652702/1316495571212828713/image.png?ex=675b418b&is=6759f00b&hm=792962b140c2e177cf9a023226f6c83251233cefb7639ad966e992e00a912795&=]
Code
function data()
return {
boundingInfo = {
bbMax = { -0.64999997615814, 0.60000002384186, -0.10999999940395, },
bbMin = { 0.14000000059605, -0.66000002622604, 3.1199998855591, },
},
collider = {
params = {
halfExtents = { 0.30330061912537, 1.5297654867172, 0.26155281066895, },
},
transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, },
type = "BOX",
},
lods = {
{
node = {
children = {
{
materials = { "oznacniky_pid/svetlo.001.mtl", },
mesh = "oznacniky_pid/svetlo_lod0.msh",
name = "svetlo",
transf = { 100, 0, 0, 0, 0, -100, -3.8941438106121e-05, 0, 0, 3.8941438106121e-05, -100, 0, 5.1843543052673, -1.5385491847992, 10.577747344971, 1, },
},
{
materials = { "oznacniky_pid/jizdni_rad_b.mtl", },
mesh = "oznacniky_pid/jizdni_rad_b_lod0.msh",
name = "jizdni_rad_b",
transf = { -25.608205795288, -3.8667312765028e-06, -6.1074962331986e-07, 0, 2.0393223110204e-07, -1.3505820035934, -1.0840831237147e-06, 0, -5.9624102277667e-07, -2.006696377066e-05, 25, 0, 5.2519407272339, -1.2253835201263, 10.577349662781, 1, },
},
{
materials = { "oznacniky_pid/kos_lak.mtl", },
mesh = "oznacniky_pid/kos_lod0.msh",
name = "kos",
transf = { 70.182250976562, 0, 0, 0, 0, 70.182250976562, 0, 0, 0, 0, 70.182250976562, 0, 5.2255773544312, -0.23220872879028, 10.577608108521, 1, },
},
{
materials = { "oznacniky_pid/lak_konstukce.mtl", "oznacniky_pid/elektro.mtl", },
mesh = "oznacniky_pid/konstrukce_lod0.msh",
name = "konstrukce",
transf = { 70.182250976562, 0, 0, 0, 0, 70.182250976562, 0, 0, 0, 0, 70.182250976562, 0, 5.2165493965149, -0.056275248527527, 10.579657554626, 1, },
},
{
materials = { "oznacniky_pid/jizdni_rad_a.mtl", },
mesh = "oznacniky_pid/jizdni_rad_a_lod0.msh",
name = "jizdni_rad_a",
transf = { 25.608205795288, -2.6696787819693e-14, 4.477481070353e-06, 0, -1.4966650694389e-13, -1.3505820035934, 8.4793987298326e-07, 0, 4.3711388570955e-06, -1.5695823094575e-05, -25, 0, 5.1890897750854, -1.2253835201263, 10.577349662781, 1, },
},
{
materials = { "oznacniky_pid/linky.mtl", },
mesh = "oznacniky_pid/linky_lod0.msh",
name = "linky",
transf = { 380.07208251953, -1.6613477782812e-05, 6.6453932959121e-05, 0, 6.6453932959121e-05, -1.6613481420791e-05, -380.07208251953, 0, 1.6613481420791e-05, 380.07208251953, -1.6613477782812e-05, 0, 4.9949522018433, -2.3682639598846, 10.544534683228, 1, },
},
{
materials = { "oznacniky_pid/info.mtl", },
mesh = "oznacniky_pid/info_lod0.msh",
name = "info",
transf = { 0.00016577905626036, 0.00011302773782518, 463.24621582031, 0, 463.23928833008, -2.5381021499634, -0.0001651572965784, 0, 2.5381021499634, 463.23928833008, -0.0001139343221439, 0, 5.1799998283386, -1.75, 10.578165054321, 1, },
},
{
materials = { "oznacniky_pid/znacka-tram.mtl", },
mesh = "oznacniky_pid/znacka_tram_lod0.msh",
name = "znacka_tram",
transf = { 22.799999237061, -3.4427041555318e-06, -8.8786473497748e-06, 0, 3.4427041555318e-06, 22.799999237061, -1.3406384292633e-12, 0, -2.920607755641e-07, 0, -0.75, 0, 4.9948110580444, -2.8166191577911, 10.611624717712, 1, },
},
},
name = "RootNode",
transf = { -4.3711388286738e-08, 1, -0, 0, 4.3711388286738e-08, 1.9106854651647e-15, -1, 0, -1, -4.3711388286738e-08, -4.3711388286738e-08, 0, 10.35000038147, -5.3200001716614, 0, 1, },
},
static = false,
visibleFrom = 0,
visibleTo = 940,
},
},
metadata = {
availability = {
yearFrom = 1970,
yearTo = 0,
},
cost = {
price = -1,
priceScale = 1,
},
description = {
description = _("zastavka"),
name = _("PID oznacnik"),
},
labelList = {
labels = {
{
alignment = "CENTER",
alpha = 2,
alphaMode = "CUTOUT",
childId = "RootNode",
color = { 0, 0, 0, },
filter = "NONE",
fitting = "SCALE",
nLines = 1,
params = { },
renderMode = "STD",
size = { 1.0199999809265, 0.14000000059605, },
transf = { 0.43000000715256, 0, -0, 0, 0, -0.43000000715256, -3.7591792789726e-08, 0, -0, 3.7591792789726e-08, -0.43000000715256, 0, 4.7699999809265, -2.4700000286102, 10.539999961853, 1, },
type = "STATION_NAME",
verticalAlignment = "TOP",
},
},
},
streetTerminal = {
cargo = false,
},
},
version = 1,
}
end
Alles anzeigen
screen from modeleditor