diff --git a/res/models/material/vehicle/car/gazm1.mtl b/res/models/material/vehicle/car/gazm1.mtl new file mode 100644 index 0000000..d9a3ccd --- /dev/null +++ b/res/models/material/vehicle/car/gazm1.mtl @@ -0,0 +1,50 @@ +function data() +return { + params = { + fade_out_range = { + fadeOutEndDist = 20000, + fadeOutStartDist = 10000, + }, + map_color_reflect = { + compressionAllowed = true, + fileName = "models/vehicle/car/gazm1.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/car/gazm1_n.tga", + magFilter = "LINEAR", + minFilter = "LINEAR_MIPMAP_LINEAR", + mipmapAlphaScale = 0, + type = "TWOD", + wrapS = "REPEAT", + wrapT = "REPEAT", + + }, + props = { + coeffs = { + 1, 1, 0.25, 20, + }, + }, + two_sided = { + twoSided = false, + }, + }, + type = "REFLECTIVE", +} +end \ No newline at end of file diff --git a/res/models/mesh/vehicle/car/gazm1/gazm1_body.msh b/res/models/mesh/vehicle/car/gazm1/gazm1_body.msh new file mode 100644 index 0000000..b768758 --- /dev/null +++ b/res/models/mesh/vehicle/car/gazm1/gazm1_body.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 = 25008, offset = 0, }, + normal = { count = 25008, offset = 25008, }, + uv0 = { count = 25008, offset = 50016, }, + tangent = { count = 25008, offset = 75024, }, + }, + materials = { "vehicle/car/gazm1.mtl" }, -- Material "volga" + }, + }, + vertexAttr = { + position = { count = 75024, numComp = 3, offset = 100032, }, + normal = { count = 75024, numComp = 3, offset = 175056, }, + uv0 = { count = 50016, numComp = 2, offset = 250080, }, + tangent = { count = 100032, numComp = 4, offset = 300096, }, + }, +} end diff --git a/res/models/mesh/vehicle/car/gazm1/gazm1_body.msh.blob b/res/models/mesh/vehicle/car/gazm1/gazm1_body.msh.blob new file mode 100644 index 0000000..b3b3f7f Binary files /dev/null and b/res/models/mesh/vehicle/car/gazm1/gazm1_body.msh.blob differ diff --git a/res/models/mesh/vehicle/car/gazm1/gazm1_w1.msh b/res/models/mesh/vehicle/car/gazm1/gazm1_w1.msh new file mode 100644 index 0000000..677be32 --- /dev/null +++ b/res/models/mesh/vehicle/car/gazm1/gazm1_w1.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 = 3792, offset = 0, }, + normal = { count = 3792, offset = 3792, }, + uv0 = { count = 3792, offset = 7584, }, + tangent = { count = 3792, offset = 11376, }, + }, + materials = { "vehicle/car/gazm1.mtl" }, -- Material "volga" + }, + }, + vertexAttr = { + position = { count = 11376, numComp = 3, offset = 15168, }, + normal = { count = 11376, numComp = 3, offset = 26544, }, + uv0 = { count = 7584, numComp = 2, offset = 37920, }, + tangent = { count = 15168, numComp = 4, offset = 45504, }, + }, +} end diff --git a/res/models/mesh/vehicle/car/gazm1/gazm1_w1.msh.blob b/res/models/mesh/vehicle/car/gazm1/gazm1_w1.msh.blob new file mode 100644 index 0000000..4cdf9ed Binary files /dev/null and b/res/models/mesh/vehicle/car/gazm1/gazm1_w1.msh.blob differ diff --git a/res/models/mesh/vehicle/car/gazm1/gazm1_w2.msh b/res/models/mesh/vehicle/car/gazm1/gazm1_w2.msh new file mode 100644 index 0000000..5e7abec --- /dev/null +++ b/res/models/mesh/vehicle/car/gazm1/gazm1_w2.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 = 1896, offset = 0, }, + normal = { count = 1896, offset = 1896, }, + uv0 = { count = 1896, offset = 3792, }, + tangent = { count = 1896, offset = 5688, }, + }, + materials = { "vehicle/car/gazm1.mtl" }, -- Material "volga" + }, + }, + vertexAttr = { + position = { count = 5688, numComp = 3, offset = 7584, }, + normal = { count = 5688, numComp = 3, offset = 13272, }, + uv0 = { count = 3792, numComp = 2, offset = 18960, }, + tangent = { count = 7584, numComp = 4, offset = 22752, }, + }, +} end diff --git a/res/models/mesh/vehicle/car/gazm1/gazm1_w2.msh.blob b/res/models/mesh/vehicle/car/gazm1/gazm1_w2.msh.blob new file mode 100644 index 0000000..6a14b1f Binary files /dev/null and b/res/models/mesh/vehicle/car/gazm1/gazm1_w2.msh.blob differ diff --git a/res/models/model/vehicle/car/gazm1.mdl b/res/models/model/vehicle/car/gazm1.mdl new file mode 100644 index 0000000..34ade50 --- /dev/null +++ b/res/models/model/vehicle/car/gazm1.mdl @@ -0,0 +1,94 @@ +function data() +return { + boundingInfo = { + bbMax = { + 1.93355, 0.96442, 1.72905, + }, + bbMin = { + -2.26695, -0.89262, 0.0, + }, + }, + collider = { + params = { + + }, + type = "MESH", + }, + lods = { + { + animations = { + }, + children = { + { + id = "vehicle/car/gazm1/gazm1_body.msh", + transf = { + 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.03342, 0.0, 1.0, + }, + type = "MESH", + }, { + id = "vehicle/car/gazm1/gazm1_w2.msh", + transf = { + 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.3288, -0.7108, 0.35385, 1.0, + }, + type = "MESH", + }, { + id = "vehicle/car/gazm1/gazm1_w2.msh", + transf = { + -1.0, -0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.3288, 0.7108, 0.35385, 1.0, + }, + type = "MESH", + }, { + id = "vehicle/car/gazm1/gazm1_w1.msh", + transf = { + 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, -1.29155, -0.00017, 0.35385, 1.0, + }, + type = "MESH", + }, + }, + events = { + }, + matConfigs = { + { + 0, 0, 0, 0, 0, + }, + }, + static = false, + visibleFrom = 0, + visibleTo = 400, + }, + }, + metadata = { + availability = { + yearFrom = 1936, + yearTo = 1955, + }, + + + car = { + + }, + roadVehicle = { + configs = { + { + axles = { "vehicle/car/gazm1/gazm1_w1.msh", }, + fakeBogies = {{ group = 0, offset = 0, position = 0, }, }, + wheels = { "vehicle/car/gazm1/gazm1_w2.msh", }, + + }, + }, + power = 60, + soundSet = { + horn = "", + name = "", + + }, + topSpeed = 100, + tractiveEffort = 5, + weight = 1.6, + + }, + }, + +} +end + \ No newline at end of file diff --git a/res/textures/models/vehicle/car/gazm1.tga b/res/textures/models/vehicle/car/gazm1.tga new file mode 100644 index 0000000..870434c Binary files /dev/null and b/res/textures/models/vehicle/car/gazm1.tga differ diff --git a/res/textures/models/vehicle/car/gazm1_n.tga b/res/textures/models/vehicle/car/gazm1_n.tga new file mode 100644 index 0000000..14263ef Binary files /dev/null and b/res/textures/models/vehicle/car/gazm1_n.tga differ