diff --git a/res/audio/effects/vehicle/chs7pid.wav b/res/audio/effects/vehicle/chs7pid.wav new file mode 100644 index 0000000..35bb1d2 Binary files /dev/null and b/res/audio/effects/vehicle/chs7pid.wav differ diff --git a/res/audio/effects/vehicle/chs7pidhorn.wav b/res/audio/effects/vehicle/chs7pidhorn.wav new file mode 100644 index 0000000..0a1f08c Binary files /dev/null and b/res/audio/effects/vehicle/chs7pidhorn.wav differ diff --git a/res/config/multiple_unit/chs7pid.lua b/res/config/multiple_unit/chs7pid.lua new file mode 100644 index 0000000..dd29844 --- /dev/null +++ b/res/config/multiple_unit/chs7pid.lua @@ -0,0 +1,10 @@ +function data() +return { + vehicles = { + { name = "vehicle/train/chs7pids1.mdl", forward = true }, + { name = "vehicle/train/chs7pids2.mdl", forward = true }, + }, + name = _(" ЧС7"), + desc = _(" Чехословацкий пассажирский электровоз постоянного токавысокой мощности (заводское обозначение - 82Е). Выпускался заводом Шкода для Советских железных дорог. Наравне с ЧС8 является наиболее мощным пассажирским электровозом на железных дорогах бывшего СССР.") +} +end diff --git a/res/config/sound_set/chs7pid.lua b/res/config/sound_set/chs7pid.lua new file mode 100644 index 0000000..e04ca24 --- /dev/null +++ b/res/config/sound_set/chs7pid.lua @@ -0,0 +1,44 @@ +function data() +return { + type = "GENERIC", + refDist = 25.0, + horn = "vehicle/train_diesel/horn_24_Diesel.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/chs7pid.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/chs8_lod_0_pid_bogie.grp b/res/models/group/vehicle/train/chs8_lod_0_pid_bogie.grp new file mode 100644 index 0000000..4acd25c --- /dev/null +++ b/res/models/group/vehicle/train/chs8_lod_0_pid_bogie.grp @@ -0,0 +1,30 @@ +function data() +return { + children = { + { + id = "vehicle/train/chs7pid/chs8_lod_0_b1_1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, + }, + type = "MESH", + }, { + id = "vehicle/train/chs7pid/chs8_lod_0_w1_1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.1216, 0, 0.6534, 1, + }, + type = "MESH", + + }, { + id = "vehicle/train/chs7pid/chs8_lod_0_w1_1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.7528, 0, 0.6534, 1, + }, + type = "MESH", + + }, + }, + matConfigs = { + { 0, 0, 0, 0} + }, +} +end diff --git a/res/models/group/vehicle/train/chs8_lod_1_pid_bogie.grp b/res/models/group/vehicle/train/chs8_lod_1_pid_bogie.grp new file mode 100644 index 0000000..9e67126 --- /dev/null +++ b/res/models/group/vehicle/train/chs8_lod_1_pid_bogie.grp @@ -0,0 +1,30 @@ +function data() +return { + children = { + { + id = "vehicle/train/chs7pid/chs8_lod_1_b1_1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, + }, + type = "MESH", + }, { + id = "vehicle/train/chs7pid/chs8_lod_1_w1_1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.4262, 0, 0.6534, 1, + }, + type = "MESH", + + }, { + id = "vehicle/train/chs7pid/chs8_lod_1_w1_1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.45305, 0, 0.6534, 1, + }, + type = "MESH", + + }, + }, + matConfigs = { + { 0, 0, 0, 0} + }, +} +end diff --git a/res/models/group/vehicle/train/chs8_lod_2_pid_bogie.grp b/res/models/group/vehicle/train/chs8_lod_2_pid_bogie.grp new file mode 100644 index 0000000..39f33cd --- /dev/null +++ b/res/models/group/vehicle/train/chs8_lod_2_pid_bogie.grp @@ -0,0 +1,30 @@ +function data() +return { + children = { + { + id = "vehicle/train/chs7pid/chs8_lod_2_b1_1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, + }, + type = "MESH", + }, { + id = "vehicle/train/chs7pid/chs8_lod_1_w1_1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.4262, 0, 0.6534, 1, + }, + type = "MESH", + + }, { + id = "vehicle/train/chs7pid/chs8_lod_1_w1_1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.45305, 0, 0.6534, 1, + }, + type = "MESH", + + }, + }, + matConfigs = { + { 0, 0, 0, 0} + }, +} +end diff --git a/res/models/material/vehicle/train/chs7pid.mtl b/res/models/material/vehicle/train/chs7pid.mtl new file mode 100644 index 0000000..d24322d --- /dev/null +++ b/res/models/material/vehicle/train/chs7pid.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/chs7pid.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/chs7pidn.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/mesh/vehicle/train/chs7pid/chs8_lod_0_b1_1.msh b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_0_b1_1.msh new file mode 100644 index 0000000..c4cefdd --- /dev/null +++ b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_0_b1_1.msh @@ -0,0 +1,22 @@ +function data() return { + animations = { + + }, + matConfigs = { { 0, }, }, + subMeshes = { { + indices = { + normal = { count = 21876, offset = 262512, }, + position = { count = 21876, offset = 284388, }, + tangent = { count = 21876, offset = 306264, }, + uv0 = { count = 21876, offset = 328140, }, + }, + materials = { "vehicle/train/chs7pid.mtl" }, + }, }, + vertexAttr = + { + normal = { count = 65628, numComp = 3, offset = 0, }, + position = { count = 65628, numComp = 3, offset = 65628, }, + tangent = { count = 87504, numComp = 4, offset = 131256, }, + uv0 = { count = 43752, numComp = 2, offset = 218760, }, + }, +} end \ No newline at end of file diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8_lod_0_b1_1.msh.blob b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_0_b1_1.msh.blob new file mode 100644 index 0000000..aae8903 Binary files /dev/null and b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_0_b1_1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8_lod_0_w1_1.msh b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_0_w1_1.msh new file mode 100644 index 0000000..a74cb4d --- /dev/null +++ b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_0_w1_1.msh @@ -0,0 +1,22 @@ +function data() return { + animations = { + + }, + matConfigs = { { 0, }, }, + subMeshes = { { + indices = { + normal = { count = 4536, offset = 54432, }, + position = { count = 4536, offset = 58968, }, + tangent = { count = 4536, offset = 63504, }, + uv0 = { count = 4536, offset = 68040, }, + }, + materials = { "vehicle/train/chs7pid.mtl" }, + }, }, + vertexAttr = + { + normal = { count = 13608, numComp = 3, offset = 0, }, + position = { count = 13608, numComp = 3, offset = 13608, }, + tangent = { count = 18144, numComp = 4, offset = 27216, }, + uv0 = { count = 9072, numComp = 2, offset = 45360, }, + }, +} end \ No newline at end of file diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8_lod_0_w1_1.msh.blob b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_0_w1_1.msh.blob new file mode 100644 index 0000000..0612e4d Binary files /dev/null and b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_0_w1_1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8_lod_1_b1_1.msh b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_1_b1_1.msh new file mode 100644 index 0000000..a705317 --- /dev/null +++ b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_1_b1_1.msh @@ -0,0 +1,22 @@ +function data() return { + animations = { + + }, + matConfigs = { { 0, }, }, + subMeshes = { { + indices = { + normal = { count = 4764, offset = 57168, }, + position = { count = 4764, offset = 61932, }, + tangent = { count = 4764, offset = 66696, }, + uv0 = { count = 4764, offset = 71460, }, + }, + materials = { "vehicle/train/chs7pid.mtl" }, + }, }, + vertexAttr = + { + normal = { count = 14292, numComp = 3, offset = 0, }, + position = { count = 14292, numComp = 3, offset = 14292, }, + tangent = { count = 19056, numComp = 4, offset = 28584, }, + uv0 = { count = 9528, numComp = 2, offset = 47640, }, + }, +} end \ No newline at end of file diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8_lod_1_b1_1.msh.blob b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_1_b1_1.msh.blob new file mode 100644 index 0000000..829176a Binary files /dev/null and b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_1_b1_1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8_lod_1_w1_1.msh b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_1_w1_1.msh new file mode 100644 index 0000000..c867e5d --- /dev/null +++ b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_1_w1_1.msh @@ -0,0 +1,22 @@ +function data() return { + animations = { + + }, + matConfigs = { { 0, }, }, + subMeshes = { { + indices = { + normal = { count = 432, offset = 5184, }, + position = { count = 432, offset = 5616, }, + tangent = { count = 432, offset = 6048, }, + uv0 = { count = 432, offset = 6480, }, + }, + materials = { "vehicle/train/chs7pid.mtl" }, + }, }, + vertexAttr = + { + normal = { count = 1296, numComp = 3, offset = 0, }, + position = { count = 1296, numComp = 3, offset = 1296, }, + tangent = { count = 1728, numComp = 4, offset = 2592, }, + uv0 = { count = 864, numComp = 2, offset = 4320, }, + }, +} end \ No newline at end of file diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8_lod_1_w1_1.msh.blob b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_1_w1_1.msh.blob new file mode 100644 index 0000000..e4ad894 Binary files /dev/null and b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_1_w1_1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8_lod_2_b1_1.msh b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_2_b1_1.msh new file mode 100644 index 0000000..6f4b674 --- /dev/null +++ b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_2_b1_1.msh @@ -0,0 +1,22 @@ +function data() return { + animations = { + + }, + matConfigs = { { 0, }, }, + subMeshes = { { + indices = { + normal = { count = 852, offset = 10224, }, + position = { count = 852, offset = 11076, }, + tangent = { count = 852, offset = 11928, }, + uv0 = { count = 852, offset = 12780, }, + }, + materials = { "vehicle/train/chs7pid.mtl" }, + }, }, + vertexAttr = + { + normal = { count = 2556, numComp = 3, offset = 0, }, + position = { count = 2556, numComp = 3, offset = 2556, }, + tangent = { count = 3408, numComp = 4, offset = 5112, }, + uv0 = { count = 1704, numComp = 2, offset = 8520, }, + }, +} end \ No newline at end of file diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8_lod_2_b1_1.msh.blob b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_2_b1_1.msh.blob new file mode 100644 index 0000000..a27f5a2 Binary files /dev/null and b/res/models/mesh/vehicle/train/chs7pid/chs8_lod_2_b1_1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8s1_lod_0_body_1.msh b/res/models/mesh/vehicle/train/chs7pid/chs8s1_lod_0_body_1.msh new file mode 100644 index 0000000..f49b1ae --- /dev/null +++ b/res/models/mesh/vehicle/train/chs7pid/chs8s1_lod_0_body_1.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 = 88140, offset = 0, }, + normal = { count = 88140, offset = 88140, }, + uv0 = { count = 88140, offset = 176280, }, + tangent = { count = 88140, offset = 264420, }, + }, + materials = { "vehicle/train/chs7pid.mtl" }, + }, + }, + vertexAttr = { + position = { count = 264420, numComp = 3, offset = 352560, }, + normal = { count = 264420, numComp = 3, offset = 616980, }, + uv0 = { count = 176280, numComp = 2, offset = 881400, }, + tangent = { count = 352560, numComp = 4, offset = 1057680, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8s1_lod_0_body_1.msh.blob b/res/models/mesh/vehicle/train/chs7pid/chs8s1_lod_0_body_1.msh.blob new file mode 100644 index 0000000..16bea8a Binary files /dev/null and b/res/models/mesh/vehicle/train/chs7pid/chs8s1_lod_0_body_1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8s1_lod_1_body_1.msh b/res/models/mesh/vehicle/train/chs7pid/chs8s1_lod_1_body_1.msh new file mode 100644 index 0000000..f422885 --- /dev/null +++ b/res/models/mesh/vehicle/train/chs7pid/chs8s1_lod_1_body_1.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 = 24048, offset = 0, }, + normal = { count = 24048, offset = 24048, }, + uv0 = { count = 24048, offset = 48096, }, + tangent = { count = 24048, offset = 72144, }, + }, + materials = { "vehicle/train/chs7pid.mtl" }, + }, + }, + vertexAttr = { + position = { count = 72144, numComp = 3, offset = 96192, }, + normal = { count = 72144, numComp = 3, offset = 168336, }, + uv0 = { count = 48096, numComp = 2, offset = 240480, }, + tangent = { count = 96192, numComp = 4, offset = 288576, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8s1_lod_1_body_1.msh.blob b/res/models/mesh/vehicle/train/chs7pid/chs8s1_lod_1_body_1.msh.blob new file mode 100644 index 0000000..5a270d1 Binary files /dev/null and b/res/models/mesh/vehicle/train/chs7pid/chs8s1_lod_1_body_1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8s1_lod_2_body_1.msh b/res/models/mesh/vehicle/train/chs7pid/chs8s1_lod_2_body_1.msh new file mode 100644 index 0000000..ac0f5a1 --- /dev/null +++ b/res/models/mesh/vehicle/train/chs7pid/chs8s1_lod_2_body_1.msh @@ -0,0 +1,22 @@ +function data() return { + animations = { + + }, + matConfigs = { { 0, }, }, + subMeshes = { { + indices = { + normal = { count = 1080, offset = 12960, }, + position = { count = 1080, offset = 14040, }, + tangent = { count = 1080, offset = 15120, }, + uv0 = { count = 1080, offset = 16200, }, + }, + materials = { "vehicle/train/chs7pid.mtl" }, + }, }, + vertexAttr = + { + normal = { count = 3240, numComp = 3, offset = 0, }, + position = { count = 3240, numComp = 3, offset = 3240, }, + tangent = { count = 4320, numComp = 4, offset = 6480, }, + uv0 = { count = 2160, numComp = 2, offset = 10800, }, + }, +} end \ No newline at end of file diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8s1_lod_2_body_1.msh.blob b/res/models/mesh/vehicle/train/chs7pid/chs8s1_lod_2_body_1.msh.blob new file mode 100644 index 0000000..1a0a514 Binary files /dev/null and b/res/models/mesh/vehicle/train/chs7pid/chs8s1_lod_2_body_1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8s2_lod_0_body_1.msh b/res/models/mesh/vehicle/train/chs7pid/chs8s2_lod_0_body_1.msh new file mode 100644 index 0000000..e7b6c60 --- /dev/null +++ b/res/models/mesh/vehicle/train/chs7pid/chs8s2_lod_0_body_1.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 = 87852, offset = 0, }, + normal = { count = 87852, offset = 87852, }, + uv0 = { count = 87852, offset = 175704, }, + tangent = { count = 87852, offset = 263556, }, + }, + materials = { "vehicle/train/chs7pid.mtl" }, + }, + }, + vertexAttr = { + position = { count = 263556, numComp = 3, offset = 351408, }, + normal = { count = 263556, numComp = 3, offset = 614964, }, + uv0 = { count = 175704, numComp = 2, offset = 878520, }, + tangent = { count = 351408, numComp = 4, offset = 1054224, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8s2_lod_0_body_1.msh.blob b/res/models/mesh/vehicle/train/chs7pid/chs8s2_lod_0_body_1.msh.blob new file mode 100644 index 0000000..0abafaa Binary files /dev/null and b/res/models/mesh/vehicle/train/chs7pid/chs8s2_lod_0_body_1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8s2_lod_1_body_1.msh b/res/models/mesh/vehicle/train/chs7pid/chs8s2_lod_1_body_1.msh new file mode 100644 index 0000000..f422885 --- /dev/null +++ b/res/models/mesh/vehicle/train/chs7pid/chs8s2_lod_1_body_1.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 = 24048, offset = 0, }, + normal = { count = 24048, offset = 24048, }, + uv0 = { count = 24048, offset = 48096, }, + tangent = { count = 24048, offset = 72144, }, + }, + materials = { "vehicle/train/chs7pid.mtl" }, + }, + }, + vertexAttr = { + position = { count = 72144, numComp = 3, offset = 96192, }, + normal = { count = 72144, numComp = 3, offset = 168336, }, + uv0 = { count = 48096, numComp = 2, offset = 240480, }, + tangent = { count = 96192, numComp = 4, offset = 288576, }, + }, +} end diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8s2_lod_1_body_1.msh.blob b/res/models/mesh/vehicle/train/chs7pid/chs8s2_lod_1_body_1.msh.blob new file mode 100644 index 0000000..21933e6 Binary files /dev/null and b/res/models/mesh/vehicle/train/chs7pid/chs8s2_lod_1_body_1.msh.blob differ diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8s2_lod_2_body_1.msh b/res/models/mesh/vehicle/train/chs7pid/chs8s2_lod_2_body_1.msh new file mode 100644 index 0000000..ac0f5a1 --- /dev/null +++ b/res/models/mesh/vehicle/train/chs7pid/chs8s2_lod_2_body_1.msh @@ -0,0 +1,22 @@ +function data() return { + animations = { + + }, + matConfigs = { { 0, }, }, + subMeshes = { { + indices = { + normal = { count = 1080, offset = 12960, }, + position = { count = 1080, offset = 14040, }, + tangent = { count = 1080, offset = 15120, }, + uv0 = { count = 1080, offset = 16200, }, + }, + materials = { "vehicle/train/chs7pid.mtl" }, + }, }, + vertexAttr = + { + normal = { count = 3240, numComp = 3, offset = 0, }, + position = { count = 3240, numComp = 3, offset = 3240, }, + tangent = { count = 4320, numComp = 4, offset = 6480, }, + uv0 = { count = 2160, numComp = 2, offset = 10800, }, + }, +} end \ No newline at end of file diff --git a/res/models/mesh/vehicle/train/chs7pid/chs8s2_lod_2_body_1.msh.blob b/res/models/mesh/vehicle/train/chs7pid/chs8s2_lod_2_body_1.msh.blob new file mode 100644 index 0000000..4948bea Binary files /dev/null and b/res/models/mesh/vehicle/train/chs7pid/chs8s2_lod_2_body_1.msh.blob differ diff --git a/res/models/model/vehicle/train/chs7pids1.mdl b/res/models/model/vehicle/train/chs7pids1.mdl new file mode 100644 index 0000000..e21aa07 --- /dev/null +++ b/res/models/model/vehicle/train/chs7pids1.mdl @@ -0,0 +1,186 @@ +function data() +return { + boundingInfo = { + bbMax = { + 8.22, 1.5827790498734, 5.9, + }, + bbMin = { + -8.619, -1.5827790498734, -0.57415497303009, + }, + + }, + collider = { + params = { + + }, + type = "MESH", + + }, + lods = { + { + animations = { + + }, + children = { { + id = "vehicle/train/chs7pid/chs8s1_lod_0_body_1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, + }, + type = "MESH", + + }, { + id = "vehicle/train/chs8_lod_0_pid_bogie.grp", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.37713, 0, 0, 1, + }, + type = "GROUP", + }, { + id = "vehicle/train/chs8_lod_0_pid_bogie.grp", + transf = { + -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -4.428, 0, 0, 1, + }, + type = "GROUP", + }, + }, + events = { + + }, + matConfigs = { + { + 0, 0, 0, + }, + }, + static = false, + visibleFrom = 0, + visibleTo = 100, + + }, { + animations = { + + }, + children = { { + id = "vehicle/train/chs7pid/chs8s1_lod_1_body_1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, + }, + type = "MESH", + + }, { + id = "vehicle/train/chs8_lod_1_pid_bogie.grp", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.0911, 0, 0, 1, + }, + type = "GROUP", + }, { + id = "vehicle/train/chs8_lod_1_pid_bogie.grp", + transf = { + -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -4.12647, 0, 0, 1, + }, + type = "GROUP", + }, + }, + events = { + + }, + matConfigs = { + { + 0, 0, 0, + }, + }, + static = false, + visibleFrom = 100, + visibleTo = 500, + + }, { + animations = { + + }, + children = { { + id = "vehicle/train/chs7pid/chs8s1_lod_2_body_1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, + }, + type = "MESH", + + }, { + id = "vehicle/train/chs8_lod_2_pid_bogie.grp", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.0911, 0, 0, 1, + }, + type = "GROUP", + }, { + id = "vehicle/train/chs8_lod_2_pid_bogie.grp", + transf = { + -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -4.12647, 0, 0, 1, + }, + type = "GROUP", + }, + }, + events = { + + }, + matConfigs = { + { + 0, 0, 0, + }, + }, + static = false, + visibleFrom = 500, + visibleTo = 2100, + + }, + }, + metadata = { + description = { + name = _("ЧС7"), + description = _( + "Чехословацкий пассажирский электровоз \n".. + "высокой мощности \n".. + "(заводское обозначение - 81Е). \n".. + "Выпускался заводом Шкода для \n".. + "Советских железных дорог.") + }, + railVehicle = { + topSpeed = 160.0, + weight = 86.0, + engines = { + { type = "ELECTRIC", power = 3045.0, tractiveEffort = 191.0 } + }, + configs = { + { + axles = { + "vehicle/train/chs7pid/chs8_lod_0_w1_1.msh", + } + }, + { + axles = { + "vehicle/train/chs7pid/chs8_lod_1_w1_1.msh", + } + }, + }, + soundSet = { name = "chs7pid", horn = "vehicle/chs7pidhorn.wav" } + + }, + transportVehicle = { + carrier = "RAIL", + multipleUnitOnly = true, + }, + availability = { + yearFrom = 2007, + yearTo = 2020 + }, + cost = { + price = 700000 + + }, + maintenance = { + runningCosts = 450000, + lifespan = 20 + }, + + + + }, + +} +end diff --git a/res/models/model/vehicle/train/chs7pids2.mdl b/res/models/model/vehicle/train/chs7pids2.mdl new file mode 100644 index 0000000..1426709 --- /dev/null +++ b/res/models/model/vehicle/train/chs7pids2.mdl @@ -0,0 +1,187 @@ +function data() +return { + boundingInfo = { + bbMax = { + 8.619, 1.5827790498734, 5.9, + }, + bbMin = { + -8.22, -1.5827790498734, -0.57415497303009, + }, + + }, + collider = { + params = { + + }, + type = "MESH", + + }, + lods = { + { + animations = { + + }, + children = { { + id = "vehicle/train/chs7pid/chs8s2_lod_0_body_1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, + }, + type = "MESH", + + }, { + id = "vehicle/train/chs8_lod_0_pid_bogie.grp", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.37713, 0, 0, 1, + }, + type = "GROUP", + }, { + id = "vehicle/train/chs8_lod_0_pid_bogie.grp", + transf = { + -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -4.428, 0, 0, 1, + }, + type = "GROUP", + }, + }, + events = { + + }, + matConfigs = { + { + 0, 0, 0, + }, + }, + static = false, + visibleFrom = 0, + visibleTo = 100, + + }, { + animations = { + + }, + children = { { + id = "vehicle/train/chs7pid/chs8s2_lod_1_body_1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, + }, + type = "MESH", + + }, { + id = "vehicle/train/chs8_lod_1_pid_bogie.grp", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.0911, 0, 0, 1, + }, + type = "GROUP", + }, { + id = "vehicle/train/chs8_lod_1_pid_bogie.grp", + transf = { + -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -4.12647, 0, 0, 1, + }, + type = "GROUP", + }, + }, + events = { + + }, + matConfigs = { + { + 0, 0, 0, + }, + }, + static = false, + visibleFrom = 100, + visibleTo = 500, + + }, { + animations = { + + }, + children = { { + id = "vehicle/train/chs7pid/chs8s2_lod_2_body_1.msh", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, + }, + type = "MESH", + + }, { + id = "vehicle/train/chs8_lod_2_pid_bogie.grp", + transf = { + 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.0911, 0, 0, 1, + }, + type = "GROUP", + }, { + id = "vehicle/train/chs8_lod_2_pid_bogie.grp", + transf = { + -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -4.12647, 0, 0, 1, + }, + type = "GROUP", + }, + }, + events = { + + }, + matConfigs = { + { + 0, 0, 0, + }, + }, + static = false, + visibleFrom = 500, + visibleTo = 2100, + + }, + }, + metadata = { + description = { + name = _("ЧС7"), + description = _( + "Чехословацкий пассажирский электровоз \n".. + "высокой мощности \n".. + "(заводское обозначение - 81Е). \n".. + "Выпускался заводом Шкода для \n".. + "Советских железных дорог.") + }, + railVehicle = { + topSpeed = 160.0, + weight = 86.0, + engines = { + { type = "ELECTRIC", power = 3045.0, tractiveEffort = 191.0 } + }, + configs = { + { + axles = { + "vehicle/train/chs7pid/chs8_lod_0_w1_1.msh", + } + }, + { + axles = { + "vehicle/train/chs7pid/chs8_lod_1_w1_1.msh", + } + }, + }, + soundSet = { name = "chs7pid", horn = "vehicle/chs7pidhorn.wav" } + + }, + transportVehicle = { + carrier = "RAIL", + multipleUnitOnly = true, + }, + availability = { + yearFrom = 2007, + yearTo = 2020 + }, + cost = { + price = 700000 + + }, + maintenance = { + runningCosts = 450000, + lifespan = 20 + }, + + + + }, + +} +end + diff --git a/res/textures/models/vehicle/train/chs7pid.tga b/res/textures/models/vehicle/train/chs7pid.tga new file mode 100644 index 0000000..681d867 Binary files /dev/null and b/res/textures/models/vehicle/train/chs7pid.tga differ diff --git a/res/textures/models/vehicle/train/chs7pidn.tga b/res/textures/models/vehicle/train/chs7pidn.tga new file mode 100644 index 0000000..567ef2a Binary files /dev/null and b/res/textures/models/vehicle/train/chs7pidn.tga differ diff --git a/res/textures/ui/models_small/vehicle/train/chs7pids1.tga b/res/textures/ui/models_small/vehicle/train/chs7pids1.tga new file mode 100644 index 0000000..49b59d0 Binary files /dev/null and b/res/textures/ui/models_small/vehicle/train/chs7pids1.tga differ diff --git a/res/textures/ui/models_small/vehicle/train/chs7pids2.tga b/res/textures/ui/models_small/vehicle/train/chs7pids2.tga new file mode 100644 index 0000000..11cc206 Binary files /dev/null and b/res/textures/ui/models_small/vehicle/train/chs7pids2.tga differ