disablevanillavehicles_1520dlc/res/models/model/vehicle/bus/obeissante.mdl

178 lines
4.1 KiB
Plaintext
Executable File

local vec3 = require "vec3"
local transf = require "transf"
function data()
return {
boundingInfo = {
bbMax = {
2.3695209026337, 0.95464998483658, 3.2160630226135,
},
bbMin = {
-2.5171689987183, -0.95464998483658, -0.61202698945999,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/bus/obeissante/lod_0_d1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.1119, -0.6138, -0.0016, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/obeissante/lod_0_d2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.1119, 0.6138, -0.0016, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/obeissante/lod_0_w1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.9372, 0, 0.6105, 1,
},
type = "MESH",
}, {
id = "vehicle/bus/obeissante_bogie.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1.3979, 0, -0.0016, 1,
},
type = "GROUP",
}, {
id = "vehicle/bus/obeissante/lod_0_body.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, -0.0016, 1,
},
type = "MESH",
},{
id = "vehicle/asset/lod_0_light_round_white.msh",
--manual lights
transf = transf.scaleRotZYXTransl(vec3.new(.9,.9,.9),transf.degToRad( 0, 0, 0), vec3.new( 2.3556, 0, 1.705)),
type = "MESH",
}, {
id = "vehicle/bus/obeissante/lod_0_logo_body.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, -0.0016, 1,
},
type = "MESH",
},
},
events = {
close_all_ds = {
[1] = {
forward = false,
name = "opend1",
},
[2] = {
forward = false,
name = "opend2",
},
},
open_all_ds = {
[1] = {
forward = true,
name = "opend1",
},
[2] = {
forward = true,
name = "opend2",
},
},
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 820,
},
},
metadata = {
description = {
name = _("L'Obéissante"),
description = _("Built by the French Amédée Bollée, this steam omnibus was able to run bigger distances, e.g. from Le Mans to Paris.")
},
roadVehicle = {
topSpeed = 17,
weight = 2,
power = 4,
tractiveEffort = 5,
configs = {
{
axles = { "vehicle/bus/obeissante/lod_0_w1.msh",
"vehicle/bus/obeissante/lod_0_w2.msh",},
fakeBogies = { }
}
},
soundSet = "bus_horse"
},
transportVehicle = {
carrier = "ROAD",
capacities = {
{ type = "PASSENGERS", capacity = 20 }
},
loadSpeed = 1,
seats = {
{ group =7, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(1.25, -0.07, 1.1)), crew = true},
--passangers
{ group =7, transf = transf.rotZYXTransl(transf.degToRad(-90.0, 0.0, 0.0), vec3.new(-0.6, 0.6, 1.2))},
{ group =7, transf = transf.rotZYXTransl(transf.degToRad(-90.0, 0.0, 0.0), vec3.new(0, 0.6, 1.2))},
{ group =7, transf = transf.rotZYXTransl(transf.degToRad(-90.0, 0.0, 0.0), vec3.new(0.6, 0.6, 1.2))},
{ group =7, transf = transf.rotZYXTransl(transf.degToRad(90.0, 0.0, 0.0), vec3.new(-0.6, -0.6, 1.2))},
{ group =7, transf = transf.rotZYXTransl(transf.degToRad(90.0, 0.0, 0.0), vec3.new(0, -0.6, 1.2))},
{ group =7, transf = transf.rotZYXTransl(transf.degToRad(90.0, 0.0, 0.0), vec3.new(0.6, -0.6, 1.2))},
}
},
availability = {
yearFrom = 1870, -- 1873
yearTo = 1924
},
cost = {
price = -1
},
maintenance = {
runningCosts = -1,
lifespan = 30
},
particleSystem = {
emitters = {
{
position = { -1.4836, .0, 3.2145},
velocity = { .0, .0, 7.0 },
color = { .3, .3, .3 },
frequency = 60,
lifeTime = 10.0,
size01 = { .7, 8.0 },
child = 2
},
}
}
},
}
end