1520DLC/res/models/model/vehicle/tram/ktm2ktp2.mdl

248 lines
4.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

function data()
return {
boundingInfo = {
bbMax = {
15.74, 0.98381000757217, 4.8104958534241,
},
bbMin = {
-15.60, -0.98381000757217, -0.33427900075912,
},
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/tram/ktm2_lod0_front.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 10.44, 0, 0, 1,
},
type = "GROUP",
},
{
id = "vehicle/tram/ktm2_lod0_back.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "GROUP",
},
{
id = "vehicle/tram/ktm2_lod0_back.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -10.44794, 0, 0, 1,
},
type = "GROUP",
},
},
events = {
close_all_doors = {
[1] = {
forward = true,
name = "close_doors",
},
[2] = {
forward = true,
name = "close_doors",
},
[3] = {
forward = true,
name = "close_doors",
},
},
open_all_doors = {
[1] = {
forward = true,
name = "open_doors",
},
[2] = {
forward = true,
name = "open_doors",
},
[3] = {
forward = true,
name = "open_doors",
},
},
},
matConfigs = {
{
0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 100,
},
{
animations = {
},
children = {
{
id = "vehicle/tram/ktm2_lod1_front.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 10.44, 0, 0, 1,
},
type = "GROUP",
},
{
id = "vehicle/tram/ktm2_lod1_back.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "GROUP",
},
{
id = "vehicle/tram/ktm2_lod1_back.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -10.44794, 0, 0, 1,
},
type = "GROUP",
},
},
events = {
close_all_doors = {
[1] = {
forward = true,
name = "close_doors",
},
[2] = {
forward = true,
name = "close_doors",
},
[3] = {
forward = true,
name = "close_doors",
},
},
open_all_doors = {
[1] = {
forward = true,
name = "open_doors",
},
[2] = {
forward = true,
name = "open_doors",
},
[3] = {
forward = true,
name = "open_doors",
},
},
},
matConfigs = {
{
0, 0,
},
},
static = false,
visibleFrom = 100,
visibleTo = 500,
},
{
animations = {
},
children = {
{
id = "vehicle/tram/ktm2_lod2_front.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 10.44, 0, 0, 1,
},
type = "GROUP",
},
{
id = "vehicle/tram/ktm2_lod2_back.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "GROUP",
},
{
id = "vehicle/tram/ktm2_lod2_back.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -10.44794, 0, 0, 1,
},
type = "GROUP",
},
},
events = {
},
matConfigs = {
{
0, 0,
},
},
static = false,
visibleFrom = 500,
visibleTo = 2200,
},
},
metadata = {
description = {
name = _("КТМ2 + КТП2 + КТП2"),
description = _("КТМ-2 - советский моторный двухосный трамвай, КТП-2 - прицепной трамвайный вагон. Эти трамвайные поезда работали практически во всех городах СССР и выпускались до начала производства КТМ-5.")
},
railVehicle = {
configs = {
{
axles = { "vehicle/tram/KTM2/ktm2_w_lod0.msh" },
},
{
axles = { "vehicle/tram/KTM2/ktm2_w_lod0.msh" },
},
{
axles = { "vehicle/tram/KTM2/ktm2_w_lod2.msh" },
}
},
topSpeed = 45,
weight = 26,
engines = {
{ type = "ELECTRIC", power = 100.0, tractiveEffort = 35.0 }
},
soundSet = "tram_old"
},
transportVehicle = {
carrier = "TRAM",
capacities = {
{ type = "PASSENGERS", capacity = 144 }
},
loadSpeed = 6
},
availability = {
yearFrom = 1958,
yearTo = 1969
},
cost = {
price = 285000
},
maintenance = {
runningCosts = 60000,
lifespan = 35
}
},
}
end