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

373 lines
7.4 KiB
Plaintext
Raw Normal View History

function data()
return {
boundingInfo = {
bbMax = {
10.65, 1.3924540281296, 2.7697329521179,
},
bbMin = {
-10.78, -1.3530210256577, -0.48035699129105,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/train/ra1/ra1_body_lod0.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ra1/ra1_door_l1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ra1/ra1_door_l2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ra1/ra1_door_r1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ra1/ra1_door_r2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ra1_bogie_lod0.grp",
transf = {
-1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 5.71, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/ra1_bogie_lod0.grp",
transf = {
-1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -5.64, 0, 0, 1,
},
type = "GROUP",
},
},
events = {
close_all_doors = {
[2] = {
forward = false,
name = "opend",
},
[3] = {
forward = false,
name = "opend",
},
[4] = {
forward = false,
name = "opend",
},
[5] = {
forward = false,
name = "opend",
}
},
open_all_doors = {
[2] = {
forward = true,
name = "opend",
},
[3] = {
forward = true,
name = "opend",
},
[4] = {
forward = true,
name = "opend",
},
[5] = {
forward = true,
name = "opend",
}
},
close_doors_right = {
[4] = {
forward = false,
name = "opend",
},
[5] = {
forward = false,
name = "opend",
}
},
open_doors_right = {
[4] = {
forward = true,
name = "opend",
},
[5] = {
forward = true,
name = "opend",
}
},
close_doors_left = {
[2] = {
forward = false,
name = "opend",
},
[3] = {
forward = false,
name = "opend",
}
},
open_doors_left = {
[2] = {
forward = true,
name = "opend",
},
[3] = {
forward = true,
name = "opend",
}
},
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 100,
},
{
animations = {
},
children = {
{
id = "vehicle/train/ra1/ra1_body_lod1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ra1/ra1_door_l1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ra1/ra1_door_l2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ra1/ra1_door_r1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ra1/ra1_door_r2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/ra1_bogie_lod1.grp",
transf = {
-1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 5.71, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/ra1_bogie_lod1.grp",
transf = {
-1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -5.64, 0, 0, 1,
},
type = "GROUP",
},
},
events = {
close_all_doors = {
[2] = {
forward = false,
name = "opend",
},
[3] = {
forward = false,
name = "opend",
},
[4] = {
forward = false,
name = "opend",
},
[5] = {
forward = false,
name = "opend",
}
},
open_all_doors = {
[2] = {
forward = true,
name = "opend",
},
[3] = {
forward = true,
name = "opend",
},
[4] = {
forward = true,
name = "opend",
},
[5] = {
forward = true,
name = "opend",
}
},
close_doors_right = {
[4] = {
forward = false,
name = "opend",
},
[5] = {
forward = false,
name = "opend",
}
},
open_doors_right = {
[4] = {
forward = true,
name = "opend",
},
[5] = {
forward = true,
name = "opend",
}
},
close_doors_left = {
[2] = {
forward = false,
name = "opend",
},
[3] = {
forward = false,
name = "opend",
}
},
open_doors_left = {
[2] = {
forward = true,
name = "opend",
},
[3] = {
forward = true,
name = "opend",
}
},
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 100,
visibleTo = 500,
},
{
animations = {
},
children = {
{
id = "vehicle/train/ra1/ra1_body_lod2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
},
},
events = {
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 500,
visibleTo = 2200,
},
},
metadata = {
description = {
name = _("РА1"),
description = _("Четырёхосная автомотриса (рельсовый автобус) производства завода Метровагонмаш. Предназначена для перевозки пассажиров на неэлектрифицированных участках железных дорог и может применяться для городского, пригородного и межрегионального сообщения. РА1 может эксплуатироваться как одиночно, так и по системе многих единиц в сцепах по 23 секции.")
},
railVehicle = {
topSpeed = 100.0,
weight = 37.0,
engines = {
{ type = "DIESEL", power = 315.0, tractiveEffort = 25.0 }
},
configs = {
{
axles = {
"vehicle/train/ra1/ra1_w_lod0.msh",
}
},
},
soundSet = { name = "train_diesel", horn = "vehicle/train_diesel/horn_13_freight.wav" }
},
transportVehicle = {
carrier = "RAIL",
capacities = {
{ type = "PASSENGERS", capacity = 78 }
},
loadSpeed = 2
},
availability = {
yearFrom = 1997,
yearTo = 2007
},
cost = {
price = 350000
},
maintenance = {
runningCosts = 150000,
lifespan = 45
}
},
}
end