123 lines
2.5 KiB
Plaintext
Executable File
123 lines
2.5 KiB
Plaintext
Executable File
local vec3 = require "vec3"
|
|
local transf = require "transf"
|
|
|
|
function data()
|
|
return {
|
|
lods = {
|
|
{
|
|
animations = {
|
|
|
|
},
|
|
children = {
|
|
{
|
|
id = "vehicle/train/borsig_1860_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/borsig_1860_lod_0_coalcar.grp",
|
|
transf = {
|
|
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -5.8124, 0, 0, 1,
|
|
},
|
|
type = "GROUP",
|
|
|
|
},
|
|
},
|
|
events = {
|
|
drive = {
|
|
[1] = {
|
|
forward = true,
|
|
name = "drive",
|
|
}
|
|
|
|
},
|
|
},
|
|
matConfigs = {
|
|
{
|
|
0, 0,
|
|
},
|
|
},
|
|
static = false,
|
|
visibleFrom = 0,
|
|
visibleTo = 1320,
|
|
|
|
},
|
|
},
|
|
metadata = {
|
|
description = {
|
|
name = _("Borsig"),
|
|
description = _("Borsig was a German company based in Berlin. For that time it was a very competitive model, but it was still manufactured without a roofed cabine.")
|
|
},
|
|
railVehicle = {
|
|
topSpeed = 45,
|
|
weight = 32,
|
|
engines = {
|
|
{ type = "STEAM", power = 90, tractiveEffort = 20 }
|
|
},
|
|
configs = {
|
|
{
|
|
axles = {
|
|
"vehicle/train/borsig_1860/lod_0_w1.msh",
|
|
"vehicle/train/borsig_1860/lod_0_w2.msh",
|
|
"vehicle/train/borsig_1860/lod_0_w4.msh",
|
|
}
|
|
}
|
|
},
|
|
soundSet = { name = "train_steam_old", horn = "vehicle/train_steam_old/steam_horn_6.wav" }
|
|
},
|
|
transportVehicle = {
|
|
carrier = "RAIL",
|
|
seats = {
|
|
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-3.4, 0.6, 1.2)), crew = true, standing = true},
|
|
},
|
|
},
|
|
availability = {
|
|
yearFrom = 1862,
|
|
yearTo = 1866
|
|
},
|
|
cost = {
|
|
price = -1
|
|
|
|
},
|
|
maintenance = {
|
|
runningCosts = -1,
|
|
lifespan = 30
|
|
},
|
|
particleSystem = {
|
|
emitters = {
|
|
{
|
|
position = { 2.6578, .0, 4.1311},
|
|
velocity = { .0, .0, 10.0 },
|
|
color = { .3, .3, .3 },
|
|
frequency = 80,
|
|
lifeTime = 20.0,
|
|
size01 = { .8, 10.0 },
|
|
child = 1
|
|
},
|
|
{
|
|
position = { 2.0035, 0.4482, .0 },
|
|
velocity = { .0, 4.0, 0.0 },
|
|
color = { .4, .4, .4 },
|
|
frequency = 12,
|
|
lifeTime = 10.0,
|
|
size01 = { .8, 10.0 },
|
|
child = 1
|
|
},
|
|
{
|
|
position = { 2.0035, -0.4482, .0 },
|
|
velocity = { .0, -4.0, 0.0 },
|
|
color = { .4, .4, .4 },
|
|
frequency = 12,
|
|
lifeTime = 10.0,
|
|
size01 = { .8, 10.0 },
|
|
child = 1
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
}
|
|
end
|