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

376 lines
6.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

function data()
return {
boundingInfo = {
bbMax = {
10.3198, 1.5827790498734, 5.9,
},
bbMin = {
-9.9871, -1.5827790498734, -0.57415497303009,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = { {
id = "vehicle/train/ekr1g1_body_lod0.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "GROUP",
},{
id = "vehicle/train/ekr1/ekr1_door_l_lod0.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.88415, 0, 0, 1,
},
type = "MESH",
},
{
id = "vehicle/train/ekr1/ekr1_door_r_lod0.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.88415, 0, 0, 1,
},
type = "MESH",
},
{
id = "vehicle/train/ekr1/ekr1_pdn_l_lod0.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.8791, 1.66675, 0.36237, 1,
},
type = "MESH",
},
{
id = "vehicle/train/ekr1/ekr1_pdn_r_lod0.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.8791, -1.66675, 0.36237, 1,
},
type = "MESH",
},
},
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 = {
[3] = {
forward = false,
name = "opend",
},
[5] = {
forward = false,
name = "opend",
}
},
close_doors_left = {
[2] = {
forward = false,
name = "opend",
},
[4] = {
forward = false,
name = "opend",
}
},
open_doors_right = {
[3] = {
forward = true,
name = "opend",
},
[5] = {
forward = true,
name = "opend",
}
},
open_doors_left = {
[2] = {
forward = true,
name = "opend",
},
[4] = {
forward = true,
name = "opend",
}
},
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 200,
},
{
animations = {
},
children = { {
id = "vehicle/train/ekr1g1_body_lod1.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "GROUP",
},{
id = "vehicle/train/ekr1/ekr1_door_l_lod0.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.88415, 0, 0, 1,
},
type = "MESH",
},
{
id = "vehicle/train/ekr1/ekr1_door_r_lod0.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.88415, 0, 0, 1,
},
type = "MESH",
},
{
id = "vehicle/train/ekr1/ekr1_pdn_r_lod0.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.8791, 1.66675, 0.36237, 1,
},
type = "MESH",
},
{
id = "vehicle/train/ekr1/ekr1_pdn_l_lod0.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.8791, -1.66675, 0.36237, 1,
},
type = "MESH",
},
},
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 = {
[3] = {
forward = false,
name = "opend",
},
[5] = {
forward = false,
name = "opend",
}
},
close_doors_left = {
[2] = {
forward = false,
name = "opend",
},
[4] = {
forward = false,
name = "opend",
}
},
open_doors_right = {
[3] = {
forward = true,
name = "opend",
},
[5] = {
forward = true,
name = "opend",
}
},
open_doors_left = {
[2] = {
forward = true,
name = "opend",
},
[4] = {
forward = true,
name = "opend",
}
},
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 200,
visibleTo = 700,
},
{
animations = {
},
children = { {
id = "vehicle/train/ekr1g1_body_lod2.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "GROUP",
},
},
events = {
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 700,
visibleTo = 2200,
},
},
metadata = {
description = {
name = _("ЭКр1 Тарпан"),
description = _(
"Двухсистемный межрегиональный поезд производства Крюковского Вагоностроительного Завода (Украина). Предназначен для пассажирских перевозок со скоростью движения до 200км/ч.")
},
railVehicle = {
topSpeed = 200.0,
weight = 69.0,
engines = {
{ type = "ELECTRIC", power = 2000.0, tractiveEffort = 125.0 }
},
configs = {
{
axles = {
"vehicle/train/ekr1/ekr1_w_lod0.msh",
}
},
{
axles = {
"vehicle/train/ekr1/ekr1_w_lod0.msh",
}
},
{
axles = {
"vehicle/train/ekr1/ekr1_w_lod0.msh",
}
}
},
soundSet = { name = "train_electric_modern", horn = "vehicle/train_electric_modern/horn_2.wav" }
},
transportVehicle = {
capacities = {
{
capacity = 68,
type = "PASSENGERS",
},
},
carrier = "RAIL",
loadSpeed = 1,
multipleUnitOnly = true
},
availability = {
yearFrom = 2011,
--yearTo = 1968
},
cost = {
price = 1000000
},
maintenance = {
runningCosts = 500000,
lifespan = 35
},
},
}
end