Plugins¶
- mount_vfs_texture_path(fp)¶
Loads a filepath to use for plugin textures with VFS.
- Parameters:
fp (string) – The file path.
- Returns:
nil (implicit)
- mount_vfs_model_path(fp)¶
Loads a filepath to use for plugin EDM files with VFS.
- Parameters:
fp (string) – The file path.
- Returns:
nil (implicit)
- mount_vfs_liveries_path(fp)¶
Loads a filepath to use for flyable plugin liveries with VFS.
- Parameters:
fp (string) – The file path.
- Returns:
nil (implicit)
- mount_vfs_sound_path(fp)¶
Loads a filepath to use for plugin sounds with VFS.
- Parameters:
fp (string) – The file path.
- Returns:
nil (implicit)
- plugin_done()¶
Sets a flag informing the engine of a finished plugin declaration.
- Returns:
nil (implicit)
- declare_plugin(name, props)¶
Declares a plugin and loads it into EDGE.
- Parameters:
name (string) – The name of the plugin.
props (Properties table) – Plugin properties
- Returns:
nil (implicit)
Tables¶
Properties¶
Tip
Table element names are case-sensitive, changing the sensitivity may result in undefined behaviour.
You may also insert or alter any additional elements you want inside the table, so long as they don’t interfere with those currently documented.
Name |
Type |
Description |
Required? |
|---|---|---|---|
installed |
boolean |
Can the player can interact with the plugin? (e.g. settings, mission editor) |
✓ |
dirName |
string |
The name of the directory containing the plugin. |
✓ |
displayName |
string |
The name of the plugin shown within UI elements. (exc. module viewer) |
✓ |
fileMenuName |
string |
The name of the file containing the flyable declaration. |
✓ |
update_id |
string |
The ID to check for in DCS updates. |
✗ |
state |
string |
String representing plugin accessibility state. (“installed” or “uninstalled”) |
✓ |
info |
string |
The description of the plugin, shown in the main menu. |
✓ |
encyclopedia_path |
string |
File path pointing towards an |
✗ |
binaries |
table of strings |
Strings representing names of binary executable files ( |
✗ |
Skins |
Defines the path and representation of UI elements. |
✗ |
|
Missions |
Defines the path and UI representation for flyable missions. |
✗ |
|
LogBook |
Defines the path and UI representation for the pilot logbook. |
✗ |
|
InputProfiles |
Defines the path and UI representation for input profile bindings. |
✗ |
|
Options |
Option properties |
✗ |
Skins¶
Hint
This is a nested table of (1), you are viewing the inner table.
Field |
Type |
Description |
Required? |
|---|---|---|---|
name |
string |
The name of the plugin to show within most UI. |
✓ |
dir |
string |
The folder path of elements used. |
✓ |
{
{
name = "plugin",
dir = "Skins/",
},
}
Missions¶
Hint
This is a nested table of (1), you are viewing the inner table.
Field |
Type |
Description |
Required? |
|---|---|---|---|
name |
string |
The name of the plugin to show within most UI. |
✓ |
dir |
string |
The folder path of mission files used. |
✓ |
CLSID |
string |
Customisable string text showing a class ID, e.g. |
✗ |
{
{
name = "plugin",
dir = "Missions/",
CLSID = "{CLSID01124567890CLSID}",
},
}
LogBook¶
Hint
This is a nested table of (1), you are viewing the inner table.
Field |
Type |
Description |
Required? |
|---|---|---|---|
name |
string |
The name of the plugin to show within most UI. |
✓ |
type |
string |
The plugin type. |
✓ |
{
{
name = "plugin",
type = type_id,
},
}
InputProfiles¶
{
[type_id] = "InputProfiles",
}
Options¶
Field |
Type |
Description |
Required? |
|---|---|---|---|
name |
string |
The name of the plugin to show within most UI. |
✓ |
nameId |
string |
The ID of the plugin used for options. |
✓ |
dir |
string |
The folder path of option settings used. |
✓ |
CLSID |
string |
Customisable string text showing a class ID, e.g. |
✗ |
{
{
name = "plugin",
nameId = type_id,
dir = "Options/",
CLSID = "{plugin options}",
},
}
Constants¶
LockOn_Options¶
Represents a table provides variables that describe different states in the game.
Field |
Type |
Description |
Required? |
|---|---|---|---|