130 lines
2.7 KiB
Plaintext
Executable File
130 lines
2.7 KiB
Plaintext
Executable File
local vec3 = require "vec3"
|
|
local transf = require "transf"
|
|
|
|
function data()
|
|
return {
|
|
lods = {
|
|
{
|
|
animations = {
|
|
|
|
},
|
|
children = {
|
|
{
|
|
id = "vehicle/train/a3_5_705_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/a3_5_705_lod_0_coalcar.grp",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -7.3599, 0, 0, 1,
|
|
},
|
|
type = "GROUP",
|
|
|
|
}, {
|
|
id = "vehicle/train/a3_5_705_lod_0_bogie1.grp",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 5.0275, 0, 0, 1,
|
|
},
|
|
type = "GROUP",
|
|
|
|
},
|
|
},
|
|
events = {
|
|
drive = {
|
|
[1] = {
|
|
forward = true,
|
|
name = "drive",
|
|
}
|
|
|
|
},
|
|
},
|
|
matConfigs = {
|
|
{
|
|
0, 0, 0,
|
|
},
|
|
},
|
|
static = false,
|
|
visibleFrom = 0,
|
|
visibleTo = 1700,
|
|
|
|
},
|
|
},
|
|
metadata = {
|
|
description = {
|
|
name = _("A 3/5"),
|
|
description = _("This 4-6-0 locomotive was the first really fast locomotive of the Jura-Simplon and the Gotthard line.")
|
|
},
|
|
railVehicle = {
|
|
topSpeed = 100,
|
|
weight = 107,
|
|
engines = {
|
|
{ type = "STEAM", power = 1000, tractiveEffort = 120 }
|
|
},
|
|
configs = {
|
|
{
|
|
axles = {
|
|
"vehicle/train/a3_5_705/lod_0_w1.msh",
|
|
"vehicle/train/a3_5_705/lod_0_w2.msh",
|
|
"vehicle/train/a3_5_705/lod_0_w3.msh",
|
|
"vehicle/train/a3_5_705/lod_0_w4.msh"
|
|
}
|
|
}
|
|
},
|
|
soundSet = { name = "train_steam_modern", horn = "vehicle/train_steam_old/steam_horn_20.wav" }
|
|
},
|
|
transportVehicle = {
|
|
carrier = "RAIL",
|
|
seats = {
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-3.3, -.9, 1.52)), crew = true, standing = true},
|
|
},
|
|
},
|
|
availability = {
|
|
yearFrom = 1902,
|
|
yearTo = 1949
|
|
},
|
|
cost = {
|
|
price = -1
|
|
},
|
|
maintenance = {
|
|
runningCosts = -1,
|
|
lifespan = 35
|
|
},
|
|
particleSystem = {
|
|
emitters = {
|
|
{
|
|
position = {5.0613, .0, 4.4544},
|
|
velocity = { .0, .0, 10.0 },
|
|
color = { .3, .3, .3 },
|
|
frequency = 80,
|
|
lifeTime = 20.0,
|
|
size01 = { .8, 10.0 },
|
|
child = 1
|
|
},
|
|
{
|
|
position = { 2.5735, 1.321, 0.6688 },
|
|
velocity = { .0, 4.0, 0.0 },
|
|
color = { .4, .4, .4 },
|
|
frequency = 12,
|
|
lifeTime = 10.0,
|
|
size01 = { .8, 10.0 },
|
|
child = 1
|
|
},
|
|
{
|
|
position = { 2.5735, -1.321, 0.6688 },
|
|
velocity = { .0, -4.0, 0.0 },
|
|
color = { .4, .4, .4 },
|
|
frequency = 12,
|
|
lifeTime = 10.0,
|
|
size01 = { .8, 10.0 },
|
|
child = 1
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
}
|
|
end
|