disablevanillavehicles_1520dlc/res/models/model/vehicle/train/br75_4.mdl

365 lines
8.7 KiB
Plaintext
Executable File

local vec3 = require "vec3"
local transf = require "transf"
function data()
return {
boundingInfo = {
bbMax = {
6.0623202323914, 1.5864230394363, 4.5724639892578,
},
bbMin = {
-6.0107669830322, -1.5864230394363, -0.030532002449036,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/train/br75_4/lod_2_br75_4.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_2_g1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.1647999286652, 0, 0.8134999871254, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_2_g2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.12099999934435, 0, 0.50400000810623, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_2_g3.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.12099999934435, 0, 0.50400000810623, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_2_g7.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.5628000497818, 0, 1.4045000076294, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_2_g9.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.12099999934435, 0, 0.50400000810623, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_2_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.4906001091003, 0, 0.50040000677109, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_2_w2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.1451001167297, 0, 0.81209999322891, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_2_w3.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.11200000345707, 0, 0.81209999322891, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_2_w4.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.6540999412537, 0, 0.81209999322891, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_2_w5.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.9739999771118, 0, 0.50040000677109, 1,
},
type = "MESH",
},
},
events = {
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 400,
visibleTo = 1400,
}, {
animations = {
},
children = {
{
id = "vehicle/train/br75_4/lod_1_br75_4.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_1_g1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.1647999286652, 0, 0.8134999871254, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_1_g2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.12099999934435, 0, 0.50400000810623, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_1_g3.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.12099999934435, 0, 0.50400000810623, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_1_g4.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.1451001167297, 0, 0.62919998168945, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_1_g5.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.6493999958038, 0, 0.60339999198914, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_1_g6.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.6419999599457, 0, 1.4213999509811, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_1_g7.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.5628000497818, 0, 1.4045000076294, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_1_g8.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.32910001277924, 0, 0.84320002794266, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_1_g9.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.12099999934435, 0, 0.50400000810623, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_1_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.4906001091003, 0, 0.50040000677109, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_1_w2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.1451001167297, 0, 0.81209999322891, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_1_w3.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.11200000345707, 0, 0.81209999322891, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_1_w4.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.6540999412537, 0, 0.81209999322891, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br75_4/lod_1_w5.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.9739999771118, 0, 0.50040000677109, 1,
},
type = "MESH",
},
},
events = {
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 150,
visibleTo = 400,
}, {
animations = {
},
children = {
{
id = "vehicle/train/br75_4_lod_0_body.grp",
transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 },
type = "GROUP",
}, {
id = "vehicle/train/br75_4_lod_0_bogie_front.grp",
transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.4906001091003, 0, 0.50040000677109, 1 },
type = "GROUP",
}, {
id = "vehicle/train/br75_4_lod_0_bogie_back.grp",
transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.9739999771118, 0, 0.50040000677109, 1 },
type = "GROUP",
},
},
events = {
drive = {
[1] = {
forward = true,
name = "drive",
}
},
},
matConfigs = {
{ 0, 0, 0 }
},
static = false,
visibleFrom = 0,
visibleTo = 150,
},
},
metadata = {
description = {
name = _("Class 75.4 Baden VI c"),
description = _("Built by the Maschinenbau-Gesellschaft Karlsruhe for service in south-western Germany, this locomotive was equipped with larger wheels and a longer, fixed wheelbase.")
},
railVehicle = {
topSpeed = 90,
weight = 76,
engines = {
{ type = "STEAM", power = 580, tractiveEffort = 90 }
},
configs = {
{ },
{
--[[axles = {
"vehicle/train/br75_4/lod_1_w1.msh",
"vehicle/train/br75_4/lod_1_w2.msh",
"vehicle/train/br75_4/lod_1_w3.msh",
"vehicle/train/br75_4/lod_1_w4.msh",
"vehicle/train/br75_4/lod_1_w5.msh"
}]]
}, {
axles = {
"vehicle/train/br75_4/lod_0_w1.msh",
"vehicle/train/br75_4/lod_0_w2.msh",
"vehicle/train/br75_4/lod_0_w3.msh",
"vehicle/train/br75_4/lod_0_w4.msh",
"vehicle/train/br75_4/lod_0_w5.msh"
}
}
},
soundSet = { name = "train_steam_modern", horn = "vehicle/train_steam_old/steam_horn_2.wav" }
},
transportVehicle = {
carrier = "RAIL",
seats = {
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-3.1, -.7, 1.65)), crew = true, standing = true},
},
},
availability = {
yearFrom = 1914,
yearTo = 1949
},
cost = {
price = -1
},
maintenance = {
runningCosts = -1,
lifespan = 40
},
particleSystem = {
emitters = {
{
position = { 3.9332, .0, 4.8},
velocity = { .0, .0, 10.0 },
color = { .3, .3, .3 },
frequency = 80,
lifeTime = 20.0,
size01 = { .8, 10.0 },
child = 1
},
{
position = { 2.898, 1.3568, .0 },
velocity = { .0, 4.0, 0.0 },
color = { .4, .4, .4 },
frequency = 12,
lifeTime = 10.0,
size01 = { .8, 10.0 },
child = 1
},
{
position = { 2.898, -1.3568, .0 },
velocity = { .0, -4.0, 0.0 },
color = { .4, .4, .4 },
frequency = 12,
lifeTime = 10.0,
size01 = { .8, 10.0 },
child = 1
}
}
}
},
}
end