forked from WatchBambi/DCS-F-117
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathentry.lua
More file actions
88 lines (77 loc) · 3.25 KB
/
Copy pathentry.lua
File metadata and controls
88 lines (77 loc) · 3.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
self_ID = "F-117-NightHawk"
declare_plugin(
self_ID,
{
displayName = _("F-117A Nighthawk"),
developerName = "HalfManBear",
image = "F-117A.png",
installed = true,
dirName = current_mod_path,
fileMenuName = _("F-117A Nighthawk"),
shortName = _("F-117A Nighthawk"),
version = "1.10.0",
creditsFile = "credits.txt",
state = "installed",
info = _(
"F-117A, also called Nighthawk, single-seat, twin-engine jet fighter-bomber built by the Lockheed Corporation as a part of the skunk works team(now part of the Lockheed Martin Corporation) for the U.S. Air Force. It was the first stealth aircraft—i.e., an aircraft designed entirely around the concept of evading detection by radar and other sensors."
),
binaries = {"F_117_NightHawk.dll"},
InputProfiles = {
["F-117-NightHawk"] = current_mod_path .. "/Input/F-117-NightHawk"
},
Skins = {
{
name = _("F-117A Nighthawk"),
dir = "Theme"
}
},
Missions = {
{
name = _("F-117A Nighthawk"),
dir = "Missions"
}
},
LogBook = {
{
name = _("F-117A Nighthawk"),
type = "F-117-NightHawk"
}
},
Options = {
{
name = _("F-117A Nighthawk"),
nameId = "F-117-NightHawk",
dir = "Options"
}
}
}
)
mount_vfs_texture_path(current_mod_path .. "/Theme/ME")
mount_vfs_model_path(current_mod_path .. "/Shapes")
mount_vfs_model_path(current_mod_path .. "/Cockpit/Shape")
mount_vfs_texture_path(current_mod_path .. "/Textures/F-117-NightHawk-TEXTURES")
mount_vfs_texture_path(current_mod_path .. "/Cockpit/Textures/F-117-NightHawk-CPT-TEXTURES") --
mount_vfs_liveries_path(current_mod_path .. "/Liveries")
----------------------------------------------------------------------------------------
local cfg_path = current_mod_path .. "/FM/config.lua"
dofile(cfg_path)
FM[1] = self_ID
FM[2] = "F_117_NightHawk"
FM.config_path = cfg_path
FM.old = 54 --37 F-117A --54 SU-27T --6 F-15C --17 A-10A
-------------------------------------------------------------------------------------
dofile(current_mod_path .. "/Views.lua")
make_view_settings("F-117-NightHawk", ViewSettings, SnapViews)
-------------------------------------------------------------------------------
local support_cockpit = current_mod_path .. "/Cockpit/Scripts/"
MAC_flyable("F-117-NightHawk", support_cockpit, FM, current_mod_path .. "/comm.lua")
-------------------------------------------------------------------------------
dofile(current_mod_path .. "/Weapons/gbu-31.lua")
dofile(current_mod_path .. "/Weapons/gbu-31v3b.lua")
dofile(current_mod_path .. "/Weapons/gbu-32.lua")
dofile(current_mod_path .. "/Weapons/agm-65d.lua")
dofile(current_mod_path .. "/Weapons/agm-65l.lua")
dofile(current_mod_path .. "/Weapons/agm-154.lua")
dofile(current_mod_path .. "/F-117-NightHawk.lua")
----------------------------------------------------------------------------------------
plugin_done()