diff --git a/res/audio/effects/vehicle/chme2diesel.wav b/res/audio/effects/vehicle/chme2diesel.wav new file mode 100644 index 0000000..6aff1fb Binary files /dev/null and b/res/audio/effects/vehicle/chme2diesel.wav differ diff --git a/res/audio/effects/vehicle/chme2tifon.wav b/res/audio/effects/vehicle/chme2tifon.wav new file mode 100644 index 0000000..5966f6e Binary files /dev/null and b/res/audio/effects/vehicle/chme2tifon.wav differ diff --git a/res/config/sound_set/chme2.lua b/res/config/sound_set/chme2.lua new file mode 100644 index 0000000..8daf05b --- /dev/null +++ b/res/config/sound_set/chme2.lua @@ -0,0 +1,44 @@ +function data() +return { + type = "GENERIC", + refDist = 25.0, + horn = "vehicle/chme2tifon.wav", + clacks = { +"vehicle/clack/modern/part_1.wav", +"vehicle/clack/modern/part_2.wav", +"vehicle/clack/modern/part_3.wav", +"vehicle/clack/modern/part_4.wav", +"vehicle/clack/modern/part_5.wav", +"vehicle/clack/modern/part_6.wav", +"vehicle/clack/modern/part_7.wav", +"vehicle/clack/modern/part_8.wav", +"vehicle/clack/modern/part_9.wav", +"vehicle/clack/modern/part_10.wav", +}, + params = { + tracks = { + { + clip = "vehicle/chme2diesel.wav", + gainCurve = { + nodes = { + --{ .0, .5 }, + --{ .05, 1.0 }, + { .0, .45 }, + { .05, .9 }, + { 1.0, 1.0 }, + } + }, + pitchCurve = { + nodes = { + --{ .0, 1.0 }, + --{ .05, 1.12 }, + { .0, 1.0 }, + { .05, 1.1 }, + { 1.0, 1.2 }, + } + } + } + }, + } +} +end diff --git a/res/models/group/vehicle/train/chme2_lod_0_bogie.grp b/res/models/group/vehicle/train/chme2_lod_0_bogie.grp new file mode 100644 index 0000000..d13963c --- /dev/null +++ b/res/models/group/vehicle/train/chme2_lod_0_bogie.grp @@ -0,0 +1,29 @@ +function data() +return { + children = { + { + id = "vehicle/train/chme2/chme2_bogie_lod0.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, + }, + type = "MESH", + }, { + id = "vehicle/train/chme2/chme2_w_lod0.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.26789, 0, 0.52525, 1, + }, + type = "MESH", + + }, { + id = "vehicle/train/chme2/chme2_w_lod0.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.20335, 0, 0.52525, 1, + }, + type = "MESH", + }, + }, + matConfigs = { + { 0, 0, 0, 0} + }, +} +end diff --git a/res/models/group/vehicle/train/chme2_lod_1_bogie.grp b/res/models/group/vehicle/train/chme2_lod_1_bogie.grp new file mode 100644 index 0000000..6d25302 --- /dev/null +++ b/res/models/group/vehicle/train/chme2_lod_1_bogie.grp @@ -0,0 +1,29 @@ +function data() +return { + children = { + { + id = "vehicle/train/chme2/chme2_bogie_lod1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, + }, + type = "MESH", + }, { + id = "vehicle/train/chme2/chme2_w_lod0.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.26789, 0, 0.52525, 1, + }, + type = "MESH", + + }, { + id = "vehicle/train/chme2/chme2_w_lod0.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.20335, 0, 0.52525, 1, + }, + type = "MESH", + }, + }, + matConfigs = { + { 0, 0, 0, 0} + }, +} +end diff --git a/res/models/group/vehicle/train/ra1_bogie_lod0.grp b/res/models/group/vehicle/train/ra1_bogie_lod0.grp new file mode 100644 index 0000000..a3947be --- /dev/null +++ b/res/models/group/vehicle/train/ra1_bogie_lod0.grp @@ -0,0 +1,28 @@ +function data() +return { + children = { + { + id = "vehicle/train/ra1/ra1_bogie_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_w_lod0.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.01, 0, 0.4573, 1, + }, + type = "MESH", + }, { + id = "vehicle/train/ra1/ra1_w_lod0.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.01, 0, 0.4573, 1, + }, + type = "MESH", + }, + }, + matConfigs = { + { 0, 0, 0, 0 } + }, +} +end diff --git a/res/models/group/vehicle/train/ra1_bogie_lod1.grp b/res/models/group/vehicle/train/ra1_bogie_lod1.grp new file mode 100644 index 0000000..c291aab --- /dev/null +++ b/res/models/group/vehicle/train/ra1_bogie_lod1.grp @@ -0,0 +1,28 @@ +function data() +return { + children = { + { + id = "vehicle/train/ra1/ra1_bogie_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_w_lod0.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.01, 0, 0.4573, 1, + }, + type = "MESH", + }, { + id = "vehicle/train/ra1/ra1_w_lod0.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.01, 0, 0.4573, 1, + }, + type = "MESH", + }, + }, + matConfigs = { + { 0, 0, 0, 0 } + }, +} +end diff --git a/res/models/material/vehicle/train/chme2.mtl b/res/models/material/vehicle/train/chme2.mtl new file mode 100644 index 0000000..1021f39 --- /dev/null +++ b/res/models/material/vehicle/train/chme2.mtl @@ -0,0 +1,62 @@ +function data() +return { + params = { + fade_out_range = { + fadeOutEndDist = 20000, + fadeOutStartDist = 10000, + + }, + map_color_reflect = { + compressionAllowed = true, + fileName = "models/vehicle/train/chme2.tga", + magFilter = "LINEAR", + minFilter = "LINEAR_MIPMAP_LINEAR", + mipmapAlphaScale = 0, + type = "TWOD", + wrapS = "REPEAT", + wrapT = "REPEAT", + + }, + map_env = { + compressionAllowed = true, + fileName = "c.tga", + magFilter = "LINEAR", + minFilter = "LINEAR", + mipmapAlphaScale = 0, + type = "CUBE_MAP", + wrapS = "REPEAT", + wrapT = "REPEAT", + + }, + map_normal = { + compressionAllowed = false, + fileName = "models/vehicle/train/chme2n.tga", + magFilter = "LINEAR", + minFilter = "LINEAR_MIPMAP_LINEAR", + mipmapAlphaScale = 0, + type = "TWOD", + wrapS = "REPEAT", + wrapT = "REPEAT", + + }, + polygon_offset = { + factor = 0, + units = 0, + + }, + props = { + coeffs = { + 1, 1, 0.9, 10, + }, + + }, + two_sided = { + twoSided = false, + + }, + + }, + type = "REFLECTIVE_NRML_MAP", + +} +end \ No newline at end of file diff --git a/res/models/material/vehicle/train/ra1.mtl b/res/models/material/vehicle/train/ra1.mtl new file mode 100644 index 0000000..2438f2b --- /dev/null +++ b/res/models/material/vehicle/train/ra1.mtl @@ -0,0 +1,57 @@ +function data() +return { + params = { + fade_out_range = { + fadeOutEndDist = 20000, + fadeOutStartDist = 10000, + + }, + map_color_reflect = { + compressionAllowed = true, + fileName = "models/vehicle/train/ra1.tga", + magFilter = "LINEAR", + minFilter = "LINEAR_MIPMAP_LINEAR", + mipmapAlphaScale = 0, + type = "TWOD", + wrapS = "CLAMP_TO_EDGE", + wrapT = "CLAMP_TO_EDGE", + + }, + map_env = { + compressionAllowed = true, + fileName = "c.tga", + magFilter = "LINEAR", + minFilter = "LINEAR", + mipmapAlphaScale = 0, + type = "CUBE_MAP", + wrapS = "REPEAT", + wrapT = "REPEAT", + + }, + map_normal = { + compressionAllowed = false, + fileName = "models/vehicle/ra1_nrml.tga", + magFilter = "LINEAR", + minFilter = "LINEAR_MIPMAP_LINEAR", + mipmapAlphaScale = 0, + type = "TWOD", + wrapS = "CLAMP_TO_EDGE", + wrapT = "CLAMP_TO_EDGE", + + }, + props = { + coeffs = { + 1, 1, 1.25, 15, + }, + + }, + two_sided = { + twoSided = false, + + }, + + }, + type = "REFLECTIVE_NRML_MAP", + +} +end \ No newline at end of file diff --git a/res/models/material/vehicle/train/ra1pid.mtl b/res/models/material/vehicle/train/ra1pid.mtl new file mode 100644 index 0000000..e5397f7 --- /dev/null +++ b/res/models/material/vehicle/train/ra1pid.mtl @@ -0,0 +1,57 @@ +function data() +return { + params = { + fade_out_range = { + fadeOutEndDist = 20000, + fadeOutStartDist = 10000, + + }, + map_color_reflect = { + compressionAllowed = true, + fileName = "models/vehicle/train/ra1pid.tga", + magFilter = "LINEAR", + minFilter = "LINEAR_MIPMAP_LINEAR", + mipmapAlphaScale = 0, + type = "TWOD", + wrapS = "CLAMP_TO_EDGE", + wrapT = "CLAMP_TO_EDGE", + + }, + map_env = { + compressionAllowed = true, + fileName = "c.tga", + magFilter = "LINEAR", + minFilter = "LINEAR", + mipmapAlphaScale = 0, + type = "CUBE_MAP", + wrapS = "REPEAT", + wrapT = "REPEAT", + + }, + map_normal = { + compressionAllowed = false, + fileName = "models/vehicle/ra1_nrml.tga", + magFilter = "LINEAR", + minFilter = "LINEAR_MIPMAP_LINEAR", + mipmapAlphaScale = 0, + type = "TWOD", + wrapS = "CLAMP_TO_EDGE", + wrapT = "CLAMP_TO_EDGE", + + }, + props = { + coeffs = { + 1, 1, 1.25, 15, + }, + + }, + two_sided = { + twoSided = false, + + }, + + }, + type = "REFLECTIVE_NRML_MAP", + +} +end \ No newline at end of file diff --git a/res/models/mesh/vehicle/train/chme2/chme2_bogie_lod0.msh b/res/models/mesh/vehicle/train/chme2/chme2_bogie_lod0.msh new file mode 100644 index 0000000..643e94b --- /dev/null +++ b/res/models/mesh/vehicle/train/chme2/chme2_bogie_lod0.msh @@ -0,0 +1,23 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 4728, offset = 0, }, + normal = { count = 4728, offset = 4728, }, + uv0 = { count = 4728, offset = 9456, }, + tangent = { count = 4728, offset = 14184, }, + }, + materials = { "vehicle/train/chme2.mtl" }, -- Material "cme2" + }, + }, + vertexAttr = { + position = { count = 14184, numComp = 3, offset = 18912, }, + normal = { count = 14184, numComp = 3, offset = 33096, }, + uv0 = { count = 9456, numComp = 2, offset = 47280, }, + tangent = { count = 18912, numComp = 4, offset = 56736, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/chme2/chme2_bogie_lod0.msh.blob b/res/models/mesh/vehicle/train/chme2/chme2_bogie_lod0.msh.blob new file mode 100644 index 0000000..27f6e53 Binary files /dev/null and b/res/models/mesh/vehicle/train/chme2/chme2_bogie_lod0.msh.blob differ diff --git a/res/models/mesh/vehicle/train/chme2/chme2_bogie_lod1.msh b/res/models/mesh/vehicle/train/chme2/chme2_bogie_lod1.msh new file mode 100644 index 0000000..643e94b --- /dev/null +++ b/res/models/mesh/vehicle/train/chme2/chme2_bogie_lod1.msh @@ -0,0 +1,23 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 4728, offset = 0, }, + normal = { count = 4728, offset = 4728, }, + uv0 = { count = 4728, offset = 9456, }, + tangent = { count = 4728, offset = 14184, }, + }, + materials = { "vehicle/train/chme2.mtl" }, -- Material "cme2" + }, + }, + vertexAttr = { + position = { count = 14184, numComp = 3, offset = 18912, }, + normal = { count = 14184, numComp = 3, offset = 33096, }, + uv0 = { count = 9456, numComp = 2, offset = 47280, }, + tangent = { count = 18912, numComp = 4, offset = 56736, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/chme2/chme2_bogie_lod1.msh.blob b/res/models/mesh/vehicle/train/chme2/chme2_bogie_lod1.msh.blob new file mode 100644 index 0000000..a161738 Binary files /dev/null and b/res/models/mesh/vehicle/train/chme2/chme2_bogie_lod1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/chme2/chme2_vent1.msh b/res/models/mesh/vehicle/train/chme2/chme2_vent1.msh new file mode 100644 index 0000000..4245d11 --- /dev/null +++ b/res/models/mesh/vehicle/train/chme2/chme2_vent1.msh @@ -0,0 +1,56 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { +ventanim = { + type = "KEYFRAME", + params = { + origin = { 0, 0, 0, }, + keyframes = { +{ + time = 0, + rot = { 0, 0, 0 }, + transl = { 0, 0, 0 } +}, +{ + time = 200, + rot = { 90, 0, 0 }, + transl = { 0, 0, 0 } +}, +{ + time = 400, + rot = { 180, 0, 0 }, + transl = { 0, 0, 0 } +}, +{ + time = 600, + rot = { 270, 0, 0 }, + transl = { 0, 0, 0 } +}, +{ + time = 800, + rot = { 360, 0, 0 }, + transl = { 0, 0, 0 } +} + } + } +}, + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 72, offset = 0, }, + normal = { count = 72, offset = 72, }, + uv0 = { count = 72, offset = 144, }, + tangent = { count = 72, offset = 216, }, + }, + materials = { "vehicle/train/chme2.mtl" }, -- Material "cme2" + }, + }, + vertexAttr = { + position = { count = 216, numComp = 3, offset = 288, }, + normal = { count = 216, numComp = 3, offset = 504, }, + uv0 = { count = 144, numComp = 2, offset = 720, }, + tangent = { count = 288, numComp = 4, offset = 864, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/chme2/chme2_vent1.msh.blob b/res/models/mesh/vehicle/train/chme2/chme2_vent1.msh.blob new file mode 100644 index 0000000..075e3ca Binary files /dev/null and b/res/models/mesh/vehicle/train/chme2/chme2_vent1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/chme2/chme2_w_lod0.msh b/res/models/mesh/vehicle/train/chme2/chme2_w_lod0.msh new file mode 100644 index 0000000..6952421 --- /dev/null +++ b/res/models/mesh/vehicle/train/chme2/chme2_w_lod0.msh @@ -0,0 +1,23 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 1824, offset = 0, }, + normal = { count = 1824, offset = 1824, }, + uv0 = { count = 1824, offset = 3648, }, + tangent = { count = 1824, offset = 5472, }, + }, + materials = { "vehicle/train/chme2.mtl" }, -- Material "cme2" + }, + }, + vertexAttr = { + position = { count = 5472, numComp = 3, offset = 7296, }, + normal = { count = 5472, numComp = 3, offset = 12768, }, + uv0 = { count = 3648, numComp = 2, offset = 18240, }, + tangent = { count = 7296, numComp = 4, offset = 21888, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/chme2/chme2_w_lod0.msh.blob b/res/models/mesh/vehicle/train/chme2/chme2_w_lod0.msh.blob new file mode 100644 index 0000000..bcadecc Binary files /dev/null and b/res/models/mesh/vehicle/train/chme2/chme2_w_lod0.msh.blob differ diff --git a/res/models/mesh/vehicle/train/chme2/chme2a_body_lod0.msh b/res/models/mesh/vehicle/train/chme2/chme2a_body_lod0.msh new file mode 100644 index 0000000..49ab027 --- /dev/null +++ b/res/models/mesh/vehicle/train/chme2/chme2a_body_lod0.msh @@ -0,0 +1,23 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 60420, offset = 0, }, + normal = { count = 60420, offset = 60420, }, + uv0 = { count = 60420, offset = 120840, }, + tangent = { count = 60420, offset = 181260, }, + }, + materials = { "vehicle/train/chme2.mtl" }, -- Material "cme2" + }, + }, + vertexAttr = { + position = { count = 181260, numComp = 3, offset = 241680, }, + normal = { count = 181260, numComp = 3, offset = 422940, }, + uv0 = { count = 120840, numComp = 2, offset = 604200, }, + tangent = { count = 241680, numComp = 4, offset = 725040, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/chme2/chme2a_body_lod0.msh.blob b/res/models/mesh/vehicle/train/chme2/chme2a_body_lod0.msh.blob new file mode 100644 index 0000000..c0e6101 Binary files /dev/null and b/res/models/mesh/vehicle/train/chme2/chme2a_body_lod0.msh.blob differ diff --git a/res/models/mesh/vehicle/train/chme2/chme2a_body_lod1.msh b/res/models/mesh/vehicle/train/chme2/chme2a_body_lod1.msh new file mode 100644 index 0000000..5ba635f --- /dev/null +++ b/res/models/mesh/vehicle/train/chme2/chme2a_body_lod1.msh @@ -0,0 +1,23 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 9516, offset = 0, }, + normal = { count = 9516, offset = 9516, }, + uv0 = { count = 9516, offset = 19032, }, + tangent = { count = 9516, offset = 28548, }, + }, + materials = { "vehicle/train/chme2.mtl" }, -- Material "cme2" + }, + }, + vertexAttr = { + position = { count = 28548, numComp = 3, offset = 38064, }, + normal = { count = 28548, numComp = 3, offset = 66612, }, + uv0 = { count = 19032, numComp = 2, offset = 95160, }, + tangent = { count = 38064, numComp = 4, offset = 114192, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/chme2/chme2a_body_lod1.msh.blob b/res/models/mesh/vehicle/train/chme2/chme2a_body_lod1.msh.blob new file mode 100644 index 0000000..0512e23 Binary files /dev/null and b/res/models/mesh/vehicle/train/chme2/chme2a_body_lod1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/chme2/chme2a_body_lod2.msh b/res/models/mesh/vehicle/train/chme2/chme2a_body_lod2.msh new file mode 100644 index 0000000..29fdb06 --- /dev/null +++ b/res/models/mesh/vehicle/train/chme2/chme2a_body_lod2.msh @@ -0,0 +1,23 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 864, offset = 0, }, + normal = { count = 864, offset = 864, }, + uv0 = { count = 864, offset = 1728, }, + tangent = { count = 864, offset = 2592, }, + }, + materials = { "vehicle/train/chme2.mtl" }, -- Material "cme2" + }, + }, + vertexAttr = { + position = { count = 2592, numComp = 3, offset = 3456, }, + normal = { count = 2592, numComp = 3, offset = 6048, }, + uv0 = { count = 1728, numComp = 2, offset = 8640, }, + tangent = { count = 3456, numComp = 4, offset = 10368, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/chme2/chme2a_body_lod2.msh.blob b/res/models/mesh/vehicle/train/chme2/chme2a_body_lod2.msh.blob new file mode 100644 index 0000000..fd2b16c Binary files /dev/null and b/res/models/mesh/vehicle/train/chme2/chme2a_body_lod2.msh.blob differ diff --git a/res/models/mesh/vehicle/train/chme2/chme2b_body_lod0.msh b/res/models/mesh/vehicle/train/chme2/chme2b_body_lod0.msh new file mode 100644 index 0000000..49ab027 --- /dev/null +++ b/res/models/mesh/vehicle/train/chme2/chme2b_body_lod0.msh @@ -0,0 +1,23 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 60420, offset = 0, }, + normal = { count = 60420, offset = 60420, }, + uv0 = { count = 60420, offset = 120840, }, + tangent = { count = 60420, offset = 181260, }, + }, + materials = { "vehicle/train/chme2.mtl" }, -- Material "cme2" + }, + }, + vertexAttr = { + position = { count = 181260, numComp = 3, offset = 241680, }, + normal = { count = 181260, numComp = 3, offset = 422940, }, + uv0 = { count = 120840, numComp = 2, offset = 604200, }, + tangent = { count = 241680, numComp = 4, offset = 725040, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/chme2/chme2b_body_lod0.msh.blob b/res/models/mesh/vehicle/train/chme2/chme2b_body_lod0.msh.blob new file mode 100644 index 0000000..df0707b Binary files /dev/null and b/res/models/mesh/vehicle/train/chme2/chme2b_body_lod0.msh.blob differ diff --git a/res/models/mesh/vehicle/train/chme2/chme2b_body_lod1.msh b/res/models/mesh/vehicle/train/chme2/chme2b_body_lod1.msh new file mode 100644 index 0000000..5ba635f --- /dev/null +++ b/res/models/mesh/vehicle/train/chme2/chme2b_body_lod1.msh @@ -0,0 +1,23 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 9516, offset = 0, }, + normal = { count = 9516, offset = 9516, }, + uv0 = { count = 9516, offset = 19032, }, + tangent = { count = 9516, offset = 28548, }, + }, + materials = { "vehicle/train/chme2.mtl" }, -- Material "cme2" + }, + }, + vertexAttr = { + position = { count = 28548, numComp = 3, offset = 38064, }, + normal = { count = 28548, numComp = 3, offset = 66612, }, + uv0 = { count = 19032, numComp = 2, offset = 95160, }, + tangent = { count = 38064, numComp = 4, offset = 114192, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/chme2/chme2b_body_lod1.msh.blob b/res/models/mesh/vehicle/train/chme2/chme2b_body_lod1.msh.blob new file mode 100644 index 0000000..44538d9 Binary files /dev/null and b/res/models/mesh/vehicle/train/chme2/chme2b_body_lod1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/chme2/chme2b_body_lod2.msh b/res/models/mesh/vehicle/train/chme2/chme2b_body_lod2.msh new file mode 100644 index 0000000..29fdb06 --- /dev/null +++ b/res/models/mesh/vehicle/train/chme2/chme2b_body_lod2.msh @@ -0,0 +1,23 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 864, offset = 0, }, + normal = { count = 864, offset = 864, }, + uv0 = { count = 864, offset = 1728, }, + tangent = { count = 864, offset = 2592, }, + }, + materials = { "vehicle/train/chme2.mtl" }, -- Material "cme2" + }, + }, + vertexAttr = { + position = { count = 2592, numComp = 3, offset = 3456, }, + normal = { count = 2592, numComp = 3, offset = 6048, }, + uv0 = { count = 1728, numComp = 2, offset = 8640, }, + tangent = { count = 3456, numComp = 4, offset = 10368, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/chme2/chme2b_body_lod2.msh.blob b/res/models/mesh/vehicle/train/chme2/chme2b_body_lod2.msh.blob new file mode 100644 index 0000000..40fa0e3 Binary files /dev/null and b/res/models/mesh/vehicle/train/chme2/chme2b_body_lod2.msh.blob differ diff --git a/res/models/mesh/vehicle/train/ra1/ra1_body_lod0.msh b/res/models/mesh/vehicle/train/ra1/ra1_body_lod0.msh new file mode 100644 index 0000000..84c4051 --- /dev/null +++ b/res/models/mesh/vehicle/train/ra1/ra1_body_lod0.msh @@ -0,0 +1,23 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 37104, offset = 0, }, + normal = { count = 37104, offset = 37104, }, + uv0 = { count = 37104, offset = 74208, }, + tangent = { count = 37104, offset = 111312, }, + }, + materials = { "vehicle/train/ra1.mtl" }, -- Material "ra1" + }, + }, + vertexAttr = { + position = { count = 111312, numComp = 3, offset = 148416, }, + normal = { count = 111312, numComp = 3, offset = 259728, }, + uv0 = { count = 74208, numComp = 2, offset = 371040, }, + tangent = { count = 148416, numComp = 4, offset = 445248, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/ra1/ra1_body_lod0.msh.blob b/res/models/mesh/vehicle/train/ra1/ra1_body_lod0.msh.blob new file mode 100644 index 0000000..7cbd444 Binary files /dev/null and b/res/models/mesh/vehicle/train/ra1/ra1_body_lod0.msh.blob differ diff --git a/res/models/mesh/vehicle/train/ra1/ra1_body_lod1.msh b/res/models/mesh/vehicle/train/ra1/ra1_body_lod1.msh new file mode 100644 index 0000000..8e1dc9a --- /dev/null +++ b/res/models/mesh/vehicle/train/ra1/ra1_body_lod1.msh @@ -0,0 +1,23 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 6480, offset = 0, }, + normal = { count = 6480, offset = 6480, }, + uv0 = { count = 6480, offset = 12960, }, + tangent = { count = 6480, offset = 19440, }, + }, + materials = { "vehicle/train/ra1.mtl" }, -- Material "ra1" + }, + }, + vertexAttr = { + position = { count = 19440, numComp = 3, offset = 25920, }, + normal = { count = 19440, numComp = 3, offset = 45360, }, + uv0 = { count = 12960, numComp = 2, offset = 64800, }, + tangent = { count = 25920, numComp = 4, offset = 77760, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/ra1/ra1_body_lod1.msh.blob b/res/models/mesh/vehicle/train/ra1/ra1_body_lod1.msh.blob new file mode 100644 index 0000000..c8e05c9 Binary files /dev/null and b/res/models/mesh/vehicle/train/ra1/ra1_body_lod1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/ra1/ra1_body_lod2.msh b/res/models/mesh/vehicle/train/ra1/ra1_body_lod2.msh new file mode 100644 index 0000000..4171d5c --- /dev/null +++ b/res/models/mesh/vehicle/train/ra1/ra1_body_lod2.msh @@ -0,0 +1,23 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 264, offset = 0, }, + normal = { count = 264, offset = 264, }, + uv0 = { count = 264, offset = 528, }, + tangent = { count = 264, offset = 792, }, + }, + materials = { "vehicle/train/ra1.mtl" }, -- Material "ra1" + }, + }, + vertexAttr = { + position = { count = 792, numComp = 3, offset = 1056, }, + normal = { count = 792, numComp = 3, offset = 1848, }, + uv0 = { count = 528, numComp = 2, offset = 2640, }, + tangent = { count = 1056, numComp = 4, offset = 3168, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/ra1/ra1_body_lod2.msh.blob b/res/models/mesh/vehicle/train/ra1/ra1_body_lod2.msh.blob new file mode 100644 index 0000000..6813ea1 Binary files /dev/null and b/res/models/mesh/vehicle/train/ra1/ra1_body_lod2.msh.blob differ diff --git a/res/models/mesh/vehicle/train/ra1/ra1_bogie_lod0.msh b/res/models/mesh/vehicle/train/ra1/ra1_bogie_lod0.msh new file mode 100644 index 0000000..1a9ec5a --- /dev/null +++ b/res/models/mesh/vehicle/train/ra1/ra1_bogie_lod0.msh @@ -0,0 +1,23 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 16668, offset = 0, }, + normal = { count = 16668, offset = 16668, }, + uv0 = { count = 16668, offset = 33336, }, + tangent = { count = 16668, offset = 50004, }, + }, + materials = { "vehicle/train/ra1.mtl" }, -- Material "ra1" + }, + }, + vertexAttr = { + position = { count = 50004, numComp = 3, offset = 66672, }, + normal = { count = 50004, numComp = 3, offset = 116676, }, + uv0 = { count = 33336, numComp = 2, offset = 166680, }, + tangent = { count = 66672, numComp = 4, offset = 200016, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/ra1/ra1_bogie_lod0.msh.blob b/res/models/mesh/vehicle/train/ra1/ra1_bogie_lod0.msh.blob new file mode 100644 index 0000000..b239b1a Binary files /dev/null and b/res/models/mesh/vehicle/train/ra1/ra1_bogie_lod0.msh.blob differ diff --git a/res/models/mesh/vehicle/train/ra1/ra1_bogie_lod1.msh b/res/models/mesh/vehicle/train/ra1/ra1_bogie_lod1.msh new file mode 100644 index 0000000..177b818 --- /dev/null +++ b/res/models/mesh/vehicle/train/ra1/ra1_bogie_lod1.msh @@ -0,0 +1,23 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 6204, offset = 0, }, + normal = { count = 6204, offset = 6204, }, + uv0 = { count = 6204, offset = 12408, }, + tangent = { count = 6204, offset = 18612, }, + }, + materials = { "vehicle/train/ra1.mtl" }, -- Material "ra1" + }, + }, + vertexAttr = { + position = { count = 18612, numComp = 3, offset = 24816, }, + normal = { count = 18612, numComp = 3, offset = 43428, }, + uv0 = { count = 12408, numComp = 2, offset = 62040, }, + tangent = { count = 24816, numComp = 4, offset = 74448, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/ra1/ra1_bogie_lod1.msh.blob b/res/models/mesh/vehicle/train/ra1/ra1_bogie_lod1.msh.blob new file mode 100644 index 0000000..c14d8bd Binary files /dev/null and b/res/models/mesh/vehicle/train/ra1/ra1_bogie_lod1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/ra1/ra1_door_l1.msh b/res/models/mesh/vehicle/train/ra1/ra1_door_l1.msh new file mode 100644 index 0000000..dfbd517 --- /dev/null +++ b/res/models/mesh/vehicle/train/ra1/ra1_door_l1.msh @@ -0,0 +1,51 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { +opend = { + type = "KEYFRAME", + params = { + origin = { 0, 0, 0, }, + keyframes = { +{ + time = 0, + rot = { 0, 0, 0 }, + transl = { 0, 0, 0 } +}, +{ + time = 400, + rot = { 0, 0, 0 }, + transl = { 0, 0.05, 0 } +}, +{ + time = 1600, + rot = { 0, 0, 0 }, + transl = { 0.55, 0.05, 0 } +}, +{ + time = 2400, + rot = { 0, 0, 0 }, + transl = { 0.55, 0.05, 0 } +} + } + } +}, + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 1200, offset = 0, }, + normal = { count = 1200, offset = 1200, }, + uv0 = { count = 1200, offset = 2400, }, + tangent = { count = 1200, offset = 3600, }, + }, + materials = { "vehicle/train/ra1.mtl" }, -- Material "ra1" + }, + }, + vertexAttr = { + position = { count = 3600, numComp = 3, offset = 4800, }, + normal = { count = 3600, numComp = 3, offset = 8400, }, + uv0 = { count = 2400, numComp = 2, offset = 12000, }, + tangent = { count = 4800, numComp = 4, offset = 14400, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/ra1/ra1_door_l1.msh.blob b/res/models/mesh/vehicle/train/ra1/ra1_door_l1.msh.blob new file mode 100644 index 0000000..f33c6c7 Binary files /dev/null and b/res/models/mesh/vehicle/train/ra1/ra1_door_l1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/ra1/ra1_door_l2.msh b/res/models/mesh/vehicle/train/ra1/ra1_door_l2.msh new file mode 100644 index 0000000..02b9427 --- /dev/null +++ b/res/models/mesh/vehicle/train/ra1/ra1_door_l2.msh @@ -0,0 +1,51 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { +opend = { + type = "KEYFRAME", + params = { + origin = { 0, 0, 0, }, + keyframes = { +{ + time = 0, + rot = { 0, 0, 0 }, + transl = { 0, 0, 0 } +}, +{ + time = 400, + rot = { 0, 0, 0 }, + transl = { 0, 0.05, 0 } +}, +{ + time = 1600, + rot = { 0, 0, 0 }, + transl = { -0.55, 0.05, 0 } +}, +{ + time = 2400, + rot = { 0, 0, 0 }, + transl = { -0.55, 0.05, 0 } +} + } + } +}, + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 1200, offset = 0, }, + normal = { count = 1200, offset = 1200, }, + uv0 = { count = 1200, offset = 2400, }, + tangent = { count = 1200, offset = 3600, }, + }, + materials = { "vehicle/train/ra1.mtl" }, -- Material "ra1" + }, + }, + vertexAttr = { + position = { count = 3600, numComp = 3, offset = 4800, }, + normal = { count = 3600, numComp = 3, offset = 8400, }, + uv0 = { count = 2400, numComp = 2, offset = 12000, }, + tangent = { count = 4800, numComp = 4, offset = 14400, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/ra1/ra1_door_l2.msh.blob b/res/models/mesh/vehicle/train/ra1/ra1_door_l2.msh.blob new file mode 100644 index 0000000..7ddd9ec Binary files /dev/null and b/res/models/mesh/vehicle/train/ra1/ra1_door_l2.msh.blob differ diff --git a/res/models/mesh/vehicle/train/ra1/ra1_door_r1.msh b/res/models/mesh/vehicle/train/ra1/ra1_door_r1.msh new file mode 100644 index 0000000..00d0cd4 --- /dev/null +++ b/res/models/mesh/vehicle/train/ra1/ra1_door_r1.msh @@ -0,0 +1,51 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { +opend = { + type = "KEYFRAME", + params = { + origin = { 0, 0, 0, }, + keyframes = { +{ + time = 0, + rot = { 0, 0, 0 }, + transl = { 0, 0, 0 } +}, +{ + time = 400, + rot = { 0, 0, 0 }, + transl = { 0, -0.05, 0 } +}, +{ + time = 1600, + rot = { 0, 0, 0 }, + transl = { 0.55, -0.05, 0 } +}, +{ + time = 2400, + rot = { 0, 0, 0 }, + transl = { 0.55, -0.05, 0 } +} + } + } +}, + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 1200, offset = 0, }, + normal = { count = 1200, offset = 1200, }, + uv0 = { count = 1200, offset = 2400, }, + tangent = { count = 1200, offset = 3600, }, + }, + materials = { "vehicle/train/ra1.mtl" }, -- Material "ra1" + }, + }, + vertexAttr = { + position = { count = 3600, numComp = 3, offset = 4800, }, + normal = { count = 3600, numComp = 3, offset = 8400, }, + uv0 = { count = 2400, numComp = 2, offset = 12000, }, + tangent = { count = 4800, numComp = 4, offset = 14400, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/ra1/ra1_door_r1.msh.blob b/res/models/mesh/vehicle/train/ra1/ra1_door_r1.msh.blob new file mode 100644 index 0000000..61aabe6 Binary files /dev/null and b/res/models/mesh/vehicle/train/ra1/ra1_door_r1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/ra1/ra1_door_r2.msh b/res/models/mesh/vehicle/train/ra1/ra1_door_r2.msh new file mode 100644 index 0000000..e8ce8d4 --- /dev/null +++ b/res/models/mesh/vehicle/train/ra1/ra1_door_r2.msh @@ -0,0 +1,51 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { +opend = { + type = "KEYFRAME", + params = { + origin = { 0, 0, 0, }, + keyframes = { +{ + time = 0, + rot = { 0, 0, 0 }, + transl = { 0, 0, 0 } +}, +{ + time = 400, + rot = { 0, 0, 0 }, + transl = { 0, -0.05, 0 } +}, +{ + time = 1600, + rot = { 0, 0, 0 }, + transl = { -0.55, -0.05, 0 } +}, +{ + time = 2400, + rot = { 0, 0, 0 }, + transl = { -0.55, -0.05, 0 } +} + } + } +}, + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 1200, offset = 0, }, + normal = { count = 1200, offset = 1200, }, + uv0 = { count = 1200, offset = 2400, }, + tangent = { count = 1200, offset = 3600, }, + }, + materials = { "vehicle/train/ra1.mtl" }, -- Material "ra1" + }, + }, + vertexAttr = { + position = { count = 3600, numComp = 3, offset = 4800, }, + normal = { count = 3600, numComp = 3, offset = 8400, }, + uv0 = { count = 2400, numComp = 2, offset = 12000, }, + tangent = { count = 4800, numComp = 4, offset = 14400, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/ra1/ra1_door_r2.msh.blob b/res/models/mesh/vehicle/train/ra1/ra1_door_r2.msh.blob new file mode 100644 index 0000000..c8daa5c Binary files /dev/null and b/res/models/mesh/vehicle/train/ra1/ra1_door_r2.msh.blob differ diff --git a/res/models/mesh/vehicle/train/ra1/ra1_w_lod0.msh b/res/models/mesh/vehicle/train/ra1/ra1_w_lod0.msh new file mode 100644 index 0000000..ecdb76d --- /dev/null +++ b/res/models/mesh/vehicle/train/ra1/ra1_w_lod0.msh @@ -0,0 +1,23 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 1968, offset = 0, }, + normal = { count = 1968, offset = 1968, }, + uv0 = { count = 1968, offset = 3936, }, + tangent = { count = 1968, offset = 5904, }, + }, + materials = { "vehicle/train/ra1.mtl" }, -- Material "ra1" + }, + }, + vertexAttr = { + position = { count = 5904, numComp = 3, offset = 7872, }, + normal = { count = 5904, numComp = 3, offset = 13776, }, + uv0 = { count = 3936, numComp = 2, offset = 19680, }, + tangent = { count = 7872, numComp = 4, offset = 23616, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/ra1/ra1_w_lod0.msh.blob b/res/models/mesh/vehicle/train/ra1/ra1_w_lod0.msh.blob new file mode 100644 index 0000000..8de6632 Binary files /dev/null and b/res/models/mesh/vehicle/train/ra1/ra1_w_lod0.msh.blob differ diff --git a/res/models/mesh/vehicle/train/ra1pid/ra1_body_lod0.msh b/res/models/mesh/vehicle/train/ra1pid/ra1_body_lod0.msh new file mode 100644 index 0000000..5e61d26 --- /dev/null +++ b/res/models/mesh/vehicle/train/ra1pid/ra1_body_lod0.msh @@ -0,0 +1,23 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 37104, offset = 0, }, + normal = { count = 37104, offset = 37104, }, + uv0 = { count = 37104, offset = 74208, }, + tangent = { count = 37104, offset = 111312, }, + }, + materials = { "vehicle/train/ra1pid.mtl" }, -- Material "ra1" + }, + }, + vertexAttr = { + position = { count = 111312, numComp = 3, offset = 148416, }, + normal = { count = 111312, numComp = 3, offset = 259728, }, + uv0 = { count = 74208, numComp = 2, offset = 371040, }, + tangent = { count = 148416, numComp = 4, offset = 445248, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/ra1pid/ra1_body_lod0.msh.blob b/res/models/mesh/vehicle/train/ra1pid/ra1_body_lod0.msh.blob new file mode 100644 index 0000000..7cbd444 Binary files /dev/null and b/res/models/mesh/vehicle/train/ra1pid/ra1_body_lod0.msh.blob differ diff --git a/res/models/mesh/vehicle/train/ra1pid/ra1_body_lod1.msh b/res/models/mesh/vehicle/train/ra1pid/ra1_body_lod1.msh new file mode 100644 index 0000000..344ee11 --- /dev/null +++ b/res/models/mesh/vehicle/train/ra1pid/ra1_body_lod1.msh @@ -0,0 +1,23 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 6480, offset = 0, }, + normal = { count = 6480, offset = 6480, }, + uv0 = { count = 6480, offset = 12960, }, + tangent = { count = 6480, offset = 19440, }, + }, + materials = { "vehicle/train/ra1pid.mtl" }, -- Material "ra1" + }, + }, + vertexAttr = { + position = { count = 19440, numComp = 3, offset = 25920, }, + normal = { count = 19440, numComp = 3, offset = 45360, }, + uv0 = { count = 12960, numComp = 2, offset = 64800, }, + tangent = { count = 25920, numComp = 4, offset = 77760, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/ra1pid/ra1_body_lod1.msh.blob b/res/models/mesh/vehicle/train/ra1pid/ra1_body_lod1.msh.blob new file mode 100644 index 0000000..c8e05c9 Binary files /dev/null and b/res/models/mesh/vehicle/train/ra1pid/ra1_body_lod1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/ra1pid/ra1_body_lod2.msh b/res/models/mesh/vehicle/train/ra1pid/ra1_body_lod2.msh new file mode 100644 index 0000000..7a3624d --- /dev/null +++ b/res/models/mesh/vehicle/train/ra1pid/ra1_body_lod2.msh @@ -0,0 +1,23 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 264, offset = 0, }, + normal = { count = 264, offset = 264, }, + uv0 = { count = 264, offset = 528, }, + tangent = { count = 264, offset = 792, }, + }, + materials = { "vehicle/train/ra1pid.mtl" }, -- Material "ra1" + }, + }, + vertexAttr = { + position = { count = 792, numComp = 3, offset = 1056, }, + normal = { count = 792, numComp = 3, offset = 1848, }, + uv0 = { count = 528, numComp = 2, offset = 2640, }, + tangent = { count = 1056, numComp = 4, offset = 3168, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/ra1pid/ra1_body_lod2.msh.blob b/res/models/mesh/vehicle/train/ra1pid/ra1_body_lod2.msh.blob new file mode 100644 index 0000000..6813ea1 Binary files /dev/null and b/res/models/mesh/vehicle/train/ra1pid/ra1_body_lod2.msh.blob differ diff --git a/res/models/mesh/vehicle/train/ra1pid/ra1_door_l1.msh b/res/models/mesh/vehicle/train/ra1pid/ra1_door_l1.msh new file mode 100644 index 0000000..8c3e4c4 --- /dev/null +++ b/res/models/mesh/vehicle/train/ra1pid/ra1_door_l1.msh @@ -0,0 +1,51 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { +opend = { + type = "KEYFRAME", + params = { + origin = { 0, 0, 0, }, + keyframes = { +{ + time = 0, + rot = { 0, 0, 0 }, + transl = { 0, 0, 0 } +}, +{ + time = 400, + rot = { 0, 0, 0 }, + transl = { 0, 0.05, 0 } +}, +{ + time = 1600, + rot = { 0, 0, 0 }, + transl = { 0.55, 0.05, 0 } +}, +{ + time = 2400, + rot = { 0, 0, 0 }, + transl = { 0.55, 0.05, 0 } +} + } + } +}, + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 1200, offset = 0, }, + normal = { count = 1200, offset = 1200, }, + uv0 = { count = 1200, offset = 2400, }, + tangent = { count = 1200, offset = 3600, }, + }, + materials = { "vehicle/train/ra1pid.mtl" }, -- Material "ra1" + }, + }, + vertexAttr = { + position = { count = 3600, numComp = 3, offset = 4800, }, + normal = { count = 3600, numComp = 3, offset = 8400, }, + uv0 = { count = 2400, numComp = 2, offset = 12000, }, + tangent = { count = 4800, numComp = 4, offset = 14400, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/ra1pid/ra1_door_l1.msh.blob b/res/models/mesh/vehicle/train/ra1pid/ra1_door_l1.msh.blob new file mode 100644 index 0000000..f33c6c7 Binary files /dev/null and b/res/models/mesh/vehicle/train/ra1pid/ra1_door_l1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/ra1pid/ra1_door_l2.msh b/res/models/mesh/vehicle/train/ra1pid/ra1_door_l2.msh new file mode 100644 index 0000000..83c6bc0 --- /dev/null +++ b/res/models/mesh/vehicle/train/ra1pid/ra1_door_l2.msh @@ -0,0 +1,51 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { +opend = { + type = "KEYFRAME", + params = { + origin = { 0, 0, 0, }, + keyframes = { +{ + time = 0, + rot = { 0, 0, 0 }, + transl = { 0, 0, 0 } +}, +{ + time = 400, + rot = { 0, 0, 0 }, + transl = { 0, 0.05, 0 } +}, +{ + time = 1600, + rot = { 0, 0, 0 }, + transl = { -0.55, 0.05, 0 } +}, +{ + time = 2400, + rot = { 0, 0, 0 }, + transl = { -0.55, 0.05, 0 } +} + } + } +}, + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 1200, offset = 0, }, + normal = { count = 1200, offset = 1200, }, + uv0 = { count = 1200, offset = 2400, }, + tangent = { count = 1200, offset = 3600, }, + }, + materials = { "vehicle/train/ra1pid.mtl" }, -- Material "ra1" + }, + }, + vertexAttr = { + position = { count = 3600, numComp = 3, offset = 4800, }, + normal = { count = 3600, numComp = 3, offset = 8400, }, + uv0 = { count = 2400, numComp = 2, offset = 12000, }, + tangent = { count = 4800, numComp = 4, offset = 14400, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/ra1pid/ra1_door_l2.msh.blob b/res/models/mesh/vehicle/train/ra1pid/ra1_door_l2.msh.blob new file mode 100644 index 0000000..7ddd9ec Binary files /dev/null and b/res/models/mesh/vehicle/train/ra1pid/ra1_door_l2.msh.blob differ diff --git a/res/models/mesh/vehicle/train/ra1pid/ra1_door_r1.msh b/res/models/mesh/vehicle/train/ra1pid/ra1_door_r1.msh new file mode 100644 index 0000000..75a299d --- /dev/null +++ b/res/models/mesh/vehicle/train/ra1pid/ra1_door_r1.msh @@ -0,0 +1,51 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { +opend = { + type = "KEYFRAME", + params = { + origin = { 0, 0, 0, }, + keyframes = { +{ + time = 0, + rot = { 0, 0, 0 }, + transl = { 0, 0, 0 } +}, +{ + time = 400, + rot = { 0, 0, 0 }, + transl = { 0, -0.05, 0 } +}, +{ + time = 1600, + rot = { 0, 0, 0 }, + transl = { 0.55, -0.05, 0 } +}, +{ + time = 2400, + rot = { 0, 0, 0 }, + transl = { 0.55, -0.05, 0 } +} + } + } +}, + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 1200, offset = 0, }, + normal = { count = 1200, offset = 1200, }, + uv0 = { count = 1200, offset = 2400, }, + tangent = { count = 1200, offset = 3600, }, + }, + materials = { "vehicle/train/ra1pid.mtl" }, -- Material "ra1" + }, + }, + vertexAttr = { + position = { count = 3600, numComp = 3, offset = 4800, }, + normal = { count = 3600, numComp = 3, offset = 8400, }, + uv0 = { count = 2400, numComp = 2, offset = 12000, }, + tangent = { count = 4800, numComp = 4, offset = 14400, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/ra1pid/ra1_door_r1.msh.blob b/res/models/mesh/vehicle/train/ra1pid/ra1_door_r1.msh.blob new file mode 100644 index 0000000..61aabe6 Binary files /dev/null and b/res/models/mesh/vehicle/train/ra1pid/ra1_door_r1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/ra1pid/ra1_door_r2.msh b/res/models/mesh/vehicle/train/ra1pid/ra1_door_r2.msh new file mode 100644 index 0000000..0f9d439 --- /dev/null +++ b/res/models/mesh/vehicle/train/ra1pid/ra1_door_r2.msh @@ -0,0 +1,51 @@ +-- Generated by Train Fever Model Converter version 0.3.5481.4047 +function data() return { + animations = { +opend = { + type = "KEYFRAME", + params = { + origin = { 0, 0, 0, }, + keyframes = { +{ + time = 0, + rot = { 0, 0, 0 }, + transl = { 0, 0, 0 } +}, +{ + time = 400, + rot = { 0, 0, 0 }, + transl = { 0, -0.05, 0 } +}, +{ + time = 1600, + rot = { 0, 0, 0 }, + transl = { -0.55, -0.05, 0 } +}, +{ + time = 2400, + rot = { 0, 0, 0 }, + transl = { -0.55, -0.05, 0 } +} + } + } +}, + }, + matConfigs = { { 0 } }, + subMeshes = { + { -- Object 0 + indices = { + position = { count = 1200, offset = 0, }, + normal = { count = 1200, offset = 1200, }, + uv0 = { count = 1200, offset = 2400, }, + tangent = { count = 1200, offset = 3600, }, + }, + materials = { "vehicle/train/ra1pid.mtl" }, -- Material "ra1" + }, + }, + vertexAttr = { + position = { count = 3600, numComp = 3, offset = 4800, }, + normal = { count = 3600, numComp = 3, offset = 8400, }, + uv0 = { count = 2400, numComp = 2, offset = 12000, }, + tangent = { count = 4800, numComp = 4, offset = 14400, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/ra1pid/ra1_door_r2.msh.blob b/res/models/mesh/vehicle/train/ra1pid/ra1_door_r2.msh.blob new file mode 100644 index 0000000..c8daa5c Binary files /dev/null and b/res/models/mesh/vehicle/train/ra1pid/ra1_door_r2.msh.blob differ diff --git a/res/models/model/vehicle/train/chme2a.mdl b/res/models/model/vehicle/train/chme2a.mdl new file mode 100644 index 0000000..a6a5305 --- /dev/null +++ b/res/models/model/vehicle/train/chme2a.mdl @@ -0,0 +1,213 @@ +function data() +return { + boundingInfo = { + bbMax = { + 6.49, 1.5827790498734, 4.6462259292603, + }, + bbMin = { + -6.48, -1.5827790498734, -0.57415497303009, + }, + + }, + collider = { + params = { + + }, + type = "MESH", + + }, + lods = { + { + animations = { + + }, + children = { { + id = "vehicle/train/chme2/chme2a_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/chme2/chme2_vent1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.35235, 0, 0.0, 1, + }, + type = "MESH", + + }, { + id = "vehicle/train/chme2_lod_0_bogie.grp", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.26885, 0, 0, 1, + }, + type = "GROUP", + }, { + id = "vehicle/train/chme2_lod_0_bogie.grp", + transf = { + -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.37565, 0, 0, 1, + }, + type = "GROUP", + }, + }, + events = { + drive = { + [2] = { + forward = false, + name = "ventanim", + } + }, + + }, + matConfigs = { + { + 0, 0, 0, 0, 0, 0, 0, + }, + }, + static = false, + visibleFrom = 0, + visibleTo = 200, + + }, + { + animations = { + + }, + children = { { + id = "vehicle/train/chme2/chme2a_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/chme2/chme2_vent1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.35235, 0, 0, 1, + }, + type = "MESH", + + },{ + id = "vehicle/train/chme2_lod_1_bogie.grp", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.26885, 0, 0, 1, + }, + type = "GROUP", + }, { + id = "vehicle/train/chme2_lod_1_bogie.grp", + transf = { + -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.37565, 0, 0, 1, + }, + type = "GROUP", + }, + }, + events = { + drive = { + [2] = { + forward = false, + name = "ventanim", + } + }, + + }, + matConfigs = { + { + 0, 0, 0, 0, 0, 0, 0, + }, + }, + static = false, + visibleFrom = 200, + visibleTo = 500, + + }, + { + animations = { + + }, + children = { { + id = "vehicle/train/chme2/chme2a_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, + }, + }, + static = false, + visibleFrom = 500, + visibleTo = 2200, + + }, + }, + metadata = { + description = { + name = _("ЧМЭ2"), + description = _( + "ЧМЭ2 - чехословацкий маневровый тепловоз с электропередачей. В конце 50-х годов на железных дорогах Советского Союза началось массовое списание паровозов, а производство отечественных тепловозов с электропередачей только началось. Поэтому для замены маневровых паровозов было принято решение закупить партию тепловозов в Венгрии и Чехословакии. Положительный опыт использования ЧМЭ2 на железных дорогах Советского Союза в немалой степени поспособствовал появлению в СССР одного из самых известных маневровых тепловозов - ЧМЭ3.") + }, + railVehicle = { + topSpeed = 80.0, + weight = 74.0, + engines = { + { type = "DIESEL", power = 550.0, tractiveEffort = 170.0 } + }, + configs = { + { + axles = { + "vehicle/train/chme2/chme2_w_lod0.msh", + } + }, + { + axles = { + "vehicle/train/chme2/chme2_w_lod0.msh", + } + }, + { + axles = { + "vehicle/train/chme2/chme2_w_lod0.msh", + } + } + }, + soundSet = { name = "chme2" } + + }, + transportVehicle = { + carrier = "RAIL" + }, + availability = { + --yearFrom = 1957, + yearTo = 1966 + }, + cost = { + price = 550000 + + }, + maintenance = { + runningCosts = 350000, + lifespan = 45 + }, + particleSystem = { + emitters = { + { + position = {-1.66097, -0.61654, 4.38 }, + velocity = { .0, .0, 2.0 }, + color = { .15, .15, .15 }, + frequency = 30, + lifeTime = 2.0, + size01 = { .4, 4.0 }, + child = 1 + }, + } + } + + + }, + +} +end diff --git a/res/models/model/vehicle/train/chme2b.mdl b/res/models/model/vehicle/train/chme2b.mdl new file mode 100644 index 0000000..9b6e264 --- /dev/null +++ b/res/models/model/vehicle/train/chme2b.mdl @@ -0,0 +1,213 @@ +function data() +return { + boundingInfo = { + bbMax = { + 6.49, 1.5827790498734, 4.6462259292603, + }, + bbMin = { + -6.48, -1.5827790498734, -0.57415497303009, + }, + + }, + collider = { + params = { + + }, + type = "MESH", + + }, + lods = { + { + animations = { + + }, + children = { { + id = "vehicle/train/chme2/chme2b_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/chme2/chme2_vent1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.35235, 0, 0, 1, + }, + type = "MESH", + + }, { + id = "vehicle/train/chme2_lod_0_bogie.grp", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.26885, 0, 0, 1, + }, + type = "GROUP", + }, { + id = "vehicle/train/chme2_lod_0_bogie.grp", + transf = { + -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.37565, 0, 0, 1, + }, + type = "GROUP", + }, + }, + events = { + drive = { + [2] = { + forward = false, + name = "ventanim", + } + }, + + }, + matConfigs = { + { + 0, 0, 0, 0, 0, 0, 0, + }, + }, + static = false, + visibleFrom = 0, + visibleTo = 200, + + }, + { + animations = { + + }, + children = { { + id = "vehicle/train/chme2/chme2b_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/chme2/chme2_vent1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.35235, 0, 0, 1, + }, + type = "MESH", + + },{ + id = "vehicle/train/chme2_lod_1_bogie.grp", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.26885, 0, 0, 1, + }, + type = "GROUP", + }, { + id = "vehicle/train/chme2_lod_1_bogie.grp", + transf = { + -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.37565, 0, 0, 1, + }, + type = "GROUP", + }, + }, + events = { + drive = { + [2] = { + forward = false, + name = "ventanim", + } + }, + + }, + matConfigs = { + { + 0, 0, 0, 0, 0, 0, 0, + }, + }, + static = false, + visibleFrom = 200, + visibleTo = 500, + + }, + { + animations = { + + }, + children = { { + id = "vehicle/train/chme2/chme2b_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, + }, + }, + static = false, + visibleFrom = 500, + visibleTo = 2200, + + }, + }, + metadata = { + description = { + name = _("ЧМЭ2"), + description = _( + "ЧМЭ2 - чехословацкий маневровый тепловоз с электропередачей. В конце 50-х годов на железных дорогах Советского Союза началось массовое списание паровозов, а производство отечественных тепловозов с электропередачей только началось. Поэтому для замены маневровых паровозов было принято решение закупить партию тепловозов в Венгрии и Чехословакии. Положительный опыт использования ЧМЭ2 на железных дорогах Советского Союза в немалой степени поспособствовал появлению в СССР одного из самых известных маневровых тепловозов - ЧМЭ3.") + }, + railVehicle = { + topSpeed = 80.0, + weight = 74.0, + engines = { + { type = "DIESEL", power = 550.0, tractiveEffort = 170.0 } + }, + configs = { + { + axles = { + "vehicle/train/chme2/chme2_w_lod0.msh", + } + }, + { + axles = { + "vehicle/train/chme2/chme2_w_lod0.msh", + } + }, + { + axles = { + "vehicle/train/chme2/chme2_w_lod0.msh", + } + } + }, + soundSet = { name = "chme2" } + + }, + transportVehicle = { + carrier = "RAIL" + }, + availability = { + --yearFrom = 1957, + yearTo = 1966 + }, + cost = { + price = 550000 + + }, + maintenance = { + runningCosts = 350000, + lifespan = 45 + }, + particleSystem = { + emitters = { + { + position = {1.66097, 0.61654, 4.38 }, + velocity = { .0, .0, 2.0 }, + color = { .15, .15, .15 }, + frequency = 30, + lifeTime = 2.0, + size01 = { .4, 4.0 }, + child = 1 + }, + } + } + + + }, + +} +end diff --git a/res/models/model/vehicle/train/ra1.mdl b/res/models/model/vehicle/train/ra1.mdl new file mode 100644 index 0000000..b9b6f8a --- /dev/null +++ b/res/models/model/vehicle/train/ra1.mdl @@ -0,0 +1,372 @@ +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 может эксплуатироваться как одиночно, так и по системе многих единиц в сцепах по 2−3 секции.") + }, + 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 = 1980 + }, + cost = { + price = 350000 + }, + maintenance = { + runningCosts = 150000, + lifespan = 45 + } + }, + +} +end diff --git a/res/models/model/vehicle/train/ra1pid.mdl b/res/models/model/vehicle/train/ra1pid.mdl new file mode 100644 index 0000000..d706808 --- /dev/null +++ b/res/models/model/vehicle/train/ra1pid.mdl @@ -0,0 +1,372 @@ +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/ra1pid/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/ra1pid/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/ra1pid/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/ra1pid/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/ra1pid/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/ra1pid/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/ra1pid/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/ra1pid/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/ra1pid/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/ra1pid/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/ra1pid/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 может эксплуатироваться как одиночно, так и по системе многих единиц в сцепах по 2−3 секции.") + }, + 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 = 2007, + --yearTo = 1980 + }, + cost = { + price = 350000 + }, + maintenance = { + runningCosts = 150000, + lifespan = 45 + } + }, + +} +end diff --git a/res/textures/models/vehicle/train/chme2.tga b/res/textures/models/vehicle/train/chme2.tga new file mode 100644 index 0000000..1710f4e Binary files /dev/null and b/res/textures/models/vehicle/train/chme2.tga differ diff --git a/res/textures/models/vehicle/train/chme2n.tga b/res/textures/models/vehicle/train/chme2n.tga new file mode 100644 index 0000000..8be7221 Binary files /dev/null and b/res/textures/models/vehicle/train/chme2n.tga differ diff --git a/res/textures/models/vehicle/train/ra1.tga b/res/textures/models/vehicle/train/ra1.tga new file mode 100644 index 0000000..f196f8f Binary files /dev/null and b/res/textures/models/vehicle/train/ra1.tga differ diff --git a/res/textures/models/vehicle/train/ra1_nrml.tga b/res/textures/models/vehicle/train/ra1_nrml.tga new file mode 100644 index 0000000..73adcaa Binary files /dev/null and b/res/textures/models/vehicle/train/ra1_nrml.tga differ diff --git a/res/textures/models/vehicle/train/ra1pid.tga b/res/textures/models/vehicle/train/ra1pid.tga new file mode 100644 index 0000000..0ce692a Binary files /dev/null and b/res/textures/models/vehicle/train/ra1pid.tga differ diff --git a/res/textures/ui/models_small/vehicle/train/chme2a.tga b/res/textures/ui/models_small/vehicle/train/chme2a.tga new file mode 100644 index 0000000..4ebd5d9 Binary files /dev/null and b/res/textures/ui/models_small/vehicle/train/chme2a.tga differ diff --git a/res/textures/ui/models_small/vehicle/train/chme2b.tga b/res/textures/ui/models_small/vehicle/train/chme2b.tga new file mode 100644 index 0000000..2994546 Binary files /dev/null and b/res/textures/ui/models_small/vehicle/train/chme2b.tga differ diff --git a/res/textures/ui/models_small/vehicle/train/ra1.tga b/res/textures/ui/models_small/vehicle/train/ra1.tga new file mode 100644 index 0000000..535ece0 Binary files /dev/null and b/res/textures/ui/models_small/vehicle/train/ra1.tga differ diff --git a/res/textures/ui/models_small/vehicle/train/ra1pid.tga b/res/textures/ui/models_small/vehicle/train/ra1pid.tga new file mode 100644 index 0000000..3aecef5 Binary files /dev/null and b/res/textures/ui/models_small/vehicle/train/ra1pid.tga differ