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

274 lines
5.5 KiB
Plaintext
Executable File

local vec3 = require "vec3"
local transf = require "transf"
function data()
return {
boundingInfo = {
bbMax = {
8.5573291778564, 1.5480879545212, 5.8759250640869,
},
bbMin = {
-8.5573291778564, -1.5480879545212, -0.90987700223923,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/train/ae_4_7/lod_2_ae_4-7.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ae_4_7/lod_2_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.2051, 0, 0.8306, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ae_4_7/lod_2_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.2644, 0, 0.8306, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ae_4_7/lod_2_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.6763, 0, 0.8306, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ae_4_7/lod_2_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.617, 0, 0.8306, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ae_4_7/lod_2_w2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 6.5274, 0, 0.5345, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ae_4_7/lod_2_w2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.3279, 0, 0.5345, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ae_4_7/lod_2_w2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -6.0669, 0, 0.5345, 1,
},
type = "MESH",
},
},
events = {
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 350,
visibleTo = 1870,
}, {
animations = {
},
children = {
{
id = "vehicle/train/ae_4_7/lod_1_ae_4-7.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ae_4_7/lod_1_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.2051, 0, 0.8306, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ae_4_7/lod_1_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.2644, 0, 0.8306, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ae_4_7/lod_1_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.6763, 0, 0.8306, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ae_4_7/lod_1_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.617, 0, 0.8306, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ae_4_7/lod_1_w2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 6.5274, 0, 0.5345, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ae_4_7/lod_1_w2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.3279, 0, 0.5345, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ae_4_7/lod_1_w2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -6.0669, 0, 0.5345, 1,
},
type = "MESH",
},
},
events = {
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 150,
visibleTo = 350,
}, {
animations = {
},
children = {
{
id = "vehicle/train/ae_4_7_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/ae_4_7_lod_0_bogie1.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 5.5259, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/ae_4_7_lod_0_bogie2.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -6.0669, 0, 0, 1,
},
type = "GROUP",
},
},
events = {
},
matConfigs = {
{
0, 0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 150,
},
},
metadata = {
description = {
name = _("Ae 4/7"),
description = _("A universal locomotive from Switzerland, very long-lasting thanks to the so-called Buchli drive.")
},
railVehicle = {
topSpeed = 100,
weight = 121,
engines = {
{ type = "ELECTRIC", power = 2300, tractiveEffort = 196 }
},
configs = {
{
},
{
axles = {
"vehicle/train/ae_4_7/lod_1_w1.msh",
"vehicle/train/ae_4_7/lod_1_w2.msh",
}
},
{
axles = {
"vehicle/train/ae_4_7/lod_0_w1.msh",
"vehicle/train/ae_4_7/lod_0_w2.msh",
}
}
},
soundSet = { name = "train_electric_old", horn = "vehicle/train_steam_old/steam_horn_12.wav" }
},
transportVehicle = {
seats = {
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(5.88, -0.6, 1.68)), crew = true, standing = true},
},
carrier = "RAIL"
},
availability = {
yearFrom = 1927,
yearTo = 1949
},
cost = {
price = -1
},
maintenance = {
runningCosts = -1,
lifespan = 45
}
},
}
end