1520DLC/res/models/model/vehicle/train/CBv2.mdl

235 lines
4.3 KiB
Plaintext

function data()
return {
boundingInfo = {
bbMax = {
8.98, 1.4, 5.8,
},
bbMin = {
-9.05, -1.4, 0.0,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/train/CB/CBv2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/CB/CBdoor11.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 7.1503001899719, -1.5, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/CB/CBdoor12.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 8.4523001899719, -1.5, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/CB/CBdoor12.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -6.2853001899719, -1.5, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/CB/CBdoor11.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -7.5853001899719, -1.5, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/CB/CBdoor21.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 7.1503001899719, 1.5, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/CB/CBdoor22.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 8.4523001899719, 1.5, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/CB/CBdoor22.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -6.2853001899719, 1.5, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/CB/CBdoor21.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -7.5853001899719, 1.5, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ed4m1_bogie2.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 6.5, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/ed4m1_bogie2.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -6.4, 0, 0, 1,
},
type = "GROUP",
},
},
events = {
close_all_doors = {
[2] = {
forward = false,
name = "CBopend11",
},
[3] = {
forward = false,
name = "CBopend12",
},
[4] = {
forward = false,
name = "CBopend12",
},
[5] = {
forward = false,
name = "CBopend11",
},
[6] = {
forward = false,
name = "CBopend21",
},
[7] = {
forward = false,
name = "CBopend22",
},
[8] = {
forward = false,
name = "CBopend22",
},
[9] = {
forward = false,
name = "CBopend21",
},
},
open_all_doors = {
[2] = {
forward = true,
name = "CBopend11",
},
[3] = {
forward = true,
name = "CBopend12",
},
[4] = {
forward = true,
name = "CBopend12",
},
[5] = {
forward = true,
name = "CBopend11",
},
[6] = {
forward = true,
name = "CBopend21",
},
[7] = {
forward = true,
name = "CBopend22",
},
[8] = {
forward = true,
name = "CBopend22",
},
[9] = {
forward = true,
name = "CBopend21",
},
},
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 1000,
},
},
metadata = {
availability = {
yearFrom = 1928,
yearTo = 1946,
},
cost = {
price = 300000,
},
maintenance = {
lifespan = 40,
runningCosts = 35000,
},
railVehicle = {
topSpeed = 65,
weight = 62,
engines = {
{ type = "ELECTRIC", power = 400.0, tractiveEffort = 60.0 }
},
configs = {
{
axles = { "vehicle/train/ed4m1/ed4_lod_0_whell1.msh" }
}
},
soundSet = {
name = "cp3",
horn = "vehicle/er2/horn.wav",
},
},
transportVehicle = {
capacities = {
{
capacity = 80,
type = "PASSENGERS",
},
},
carrier = "RAIL",
multipleUnitOnly = true
},
},
}
end