RedK0d / CLICKABLE-FC3

A partially clickable mod for the FC3 Planes
174 stars 24 forks source link

F-5E Tiger II mod interference #29

Closed RedK0d closed 2 years ago

RedK0d commented 2 years ago

local self_ID = "F-5E by Belsimtek" declare_plugin(self_ID, { dirName = current_modpath, displayName = ("F-5E Tiger II"), shortName = "F-5E", fileMenuName = _("F-5E"), update_id = "F-5E", registryPath = "Eagle Dynamics\F-5E", version = __DCS_VERSION_, state = "installed", developerName = ("Belsimtek"), info = _("F-5E Tiger II is a supersonic light fighter designed in the 1970s by Northrop Corporation. Air-to-air missiles and two 20-mm guns combined with excellent aircraft manoeuvrability reveal its air superiority potential while a wide range of armament makes F-5E a capable ground-attack platform. Considering its great military characteristics and relatively low cost, the aircraft became very popular in the global military market."),

binaries = { 'F5E', },

Skins = { { name = "F-5E", dir = "Theme/1" }, }, Missions = { { name = ("F-5E"), dir = "Missions", CLSID = "{F-5E missions}", }, }, LogBook = { { name = ("F-5E-3"), type = "F-5E-3", }, }, Options = { { name = _("F-5E"), nameId = "F-5E-3", dir = "Options", CLSID = "{F-5E Tiger II options}" }, }, InputProfiles = { ["F-5E-3"] = current_mod_path .. '/Input/F-5E/', ["F-5E-3_easy"] = current_mod_path .. '/Input/F-5E_easy/', },

})


mount_vfs_texture_path (current_mod_path .. "/Cockpit/Textures/F-5E-CPT-TEXTURES") mount_vfs_model_path (current_mod_path .. "/Cockpit/Shape") mount_vfs_liveries_path (current_mod_path .. "/Liveries") mount_vfs_texture_path(current_mod_path .. "/Theme/1/ME")--for simulator loading window

local cfg_path = current_mod_path .. "/FM/config.lua" dofile(cfg_path) F5E[1] = self_ID F5E[2] = 'F5E' F5E.config_path = cfg_path F5E.user_options = 'F-5E'

dofile(current_mod_path.."/Views.lua") make_view_settings('F-5E-3', ViewSettings, SnapViews)

make_flyable('F-5E-3', current_mod_path..'/Cockpit/Scripts/',F5E, current_mod_path..'/comm.lua') plugin_done()-- finish declaration , clear temporal data

RedK0d commented 2 years ago

Added line in entry.lua ["F-5E-3"] = {enable_options_key_for_unit='dontuseit'},