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

233 lines
4.3 KiB
Plaintext

function data()
return {
boundingInfo = {
bbMax = {
9.05, 1.4, 5.8,
},
bbMin = {
-8.98, -1.4, 0.0,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/train/cp3/cp3v2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/cp3/cp3door11.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 6.2853001899719, -1.122, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/cp3/cp3door12.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 7.5853001899719, -1.122, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/cp3/cp3door12.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -7.1503001899719, -1.122, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/cp3/cp3door11.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -8.4523001899719, -1.122, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/cp3/cp3door21.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 6.2843001899719, 1.122, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/cp3/cp3door22.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 7.5850001899719, 1.122, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/cp3/cp3door22.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -7.1503001899719, 1.122, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/cp3/cp3door21.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -8.4523001899719, 1.122, 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 = "cp3opend11",
},
[3] = {
forward = false,
name = "cp3opend12",
},
[4] = {
forward = false,
name = "cp3opend12",
},
[5] = {
forward = false,
name = "cp3opend11",
},
[6] = {
forward = false,
name = "cp3opend21",
},
[7] = {
forward = false,
name = "cp3opend22",
},
[8] = {
forward = false,
name = "cp3opend22",
},
[9] = {
forward = false,
name = "cp3opend21",
},
},
open_all_doors = {
[2] = {
forward = true,
name = "cp3opend11",
},
[3] = {
forward = true,
name = "cp3opend12",
},
[4] = {
forward = true,
name = "cp3opend12",
},
[5] = {
forward = true,
name = "cp3opend11",
},
[6] = {
forward = true,
name = "cp3opend21",
},
[7] = {
forward = true,
name = "cp3opend22",
},
[8] = {
forward = true,
name = "cp3opend22",
},
[9] = {
forward = true,
name = "cp3opend21",
},
},
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 1500,
},
},
metadata = {
availability = {
yearFrom = 1947,
yearTo = 1958,
},
cost = {
price = 400000,
},
maintenance = {
lifespan = 50,
runningCosts = 80000,
},
railVehicle = {
topSpeed = 85,
weight = 58,
engines = {
{ type = "ELECTRIC", power = 600.0, tractiveEffort = 80.0 }
},
configs = {
{
axles = { "vehicle/train/ed4m1/ed4_lod_0_whell1.msh" }
}
},
soundSet = {
name = "cp3",
},
},
transportVehicle = {
capacities = {
{
capacity = 88,
type = "PASSENGERS",
},
},
carrier = "RAIL",
},
},
}
end