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

230 lines
4.6 KiB
Plaintext
Executable File

local vec3 = require "vec3"
local transf = require "transf"
function data()
return {
boundingInfo = {
bbMax = {
6.7790122032166, 1.5564210414886, 4.2407069206238,
},
bbMin = {
-7.0255718231201, -1.5564210414886, -0.55601000785828,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/train/db_v100/lod_2_v100.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/db_v100_lod_2_bogie.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.3699, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/db_v100_lod_2_bogie.grp",
transf = {
-1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, -3.6164, 0, 0, 1,
},
type = "GROUP",
},
},
events = {
},
matConfigs = {
{
0, 0, 0,
},
},
static = false,
visibleFrom = 230,
visibleTo = 1420,
}, {
animations = {
},
children = {
{
id = "vehicle/train/db_v100/lod_1_v100.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/db_v100_lod_1_bogie.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.3699, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/db_v100_lod_1_bogie.grp",
transf = {
-1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, -3.6164, 0, 0, 1,
},
type = "GROUP",
},
},
events = {
},
matConfigs = {
{
0, 0, 0,
},
},
static = false,
visibleFrom = 100,
visibleTo = 230,
}, {
animations = {
},
children = {
{
id = "vehicle/train/db_v100/lod_0_body.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/train/db_v100_lod_0_bogie.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.3699, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/db_v100_lod_0_bogie.grp",
transf = {
-1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, -3.6164, 0, 0, 1,
},
type = "GROUP",
},
{
id = "vehicle/train/db_v100/lod_0_interior.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
},
{
id = "vehicle/train/db_v100/lod_0_logos.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
},
{
id = "vehicle/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(1.0,0.95,.95),transf.degToRad( 0.0, 0.0, 0.0), vec3.new( 6.09, 0.745, 1.7)),
type = "MESH",
},
{
id = "vehicle/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(1.0,0.95,.95),transf.degToRad( 0.0, 0.0, 0.0), vec3.new( 6.09, -0.745, 1.7)),
type = "MESH",
},
{
id = "vehicle/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(1.0,1.1,1.1),transf.degToRad( 0.0, 0.0, 0.0), vec3.new( 6.01, 0, 3.3)),
type = "MESH",
},
},
events = {
},
matConfigs = {
{
0, 0, 0,
0, 0, 0,
0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 100,
},
},
metadata = {
description = {
name = _("Class V 100"),
description = _("This diesel-hydraulic locomotive was produced for non-electrified branch lines as a replacement for steam locomotives.")
},
railVehicle = {
topSpeed = 90,
weight = 62,
engines = {
{ type = "DIESEL", power = 809, tractiveEffort = 177 }
},
configs = {
{
},
{
axles = {
"vehicle/train/db_v100/lod_1_w1.msh",
}
},
{
axles = {
"vehicle/train/db_v100/lod_0_w1.msh",
}
}
},
soundSet = "train_diesel"
},
transportVehicle = {
carrier = "RAIL",
seats = {
{ group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-.7, -.62, 2.22)), crew = true, standing = false},
},
},
availability = {
yearFrom = 3000,
yearTo = 3000
},
cost = {
price = -1
},
maintenance = {
runningCosts = -1,
lifespan = 40
}
},
}
end