CfgPatches

From Bohemia Interactive Community
Revision as of 15:16, 13 May 2016 by Str (talk | contribs) (Created page with "<syntaxhighlight lang="cpp"> class CfgPatches { class MyAddon { // Meta information for editor name = "My Addon"; author = "Me"; url = "http://xkcd.com"; // Minim...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
class CfgPatches
{
	class MyAddon
	{
		// Meta information for editor
		name = "My Addon";
		author = "Me";
		url = "http://xkcd.com";

		// Minimum compatible version. When the game's version is lower, pop-up warning will appear when launching the game.
		requiredVersion = 1.60; 
		// Required addons, used for setting load order.
		// When any of the addons is missing, pop-up warning will appear when launching the game.
		requiredAddons[] = {"A3_Functions_F"};
		units[] = {};
		weapons[] = {};
	};
};
class CfgPatches
{
	class MyAddon_Weapons
	{
		// Use meta information from specified addon. Used to avoid repeated declarations.
		addonRootClass = "MyAddon";

		requiredVersion = 1.60;
		requiredAddons[] = {"MyAddon"};
		units[] = {};
		weapons[] = {};
	};
};
3den requiredAddons.jpg