local vec3 = require "vec3" local transf = require "transf" function data() return { boundingInfo = { bbMax = { 9.8356332778931, 1.597198009491, 5.8987860679626, }, bbMin = { -9.8356332778931, -1.597198009491, -0.69894200563431, }, }, collider = { params = { }, type = "MESH", }, lods = { { animations = { }, children = { { id = "vehicle/train/br_185_traxx/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_185_traxx_lod_0_bogie.grp", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 5.4432, 0, 0, 1, }, type = "GROUP", }, { id = "vehicle/train/br_185_traxx_lod_0_bogie.grp", transf = { -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -5.4432, 0, 0, 1, }, type = "GROUP", }, { id = "vehicle/train/br_185_traxx/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_185_traxx/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,0.9,0.9),transf.degToRad( 0.0, 0.0, 0.0), vec3.new( 9.4, 0.94, 1.59)), type = "MESH", },{ id = "vehicle/asset/lod_0_light_round_white.msh", --manual lights transf = transf.scaleRotZYXTransl(vec3.new(1.0,0.9,0.9),transf.degToRad( 0.0, 0.0, 0.0), vec3.new( 9.4, -0.94, 1.59)), type = "MESH", }, }, events = { }, matConfigs = { { 0, 0, 0, 0, 0, 0, 0, }, }, static = false, visibleFrom = 0, visibleTo = 1990, }, }, metadata = { description = { name = _("Class 185"), description = _("The double voltage Class 185 was meant for international operation, and was also dubbed Europalok.") }, railVehicle = { topSpeed = 160, weight = 84, engines = { { type = "ELECTRIC", power = 4200, tractiveEffort = 300 } }, configs = { { axles = { "vehicle/train/br_185_traxx/lod_0_w1.msh", } } }, soundSet = { name = "train_electric_modern", horn = "vehicle/train_electric_modern/horn_15.wav" } }, transportVehicle = { carrier = "RAIL", seats = { { group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(7.7, -.79, 1.6)), crew = true, standing = false}, }, }, availability = { yearFrom = 3000, yearTo = 3000 }, cost = { price = -1 }, maintenance = { runningCosts = -1, lifespan = 50 }, }, } end