local vec3 = require "vec3" local transf = require "transf" function data() return { boundingInfo = { bbMax = { 12.889254570007, 1.4482200145721, 5.9023561477661, }, bbMin = { -10.999389801025, -1.4482200145721, -0.071776986122131, }, }, collider = { params = { }, type = "MESH", }, lods = { { animations = { }, children = { { id = "vehicle/train/tgv/lod_0_front.msh", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, }, type = "MESH", }, { id = "vehicle/train/tgv_lod_0_bogie1.grp", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 7.5725002288818, 0, 0, 1, }, type = "GROUP", }, { id = "vehicle/train/tgv_lod_0_bogie1.grp", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -7.5725002288818, 0, 0, 1, }, type = "GROUP", }, { id = "vehicle/train/tgv/lod_0_interior_front.msh", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, }, type = "MESH", }, { id = "vehicle/train/tgv/lod_0_logos_front.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( 26.0, -60.0, 0.0), vec3.new( 11.98, 0.8, 1.785)), 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( -40.0, -60.0, 0.0), vec3.new( 11.98, -0.82, 1.775)), type = "MESH", }, }, events = { }, matConfigs = { { 0, 0, 0, 0, 0, 0, 0, }, }, static = false, visibleFrom = 0, visibleTo = 2190, }, }, metadata = { railVehicle = { topSpeed = 300, weight = 70, engines = { { type = "ELECTRIC", power = 3225, tractiveEffort = 350 } }, configs = { { axles = { "vehicle/train/tgv/lod_0_w1.msh", } } }, soundSet = { name = "train_electric_modern", horn = "vehicle/train_electric_modern/horn_21_intercity125.wav" } }, transportVehicle = { seats = { { group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(8.6, -0.7, 1.65)), crew = true}, }, carrier = "RAIL", multipleUnitOnly = true, }, availability = { yearFrom = 3000, yearTo = 3000, }, cost = { price = -1 }, maintenance = { runningCosts = -1, lifespan = 50 } }, } end