diff --git a/res/models/material/depot/AN_Rail_End_Depo.mtl b/res/models/material/depot/AN_Rail_End_Depo.mtl new file mode 100644 index 0000000..d510f92 --- /dev/null +++ b/res/models/material/depot/AN_Rail_End_Depo.mtl @@ -0,0 +1,46 @@ +function data() +return { + params = { + fade_out_range = { + fadeOutEndDist = 20000, + fadeOutStartDist = 10000, + + }, + map_color_reflect = { + compressionAllowed = false, + fileName = "models/depot/AN_Rail_End_Depo.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", + + }, + 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/depot/AN_Rail_End_Depo.msh b/res/models/mesh/depot/AN_Rail_End_Depo.msh new file mode 100644 index 0000000..cbcceff --- /dev/null +++ b/res/models/mesh/depot/AN_Rail_End_Depo.msh @@ -0,0 +1,22 @@ +function data() return { + animations = { + + }, + matConfigs = { { 0, }, }, + subMeshes = { { + indices = { + normal = { count = 2424, offset = 29088, }, + position = { count = 2424, offset = 31512, }, + tangent = { count = 2424, offset = 33936, }, + uv0 = { count = 2424, offset = 36360, }, + }, + materials = { "depot/AN_Rail_End_Depo.mtl" }, + }, }, + vertexAttr = + { + normal = { count = 7272, numComp = 3, offset = 0, }, + position = { count = 7272, numComp = 3, offset = 7272, }, + tangent = { count = 9696, numComp = 4, offset = 14544, }, + uv0 = { count = 4848, numComp = 2, offset = 24240, }, + }, +} end \ No newline at end of file diff --git a/res/models/mesh/depot/AN_Rail_End_Depo.msh.blob b/res/models/mesh/depot/AN_Rail_End_Depo.msh.blob new file mode 100644 index 0000000..9ad8618 Binary files /dev/null and b/res/models/mesh/depot/AN_Rail_End_Depo.msh.blob differ diff --git a/res/models/model/depot/AN_Depo_Chernigov.mdl b/res/models/model/depot/AN_Depo_Chernigov.mdl index fb437c1..b8c0453 100644 --- a/res/models/model/depot/AN_Depo_Chernigov.mdl +++ b/res/models/model/depot/AN_Depo_Chernigov.mdl @@ -106,7 +106,7 @@ return { }, availability = { yearFrom = 1925, - yearTo = 1991, + --yearTo = 1991, }, cost = { price = 150000 diff --git a/res/models/model/depot/AN_Depo_Lvov.mdl b/res/models/model/depot/AN_Depo_Lvov.mdl index ea67101..11e28b6 100644 --- a/res/models/model/depot/AN_Depo_Lvov.mdl +++ b/res/models/model/depot/AN_Depo_Lvov.mdl @@ -106,7 +106,7 @@ return { }, availability = { yearFrom = 1914, - yearTo = 1991, + --yearTo = 1991, }, cost = { price = 60000 diff --git a/res/models/model/depot/AN_Rail_End_Depo.mdl b/res/models/model/depot/AN_Rail_End_Depo.mdl new file mode 100644 index 0000000..13b04e9 --- /dev/null +++ b/res/models/model/depot/AN_Rail_End_Depo.mdl @@ -0,0 +1,70 @@ +function data() +return { + boundingInfo = { + bbMax = { + 0.25035899877548, 0.36883100867271, 5.1077551841736, + }, + bbMin = { + -0.058359999209642, -0.36883100867271, -0.22190600633621, + }, + + }, + collider = { + params = { + + }, + type = "MESH", + + }, + lods = { + { + animations = { + + }, + children = { + { + id = "depot/AN_Rail_End_Depo.msh", + transf = { + 1, 0, 0, 0, + 0, 1, 0, 0, + 0, 0, 1, 0, + 12, 0, -0.6, 1, + }, + type = "MESH", + + }, + }, + events = { + + }, + matConfigs = { + { + 0, + }, + }, + static = false, + visibleFrom = 0, + visibleTo = 700, + + }, + }, + metadata = { + description = { + name = _("AN_Rail_End_Depo"), -- Blocker + --description = _("Description") + }, + availability = { + yearFrom = 1850, + --yearTo = 1991, + }, + cost = { + price = 10000 + }, + vehicleDepot = { + carrier = "RAIL", + capacity = 0 + }, + }, + +} +end \ No newline at end of file diff --git a/res/textures/models/depot/AN_Rail_End_Depo.tga b/res/textures/models/depot/AN_Rail_End_Depo.tga new file mode 100644 index 0000000..e5249ed Binary files /dev/null and b/res/textures/models/depot/AN_Rail_End_Depo.tga differ diff --git a/res/textures/ui/hud/depot_train.tga b/res/textures/ui/hud/depot_train.tga new file mode 100644 index 0000000..78e4286 Binary files /dev/null and b/res/textures/ui/hud/depot_train.tga differ diff --git a/res/textures/ui/models/depot/AN_Rail_End_Depo.tga b/res/textures/ui/models/depot/AN_Rail_End_Depo.tga new file mode 100644 index 0000000..191067f Binary files /dev/null and b/res/textures/ui/models/depot/AN_Rail_End_Depo.tga differ