1520DLC/res/models/model/vehicle/train/ganzd1g2.mdl

278 lines
5.1 KiB
Plaintext

function data()
return {
boundingInfo = {
bbMax = {
11.0582, 4.3, 1.5829,
},
bbMin = {
-13.96, 0, -1.5829,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/train/GanzMAVAG_D1/d1g2_body_lod0.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, -0.02, 0, 1,
},
type = "MESH",
},
{
id = "vehicle/train/GanzMAVAG_D1/d1g1_doors1_lod0.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 6.49725, 0, 0, 1,
},
type = "MESH",
},
{
id = "vehicle/train/GanzMAVAG_D1/d1g1_doors2_lod0.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 6.49725, 0, 0, 1,
},
type = "MESH",
},
{
id = "vehicle/train/ganzd1_bogie2_lod0.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 7.0153, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/ganzd1_bogie1_2_lod0.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -9.58015 , 0, 0, 1,
},
type = "GROUP",
},
},
events = {
close_all_doors = {
[2] = {
forward = false,
name = "opend1",
},
[3] = {
forward = false,
name = "opend2",
}
},
open_all_doors = {
[2] = {
forward = true,
name = "opend1",
},
[3] = {
forward = true,
name = "opend2",
}
},
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 100,
},
{
animations = {
},
children = {
{
id = "vehicle/train/GanzMAVAG_D1/d1g2_body_lod1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0.26, 0, 1,
},
type = "MESH",
},
{
id = "vehicle/train/GanzMAVAG_D1/d1g1_doors1_lod0.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 6.49725, 0.0, 0.0, 1,
},
type = "MESH",
},
{
id = "vehicle/train/GanzMAVAG_D1/d1g1_doors2_lod0.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 6.49725, 0.0, 0.0, 1,
},
type = "MESH",
},
{
id = "vehicle/train/ganzd1_bogie2_lod1.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 7.0153, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/ganzd1_bogie1_2_lod1.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -9.58015 , 0, 0, 1,
},
type = "GROUP",
},
},
events = {
close_all_doors = {
[2] = {
forward = false,
name = "opend1",
},
[3] = {
forward = false,
name = "opend2",
}
},
open_all_doors = {
[2] = {
forward = true,
name = "opend1",
},
[3] = {
forward = true,
name = "opend2",
}
},
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 100,
visibleTo = 500,
},
{
animations = {
},
children = {
{
id = "vehicle/train/GanzMAVAG_D1/d1g2_body_lod2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
},
{
id = "vehicle/train/ganzd1_bogie2_lod2.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 7.0153, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/train/ganzd1_bogie1_2_lod2.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -9.58015 , 0, 0, 1,
},
type = "GROUP",
},
},
events = {
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 500,
visibleTo = 2400,
},
},
metadata = {
railVehicle = {
topSpeed = 120.0,
weight = 65.2,
engines = {
{ type = "DIESEL", power = 537.0, tractiveEffort = 65.0 }
},
configs = {
{
axles = {
"vehicle/train/GanzMAVAG_D1/d1_w_lod0.msh",
}
},
{
axles = {
"vehicle/train/GanzMAVAG_D1/d1_w_lod0.msh",
}
},
{
axles = {
"vehicle/train/GanzMAVAG_D1/d1_w_lod0.msh",
}
},
},
soundSet = { name = "ganzd1g"}
},
transportVehicle = {
carrier = "RAIL",
capacities = {
{ type = "PASSENGERS", capacity = 100 }
},
loadSpeed = 2,
multipleUnitOnly = true
},
availability = {
yearFrom = 1964,
yearTo = 1988
},
cost = {
price = 350000
},
maintenance = {
runningCosts = 160000,
lifespan = 45
},
particleSystem = {
emitters = {
{
position = {-9.63325, 0.019, 5.05 },
velocity = { .0, .0, 2.0 },
color = { .3, .3, .3 },
frequency = 30,
lifeTime = 2.0,
size01 = { .4, 4.0 },
child = 1
},
}
}
},
}
end