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

150 lines
3.3 KiB
Plaintext
Executable File

local vec3 = require "vec3"
local transf = require "transf"
function data()
return {
boundingInfo = {
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/train/lner_flying_scotsman_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_flying_scotsman_lod_0_coalcar.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -9.6228, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/lner_flying_scotsman_lod_0_bogie1.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.6884, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/lner_flying_scotsman_lod_0_bogie2.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.0821, 0, 0, 1,
},
type = "GROUP",
},
},
events = {
drive = {
[1] = {
forward = true,
name = "drive",
},
}
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 1670,
},
},
metadata = {
description = {
name = _("Class A3 Flying Scotsman"),
description = _("The Flying Scotsman is an express passenger train that has operated between Edinburgh and London, the capitals of Scotland and England via the East Coast Main Line.")
},
railVehicle = {
topSpeed = 120,
weight = 97.8,
engines = {
{ type = "STEAM", power = 1655, tractiveEffort = 135 }
},
configs = {
{
axles = {
"vehicle/train/lner_flying_scotsman/lod_0_w1.msh",
"vehicle/train/lner_flying_scotsman/lod_0_w2.msh",
"vehicle/train/lner_flying_scotsman/lod_0_w3.msh",
"vehicle/train/lner_flying_scotsman/lod_0_w4.msh",
"vehicle/train/lner_flying_scotsman/lod_0_w5.msh",
}
}
},
soundSet = "train_steam_modern"
},
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},
},
carrier = "RAIL"
},
availability = {
yearFrom = 1925,
yearTo = 1949
},
cost = {
price = -1
},
maintenance = {
runningCosts = -1,
lifespan = 40
},
particleSystem = {
emitters = {
{
position = {4.3632, .0, 3.8589},
velocity = { .0, .0, 10.0 },
color = { .3, .3, .3 },
frequency = 80,
lifeTime = 20.0,
size01 = { .8, 10.0 },
child = 1
},
{
position = { 4.195, 1.283, 1.0 },
velocity = { .0, 4.0, 0.0 },
color = { .4, .4, .4 },
frequency = 12,
lifeTime = 10.0,
size01 = { .8, 10.0 },
child = 1
},
{
position = { 4.195, -1.283, 1.0 },
velocity = { .0, -4.0, 0.0 },
color = { .4, .4, .4 },
frequency = 12,
lifeTime = 10.0,
size01 = { .8, 10.0 },
child = 1
}
}
}
},
}
end