disablevanillavehicles_1520dlc/res/models/model/vehicle/waggon/rungenwagen_1850.mdl

732 lines
17 KiB
Plaintext
Executable File

function data()
local sx1 = 5.6/7
local sy1 = 2.63/4.13
local sz1 = 2.2/12
local tx1 = 0.00
local tz1 = 1.2
local dz1 = .35
local sx2 = 5.4/7.8
local sy2 = 2.63/3.94
local sz2 = 2.2/13
local tx2 = 0.0
local tz2 = 1.2
local dz2 = .35
local sx3 = 5.4/7.05
local sy3 = 2.63/4.0
local sz3 = 2.2/8
local tx3 = 0.0
local tz3 = 1.2
local dz3 = .35
return {
boundingInfo = {
bbMax = {
3.4886469841003, 1.5378539562225, 3.2384350299835,
},
bbMin = {
-3.4886469841003, -1.5378539562225, -0.070367991924286,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/waggon/rungenwagen_1850/lod_2_body.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/waggon/_freight/lod_2_freight_wood_level1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/waggon/_freight/lod_2_freight_wood_level2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/waggon/_freight/lod_2_freight_wood_level3.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/waggon/_freight/lod_2_freight_wood_level4.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/waggon/_freight/lod_2_freight_wood_level5.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 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 + 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 + 3 * 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 + 4 * 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 + 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 + 3 *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 + 4 * 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 + 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 + 3 * 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 + 4 * dz3, 1,
},
type = "MESH",
}, {
id = "vehicle/waggon/rungenwagen_1850/lod_2_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.6389000415802, 0, 0.5149000287056, 1,
},
type = "MESH",
}, {
id = "vehicle/waggon/rungenwagen_1850/lod_2_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.6389000415802, 0, 0.5149000287056, 1,
},
type = "MESH",
},
},
events = {
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 240,
visibleTo = 950,
}, {
animations = {
},
children = {
{
id = "vehicle/waggon/rungenwagen_1850/lod_1_body.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/waggon/_freight/lod_1_freight_wood_level1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/waggon/_freight/lod_1_freight_wood_level2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/waggon/_freight/lod_1_freight_wood_level3.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/waggon/_freight/lod_1_freight_wood_level4.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/waggon/_freight/lod_1_freight_wood_level5.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 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 + 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 + 3 * 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 + 4 * 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 + 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 + 3 *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 + 4 * 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 + 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 + 3 * 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 + 4 * dz3, 1,
},
type = "MESH",
}, {
id = "vehicle/waggon/rungenwagen_1850/lod_1_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.6389000415802, 0, 0.5149000287056, 1,
},
type = "MESH",
}, {
id = "vehicle/waggon/rungenwagen_1850/lod_1_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.6389000415802, 0, 0.5149000287056, 1,
},
type = "MESH",
},
},
events = {
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 100,
visibleTo = 240,
}, {
animations = {
},
children = {
{
id = "vehicle/waggon/rungenwagen_1850/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/waggon/_freight/lod_0_freight_wood_level1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/waggon/_freight/lod_0_freight_wood_level2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/waggon/_freight/lod_0_freight_wood_level3.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/waggon/_freight/lod_0_freight_wood_level4.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/waggon/_freight/lod_0_freight_wood_level5.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 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 + 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 + 3 * 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 + 4 * 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 + 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 + 3 *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 + 4 * 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 + 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 + 3 * 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 + 4 * dz3, 1,
},
type = "MESH",
},
{
id = "vehicle/waggon/rungenwagen_1850/lod_0_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.6389000415802, 0, 0.5149000287056, 1,
},
type = "MESH",
}, {
id = "vehicle/waggon/rungenwagen_1850/lod_0_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.6389000415802, 0, 0.5149000287056, 1,
},
type = "MESH",
},
},
events = {
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 100,
},
},
metadata = {
availability = {
yearFrom = 1850,
yearTo = 1859,
},
cost = {
price = -1,
},
description = {
name = _("Stake car"),
description = _("Twin axle stake car.")
},
maintenance = {
lifespan = 40,
runningCosts = -1,
},
railVehicle = {
configs = {
{
axles = {
"vehicle/waggon/rungenwagen_1850/lod_2_w1.msh",
},
fakeBogies = {
},
}, {
axles = {
"vehicle/waggon/rungenwagen_1850/lod_1_w1.msh",
},
fakeBogies = {
},
}, {
axles = {
"vehicle/waggon/rungenwagen_1850/lod_0_w1.msh",
},
fakeBogies = {
},
},
},
engines = {
},
soundSet = {
horn = "",
name = "waggon_freight_old",
},
topSpeed = 80,
weight = 5,
},
transportVehicle = {
capacities = {
{ type = "LOGS", capacity = 16, loadIndicators = {
{
params = {
levels = {
{
2, 3, 4, 5, 6,
}, {
3, 4, 5, 6,
}, {
4, 5, 6,
}, {
5, 6,
}, {
6,
}, {
},
},
},
type = "DISCRETE",
},
},
type = "LOGS",
},
{ type = "STEEL", capacity = 16, loadIndicators = {
{
type = "DISCRETE",
params = {
items = { 7, 8, 9, 10, 11, }
}
},
}
},
{ type = "PLANKS", capacity = 16, loadIndicators = {
{
type = "DISCRETE",
params = {
items = { 12, 13, 14, 15, 16, }
}
},
}
},
{ type = "CONSTRUCTION_MATERIALS", capacity = 16, loadIndicators = {
{
type = "DISCRETE",
params = {
items = { 17, 18, 19, 20, 21, }
}
},
}
},
},
carrier = "RAIL",
loadSpeed = 1
},
},
}
end