function data() local sx1 = 8/7 local sy1 = 2.63/4.13 local sz1 = .35 local tx1 = 4.02 local tz1 = 1.2 local dz1 = .7 local sx2 = 8/7.8 local sy2 = 2.63/3.94 local sz2 = 0.35 local tx2 = 4.02 local tz2 = 1.2 local dz2 = .7 local sx3 = 8/7.3 local sy3 = 2.63/4.0 local sz3 = 0.55 local tx3 = 4.02 local tz3 = 1.2 local dz3 = .74 return { boundingInfo = { bbMax = { 8.7690124511719, 1.5262520313263, 3.6753621101379, }, bbMin = { -9.1690120697021, -1.5262520313263, -0.56175297498703, }, }, collider = { params = { }, type = "MESH", }, lods = { { animations = { }, children = { { id = "vehicle/waggon/rungenwagen_1950/lod_2_body.msh", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, }, type = "MESH", }, -- wood needed for rungenwagen 1950 { id = "vehicle/waggon/_freight/lod_2_freight_bigwood_level1.msh", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4, 0, 0, 1, }, type = "MESH", }, { id = "vehicle/waggon/_freight/lod_2_freight_bigwood_level2.msh", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4, 0, 0, 1, }, type = "MESH", }, { id = "vehicle/waggon/_freight/lod_2_freight_bigwood_level3.msh", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4, 0, 0, 1, }, type = "MESH", }, { id = "vehicle/waggon/_freight/lod_2_freight_bigwood_level1.msh", transf = { -1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, -4, 0, 0, 1, }, type = "MESH", }, { id = "vehicle/waggon/_freight/lod_2_freight_bigwood_level2.msh", transf = { -1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, -4, 0, 0, 1, }, type = "MESH", }, { id = "vehicle/waggon/_freight/lod_2_freight_bigwood_level3.msh", transf = { -1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, -4, 0, 0, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_steel_large.msh", transf = { sx1, 0, 0, 0, 0, sy1, 0, 0, 0, 0, sz1, 0, tx1, 0, tz1, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_steel_large.msh", transf = { sx1, 0, 0, 0, 0, sy1, 0, 0, 0, 0, sz1, 0, -tx1, 0, tz1, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_steel_large.msh", transf = { sx1, 0, 0, 0, 0, sy1, 0, 0, 0, 0, sz1, 0, tx1, 0, tz1 + dz1, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_steel_large.msh", transf = { sx1, 0, 0, 0, 0, sy1, 0, 0, 0, 0, sz1, 0, -tx1, 0, tz1 + dz1, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_steel_large.msh", transf = { sx1, 0, 0, 0, 0, sy1, 0, 0, 0, 0, sz1, 0, tx1, 0, tz1 + 2 * dz1, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_steel_large.msh", transf = { sx1, 0, 0, 0, 0, sy1, 0, 0, 0, 0, sz1, 0, -tx1, 0, tz1 + 2* dz1, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_planks_large.msh", transf = { sx2, 0, 0, 0, 0, sy2, 0, 0, 0, 0, sz2, 0, tx2, 0, tz2, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_planks_large.msh", transf = { sx2, 0, 0, 0, 0, sy2, 0, 0, 0, 0, sz2, 0, -tx2, 0, tz2, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_planks_large.msh", transf = { sx2, 0, 0, 0, 0, sy2, 0, 0, 0, 0, sz2, 0, tx2, 0, tz2 + dz2, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_planks_large.msh", transf = { sx2, 0, 0, 0, 0, sy2, 0, 0, 0, 0, sz2, 0, -tx2, 0, tz2 + dz2, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_planks_large.msh", transf = { sx2, 0, 0, 0, 0, sy2, 0, 0, 0, 0, sz2, 0, tx2, 0, tz2 + 2 * dz2, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_planks_large.msh", transf = { sx2, 0, 0, 0, 0, sy2, 0, 0, 0, 0, sz2, 0, -tx2, 0, tz2 + 2* dz2, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_construction_goods_large.msh", transf = { sx3, 0, 0, 0, 0, sy3, 0, 0, 0, 0, sz3, 0, tx3, 0, tz3, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_construction_goods_large.msh", transf = { sx3, 0, 0, 0, 0, sy3, 0, 0, 0, 0, sz3, 0, -tx3, 0, tz3, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_construction_goods_large.msh", transf = { sx3, 0, 0, 0, 0, sy3, 0, 0, 0, 0, sz3, 0, tx3, 0, tz3 + dz3, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_construction_goods_large.msh", transf = { sx3, 0, 0, 0, 0, sy3, 0, 0, 0, 0, sz3, 0, -tx3, 0, tz3 + dz3, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_construction_goods_large.msh", transf = { sx3, 0, 0, 0, 0, sy3, 0, 0, 0, 0, sz3, 0, tx3, 0, tz3 + 2 * dz3, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_construction_goods_large.msh", transf = { sx3, 0, 0, 0, 0, sy3, 0, 0, 0, 0, sz3, 0, -tx3, 0, tz3 + 2* dz3, 1, }, type = "MESH", }, { id = "vehicle/waggon/rungenwagen_1950_lod2_bogie.grp", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 6.1279, 0, 0, 1, }, type = "GROUP", }, { id = "vehicle/waggon/rungenwagen_1950_lod2_bogie.grp", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -6.1279, 0, 0, 1, }, type = "GROUP", }, }, events = { }, matConfigs = { { 0, 0, 0, }, }, static = false, visibleFrom = 220, visibleTo = 1530, }, { animations = { }, children = { { id = "vehicle/waggon/rungenwagen_1950/lod_1_body.msh", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, }, type = "MESH", }, -- wood needed for rungenwagen 1950 { id = "vehicle/waggon/_freight/lod_1_freight_bigwood_level1.msh", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4, 0, 0, 1, }, type = "MESH", }, { id = "vehicle/waggon/_freight/lod_1_freight_bigwood_level2.msh", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4, 0, 0, 1, }, type = "MESH", }, { id = "vehicle/waggon/_freight/lod_1_freight_bigwood_level3.msh", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4, 0, 0, 1, }, type = "MESH", }, { id = "vehicle/waggon/_freight/lod_1_freight_bigwood_level1.msh", transf = { -1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, -4, 0, 0, 1, }, type = "MESH", }, { id = "vehicle/waggon/_freight/lod_1_freight_bigwood_level2.msh", transf = { -1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, -4, 0, 0, 1, }, type = "MESH", }, { id = "vehicle/waggon/_freight/lod_1_freight_bigwood_level3.msh", transf = { -1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, -4, 0, 0, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_steel_large.msh", transf = { sx1, 0, 0, 0, 0, sy1, 0, 0, 0, 0, sz1, 0, tx1, 0, tz1, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_steel_large.msh", transf = { sx1, 0, 0, 0, 0, sy1, 0, 0, 0, 0, sz1, 0, -tx1, 0, tz1, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_steel_large.msh", transf = { sx1, 0, 0, 0, 0, sy1, 0, 0, 0, 0, sz1, 0, tx1, 0, tz1 + dz1, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_steel_large.msh", transf = { sx1, 0, 0, 0, 0, sy1, 0, 0, 0, 0, sz1, 0, -tx1, 0, tz1 + dz1, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_steel_large.msh", transf = { sx1, 0, 0, 0, 0, sy1, 0, 0, 0, 0, sz1, 0, tx1, 0, tz1 + 2 * dz1, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_steel_large.msh", transf = { sx1, 0, 0, 0, 0, sy1, 0, 0, 0, 0, sz1, 0, -tx1, 0, tz1 + 2* dz1, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_planks_large.msh", transf = { sx2, 0, 0, 0, 0, sy2, 0, 0, 0, 0, sz2, 0, tx2, 0, tz2, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_planks_large.msh", transf = { sx2, 0, 0, 0, 0, sy2, 0, 0, 0, 0, sz2, 0, -tx2, 0, tz2, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_planks_large.msh", transf = { sx2, 0, 0, 0, 0, sy2, 0, 0, 0, 0, sz2, 0, tx2, 0, tz2 + dz2, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_planks_large.msh", transf = { sx2, 0, 0, 0, 0, sy2, 0, 0, 0, 0, sz2, 0, -tx2, 0, tz2 + dz2, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_planks_large.msh", transf = { sx2, 0, 0, 0, 0, sy2, 0, 0, 0, 0, sz2, 0, tx2, 0, tz2 + 2 * dz2, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_planks_large.msh", transf = { sx2, 0, 0, 0, 0, sy2, 0, 0, 0, 0, sz2, 0, -tx2, 0, tz2 + 2* dz2, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_construction_goods_large.msh", transf = { sx3, 0, 0, 0, 0, sy3, 0, 0, 0, 0, sz3, 0, tx3, 0, tz3, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_construction_goods_large.msh", transf = { sx3, 0, 0, 0, 0, sy3, 0, 0, 0, 0, sz3, 0, -tx3, 0, tz3, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_construction_goods_large.msh", transf = { sx3, 0, 0, 0, 0, sy3, 0, 0, 0, 0, sz3, 0, tx3, 0, tz3 + dz3, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_construction_goods_large.msh", transf = { sx3, 0, 0, 0, 0, sy3, 0, 0, 0, 0, sz3, 0, -tx3, 0, tz3 + dz3, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_construction_goods_large.msh", transf = { sx3, 0, 0, 0, 0, sy3, 0, 0, 0, 0, sz3, 0, tx3, 0, tz3 + 2 * dz3, 1, }, type = "MESH", }, { id = "industry/cargo/lod_1_cargo_construction_goods_large.msh", transf = { sx3, 0, 0, 0, 0, sy3, 0, 0, 0, 0, sz3, 0, -tx3, 0, tz3 + 2* dz3, 1, }, type = "MESH", }, { id = "vehicle/waggon/rungenwagen_1950_lod1_bogie.grp", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 6.1279, 0, 0, 1, }, type = "GROUP", }, { id = "vehicle/waggon/rungenwagen_1950_lod1_bogie.grp", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -6.1279, 0, 0, 1, }, type = "GROUP", }, }, events = { }, matConfigs = { { 0, 0, 0, }, }, static = false, visibleFrom = 100, visibleTo = 220, }, { animations = { }, children = { { id = "vehicle/waggon/rungenwagen_1950/lod_0_body.msh", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, }, type = "MESH", }, -- wood needed for rungenwagen 1950 { id = "vehicle/waggon/_freight/lod_0_freight_bigwood_level1.msh", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4, 0, 0, 1, }, type = "MESH", }, { id = "vehicle/waggon/_freight/lod_0_freight_bigwood_level2.msh", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4, 0, 0, 1, }, type = "MESH", }, { id = "vehicle/waggon/_freight/lod_0_freight_bigwood_level3.msh", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4, 0, 0, 1, }, type = "MESH", }, { id = "vehicle/waggon/_freight/lod_0_freight_bigwood_level1.msh", transf = { -1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, -4, 0, 0, 1, }, type = "MESH", }, { id = "vehicle/waggon/_freight/lod_0_freight_bigwood_level2.msh", transf = { -1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, -4, 0, 0, 1, }, type = "MESH", }, { id = "vehicle/waggon/_freight/lod_0_freight_bigwood_level3.msh", transf = { -1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, -4, 0, 0, 1, }, type = "MESH", }, { id = "industry/cargo/lod_0_cargo_steel_large.msh", transf = { sx1, 0, 0, 0, 0, sy1, 0, 0, 0, 0, sz1, 0, tx1, 0, tz1, 1, }, type = "MESH", }, { id = "industry/cargo/lod_0_cargo_steel_large.msh", transf = { sx1, 0, 0, 0, 0, sy1, 0, 0, 0, 0, sz1, 0, -tx1, 0, tz1, 1, }, type = "MESH", }, { id = "industry/cargo/lod_0_cargo_steel_large.msh", transf = { sx1, 0, 0, 0, 0, sy1, 0, 0, 0, 0, sz1, 0, tx1, 0, tz1 + dz1, 1, }, type = "MESH", }, { id = "industry/cargo/lod_0_cargo_steel_large.msh", transf = { sx1, 0, 0, 0, 0, sy1, 0, 0, 0, 0, sz1, 0, -tx1, 0, tz1 + dz1, 1, }, type = "MESH", }, { id = "industry/cargo/lod_0_cargo_steel_large.msh", transf = { sx1, 0, 0, 0, 0, sy1, 0, 0, 0, 0, sz1, 0, tx1, 0, tz1 + 2 * dz1, 1, }, type = "MESH", }, { id = "industry/cargo/lod_0_cargo_steel_large.msh", transf = { sx1, 0, 0, 0, 0, sy1, 0, 0, 0, 0, sz1, 0, -tx1, 0, tz1 + 2* dz1, 1, }, type = "MESH", }, { id = "industry/cargo/lod_0_cargo_planks_large.msh", transf = { sx2, 0, 0, 0, 0, sy2, 0, 0, 0, 0, sz2, 0, tx2, 0, tz2, 1, }, type = "MESH", }, { id = "industry/cargo/lod_0_cargo_planks_large.msh", transf = { sx2, 0, 0, 0, 0, sy2, 0, 0, 0, 0, sz2, 0, -tx2, 0, tz2, 1, }, type = "MESH", }, { id = "industry/cargo/lod_0_cargo_planks_large.msh", transf = { sx2, 0, 0, 0, 0, sy2, 0, 0, 0, 0, sz2, 0, tx2, 0, tz2 + dz2, 1, }, type = "MESH", }, { id = "industry/cargo/lod_0_cargo_planks_large.msh", transf = { sx2, 0, 0, 0, 0, sy2, 0, 0, 0, 0, sz2, 0, -tx2, 0, tz2 + dz2, 1, }, type = "MESH", }, { id = "industry/cargo/lod_0_cargo_planks_large.msh", transf = { sx2, 0, 0, 0, 0, sy2, 0, 0, 0, 0, sz2, 0, tx2, 0, tz2 + 2 * dz2, 1, }, type = "MESH", }, { id = "industry/cargo/lod_0_cargo_planks_large.msh", transf = { sx2, 0, 0, 0, 0, sy2, 0, 0, 0, 0, sz2, 0, -tx2, 0, tz2 + 2* dz2, 1, }, type = "MESH", }, { id = "industry/cargo/lod_0_cargo_construction_goods_large.msh", transf = { sx3, 0, 0, 0, 0, sy3, 0, 0, 0, 0, sz3, 0, tx3, 0, tz3, 1, }, type = "MESH", }, { id = "industry/cargo/lod_0_cargo_construction_goods_large.msh", transf = { sx3, 0, 0, 0, 0, sy3, 0, 0, 0, 0, sz3, 0, -tx3, 0, tz3, 1, }, type = "MESH", }, { id = "industry/cargo/lod_0_cargo_construction_goods_large.msh", transf = { sx3, 0, 0, 0, 0, sy3, 0, 0, 0, 0, sz3, 0, tx3, 0, tz3 + dz3, 1, }, type = "MESH", }, { id = "industry/cargo/lod_0_cargo_construction_goods_large.msh", transf = { sx3, 0, 0, 0, 0, sy3, 0, 0, 0, 0, sz3, 0, -tx3, 0, tz3 + dz3, 1, }, type = "MESH", }, { id = "industry/cargo/lod_0_cargo_construction_goods_large.msh", transf = { sx3, 0, 0, 0, 0, sy3, 0, 0, 0, 0, sz3, 0, tx3, 0, tz3 + 2 * dz3, 1, }, type = "MESH", }, { id = "industry/cargo/lod_0_cargo_construction_goods_large.msh", transf = { sx3, 0, 0, 0, 0, sy3, 0, 0, 0, 0, sz3, 0, -tx3, 0, tz3 + 2* dz3, 1, }, type = "MESH", }, { id = "vehicle/waggon/rungenwagen_1950_lod0_bogie.grp", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 6.1279, 0, 0, 1, }, type = "GROUP", }, { id = "vehicle/waggon/rungenwagen_1950_lod0_bogie.grp", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -6.1279, 0, 0, 1, }, type = "GROUP", }, }, events = { }, matConfigs = { { 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, static = false, visibleFrom = 0, visibleTo = 100, }, }, metadata = { description = { name = _("Stake car"), description = _("Twin bogie stake car.") }, railVehicle = { topSpeed = 160, weight = 17, configs = { { axles = { "vehicle/waggon/rungenwagen_1950/lod_2_w1.msh"} }, { axles = { "vehicle/waggon/rungenwagen_1950/lod_1_w1.msh"} }, { axles = { "vehicle/waggon/rungenwagen_1950/lod_0_w1.msh"} } }, soundSet = "waggon_freight_modern" }, transportVehicle = { carrier = "RAIL", capacities = { { type = "LOGS", capacity = 52, loadIndicators = { { type = "DISCRETE", params = { levels = { { 2, 3, 4, 5, 6, 7, }, { 3, 4, 5, 6, 7, }, { 3, 4, 6, 7, }, { 3, 4, 7, }, { 4, 7, }, { 7 }, { }, } } }, --{ ... }, --{ ... }, } }, { type = "STEEL", capacity = 52, loadIndicators = { { type = "DISCRETE", params = { items = { 8, 9, 10, 11, 12, 13 } } }, } }, { type = "PLANKS", capacity = 52, loadIndicators = { { type = "DISCRETE", params = { items = { 14, 15, 16, 17, 18, 19, } } }, } }, { type = "CONSTRUCTION_MATERIALS", capacity = 52, loadIndicators = { { type = "DISCRETE", params = { items = { 20, 21, 22, 23, 24, 25, } } }, } }, }, loadSpeed = 3 }, availability = { yearFrom = 3000, yearTo = 3000 }, cost = { price = -1 }, maintenance = { runningCosts = -1, lifespan = 60 } }, } end