CfgPatches

From Bohemia Interactive Community
Revision as of 16: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
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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