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

546 lines
14 KiB
Plaintext
Executable File

local vec3 = require "vec3"
local transf = require "transf"
function data()
return {
boundingInfo = {
bbMax = {
14.125260353088, 18.76124382019, 8.2268190383911,
},
bbMin = {
-21.242317199707, -18.76124382019, -0.10195410251617,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
-- Body
{
id = "vehicle/plane/super_connie/lod_0_body.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0+2.8, 1,
},
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_d1.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 7.7727, 0, 0+2.8, 1,
},
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_d2.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -8.0748, 0, 0+2.8, 1,
},
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_d3.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 7.7727, 0, 0+2.8, 1,
},
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_d4.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -8.0748, 0, 0+2.8, 1,
},
type = "MESH",
},
{
id = "vehicle/plane/super_connie/lod_0_rotor1.msh",
transf = transf.rotZYXTransl(transf.degToRad(0,0,0), vec3.new(3.1649, 9.102, 0.6674+2.8)),
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_rotor2.msh",
transf = transf.rotZYXTransl(transf.degToRad(0,0,0), vec3.new(3.5654, -4.2845, 0.1352+2.8)),
type = "MESH",
},{
id = "vehicle/plane/super_connie/lod_0_rotor1.msh",
transf = transf.flipY(transf.rotZYXTransl(transf.degToRad(0,0,0), vec3.new(3.1649, 9.102, 0.6674+2.8))),
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_rotor2.msh",
transf = transf.flipY(transf.rotZYXTransl(transf.degToRad(0,0,0), vec3.new(3.5654, -4.2845, 0.1352+2.8))),
type = "MESH",
},
{
id = "vehicle/plane/super_connie/lod_0_interior.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0+2.8, 1,
},
type = "MESH",
},
-- front wheels
{
id = "vehicle/plane/super_connie/lod_0_flap_front_left.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 8.6123, 0.5154, -0.3604+2.8, 1,
},
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_flap_front_right.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 8.6123, -0.5154, -0.3604+2.8, 1,
},
type = "MESH",
},
{
id = "vehicle/plane/super_connie_lod_0_front_wheel.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 11.1576, 0, -0.3479+2.8, 1,
},
type = "GROUP",
},{
id = "vehicle/plane/super_connie/lod_0_front_wheel_mount_strut.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 9.3643, 0, 0.5488+2.8, 1,
},
type = "MESH",
},
-- back wheels
{
id = "vehicle/plane/super_connie_lod_0_back_wheel.grp",
transf = transf.rotZYXTransl(transf.degToRad(0,0,0), vec3.new(-2.0474, 4.2847, 0.3222+2.8)),
type = "GROUP",
},
{
id = "vehicle/plane/super_connie/lod_0_flap_back_left_left_back.msh",
transf = transf.rotZYXTransl(transf.degToRad(0,0,0), vec3.new(-1.6849, 4.8547, -0.3414+2.8)),
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_flap_back_left_left_front.msh",
transf = transf.rotZYXTransl(transf.degToRad(0,0,0), vec3.new(-0.0944, 4.8619, -0.3907+2.8)),
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_flap_back_left_right_back.msh",
transf = transf.rotZYXTransl(transf.degToRad(0,0,0), vec3.new(-1.6849, 3.7147, -0.3414+2.8)),
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_flap_back_left_right_front.msh",
transf = transf.rotZYXTransl(transf.degToRad(0,0,0), vec3.new(-0.0944, 3.7052, -0.3919+2.8)),
type = "MESH",
},
-- back wheels mirrored
{
id = "vehicle/plane/super_connie_lod_0_back_wheel.grp",
transf = transf.flipY(transf.rotZYXTransl(transf.degToRad(0,0,0), vec3.new(-2.0474, 4.2847, 0.3222+2.8))),
type = "GROUP",
},
{
id = "vehicle/plane/super_connie/lod_0_flap_back_left_left_back.msh",
transf = transf.flipY(transf.rotZYXTransl(transf.degToRad(0,0,0), vec3.new(-1.6849, 4.8547, -0.3414+2.8))),
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_flap_back_left_left_front.msh",
transf = transf.flipY(transf.rotZYXTransl(transf.degToRad(0,0,0), vec3.new(-0.0944, 4.8619, -0.3907+2.8))),
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_flap_back_left_right_back.msh",
transf = transf.flipY(transf.rotZYXTransl(transf.degToRad(0,0,0), vec3.new(-1.6849, 3.7147, -0.3414+2.8))),
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_flap_back_left_right_front.msh",
transf = transf.flipY(transf.rotZYXTransl(transf.degToRad(0,0,0), vec3.new(-0.0944, 3.7052, -0.3919+2.8))),
type = "MESH",
},
-- Aircraft rudders
{
id = "vehicle/plane/super_connie/lod_0_aileron_left.msh",
transf = transf.rotZYXTransl(transf.degToRad(90,-6.714,90.007), vec3.new(-2.6105, 14.1795, 1.3078+2.8)),
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_aileron_left.msh",
transf = transf.flipY(transf.rotZYXTransl(transf.degToRad(90,-6.714,90.007), vec3.new(-2.6105, 14.1795, 1.3078+2.8))),
type = "MESH",
},
{
id = "vehicle/plane/super_connie/lod_0_elevator.msh",
transf = transf.rotZYXTransl(transf.degToRad(90,0,90), vec3.new(-19.807, 0, 2.3763+2.8)),
type = "MESH",
},
{
id = "vehicle/plane/super_connie/lod_0_inboard_flap_left1.msh",
transf = transf.rotZYXTransl(transf.degToRad(85.8,-7.4329,88.2698), vec3.new(-3.0228, 4.8729, 0.0747+2.8)),
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_inboard_flap_left2.msh",
transf = transf.rotZYXTransl(transf.degToRad(90,-2.2817,78.5972), vec3.new(-3.2113, 1.2298, -0.2665+2.8)),
type = "MESH",
},
{
id = "vehicle/plane/super_connie/lod_0_inboard_flap_left1.msh",
transf = transf.flipY(transf.rotZYXTransl(transf.degToRad(85.8,-7.4329,88.2698), vec3.new(-3.0228, 4.8729, 0.0747+2.8))),
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_inboard_flap_left2.msh",
transf = transf.flipY(transf.rotZYXTransl(transf.degToRad(90,-2.2817,78.5972), vec3.new(-3.2113, 1.2298, -0.2665+2.8))),
type = "MESH",
},
{
id = "vehicle/plane/super_connie/lod_0_rudder.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -19.8591, 0, 2.3763+2.8, 1,
},
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_rudder_left.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -20.0068, 6.441, 2.3763+2.8, 1,
},
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_rudder_right.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -20.0068, -6.441, 2.3763+2.8, 1,
},
type = "MESH",
},
-- lights
{
id = "vehicle/plane/super_connie/lod_0_aft_light.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0+2.8, 1,
},
type = "MESH",
},
{
id = "vehicle/plane/super_connie/lod_0_navigation_light_bottom.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0+2.8, 1,
},
type = "MESH",
},
{
id = "vehicle/plane/super_connie/lod_0_navigation_light_left.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0+2.8, 1,
},
type = "MESH",
},
{
id = "vehicle/plane/super_connie/lod_0_navigation_light_right.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0+2.8, 1,
},
type = "MESH",
},
{
id = "vehicle/plane/super_connie/lod_0_navigation_light_top.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0+2.8, 1,
},
type = "MESH",
},
{
id = "vehicle/plane/super_connie/lod_0_logo_body.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0+2.8, 1,
},
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_logo_rudder_left.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -20.0068, 6.441, 2.3763+2.8, 1,
},
type = "MESH",
}, {
id = "vehicle/plane/super_connie/lod_0_logo_rudder_right.msh",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -20.0068, -6.441, 2.3763+2.8, 1,
},
type = "MESH",
},
},
events = {
open_doors_left = {
[2] = {
forward = true,
name = "opend1",
},[3] = {
forward = true,
name = "opend2",
},
},
close_doors_left = {
[2] = {
forward = false,
name = "opend1",
},[3] = {
forward = false,
name = "opend2",
},
},
open_wheels = {
[11] = {
forward = true,
name = "open",
},
[12] = {
forward = true,
name = "open",
},
[13] = {
forward = true,
name = "open",
},
[14] = {
forward = true,
name = "open",
},
[15] = {
forward = true,
name = "open",
},
[16] = {
forward = true,
name = "open",
},
[17] = {
forward = true,
name = "open",
},
[18] = {
forward = true,
name = "open",
},
[19] = {
forward = true,
name = "open",
},
[20] = {
forward = true,
name = "open",
},
[21] = {
forward = true,
name = "open",
},
[22] = {
forward = true,
name = "open",
},
[23] = {
forward = true,
name = "open",
},
[24] = {
forward = true,
name = "open",
},
},
close_wheels = {
[11] = {
forward = false,
name = "open",
},
[12] = {
forward = false,
name = "open",
},
[13] = {
forward = false,
name = "open",
},
[14] = {
forward = false,
name = "open",
},
[15] = {
forward = false,
name = "open",
},
[16] = {
forward = false,
name = "open",
},
[17] = {
forward = false,
name = "open",
},
[18] = {
forward = false,
name = "open",
},
[19] = {
forward = false,
name = "open",
},
[20] = {
forward = false,
name = "open",
},
[21] = {
forward = false,
name = "open",
},
[22] = {
forward = false,
name = "open",
},
[23] = {
forward = false,
name = "open",
},
[24] = {
forward = false,
name = "open",
},
},
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 8270,
},
},
metadata = {
airVehicle = {
weight = 31300.0,
maxPayload = 0,
maxTakeOffWeight = 54400.0,
maxThrust = 150000.0,
idleThrust = 0.0,
timeToFullThrust = 3,
power = 0,
wingArea = 153.3,
topSpeed = 135.833333333,
configs = {
{
axles = {
"vehicle/plane/super_connie/lod_0_w2.msh",
"vehicle/plane/super_connie/lod_0_w3.msh",
},
wheels = {
"vehicle/plane/super_connie/lod_0_w1.msh",
},
elevator = {
ids = { 37 },
maxAngle = 25
},
aileronLeft = {
ids = { 35 },
maxAngle = 30
},
aileronRight = {
ids = { 36},
maxAngle = 30
},
flaps = {
ids = { 38,39,40,41 },
maxAngle = 30
},
props = {
ids = { 6,7,8,9 }
},
rudder = {
ids = { 42, 43, 44, 51, 52 },
maxAngle = 30
}
}
}
},
availability = {
yearFrom = 1952,
yearTo = 1967
},
cost = {
price = -1
},
description = {
name = _("Lockheed Super Constellation"),
description = _("The Lockheed L-1049 Super Constellation is an American aircraft, a member of the Lockheed Constellation aircraft line.")
},
maintenance = {
runningCosts = -1,
lifespan = 50
},
transportVehicle = {
carrier = "AIR",
capacities = {
{
type = "PASSENGERS",
capacity = 90,
}
},
loadSpeed = 4,
seats = {
{ group =1, transf = transf.rotZYXTransl(transf.degToRad(0.0, 0.0, 0.0), vec3.new(10.9, 0.5, 0.35)), crew = true},
}
},
soundConfig = {
soundSet = { name = "aircraft_prop_modern" }
}
}
}
end