disablevanillavehicles_1520dlc/res/models/model/vehicle/train/lner_class_a4.mdl

374 lines
8.7 KiB
Plaintext
Executable File

local vec3 = require "vec3"
local transf = require "transf"
function data()
return {
boundingInfo = {
bbMax = {
7.7369499206543, 1.4122450351715, 4.0343117713928,
},
bbMin = {
-13.642044067383, -1.4122450351715, -0.070711970329285,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/train/lner_class_a4/lod_2_a4.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/lner_class_a4/lod_2_coalcar.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -9.5486001968384, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/lner_class_a4/lod_2_g2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.66769999265671, 0, 0.7049999833107, 1,
},
type = "MESH",
}, {
id = "vehicle/train/lner_class_a4/lod_2_g3.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.66500002145767, 0, 0.7049999833107, 1,
},
type = "MESH",
}, {
id = "vehicle/train/lner_class_a4/lod_2_g4.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.0145998001099, 0, 0.82679998874664, 1,
},
type = "MESH",
}, {
id = "vehicle/train/lner_class_a4/lod_2_g5.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.395299911499, 0, 0.82330000400543, 1,
},
type = "MESH",
}, {
id = "vehicle/train/lner_class_a4/lod_2_g6.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.3962998390198, 0, 0.72869998216629, 1,
},
type = "MESH",
}, {
id = "vehicle/train/lner_class_a4/lod_2_g7.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.3215999603271, 0, 1.6866999864578, 1,
},
type = "MESH",
}, {
id = "vehicle/train/lner_class_a4/lod_2_g9.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.67320001125336, 0, 1.0255999565125, 1,
},
type = "MESH",
}, {
id = "vehicle/train/lner_class_a4/lod_2_w7.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -11.920700073242, 0, 0.55870002508163, 1,
},
type = "MESH",
}, {
id = "vehicle/train/lner_class_a4/lod_2_w3.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.8698999881744, 0, 1.01859998703, 1,
},
type = "MESH",
}, {
id = "vehicle/train/lner_class_a4/lod_2_w3.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.66500002145767, 0, 1.01859998703, 1,
},
type = "MESH",
}, {
id = "vehicle/train/lner_class_a4/lod_2_w3.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.5398000478745, 0, 1.01859998703, 1,
},
type = "MESH",
}, {
id = "vehicle/train/lner_class_a4/lod_2_w6.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -4.443699836731, 0, 0.44980001449585, 1,
},
type = "MESH",
}, {
id = "vehicle/train/lner_class_a4/lod_2_w7.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -7.2048001289368, 0, 0.55870002508163, 1,
},
type = "MESH",
}, {
id = "vehicle/train/lner_class_a4/lod_2_w7.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -8.7768001556396, 0, 0.55870002508163, 1,
},
type = "MESH",
}, {
id = "vehicle/train/lner_class_a4/lod_2_w7.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -10.348799705505, 0, 0.55870002508163, 1,
},
type = "MESH",
}, {
id = "vehicle/train/lner_class_a4/lod_2_b1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 5.5448999404907, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/lner_class_a4/lod_2_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.500500202179, 0, 0.48989999294281, 1,
},
type = "MESH",
}, {
id = "vehicle/train/lner_class_a4/lod_2_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 6.463399887085, 0, 0.48989999294281, 1,
},
type = "MESH",
},
},
events = {
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 300,
visibleTo = 1750,
}, {
animations = {
},
children = {
{
id = "vehicle/train/lner_class_a4_lod_1_body.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/lner_class_a4_lod_1_coalcar.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -9.5445995330811, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/lner_class_a4_lod_1_bogie1.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 5.5487999916077, 0, 0, 1,
},
type = "GROUP",
},
},
events = {
drive = {
{
forward = true,
name = "drive",
},
},
},
matConfigs = {
{
0, 0, 0,
},
},
static = false,
visibleFrom = 130,
visibleTo = 300,
}, {
animations = {
},
children = {
{
id = "vehicle/train/lner_class_a4_lod_0_body.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/lner_class_a4_lod_0_coalcar.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -9.5445995330811, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/lner_class_a4_lod_0_bogie1.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 5.5487999916077, 0, 0, 1,
},
type = "GROUP",
},
},
events = {
drive = {
{
forward = true,
name = "drive",
},
},
},
matConfigs = {
{
0, 0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 130,
},
},
metadata = {
description = {
name = _("Class A4"),
description = _("A streamlined 4-6-2 steam locomotive designed by Nigel Gresley for the London and North Eastern Railway. The \"4468 Mallard\" still holds the world record as the fastest steam locomotive.")
},
railVehicle = {
configs = {
{
}, {
axles = {
"vehicle/train/lner_class_a4/lod_1_w7.msh",
"vehicle/train/lner_class_a4/lod_1_w3.msh",
"vehicle/train/lner_class_a4/lod_1_w6.msh",
"vehicle/train/lner_class_a4/lod_1_w1.msh",
"vehicle/train/lner_class_a4/lod_1_w2.msh",
},
}, {
axles = {
"vehicle/train/lner_class_a4/lod_0_w7.msh",
"vehicle/train/lner_class_a4/lod_0_w3.msh",
"vehicle/train/lner_class_a4/lod_0_w6.msh",
"vehicle/train/lner_class_a4/lod_0_w1.msh",
"vehicle/train/lner_class_a4/lod_0_w2.msh",
},
},
},
engines = {
{
power = 1986,
tractiveEffort = 150,
type = "STEAM",
},
},
topSpeed = 145,
weight = 105,
soundSet = { name = "train_steam_modern", horn = "vehicle/train_steam_old/steam_horn_12.wav" }
},
transportVehicle = {
seats = {
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-4.7, -0.6, 1.3)), crew = true, standing = true},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(30.0, 0.0, 0.0), vec3.new(-5, 0.7, 1.3)), crew = true, standing = true},
},
capacities = {
},
carrier = "RAIL",
},
availability = {
yearFrom = 1935,
yearTo = 1950
},
cost = {
price = -1
},
maintenance = {
runningCosts = -1,
lifespan = 40
},
particleSystem = {
emitters = {
{
position = { 5.2, .0, 4.0343},
velocity = { .0, .0, 10.0 },
color = { .3, .3, .3 },
frequency = 100,
lifeTime = 15.0,
size01 = { 1.0, 12.0 },
child = 1
},
{
position = { 4.6839, 1.301, .0 },
velocity = { .0, 4.0, 0.0 },
color = { .3, .3, .3 },
frequency = 24,
lifeTime = 15.0,
size01 = { .8, 10.0 },
child = 1
},
{
position = { 4.6839, -1.301, .0 },
velocity = { .0, -4.0, 0.0 },
color = { .3, .3, .3 },
frequency = 24,
lifeTime = 15.0,
size01 = { .8, 10.0 },
child = 1
}
}
}
},
}
end