local vec3 = require "vec3" local transf = require "transf" function data() return { lods = { { animations = { }, children = { { id = "vehicle/train/br_e94/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_e94_lod0_bogie1.grp", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.322, 0, 0, 1, }, type = "GROUP", }, { id = "vehicle/train/br_e94_lod0_bogie1.grp", transf = { -1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, -3.322, 0, 0, 1, }, type = "GROUP", },{ id = "vehicle/train/br_e94/lod_0_interior.msh", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, }, type = "MESH", },{ id = "vehicle/train/br_e94/lod_0_interior.msh", transf = { -1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, }, type = "MESH", },{ id = "vehicle/train/br_e94/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.2,1.2,1.2),transf.degToRad( 0.0, 0.0, 0.0), vec3.new( 8.67, 0.0, 2.865)), type = "MESH", }, { id = "vehicle/asset/lod_0_light_round_white.msh", --manual lights transf = transf.scaleRotZYXTransl(vec3.new(1.2,1.2,1.2),transf.degToRad( 0.0, 0.0, 0.0), vec3.new( 8.64, -0.905, 1.56)), type = "MESH", }, { id = "vehicle/asset/lod_0_light_round_white.msh", --manual lights transf = transf.scaleRotZYXTransl(vec3.new(1.2,1.2,1.2),transf.degToRad( 0.0, 0.0, 0.0), vec3.new( 8.64, 0.905, 1.56)), type = "MESH", }, }, events = { }, matConfigs = { { 0, 0, 0, 0, 0, 0, }, }, static = false, visibleFrom = 0, visibleTo = 1950, }, }, metadata = { description = { name = _("Class E 94"), description = _("This electric heavy freight locomotive was built for the Deutsche Reichsbahn since 1940 and is commonly known as the German Crocodile.") }, railVehicle = { topSpeed = 90, weight = 119, engines = { { type = "ELECTRIC", power = 3000, tractiveEffort = 363 } }, configs = { { axles = { "vehicle/train/br_e94/lod_0_w1.msh", } } }, soundSet = "train_electric_old" }, transportVehicle = { seats = { { group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(4.18, -0.8, 1.95)), crew = true}, }, carrier = "RAIL" }, availability = { yearFrom = 1938, yearTo = 1949 }, cost = { price = -1 }, maintenance = { runningCosts = -1, lifespan = 50 } }, } end