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

128 lines
2.5 KiB
Plaintext
Executable File

local vec3 = require "vec3"
local transf = require "transf"
function data()
return {
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/train/d1_3_lod_0_body_new.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/d1_3_lod_0_coalcar_new.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -5.226, 0, 0, 1,
},
type = "GROUP",
},
},
events = {
drive = {
[1] = {
forward = true,
name = "drive",
},
}
},
matConfigs = {
{
0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 1230,
},
},
metadata = {
description = {
name = _("D 1/3"),
description = _("This legendary railway was known as the Spanisch-Brötli-Bahn, named after a delicacy of Baden, Switzerland.")
},
railVehicle = {
topSpeed = 40,
weight = 30,
engines = {
{ type = "STEAM", power = 50, tractiveEffort = 15 }
},
configs = {
{
axles = {
"vehicle/train/d1_3_new/lod_0_w2.msh",
"vehicle/train/d1_3_new/lod_0_w4.msh",
"vehicle/train/d1_3_new/lod_0_w1.msh",
}
}
},
soundSet = { name = "train_steam_old", horn = "vehicle/train_steam_old/steam_horn_10.wav" }
},
transportVehicle = {
carrier = "RAIL",
seats = {
{ group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-3.0, -0.3, 1.05)), standing = true, crew = true },
}
},
availability = {
yearFrom = 1850,
yearTo = 1866
},
cost = {
price = -1
},
maintenance = {
runningCosts = -1,
lifespan = 30
},
particleSystem = {
emitters = {
{
position = { 2.12, .0, 4.15 },
velocity = { .0, .0, 10.0 },
color = { .3, .3, .3 },
frequency = 80,
lifeTime = 20.0,
size01 = { .8, 10.0 },
child = 2
},
{
position = { 1.8, .9, .65 },
velocity = { .0, 4.0, 0.0 },
color = { .5, .5, .5 },
frequency = 12,
lifeTime = 5.0,
size01 = { .6, 8.0 },
child = 2
},
{
position = { 1.8, -.9, .65 },
velocity = { .0, -4.0, 0.0 },
color = { .5, .5, .5 },
frequency = 12,
lifeTime = 5.0,
size01 = { .6, 8.0 },
child = 2
}
}
}
},
}
end