disablevanillavehicles_1520dlc/res/models/model/vehicle/plane/junkers_f_13.mdl

220 lines
5.0 KiB
Plaintext
Executable File

local vec3 = require "vec3"
local transf = require "transf"
function data()
return {
boundingInfo = {
bbMax = {
2.5336039066315, 7.4893770217896, 1.5860749483109,
},
bbMin = {
-5.4609370231628, -7.4893770217896, -1.0071635246277,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/plane/junkers_f_13/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/plane/junkers_f_13/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/plane/junkers_f_13/lod_0_d1.msh",
transf = transf.rotZYXTransl(transf.degToRad(-4.509,-102.845,138.747), vec3.new(-0.2883, 0.5891, 0.8249)),
type = "MESH",v
}, {
id = "vehicle/plane/junkers_f_13/lod_0_d2.msh",
transf = transf.rotZYXTransl(transf.degToRad(-4.509,-102.845,138.747), vec3.new(-0.2883, -0.5891, 0.8249)),
type = "MESH",
}, {
id = "vehicle/plane/junkers_f_13/lod_0_aileron_left.msh",
transf = transf.rotZYXTransl(transf.degToRad(-100.501,-174.599,-91.3586), vec3.new(-0.545, 5.312, 0.309)),
type = "MESH",
}, {
id = "vehicle/plane/junkers_f_13/lod_0_aileron_right.msh",
transf = transf.rotZYXTransl(transf.degToRad(-79.499,174.5992,-91.359), vec3.new(-0.545, -5.312, 0.309)),
type = "MESH",
}, {
id = "vehicle/plane/junkers_f_13/lod_0_elevator.msh",
transf = transf.rotZYXTransl(transf.degToRad(-90,-180.1739,-90), vec3.new(-4.6621, 0, 0.7878)),
type = "MESH",
}, {
id = "vehicle/plane/junkers_f_13/lod_0_rotor.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.2812, 0, 0.6181, 1,
},
type = "MESH",
}, {
id = "vehicle/plane/junkers_f_13/lod_0_rudder.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -4.861, 0, 0, 1,
},
type = "MESH",
}, {
id = "vehicle/plane/junkers_f_13/lod_0_w3.msh",
transf = transf.rotZYXTransl(transf.degToRad(0,0,0), vec3.new(-4.5444, 0, -0.0802)),
type = "MESH",
}, {
id = "vehicle/plane/junkers_f_13/lod_0_w1.msh",
transf = transf.rotZYXTransl(transf.degToRad(0,0,1.499), vec3.new(0.689, 0.98, -0.641)),
type = "MESH",
}, {
id = "vehicle/plane/junkers_f_13/lod_0_w2.msh",
transf = transf.rotZYXTransl(transf.degToRad(0,0,-1.499), vec3.new(0.689, -0.98, -0.641)),
type = "MESH",
},
{
id = "vehicle/plane/junkers_f_13/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 = {
open_doors_left = {
[3] = {
forward = true,
name = "opend1",
},
},
open_doors_right = {
[4] = {
forward = true,
name = "opend2",
},
},
close_doors_left = {
[3] = {
forward = false,
name = "opend1",
},
},
close_doors_right = {
[4] = {
forward = false,
name = "opend2",
},
},
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 2140,
},
},
metadata = {
airVehicle = {
weight = 1000.0,
maxPayload = 0,
maxTakeOffWeight = 1800.0,
maxThrust = 3500.0,
idleThrust = 0.0,
timeToFullThrust = 3,
power = 228,
wingArea = 34.5,
topSpeed = 38.8888888889,
configs = {
{
axles = {
"vehicle/plane/junkers_f_13/lod_0_w1.msh"
},
wheels = {
"vehicle/plane/junkers_f_13/lod_0_w3.msh"
},
elevator = {
ids = { 7 },
maxAngle = 30
},
aileronLeft = {
ids = { 5 },
maxAngle = 30
},
aileronRight = {
ids = { 6 },
maxAngle = 30
},
props = {
ids = { 8 }
},
rudder = {
ids = { 9 },
maxAngle = 30
}
}
}
},
availability = {
yearFrom = 1920,
yearTo = 1950
},
cost = {
price = -1
},
description = {
name = _("Junkers F 13"),
description = _("The Junkers F 13 was the world's first all-metal transport aircraft, developed in Germany at the end of World War I.")
},
maintenance = {
runningCosts = -1,
lifespan = 30
},
transportVehicle = {
carrier = "AIR",
capacities = {
{
type = "PASSENGERS",
capacity = 12, -- wikipedia: 4
}
},
loadSpeed = 1,
seats = {
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, -25.0, 0.0), vec3.new(0.27, 0.15, -0.218)), crew = true},
}
},
soundConfig = {
soundSet = { name = "aircraft_prop_old" }
}
}
}
end