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

134 lines
2.3 KiB
Plaintext
Executable File

local vec3 = require "vec3"
local transf = require "transf"
function data()
return {
boundingInfo = {
bbMax = {
10.25147819519, 1.599387049675, 5.9179420471191,
},
bbMin = {
-10.25147819519, -1.7070970535278, -0.027449011802673,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/train/c6_8_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/c6_8_lod_0_idler.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 7.4119000434875, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/c6_8_lod_0_idler.grp",
transf = {
-1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, -7.4119000434875, 0, 0, 1,
},
type = "GROUP",
},
},
events = {
drive = {
[1] = {
forward = true,
name = "drive",
},
},
},
matConfigs = {
{
0, 0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 2030,
},
},
metadata = {
description = {
name = _("Ce 6/8 II Crocodile"),
description = _(
"Swiss electric locomotive known as the Crocodile, mainly used for heavy freight trains on sinuous routes like the Gotthard line.")
},
availability = {
yearFrom = 1921,
yearTo = 1949,
},
cost = {
price = -1,
},
maintenance = {
lifespan = 45,
runningCosts = -1,
},
railVehicle = {
configs = {
{
axles = {
"vehicle/train/c6_8/lod_0_w1.msh", "vehicle/train/c6_8/lod_0_w2.msh",
},
fakeBogies = {
},
},
},
engines = {
{
power = 1200,
tractiveEffort = 150,
type = "ELECTRIC",
},
},
soundSet = {
horn = "",
name = "train_electric_old",
},
topSpeed = 75,
weight = 128,
},
transportVehicle = {
capacities = {
},
carrier = "RAIL",
seats = {
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(2.5, .85, 1.5)), crew = true, standing = true},
},
},
},
}
end