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

138 lines
3.1 KiB
Plaintext
Executable File

local vec3 = require "vec3"
local transf = require "transf"
function data()
return {
boundingInfo = {
bbMax = {
9.9406566619873, 1.4929430484772, 5.9128289222717,
},
bbMin = {
-9.9796762466431, -1.4929430484772, -0.70098698139191,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/train/br_103_1/lod_0_body.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br_103_1_lod_0_bogie.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.8498, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/br_103_1_lod_0_bogie.grp",
transf = {
-1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, -4.8498, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/br_103_1/lod_0_windows.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/br_103_1/lod_0_logos.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
},{
id = "vehicle/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(1.0,1.0,1.0),transf.degToRad( 0.0, 0.0, 0.0), vec3.new( 9.41, 0.0, 2.74)),
type = "MESH",
}, {
id = "vehicle/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(1.0,1.0,1.0),transf.degToRad( 0.0, 0.0, 0.0), vec3.new( 9.25, -0.89, 1.64)),
type = "MESH",
}, {
id = "vehicle/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(1.0,1.0,1.0),transf.degToRad( 0.0, 0.0, 0.0), vec3.new( 9.25, 0.89, 1.64)),
type = "MESH",
},
},
events = {
},
matConfigs = {
{
0, 0, 0,
0, 0, 0,
0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 2010,
},
},
metadata = {
description = {
name = _("Class 103"),
description = _("This fast and heavy electric locomotive was, for a long period, the flagship of German rolling stock.")
},
railVehicle = {
topSpeed = 200,
weight = 114,
engines = {
{ type = "ELECTRIC", power = 5940, tractiveEffort = 314 }
},
configs = {
{
axles = {
"vehicle/train/br_103_1/lod_0_w1.msh"
}
}
},
soundSet = { name = "train_electric_modern", horn = "vehicle/train_electric_modern/horn_16.wav" }
},
transportVehicle = {
carrier = "RAIL",
seats = {
{ group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(7.9, -.62, 1.82)), crew = true, standing = false},
},
},
availability = {
yearFrom = 3000,
yearTo = 3000
},
cost = {
price = -1
},
maintenance = {
runningCosts = -1,
lifespan = 45
},
},
}
end