local vec3 = require "vec3" local transf = require "transf" function data() return { boundingInfo = { }, lods = { { animations = { }, children = { { id = "vehicle/train/plm_220_lod_0_body.grp", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, }, type = "GROUP", },{ id = "vehicle/train/plm_220_lod_0_coalcar.grp", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -8.2365, 0, 0, 1, }, type = "GROUP", }, }, events = { drive = { [1] = { forward = true, name = "drive", }, }, }, matConfigs = { { 0, 0, }, }, static = false, visibleFrom = 0, visibleTo = 1540, }, }, metadata = { description = { name = _("PLM 220"), description = _("The very futuristic \"Big C\" is a pioneer among the aerodynamic locomotives.") }, railVehicle = { topSpeed = 60, weight = 57.4, engines = { { type = "STEAM", power = 450, tractiveEffort = 75 } }, configs = { { axles = { "vehicle/train/plm_220/lod_0_w1.msh", "vehicle/train/plm_220/lod_0_w2.msh", "vehicle/train/plm_220/lod_0_w3.msh", "vehicle/train/plm_220/lod_0_w4.msh" } } }, soundSet = { name = "train_steam_old", horn = "vehicle/train_steam_old/steam_horn_20.wav" } }, transportVehicle = { seats = { { group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-5.2, -0.1, 1.4)), crew = true, standing = true}, { group =1, transf = transf.rotZYXTransl(transf.degToRad(30.0, 0.0, 0.0), vec3.new(-5.4, 0.7, 1.4)), crew = true, standing = true}, }, carrier = "RAIL" }, availability = { yearFrom = 1890, yearTo = 1940 }, cost = { price = -1 }, maintenance = { runningCosts = -1, lifespan = 35 }, particleSystem = { emitters = { { position = {2.1654, .0, 4.207}, velocity = { .0, .0, 10.0 }, color = { .3, .3, .3 }, frequency = 80, lifeTime = 20.0, size01 = { .8, 10.0 }, child = 1 }, { position = { -0.614, 1.2299, 1.0154 }, velocity = { .0, 4.0, 0.0 }, color = { .4, .4, .4 }, frequency = 12, lifeTime = 10.0, size01 = { .8, 10.0 }, child = 1 }, { position = { -0.614, -1.2299, 1.0154 }, velocity = { .0, -4.0, 0.0 }, color = { .4, .4, .4 }, frequency = 12, lifeTime = 10.0, size01 = { .8, 10.0 }, child = 1 } } } }, } end