local vec3 = require "vec3" local transf = require "transf" function data() return { boundingInfo = { }, collider = { params = { }, type = "MESH", }, lods = { { animations = { }, children = { { id = "vehicle/train/obb_1042_lod_0_body.grp", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, }, transf = transf.rotZYXTransl(transf.degToRad(0,0,0), vec3.new(0, 0, 0)), -- manual rotation type = "GROUP", }, { id = "vehicle/train/obb_1042/lod_0_interior.msh", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, }, transf = transf.rotZYXTransl(transf.degToRad(0,0,0), vec3.new(0, 0, 0)), -- manual rotation type = "MESH", },{ id = "vehicle/train/obb_1042_lod_0_bogie.grp", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.9489, 0, 0, 1, }, transf = transf.rotZYXTransl(transf.degToRad(180,0,0), vec3.new(3.9489, 0, 0)), -- manual rotation type = "GROUP", },{ id = "vehicle/train/obb_1042_lod_0_bogie.grp", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.9489, 0, 0, 1, }, transf = transf.rotZYXTransl(transf.degToRad(180,0,0), vec3.new(-3.9489, 0, 0)), -- manual rotation type = "GROUP", } }, events = { }, matConfigs = { { 0, 0, 0, 0, }, }, static = false, visibleFrom = 0, visibleTo = 1810, }, }, metadata = { description = { name = _("Class 1042"), description = _("The Class 1042 was a class of electric locomotives operated by the Austrian Federal Railways.") }, railVehicle = { topSpeed = 140, weight = 83.9, engines = { { type = "ELECTRIC", power = 3300, tractiveEffort = 260 } }, configs = { { axles = { "vehicle/train/obb_1042/lod_0_w1.msh", } }, }, soundSet = "train_electric_modern" }, transportVehicle = { carrier = "RAIL", seats = { { group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(5.9, -.7, 1.51)), crew = true, standing = false}, }, }, availability = { yearFrom = 3000, yearTo = 3000, }, cost = { price = -1 }, maintenance = { runningCosts = -1, lifespan = 50 } }, } end