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

141 lines
2.6 KiB
Plaintext
Executable File

local vec3 = require "vec3"
local transf = require "transf"
function data()
return {
boundingInfo = {
bbMax = {
7.5803556442261, 1.5251049995422, 4.1649751663208,
},
bbMin = {
-7.5355091094971, -1.5251049995422, -0.025150001049042,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/train/br53preusg3_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/br53preusg3_lod_0_coalcar.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -4.4561, 0, 0, 1,
},
type = "GROUP",
},
},
events = {
drive = {
[1] = {
forward = true,
name = "drive",
}
},
},
matConfigs = {
{
0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 1480,
},
},
metadata = {
description = {
name = _("Class 53 Prussian G 3"),
description = _(
"The Class G 3 was a family of six-coupled, medium-powered, freight train, tank locomotives.")
},
railVehicle = {
topSpeed = 50,
weight = 38,
engines = {
{ type = "STEAM", power = 160, tractiveEffort = 60 }
},
configs = {
{
axles = {
"vehicle/train/br53_preus_g3/lod_0_w1.msh",
"vehicle/train/br53_preus_g3/lod_0_w2.msh",
"vehicle/train/br53_preus_g3/lod_0_w3.msh",
}
}
},
soundSet = "train_steam_old"
},
transportVehicle = {
carrier = "RAIL",
seats = {
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.1, -.9, 1.22)), crew = true, standing = true},
},
},
availability = {
yearFrom = 3000,
yearTo = 3000
},
cost = {
price = -1
},
maintenance = {
runningCosts = -1,
lifespan = 30
},
particleSystem = {
emitters = {
{
position = { 5.857, .0, 4.165},
velocity = { .0, .0, 10.0 },
color = { .3, .3, .3 },
frequency = 80,
lifeTime = 20.0,
size01 = { .8, 10.0 },
child = 1
},
{
position = { 5.4388, 1.4608, .0 },
velocity = { .0, 4.0, 0.0 },
color = { .4, .4, .4 },
frequency = 12,
lifeTime = 10.0,
size01 = { .8, 10.0 },
child = 1
},
{
position = { 5.4388, -1.4608, .0 },
velocity = { .0, -4.0, 0.0 },
color = { .4, .4, .4 },
frequency = 12,
lifeTime = 10.0,
size01 = { .8, 10.0 },
child = 1
}
}
}
},
}
end