45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
function data() return {
|
|
animations = {
|
|
open_doors = {
|
|
type = "KEYFRAME",
|
|
params = {
|
|
origin = { 0, 0, 0 },
|
|
keyframes = {
|
|
{ time = 0,
|
|
rot = { 0, 0, 0 },
|
|
transl = { 0, 0, 0 }
|
|
|
|
}, {
|
|
time = 100,
|
|
rot = { 0, 0, 0 },
|
|
transl = { -0.1, 0, 0 }
|
|
|
|
},
|
|
},
|
|
|
|
|
|
},
|
|
|
|
|
|
},
|
|
},
|
|
matConfigs = { { 0 } },
|
|
subMeshes = {
|
|
{ -- Object 0
|
|
indices = {
|
|
position = { count = 240, offset = 0, },
|
|
normal = { count = 240, offset = 240, },
|
|
uv0 = { count = 240, offset = 480, },
|
|
tangent = { count = 240, offset = 720, },
|
|
},
|
|
materials = { "vehicle/train/2es5_light.mtl" }, -- Material "wire_134006006"
|
|
},
|
|
},
|
|
vertexAttr = {
|
|
position = { count = 720, numComp = 3, offset = 960, },
|
|
normal = { count = 720, numComp = 3, offset = 1680, },
|
|
uv0 = { count = 480, numComp = 2, offset = 2400, },
|
|
tangent = { count = 960, numComp = 4, offset = 2880, },
|
|
},
|
|
} end
|