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