Добавлен автомобиль ГАЗ-М1

This commit is contained in:
Alex_BY 2016-03-25 00:10:14 +03:00
parent f4fde87186
commit c414bf8ad3
10 changed files with 213 additions and 0 deletions

View File

@ -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

View File

@ -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

Binary file not shown.

View File

@ -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

Binary file not shown.

View File

@ -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

Binary file not shown.

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB