780 lines
26 KiB
Plaintext
Executable File
780 lines
26 KiB
Plaintext
Executable File
local vec3 = require "vec3"
|
|
local transf = require "transf"
|
|
function data()
|
|
return {
|
|
boundingInfo = {
|
|
bbMax = {
|
|
6.1922078132629, 1.5036840438843, 4.171010017395,
|
|
},
|
|
bbMin = {
|
|
-6.1944198608398, -1.5036840438843, -0.5939080119133,
|
|
},
|
|
|
|
},
|
|
collider = {
|
|
params = {
|
|
|
|
},
|
|
type = "MESH",
|
|
|
|
},
|
|
lods = {
|
|
{
|
|
animations = {
|
|
|
|
},
|
|
children = {
|
|
{
|
|
id = "vehicle/waggon/compartment_car/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/compartment_car/lod_2_d_a_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -4.6192, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_2_d_a_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.9966, -1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_2_d_b_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.0771, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_2_d_b_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -2.4546, - 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_2_d_c_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.4611, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_2_d_c_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.8385, -1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_2_d_d_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.1143, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_2_d_d_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.7369, -1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_2_d_e_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.4177, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_2_d_e_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.0403, -1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_2_d_f_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.7411, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_2_d_f_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.3637, -1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_2_d_g_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.3901, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_2_d_g_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 5.0126, -1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_2_w1.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.7123, 0, 0.5504, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_2_w1.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.0505, 0, 0.5504, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_2_w1.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.6329, 0, 0.5504, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
},
|
|
},
|
|
events = {
|
|
open_all_doors = {
|
|
[2] = { name = "opend", forward = true },
|
|
[3] = { name = "opend", forward = true },
|
|
[4] = { name = "opend", forward = true },
|
|
[5] = { name = "opend", forward = true },
|
|
[6] = { name = "opend", forward = true },
|
|
[7] = { name = "opend", forward = true },
|
|
[8] = { name = "opend", forward = true },
|
|
[9] = { name = "opend", forward = true },
|
|
[10] = { name = "opend", forward = true },
|
|
[11] = { name = "opend", forward = true },
|
|
[12] = { name = "opend", forward = true },
|
|
[13] = { name = "opend", forward = true },
|
|
[14] = { name = "opend", forward = true },
|
|
[15] = { name = "opend", forward = true },
|
|
},
|
|
close_all_doors = {
|
|
[2] = { name = "opend", forward = false },
|
|
[3] = { name = "opend", forward = false },
|
|
[4] = { name = "opend", forward = false },
|
|
[5] = { name = "opend", forward = false },
|
|
[6] = { name = "opend", forward = false },
|
|
[7] = { name = "opend", forward = false },
|
|
[8] = { name = "opend", forward = false },
|
|
[9] = { name = "opend", forward = false },
|
|
[10] = { name = "opend", forward = false },
|
|
[11] = { name = "opend", forward = false },
|
|
[12] = { name = "opend", forward = false },
|
|
[13] = { name = "opend", forward = false },
|
|
[14] = { name = "opend", forward = false },
|
|
[15] = { name = "opend", forward = false },
|
|
},
|
|
open_doors_left = {
|
|
[2] = { name = "opend", forward = true },
|
|
[4] = { name = "opend", forward = true },
|
|
[6] = { name = "opend", forward = true },
|
|
[8] = { name = "opend", forward = true },
|
|
[10] = { name = "opend", forward = true },
|
|
[12] = { name = "opend", forward = true },
|
|
[14] = { name = "opend", forward = true },
|
|
},
|
|
close_doors_left = {
|
|
[2] = { name = "opend", forward = false },
|
|
[4] = { name = "opend", forward = false },
|
|
[6] = { name = "opend", forward = false },
|
|
[8] = { name = "opend", forward = false },
|
|
[10] = { name = "opend", forward = false },
|
|
[12] = { name = "opend", forward = false },
|
|
[14] = { name = "opend", forward = false },
|
|
},
|
|
open_doors_right = {
|
|
[3] = { name = "opend", forward = true },
|
|
[5] = { name = "opend", forward = true },
|
|
[7] = { name = "opend", forward = true },
|
|
[9] = { name = "opend", forward = true },
|
|
[11] = { name = "opend", forward = true },
|
|
[13] = { name = "opend", forward = true },
|
|
[15] = { name = "opend", forward = true },
|
|
},
|
|
close_doors_right = {
|
|
[3] = { name = "opend", forward = false },
|
|
[5] = { name = "opend", forward = false },
|
|
[7] = { name = "opend", forward = false },
|
|
[9] = { name = "opend", forward = false },
|
|
[11] = { name = "opend", forward = false },
|
|
[13] = { name = "opend", forward = false },
|
|
[15] = { name = "opend", forward = false },
|
|
},
|
|
},
|
|
matConfigs = {
|
|
{
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
},
|
|
},
|
|
static = false,
|
|
visibleFrom = 200,
|
|
visibleTo = 1350,
|
|
|
|
},
|
|
{
|
|
animations = {
|
|
|
|
},
|
|
children = {
|
|
{
|
|
id = "vehicle/waggon/compartment_car/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/compartment_car/lod_1_d_a_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -4.6192, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_1_d_a_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.9966, -1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_1_d_b_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.0771, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_1_d_b_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -2.4546, - 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_1_d_c_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.4611, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_1_d_c_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.8385, -1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_1_d_d_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.1143, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_1_d_d_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.7369, -1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_1_d_e_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.4177, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_1_d_e_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.0403, -1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_1_d_f_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.7411, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_1_d_f_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.3637, -1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_1_d_g_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.3901, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_1_d_g_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 5.0126, -1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_1_w1.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.7123, 0, 0.5504, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_1_w1.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.0505, 0, 0.5504, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_1_w1.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.6329, 0, 0.5504, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
},
|
|
},
|
|
events = {
|
|
open_all_doors = {
|
|
[2] = { name = "opend", forward = true },
|
|
[3] = { name = "opend", forward = true },
|
|
[4] = { name = "opend", forward = true },
|
|
[5] = { name = "opend", forward = true },
|
|
[6] = { name = "opend", forward = true },
|
|
[7] = { name = "opend", forward = true },
|
|
[8] = { name = "opend", forward = true },
|
|
[9] = { name = "opend", forward = true },
|
|
[10] = { name = "opend", forward = true },
|
|
[11] = { name = "opend", forward = true },
|
|
[12] = { name = "opend", forward = true },
|
|
[13] = { name = "opend", forward = true },
|
|
[14] = { name = "opend", forward = true },
|
|
[15] = { name = "opend", forward = true },
|
|
},
|
|
close_all_doors = {
|
|
[2] = { name = "opend", forward = false },
|
|
[3] = { name = "opend", forward = false },
|
|
[4] = { name = "opend", forward = false },
|
|
[5] = { name = "opend", forward = false },
|
|
[6] = { name = "opend", forward = false },
|
|
[7] = { name = "opend", forward = false },
|
|
[8] = { name = "opend", forward = false },
|
|
[9] = { name = "opend", forward = false },
|
|
[10] = { name = "opend", forward = false },
|
|
[11] = { name = "opend", forward = false },
|
|
[12] = { name = "opend", forward = false },
|
|
[13] = { name = "opend", forward = false },
|
|
[14] = { name = "opend", forward = false },
|
|
[15] = { name = "opend", forward = false },
|
|
},
|
|
open_doors_left = {
|
|
[2] = { name = "opend", forward = true },
|
|
[4] = { name = "opend", forward = true },
|
|
[6] = { name = "opend", forward = true },
|
|
[8] = { name = "opend", forward = true },
|
|
[10] = { name = "opend", forward = true },
|
|
[12] = { name = "opend", forward = true },
|
|
[14] = { name = "opend", forward = true },
|
|
},
|
|
close_doors_left = {
|
|
[2] = { name = "opend", forward = false },
|
|
[4] = { name = "opend", forward = false },
|
|
[6] = { name = "opend", forward = false },
|
|
[8] = { name = "opend", forward = false },
|
|
[10] = { name = "opend", forward = false },
|
|
[12] = { name = "opend", forward = false },
|
|
[14] = { name = "opend", forward = false },
|
|
},
|
|
open_doors_right = {
|
|
[3] = { name = "opend", forward = true },
|
|
[5] = { name = "opend", forward = true },
|
|
[7] = { name = "opend", forward = true },
|
|
[9] = { name = "opend", forward = true },
|
|
[11] = { name = "opend", forward = true },
|
|
[13] = { name = "opend", forward = true },
|
|
[15] = { name = "opend", forward = true },
|
|
},
|
|
close_doors_right = {
|
|
[3] = { name = "opend", forward = false },
|
|
[5] = { name = "opend", forward = false },
|
|
[7] = { name = "opend", forward = false },
|
|
[9] = { name = "opend", forward = false },
|
|
[11] = { name = "opend", forward = false },
|
|
[13] = { name = "opend", forward = false },
|
|
[15] = { name = "opend", forward = false },
|
|
},
|
|
},
|
|
matConfigs = {
|
|
{
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
},
|
|
},
|
|
static = false,
|
|
visibleFrom = 120,
|
|
visibleTo = 200,
|
|
|
|
},
|
|
{
|
|
animations = {
|
|
|
|
},
|
|
children = {
|
|
{
|
|
id = "vehicle/waggon/compartment_car/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/compartment_car/lod_0_d_a_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -4.6192, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_0_d_a_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.9966, -1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_0_d_b_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.0771, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_0_d_b_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -2.4546, - 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_0_d_c_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.4611, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_0_d_c_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.8385, -1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_0_d_d_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.1143, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_0_d_d_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.7369, -1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_0_d_e_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.4177, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_0_d_e_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.0403, -1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_0_d_f_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.7411, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_0_d_f_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.3637, -1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_0_d_g_l.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.3901, 1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_0_d_g_r.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 5.0126, -1.2791, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_0_w1.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.7123, 0, 0.5504, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_0_w1.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.0505, 0, 0.5504, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_0_w1.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.6329, 0, 0.5504, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_0_interior.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
}, {
|
|
id = "vehicle/waggon/compartment_car/lod_0_logos.msh",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
|
|
},
|
|
type = "MESH",
|
|
|
|
},
|
|
},
|
|
events = {
|
|
open_all_doors = {
|
|
[2] = { name = "opend", forward = true },
|
|
[3] = { name = "opend", forward = true },
|
|
[4] = { name = "opend", forward = true },
|
|
[5] = { name = "opend", forward = true },
|
|
[6] = { name = "opend", forward = true },
|
|
[7] = { name = "opend", forward = true },
|
|
[8] = { name = "opend", forward = true },
|
|
[9] = { name = "opend", forward = true },
|
|
[10] = { name = "opend", forward = true },
|
|
[11] = { name = "opend", forward = true },
|
|
[12] = { name = "opend", forward = true },
|
|
[13] = { name = "opend", forward = true },
|
|
[14] = { name = "opend", forward = true },
|
|
[15] = { name = "opend", forward = true },
|
|
},
|
|
close_all_doors = {
|
|
[2] = { name = "opend", forward = false },
|
|
[3] = { name = "opend", forward = false },
|
|
[4] = { name = "opend", forward = false },
|
|
[5] = { name = "opend", forward = false },
|
|
[6] = { name = "opend", forward = false },
|
|
[7] = { name = "opend", forward = false },
|
|
[8] = { name = "opend", forward = false },
|
|
[9] = { name = "opend", forward = false },
|
|
[10] = { name = "opend", forward = false },
|
|
[11] = { name = "opend", forward = false },
|
|
[12] = { name = "opend", forward = false },
|
|
[13] = { name = "opend", forward = false },
|
|
[14] = { name = "opend", forward = false },
|
|
[15] = { name = "opend", forward = false },
|
|
},
|
|
open_doors_left = {
|
|
[2] = { name = "opend", forward = true },
|
|
[4] = { name = "opend", forward = true },
|
|
[6] = { name = "opend", forward = true },
|
|
[8] = { name = "opend", forward = true },
|
|
[10] = { name = "opend", forward = true },
|
|
[12] = { name = "opend", forward = true },
|
|
[14] = { name = "opend", forward = true },
|
|
},
|
|
close_doors_left = {
|
|
[2] = { name = "opend", forward = false },
|
|
[4] = { name = "opend", forward = false },
|
|
[6] = { name = "opend", forward = false },
|
|
[8] = { name = "opend", forward = false },
|
|
[10] = { name = "opend", forward = false },
|
|
[12] = { name = "opend", forward = false },
|
|
[14] = { name = "opend", forward = false },
|
|
},
|
|
open_doors_right = {
|
|
[3] = { name = "opend", forward = true },
|
|
[5] = { name = "opend", forward = true },
|
|
[7] = { name = "opend", forward = true },
|
|
[9] = { name = "opend", forward = true },
|
|
[11] = { name = "opend", forward = true },
|
|
[13] = { name = "opend", forward = true },
|
|
[15] = { name = "opend", forward = true },
|
|
},
|
|
close_doors_right = {
|
|
[3] = { name = "opend", forward = false },
|
|
[5] = { name = "opend", forward = false },
|
|
[7] = { name = "opend", forward = false },
|
|
[9] = { name = "opend", forward = false },
|
|
[11] = { name = "opend", forward = false },
|
|
[13] = { name = "opend", forward = false },
|
|
[15] = { name = "opend", forward = false },
|
|
},
|
|
},
|
|
matConfigs = {
|
|
{
|
|
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
},
|
|
},
|
|
static = false,
|
|
visibleFrom = 0,
|
|
visibleTo = 120,
|
|
|
|
},
|
|
},
|
|
metadata = {
|
|
description = {
|
|
name = _("Compartment car"),
|
|
description = _("This compartment coach had two doors for each compartment, one on each side of the car. Easy for the passengers in and out, but impossible for a conductor to check the tickets while driving.")
|
|
},
|
|
railVehicle = {
|
|
topSpeed = 60,
|
|
weight = 10,
|
|
configs = {
|
|
{
|
|
axles = { "vehicle/waggon/compartment_car/lod_2_w1.msh" }
|
|
},
|
|
{
|
|
axles = { "vehicle/waggon/compartment_car/lod_1_w1.msh" }
|
|
},
|
|
{
|
|
axles = { "vehicle/waggon/compartment_car/lod_0_w1.msh" }
|
|
}
|
|
},
|
|
soundSet = "waggon_old"
|
|
},
|
|
transportVehicle = {
|
|
capacities = {
|
|
{ type = "PASSENGERS", capacity = 42 }
|
|
},
|
|
carrier = "RAIL",
|
|
loadSpeed = 4,
|
|
seats = {
|
|
|
|
|
|
--passangers
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(-3.7, -0.8, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(-3.7, -0.3, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(-3.7, 0.1, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(-3.7, 0.6, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(200.0, 0.0, 0.0), vec3.new(-3.7, 1, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(-2.1, -0.8, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(-2.1, -0.3, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(-2.1, 0.1, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(-2.1, 0.6, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(200.0, 0.0, 0.0), vec3.new(-2.1, 1, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-3.3, 0.8, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-3.3, 0.3, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-3.3, -0.1, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-3.3, -0.6, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(20.0, 0.0, 0.0), vec3.new(-3.3, -1, 1.2))},
|
|
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(-0.55, -0.8, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(-0.55, -0.3, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(-0.55, 0.1, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(-0.55, 0.6, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(200.0, 0.0, 0.0), vec3.new(-0.55, 1, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.8, 0.8, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.8, 0.3, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.8, -0.1, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.8, -0.6, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(20.0, 0.0, 0.0), vec3.new(-1.8, -1, 1.2))},
|
|
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(0.95, -0.8, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(0.95, -0.3, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(0.95, 0.1, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(0.95, 0.6, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(200.0, 0.0, 0.0), vec3.new(0.95, 1, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-0.2, 0.8, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-0.2, 0.3, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-0.2, -0.1, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-0.2, -0.6, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(20.0, 0.0, 0.0), vec3.new(-0.2, -1, 1.2))},
|
|
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(3.6, -0.8, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(3.6, -0.3, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(3.6, 0.1, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(3.6, 0.6, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(200.0, 0.0, 0.0), vec3.new(3.6, 1, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(2.45, 0.8, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(2.45, 0.3, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(2.45, -0.1, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(2.45, -0.6, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(20.0, 0.0, 0.0), vec3.new(2.45, -1, 1.2))},
|
|
|
|
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(4.1, 0.8, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(4.1, 0.3, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(4.1, -0.1, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(4.1, -0.6, 1.2))},
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(20.0, 0.0, 0.0), vec3.new(4.1, -1, 1.2))},
|
|
}
|
|
},
|
|
availability = {
|
|
yearFrom = 3000,
|
|
yearTo = 3000
|
|
},
|
|
cost = {
|
|
price = -1
|
|
},
|
|
maintenance = {
|
|
runningCosts = -1,
|
|
lifespan = 35
|
|
}
|
|
|
|
},
|
|
|
|
}
|
|
end
|