Browse Source

initial build

master
Rinaldus 5 years ago
commit
bc041b0c5e
  1. 28
      mod.lua
  2. 170
      res/models/model/vehicle/bus/aboag.mdl
  3. 212
      res/models/model/vehicle/bus/benz_o6600.mdl
  4. 227
      res/models/model/vehicle/bus/berkhof_duvedec.mdl
  5. 339
      res/models/model/vehicle/bus/et13.mdl
  6. 459
      res/models/model/vehicle/bus/landauer.mdl
  7. 519
      res/models/model/vehicle/bus/man_sl_192.mdl
  8. 177
      res/models/model/vehicle/bus/obeissante.mdl
  9. 200
      res/models/model/vehicle/bus/postkutsche.mdl
  10. 211
      res/models/model/vehicle/bus/saurer_tuescher.mdl
  11. 479
      res/models/model/vehicle/bus/volvo_5000.mdl
  12. 530
      res/models/model/vehicle/plane/airbus_a320.mdl
  13. 434
      res/models/model/vehicle/plane/boeing_737.mdl
  14. 551
      res/models/model/vehicle/plane/boeing_757.mdl
  15. 428
      res/models/model/vehicle/plane/comet_4b.mdl
  16. 527
      res/models/model/vehicle/plane/concorde.mdl
  17. 223
      res/models/model/vehicle/plane/dornier_b_merkur.mdl
  18. 312
      res/models/model/vehicle/plane/douglas_dc3.mdl
  19. 464
      res/models/model/vehicle/plane/douglas_dc4.mdl
  20. 219
      res/models/model/vehicle/plane/junkers_f_13.mdl
  21. 545
      res/models/model/vehicle/plane/super_connie.mdl
  22. 129
      res/models/model/vehicle/train/a3_5_705.mdl
  23. 273
      res/models/model/vehicle/train/ae_4_7.mdl
  24. 122
      res/models/model/vehicle/train/borsig_1860.mdl
  25. 140
      res/models/model/vehicle/train/br53_preus_g3.mdl
  26. 364
      res/models/model/vehicle/train/br75_4.mdl
  27. 203
      res/models/model/vehicle/train/br89.mdl
  28. 137
      res/models/model/vehicle/train/br_103_1.mdl
  29. 132
      res/models/model/vehicle/train/br_185_traxx.mdl
  30. 158
      res/models/model/vehicle/train/br_218.mdl
  31. 147
      res/models/model/vehicle/train/br_246_traxx.mdl
  32. 126
      res/models/model/vehicle/train/br_e94.mdl
  33. 133
      res/models/model/vehicle/train/c6_8.mdl
  34. 127
      res/models/model/vehicle/train/d1_3_new.mdl
  35. 229
      res/models/model/vehicle/train/db_v100.mdl
  36. 373
      res/models/model/vehicle/train/lner_class_a4.mdl
  37. 149
      res/models/model/vehicle/train/lner_flying_scotsman.mdl
  38. 149
      res/models/model/vehicle/train/nohab.mdl
  39. 111
      res/models/model/vehicle/train/obb_1042.mdl
  40. 124
      res/models/model/vehicle/train/plm_220.mdl
  41. 367
      res/models/model/vehicle/train/rabde_12_12_front.mdl
  42. 345
      res/models/model/vehicle/train/rabde_12_12_waggon.mdl
  43. 235
      res/models/model/vehicle/train/re_44i.mdl
  44. 229
      res/models/model/vehicle/train/re_450.mdl
  45. 410
      res/models/model/vehicle/train/re_450_b.mdl
  46. 390
      res/models/model/vehicle/train/re_450_bt.mdl
  47. 258
      res/models/model/vehicle/train/roterpfeil.mdl
  48. 388
      res/models/model/vehicle/train/schienenbus.mdl
  49. 135
      res/models/model/vehicle/train/tgv.mdl
  50. 370
      res/models/model/vehicle/train/tgv_w1.mdl
  51. 379
      res/models/model/vehicle/train/tgv_w2.mdl
  52. 511
      res/models/model/vehicle/train/twindexx.mdl
  53. 551
      res/models/model/vehicle/train/twindexx_w1.mdl
  54. 324
      res/models/model/vehicle/tram/be4_6mirage.mdl
  55. 394
      res/models/model/vehicle/tram/be5_6.mdl
  56. 133
      res/models/model/vehicle/tram/dampftram.mdl
  57. 219
      res/models/model/vehicle/tram/halle.mdl
  58. 166
      res/models/model/vehicle/tram/schst.mdl
  59. 132
      res/models/model/vehicle/tram/strassenbahn1850.mdl
  60. 160
      res/models/model/vehicle/tram/typ1.mdl
  61. 271
      res/models/model/vehicle/truck/40_tons.mdl
  62. 261
      res/models/model/vehicle/truck/benz1912_lkw.mdl
  63. 255
      res/models/model/vehicle/truck/dmg_cannstatt.mdl
  64. 353
      res/models/model/vehicle/truck/horse_cart.mdl
  65. 158
      res/models/model/vehicle/truck/horsewagon_1850.mdl
  66. 298
      res/models/model/vehicle/truck/man_19_304_1970.mdl
  67. 255
      res/models/model/vehicle/truck/opel_blitz_1930.mdl
  68. 473
      res/models/model/vehicle/waggon/3axes_person.mdl
  69. 356
      res/models/model/vehicle/waggon/bc4.mdl
  70. 779
      res/models/model/vehicle/waggon/compartment_car.mdl
  71. 322
      res/models/model/vehicle/waggon/d1_spanischb.mdl
  72. 343
      res/models/model/vehicle/waggon/donnerbuechse.mdl
  73. 312
      res/models/model/vehicle/waggon/ew_ii.mdl
  74. 326
      res/models/model/vehicle/waggon/ew_iv.mdl
  75. 192
      res/models/model/vehicle/waggon/goods_1850_v2.mdl
  76. 185
      res/models/model/vehicle/waggon/hbi1_v2.mdl
  77. 189
      res/models/model/vehicle/waggon/kesselwagen_1860.mdl
  78. 189
      res/models/model/vehicle/waggon/kesselwagen_1910.mdl
  79. 263
      res/models/model/vehicle/waggon/kesselwagen_1950.mdl
  80. 296
      res/models/model/vehicle/waggon/open_1850.mdl
  81. 296
      res/models/model/vehicle/waggon/open_1910.mdl
  82. 295
      res/models/model/vehicle/waggon/open_1975.mdl
  83. 731
      res/models/model/vehicle/waggon/rungenwagen_1850.mdl
  84. 1107
      res/models/model/vehicle/waggon/rungenwagen_1890.mdl
  85. 783
      res/models/model/vehicle/waggon/rungenwagen_1950.mdl
  86. 191
      res/models/model/vehicle/waggon/verbandswagen_v2.mdl
  87. 351
      res/models/model/vehicle/waggon/wagen_bayrisch_1865.mdl
  88. BIN
      workshop_preview.jpg

28
mod.lua

@ -0,0 +1,28 @@ @@ -0,0 +1,28 @@
function data()
return {
info = {
tags = { "Europe", "USA", "Script Mod" },
minorVersion = 0,
severityAdd = "NONE",
severityRemove = "NONE",
name = _("Отключить весь транспорт для 1520DLC"),
description = _("Адаптированная версия мода Disable all vanilla transport для серии модов 1520 DLC"),
authors = {
{
name = "Rinaldus",
role = "CREATOR",
}
},
visible = true
},
options = {
},
runFn = function (settings)
end
}
end

170
res/models/model/vehicle/bus/aboag.mdl

@ -0,0 +1,170 @@ @@ -0,0 +1,170 @@
local vec3 = require "vec3"
local transf = require "transf"
function data()
return {
boundingInfo = {
bbMax = {
4.3211002349854, 1.1229000091553, 3.838700056076,
},
bbMin = {
-4.3413000106812, -1.1229000091553, -0.49939998984337,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/bus/aboag/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/bus/aboag/lod_0_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.2495, -0.7922, 0.4817, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/aboag/lod_0_w1.msh",
transf = {
-1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 3.2495, 0.7922, 0.4817, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/aboag/lod_0_w2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.2054, 0, 0.4915, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/aboag/lod_0_window.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/aboag/lod_0_windows_interior.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(.8,.8,.8),transf.degToRad( 0, 0, 0), vec3.new( 3.8095, -0.7212, 0.9598)),
type = "MESH",
},{
id = "vehicle/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(.8,.8,.8),transf.degToRad( 0, 0, 0), vec3.new( 3.8095, 0.7252, 0.9598)),
type = "MESH",
},{
id = "vehicle/bus/aboag/lod_0_logo_body.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
},
},
events = {
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 1100,
},
},
metadata = {
description = {
name = _("Daimler top-seater"),
description = _("An early top-seater bus, used by ABOAG, a public transportation company in Berlin, Germany.")
},
roadVehicle = {
topSpeed = 35,
weight = 5,
power = 45,
tractiveEffort = 8,
configs = {
{
axles = { "vehicle/bus/aboag/lod_0_w2.msh" },
wheels = { "vehicle/bus/aboag/lod_0_w1.msh" },
fakeBogies = { { group = 0, position = 0, offset = 0 } }
}
},
soundSet = "bus_old"
},
transportVehicle = {
carrier = "ROAD",
capacities = {
{ type = "PASSENGERS", capacity = 42 }
},
loadSpeed = 1.5,
seats = {
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(1.6, -0.3, 0.9)), crew = true},
--passangers
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(1.1, -0.4, 0.9))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(1.1, 0.5, 0.9))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(0.1, 0.6, 0.9))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(0.1, -0.4, 0.9))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-0.8, 0.6, 0.9))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-0.8, -0.4, 0.9))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(-1.3, 0.6, 0.9))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(-1.3, -0.4, 0.9))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-2.4, 0.6, 0.9))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-2.4, -0.4, 0.9))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(90.0, 0.0, 0.0), vec3.new(-2.0, -0.7, 3))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(90.0, 0.0, 0.0), vec3.new(-1.2, -0.7, 3))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(90.0, 0.0, 0.0), vec3.new(-0.6, -0.7, 3))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(90.0, 0.0, 0.0), vec3.new(0.2, -0.7, 3))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(90.0, 0.0, 0.0), vec3.new(1.2, -0.7, 3))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(-90.0, 0.0, 0.0), vec3.new(1.2, 0.7, 3))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(-90.0, 0.0, 0.0), vec3.new(0.1, 0.7, 3))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(-90.0, 0.0, 0.0), vec3.new(-.8, 0.7, 3))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(-90.0, 0.0, 0.0), vec3.new(-1.8, 0.7, 3))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(-90.0, 0.0, 0.0), vec3.new(-2.8, 0.7, 3))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(-90.0, 0.0, 0.0), vec3.new(-3.4, 0.7, 3))},
}
},
availability = {
yearFrom = 1922,
yearTo = 1972
},
cost = {
price = -1
},
maintenance = {
runningCosts = -1,
lifespan = 30
}
},
}
end

212
res/models/model/vehicle/bus/benz_o6600.mdl

@ -0,0 +1,212 @@ @@ -0,0 +1,212 @@
local vec3 = require "vec3"
local transf = require "transf"
function data()
return {
boundingInfo = {
bbMax = {
5.0855407714844, 1.1831549406052, 2.697762966156,
},
bbMin = {
-4.6582179069519, -1.1831549406052, 4.1007995605469e-005,
},
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/bus/benz_o6600/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/bus/benz_o6600/lod_0_d1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.1327, -1.0479, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/benz_o6600/lod_0_d2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -2.9605, -1.0734, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/benz_o6600/lod_0_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.692, -0.9614, 0.5156, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/benz_o6600/lod_0_w1.msh",
transf = {
-1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 3.692, 0.9614, 0.5156, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/benz_o6600/lod_0_w2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.6567, 0, 0.5156, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/benz_o6600/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/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(1.0,1.15,1.15),transf.degToRad( 0.0, 0.0, 0.0), vec3.new( 4.5, 0.82, 1.044)),
type = "MESH",
},{
id = "vehicle/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(1.0,1.15,1.15),transf.degToRad( 0.0, 0.0, 0.0), vec3.new( 4.5, -0.82, 1.044)),
type = "MESH",
}, {
id = "vehicle/bus/benz_o6600/lod_0_logo_body.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
},
},
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,
},
},
static = false,
visibleFrom = 0,
visibleTo = 950,
},
},
metadata = {
description = {
name = _("Mercedes-Benz O 6600"),
description = _("This city-omnibus, built by Mercedes-Benz, cost 52'785 D-mark at that time.")
},
roadVehicle = {
topSpeed = 65,
weight = 9,
power = 107,
tractiveEffort = 12,
configs = {
--[[{
axles = { "vehicle/bus/benz_o6600/benz_o6600_lod_2_w2.msh" },
wheels = { "vehicle/bus/benz_o6600/benz_o6600_lod_2_w1.msh" },
fakeBogies = { { group = 0, position = 0, offset = 0 } }
},
{
axles = { "vehicle/bus/benz_o6600/benz_o6600_lod_1_w2.msh" },
wheels = { "vehicle/bus/benz_o6600/benz_o6600_lod_1_w1.msh" },
fakeBogies = { { group = 0, position = 0, offset = 0 } }
},]]--
{
axles = { "vehicle/bus/benz_o6600/lod_0_w2.msh" },
wheels = { "vehicle/bus/benz_o6600/lod_0_w1.msh" },
fakeBogies = { { group = 0, position = 0, offset = 0 } }
}
},
soundSet = "bus_old"
},
transportVehicle = {
carrier = "ROAD",
capacities = {
{ type = "PASSENGERS", capacity = 60 }
},
loadSpeed = 2,
seats = {
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(2.3, 0.3, 0.6)),crew = true},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(1.3, 0.3, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(1.3, 0.67, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(0.5, 0.3, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(0.5, 0.67, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-0.3, 0.3, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-0.3, 0.67, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.1, 0.3, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.1, 0.67, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.9, 0.3, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.9, 0.67, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-2.7, 0.3, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-2.7, 0.67, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-3.38, 0.3, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-3.38, 0.67, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-4.18, 0.3, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-4.18, 0.67, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(1.3, -0.4, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(1.3, -0.8, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(0.5, -0.4, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(0.5, -0.8, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-0.3, -0.4, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-0.3, -0.8, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.1, -0.4, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.1, -0.8, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.9, -0.4, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.9, -0.8, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-2.7, -0.4, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-2.7, -0.8, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-3.38, -0.4, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-3.38, -0.8, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-4.18, -0.4, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-4.18, -0.8, 0.7))},
}
},
availability = {
yearFrom = 1954,
yearTo = 1976
},
cost = {
price = -1
},
maintenance = {
runningCosts = -1,
lifespan = 30
}
},
}
end

227
res/models/model/vehicle/bus/berkhof_duvedec.mdl

@ -0,0 +1,227 @@ @@ -0,0 +1,227 @@
local vec3 = require "vec3"
local transf = require "transf"
function data()
return {
boundingInfo = {
bbMax = {
8.9517908096313, 1.4530000686646, 2.7877559661865,
},
bbMin = {
-7.8876490592957, -1.4271960258484, -0.0089289844036102,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/bus/berkhof_duvedec_lod_0_back.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -4.6209001541138, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/bus/berkhof_duvedec_lod_0_front.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.1243999004364, 0, 0, 1,
},
type = "GROUP",
},
},
events = {
close_all_doors = {
{
forward = false,
name = "open_all_doors",
}, {
forward = false,
name = "open_all_doors",
},
},
open_all_doors = {
{
forward = true,
name = "open_all_doors",
}, {
forward = true,
name = "open_all_doors",
},
},
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 1330,
},
},
metadata = {
availability = {
yearFrom = 3000,
yearTo = 3000,
},
cost = {
price = -1,
},
description = {
name = _("Berkhof Duvedec"),
description = _("Berkhof Duvedec received many good reviews of car owners for their consumer qualities."),
},
maintenance = {
lifespan = 35,
runningCosts = -1,
},
roadVehicle = {
configs = {
{
axles = {
"vehicle/bus/berkhof_duvedec/lod_0_w2.msh",
"vehicle/bus/berkhof_duvedec/lod_0_w3.msh",
},
fakeBogies = {
{
group = 1,
offset = 0,
position = -1.25,
},
{
group = 11,
offset = 0,
position = 3.88,
},
{
group = 11,
offset = 0,
position = -1.25,
},
},
wheels = {
"vehicle/bus/berkhof_duvedec/lod_0_w1.msh",
},
},
},
power = 180,
soundSet = {
horn = "vehicle/truck_modern/horn.wav",
name = "bus_modern",
},
topSpeed = 90,
tractiveEffort = 30,
weight = 15,
},
transportVehicle = {
capacities = {
{
capacity = 100,
type = "PASSENGERS",
},
},
carrier = "ROAD",
loadSpeed = 5,
multipleUnitOnly = false,
seats = {
-- front
{ group = 11, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(6.9 -3.1, 0.6, 0.6)), crew = true },
{ group = 11, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(5.8 -3.1, -0.8, 0.6)) },
{ group = 11, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(5.8 - 3.1, 0.7, 0.6)) },
{ group = 11, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(5.15 - 3.1, -0.7, 0.6)) },
{ group = 11, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(5.15 - 3.1, -0.15, 0.6)) },
{ group = 11, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(5.15 - 3.1, 0.8, 0.6)) },
{ group = 11, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(3.9 - 3.1, -0.8, 0.6)) },
{ group = 11, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(3.9 - 3.1, -0.3, 0.6)) },
{ group = 11, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(3.9 - 3.1, 0.7, 0.6)) },
{ group = 11, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(3.1 - 3.1, -0.8, 0.6)) },
{ group = 11, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(3.1 - 3.1, -0.3, 0.6)) },
{ group = 11, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(3.1 - 3.1, 0.7, 0.6)) },
{ group = 11, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(2.3 - 3.1, 0.7, 0.6)) },
{ group = 11, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(1.0 - 3.1, -0.8, 0.6)) },
{ group = 11, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(1.0 - 3.1, -0.3, 0.6)) },
{ group = 11, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(1.0 - 3.1, 0.7, 0.6)) },
{ group = 11, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(0.35 - 3.1, -0.7, 0.6)) },
{ group = 11, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(0.35 - 3.1, -0.15, 0.6)) },
{ group = 11, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(0.35 - 3.1, 0.8, 0.6)) },
-- back
{ group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(1.3, -0.8, 0.6)) },
{ group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(1.3, -0.3, 0.6)) },
{ group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(1.3, 0.7, 0.6)) },
{ group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(0.2, 0.7, 0.6)) },
{ group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-0.9, -0.8, 0.6)) },
{ group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-0.9, -0.3, 0.6)) },
{ group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-0.9, 0.7, 0.6)) },
{ group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.8, -0.8, 0.9)) },
{ group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.8, -0.3, 0.9)) },
{ group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.8, 0.7, 0.9)) },
{ group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-2.7, -0.8, 0.9)) },
{ group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-2.7, -0.3, 0.9)) },
{ group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-2.7, 0.2, 0.9)) },
{ group = 1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-2.7, 0.7, 0.9)) },
},
},
},
}
end

339
res/models/model/vehicle/bus/et13.mdl

@ -0,0 +1,339 @@ @@ -0,0 +1,339 @@
local vec3 = require "vec3"
local transf = require "transf"
function data()
return {
boundingInfo = {
bbMax = {
2.3890039920807, 0.93712097406387, 2.6325719356537,
},
bbMin = {
-3.0820770263672, -0.93712097406387, -0.43434798717499,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/bus/et13/lod_2_body.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/et13/lod_2_body_window.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/et13/lod_2_door.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.4272, -0.747, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/et13/lod_2_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.61, 0, 0.4418, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/et13/lod_2_w2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.8108, -0.6154, 0.4418, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/et13/lod_2_w2.msh",
transf = {
-1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1.8108, 0.6154, 0.4418, 1,
},
type = "MESH",
},
},
events = {
open_all_doors = {
},
close_all_doors = {
},
},
matConfigs = {
{
0, 0, 0,
0, 0, 0,
},
},
static = false,
visibleFrom = 200,
visibleTo = 750,
}, {
animations = {
},
children = {
{
id = "vehicle/bus/et13/lod_1_body.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/et13/lod_1_body_window.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/et13/lod_1_door.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.4272, -0.747, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/et13/lod_1_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.61, 0, 0.4418, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/et13/lod_1_w2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.8108, -0.6154, 0.4418, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/et13/lod_1_w2.msh",
transf = {
-1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1.8108, 0.6154, 0.4418, 1,
},
type = "MESH",
}, {
id = "vehicle/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(.99,.99,.99),transf.degToRad( 0, 0, 0), vec3.new( 2.2286, -0.428, 0.8525)),
type = "MESH",
}, {
id = "vehicle/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(.99,.99,.99),transf.degToRad( 0, 0, 0), vec3.new( 2.2286, 0.428, 0.8525)),
type = "MESH",
},
},
events = {
open_all_doors = {
[3] = {
forward = true,
name = "opend",
},
},
close_all_doors = {
[3] = {
forward = false,
name = "opend",
},
},
},
matConfigs = {
{
0, 0, 0,
0, 0, 0,
0, 0, 0,
},
},
static = false,
visibleFrom = 50,
visibleTo = 200,
}, {
animations = {
},
children = {
{
id = "vehicle/bus/et13/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/bus/et13/lod_0_body_window.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/et13/lod_0_door.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.4272, -0.747, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/et13/lod_0_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.61, 0, 0.4418, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/et13/lod_0_w2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.8108, -0.6154, 0.4418, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/et13/lod_0_w2.msh",
transf = {
-1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1.8108, 0.6154, 0.4418, 1,
},
type = "MESH",
}, {
id = "vehicle/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(.99,.99,.99),transf.degToRad( 0, 0, 0), vec3.new( 2.2286, -0.428, 0.8525)),
type = "MESH",
}, {
id = "vehicle/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(.99,.99,.99),transf.degToRad( 0, 0, 0), vec3.new( 2.2286, 0.428, 0.8525)),
type = "MESH",
},{
id = "vehicle/bus/et13/lod_0_logo_body_window.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
},
},
events = {
open_all_doors = {
[3] = {
forward = true,
name = "opend",
},
},
close_all_doors = {
[3] = {
forward = false,
name = "opend",
},
},
},
matConfigs = {
{
0, 0, 0,
0, 0, 0,
0, 0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 50,
},
},
metadata = {
description = {
name = _("Postbus ET 13"),
description = _("The ET 13 was a commonly used motor-driven bus, built in Austria.")
},
roadVehicle = {
topSpeed = 25,
weight = 4,
power = 20,
tractiveEffort = 6,
configs = {
{
wheels = {
"vehicle/bus/et13/lod_2_w2.msh",
},
axles = {
"vehicle/bus/et13/lod_2_w1.msh"
},
fakeBogies = { { group = 0, position = 0.0, offset = 0.0 } }
},{
wheels = {
"vehicle/bus/et13/lod_1_w2.msh",
},
axles = {
"vehicle/bus/et13/lod_1_w1.msh"
},
fakeBogies = { { group = 0, position = 0.0, offset = 0.0 } }
},{
wheels = {
"vehicle/bus/et13/lod_0_w2.msh",
},
axles = {
"vehicle/bus/et13/lod_0_w1.msh"
},
fakeBogies = { { group = 0, position = 0.0, offset = 0.0 } }
}
},
soundSet = "bus_old"
},
transportVehicle = {
carrier = "ROAD",
capacities = {
{ type = "PASSENGERS", capacity = 32 }
},
loadSpeed = 1.5,
seats = {
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(0.24, 0.28, 0.7)), crew = true},
--passangers
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-0.6, 0.34, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-0.6, -0.2, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.25, 0.34, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.25, -0.2, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.94, 0.34, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-1.94, -0.2, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-2.68, 0.34, 0.7))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-2.68, -0.2, 0.7))},
}
},
availability = {
yearFrom = 1905,
yearTo = 1956
},
cost = {
price = -1
},
maintenance = {
runningCosts = -1,
lifespan = 30
}
},
}
end

459
res/models/model/vehicle/bus/landauer.mdl

@ -0,0 +1,459 @@ @@ -0,0 +1,459 @@
local vec3 = require "vec3"
local transf = require "transf"
function data()
return {
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/bus/landauer/lod_2_body.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_2_d1.msh",
transf = transf.scaleRotZYXTransl(vec3.new(1,1,1),transf.degToRad( 0, 0, 0), vec3.new( -0.2906, -0.6931, 0)),
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_2_window_d1.msh",
transf = transf.scaleRotZYXTransl(vec3.new(1,1,1),transf.degToRad( 0, 0, 0), vec3.new( -0.2906, -0.6931, 0)),
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_2_d1.msh",
transf = transf.flipY(transf.scaleRotZYXTransl(vec3.new(1,1,1),transf.degToRad( 0, 0, 0), vec3.new( -0.2906, -0.6931, 0))),
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_2_window_d1.msh",
transf = transf.flipY(transf.scaleRotZYXTransl(vec3.new(1,1,1),transf.degToRad( 0, 0, 0), vec3.new( -0.2906, -0.6931, 0))),
type = "MESH",
},
{
id = "vehicle/bus/landauer/lod_2_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.2801, -0.6554, 0.4874, 1,
},
type = "MESH",
},{
id = "vehicle/bus/landauer/lod_2_w1.msh",
transf = {
-1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1.2801, 0.6554, 0.4874, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_2_w2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.8978, 0, 0.6165, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_2_window.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
},
},
events = {
close_all_doors = {
},
open_all_doors = {
},
},
matConfigs = {
{
0, 0, 0, 0,
0, 0, 0, 0,
0,
},
},
static = false,
visibleFrom = 200,
visibleTo = 700,
},{
animations = {
},
children = {
{
id = "vehicle/bus/landauer/lod_1_body.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_1_d1.msh",
transf = transf.scaleRotZYXTransl(vec3.new(1,1,1),transf.degToRad( 0, 0, 0), vec3.new( -0.2906, -0.6931, 0)),
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_1_window_d1.msh",
transf = transf.scaleRotZYXTransl(vec3.new(1,1,1),transf.degToRad( 0, 0, 0), vec3.new( -0.2906, -0.6931, 0)),
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_1_d1.msh",
transf = transf.flipY(transf.scaleRotZYXTransl(vec3.new(1,1,1),transf.degToRad( 0, 0, 0), vec3.new( -0.2906, -0.6931, 0))),
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_1_window_d1.msh",
transf = transf.flipY(transf.scaleRotZYXTransl(vec3.new(1,1,1),transf.degToRad( 0, 0, 0), vec3.new( -0.2906, -0.6931, 0))),
type = "MESH",
},
{
id = "vehicle/bus/landauer/lod_1_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.2801, -0.6554, 0.4874, 1,
},
type = "MESH",
},{
id = "vehicle/bus/landauer/lod_1_w1.msh",
transf = {
-1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1.2801, 0.6554, 0.4874, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_1_w2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.8978, 0, 0.6165, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_1_window.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,.7,.7),transf.degToRad( 0, 0, 0), vec3.new( 1.935, 0, 1.162)),
type = "MESH",
}, {
id = "vehicle/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(1,.7,.7),transf.degToRad( 0, 0, 0), vec3.new( 0.855, 0.7321, 2.095)),
type = "MESH",
}, {
id = "vehicle/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(1,.7,.7),transf.degToRad( 0, 0, 0), vec3.new( 0.855, -0.7321, 2.095)),
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_0_logo_body.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
},
},
events = {
close_all_doors = {
[2] = {
forward = false,
name = "opend1",
},
[3] = {
forward = false,
name = "opend1",
}, [4] = {
forward = false,
name = "opend1",
},
[5] = {
forward = false,
name = "opend1",
},
},
open_all_doors = {
[2] = {
forward = true,
name = "opend1",
},
[3] = {
forward = true,
name = "opend1",
}, [4] = {
forward = true,
name = "opend1",
},
[5] = {
forward = true,
name = "opend1",
},
},
},
matConfigs = {
{
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0,
0, 0,
},
},
static = false,
visibleFrom = 40,
visibleTo = 200,
}, {
animations = {
},
children = {
{
id = "vehicle/bus/landauer/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/bus/landauer/lod_0_d1.msh",
transf = transf.scaleRotZYXTransl(vec3.new(1,1,1),transf.degToRad( 0, 0, 0), vec3.new( -0.2906, -0.6931, 0)),
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_0_window_d1.msh",
transf = transf.scaleRotZYXTransl(vec3.new(1,1,1),transf.degToRad( 0, 0, 0), vec3.new( -0.2906, -0.6931, 0)),
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_0_window_interior_d1.msh",
transf = transf.scaleRotZYXTransl(vec3.new(1,1,1),transf.degToRad( 0, 0, 0), vec3.new( -0.2906, -0.6931, 0)),
type = "MESH",
},{
id = "vehicle/bus/landauer/lod_0_d1.msh",
transf = transf.flipY(transf.scaleRotZYXTransl(vec3.new(1,1,1),transf.degToRad( 0, 0, 0), vec3.new( -0.2906, -0.6931, 0))),
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_0_window_d1.msh",
transf = transf.flipY(transf.scaleRotZYXTransl(vec3.new(1,1,1),transf.degToRad( 0, 0, 0), vec3.new( -0.2906, -0.6931, 0))),
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_0_window_interior_d1.msh",
transf = transf.flipY(transf.scaleRotZYXTransl(vec3.new(1,1,1),transf.degToRad( 0, 0, 0), vec3.new( -0.2906, -0.6931, 0))),
type = "MESH",
},
{
id = "vehicle/bus/landauer/lod_0_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.2801, -0.6554, 0.4874, 1,
},
type = "MESH",
},{
id = "vehicle/bus/landauer/lod_0_w1.msh",
transf = {
-1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1.2801, 0.6554, 0.4874, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_0_w2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.8978, 0, 0.6165, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_0_window.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_0_window_interior.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,.7,.7),transf.degToRad( 0, 0, 0), vec3.new( 1.935, 0, 1.162)),
type = "MESH",
}, {
id = "vehicle/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(1,.7,.7),transf.degToRad( 0, 0, 0), vec3.new( 0.855, 0.7321, 2.095)),
type = "MESH",
}, {
id = "vehicle/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(1,.7,.7),transf.degToRad( 0, 0, 0), vec3.new( 0.855, -0.7321, 2.095)),
type = "MESH",
}, {
id = "vehicle/bus/landauer/lod_0_logo_body.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
},
},
events = {
close_all_doors = {
[2] = {
forward = false,
name = "opend1",
},
[3] = {
forward = false,
name = "opend1",
}, [4] = {
forward = false,
name = "opend1",
},
[5] = {
forward = false,
name = "opend1",
}, [6] = {
forward = false,
name = "opend1",
},
[7] = {
forward = false,
name = "opend1",
},
},
open_all_doors = {
[2] = {
forward = true,
name = "opend1",
},
[3] = {
forward = true,
name = "opend1",
}, [4] = {
forward = true,
name = "opend1",
},
[5] = {
forward = true,
name = "opend1",
}, [6] = {
forward = true,
name = "opend1",
},
[7] = {
forward = true,
name = "opend1",
},
},
},
matConfigs = {
{
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0,
0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 40,
},
},
metadata = {
description = {
name = _("Landauer"),
description = _("The Landauer was basically a motor-driven carriage, built by the Benz company. As the first bus of the world, it was in use on the line Siegen-Nephten-Deuz.")
},
roadVehicle = {
topSpeed = 20,
weight = 2,
power = 10,
tractiveEffort = 8,
configs = {
{
axles = { "vehicle/bus/landauer/lod_2_w2.msh",},
wheels = {"vehicle/bus/landauer/lod_2_w1.msh" },
fakeBogies = {
{ group = 0, position = 0.0, offset = 0.0 },
}
},{
axles = { "vehicle/bus/landauer/lod_1_w2.msh",},
wheels = {"vehicle/bus/landauer/lod_1_w1.msh" },
fakeBogies = {
{ group = 0, position = 0.0, offset = 0.0 },
}
},{
axles = { "vehicle/bus/landauer/lod_0_w2.msh",},
wheels = {"vehicle/bus/landauer/lod_0_w1.msh" },
fakeBogies = {
{ group = 0, position = 0.0, offset = 0.0 },
}
}
},
soundSet = "bus_old"
},
transportVehicle = {
carrier = "ROAD",
capacities = {
{ type = "PASSENGERS", capacity = 24 }
},
loadSpeed = 1,
seats = {
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(0.84, 0.21, 0.93)), crew = true},
--passangers
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-0.59, -0.30, 0.83))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(-0.59, 0.30, 0.83))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(0.6, 0.30, 0.83))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(180.0, 0.0, 0.0), vec3.new(0.6, -0.30, 0.83))},
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(0.84, -0.35, 0.93))},
}
},
availability = {
yearFrom = 1891,
yearTo = 1942
},
cost = {
price = -1
},
maintenance = {
runningCosts = -1,
lifespan = 30
}
},
}
end

519
res/models/model/vehicle/bus/man_sl_192.mdl

@ -0,0 +1,519 @@ @@ -0,0 +1,519 @@
local vec3 = require "vec3"
local transf = require "transf"
function data()
return {
boundingInfo = {
bbMax = {
5.2589540481567, 1.2951840162277, 2.7318749427795,
},
bbMin = {
-5.056736946106, -1.2951840162277, -0.4757179915905,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/bus/man_sl_192/lod_2_body.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_2_d1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.7532, -1.1135, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_2_d2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.5112, -1.1135, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_2_d3.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.4827, -1.1135, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_2_d4.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.7247, -1.1135, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_2_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.7542, -0.9308, 0.4703, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_2_w1.msh",
transf = {
-1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 2.7542, 0.9308, 0.4703, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_2_w2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -2.3694, 0, 0.4703, 1,
},
type = "MESH",
},
},
events = {
close_all_doors = {
[2] = {
forward = false,
name = "opend1",
},
[3] = {
forward = false,
name = "opend2",
},
[4] = {
forward = false,
name = "opend3",
},
[5] = {
forward = false,
name = "opend4",
},
},
open_all_doors = {
[2] = {
forward = true,
name = "opend1",
},
[3] = {
forward = true,
name = "opend2",
},
[4] = {
forward = true,
name = "opend3",
},
[5] = {
forward = true,
name = "opend4",
},
},
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 220,
visibleTo = 990,
},
{
animations = {
},
children = {
{
id = "vehicle/bus/man_sl_192/lod_1_body.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_1_d1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.7532, -1.1135, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_1_d2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.5112, -1.1135, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_1_d3.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.4827, -1.1135, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_1_d4.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.7247, -1.1135, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_1_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.7542, -0.9308, 0.4703, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_1_w1.msh",
transf = {
-1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 2.7542, 0.9308, 0.4703, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_1_w2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -2.3694, 0, 0.4703, 1,
},
type = "MESH",
},
},
events = {
close_all_doors = {
[2] = {
forward = false,
name = "opend1",
},
[3] = {
forward = false,
name = "opend2",
},
[4] = {
forward = false,
name = "opend3",
},
[5] = {
forward = false,
name = "opend4",
},
},
open_all_doors = {
[2] = {
forward = true,
name = "opend1",
},
[3] = {
forward = true,
name = "opend2",
},
[4] = {
forward = true,
name = "opend3",
},
[5] = {
forward = true,
name = "opend4",
},
},
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 120,
visibleTo = 220,
},
{
animations = {
},
children = {
{
id = "vehicle/bus/man_sl_192/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/bus/man_sl_192/lod_0_d1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 4.7532, -1.1135, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_0_d2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.5112, -1.1135, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_0_d3.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.4827, -1.1135, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_0_d4.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -1.7247, -1.1135, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_0_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.7542, -0.9308, 0.4703, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_0_w1.msh",
transf = {
-1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 2.7542, 0.9308, 0.4703, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/man_sl_192/lod_0_w2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -2.3694, 0, 0.4703, 1,
},
type = "MESH",
},
-- Interior ------------------------
{
id = "vehicle/bus/man_sl_192/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/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(1.0,0.8,0.8),transf.degToRad( -7.0, 0.0, 0.0), vec3.new( 4.968, -0.897, 0.77)),
type = "MESH",
},
{
id = "vehicle/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(1.0,0.8,0.8),transf.degToRad( 7.0, 0.0, 0.0), vec3.new( 4.965, 0.92, 0.77)),
type = "MESH",
},
{
id = "vehicle/asset/lod_0_light_round_red.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(1.0,0.4,0.4),transf.degToRad( 180.0, 0.0, 0.0), vec3.new( -5.057, 0.871, 1.066)),
type = "MESH",