User Tools

Site Tools


arma3:config:mod.cpp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
arma3:config:mod.cpp [2017-03-13 21:36]
snakeman created mod.cpp initial page.
arma3:config:mod.cpp [2020-01-01 05:41] (current)
snakeman added old man dlc info.
Line 6: Line 6:
 <code cpp> <code cpp>
 /// Name of your mod /// Name of your mod
-name = "PMC ";+name = "​PMC";​
 /// Picture displayed from the expansions menu/ Optimal size is 2048x1024, other sizes work too /// Picture displayed from the expansions menu/ Optimal size is 2048x1024, other sizes work too
 picture = "​picture.paa";​ picture = "​picture.paa";​
Line 16: Line 16:
 logoOver = "​logoOver.paa";​ logoOver = "​logoOver.paa";​
 /// Website URL, that can accessed from the expansions menu /// Website URL, that can accessed from the expansions menu
-action = "http://​www.pmctactical.org";​+action = "https://​www.pmctactical.org";​
 // name of the action button // name of the action button
 actionName = "PMC Home"; actionName = "PMC Home";
Line 30: Line 30:
 }; };
 /// Overview text, displayed from the extension menu /// Overview text, displayed from the extension menu
-overview = "Visit <a href='http://​www.pmctactical.org'>​PMC Tactical</​a>​ official homepage.<​br/><​br/>​Also <a href='http://​pmc.editing.wiki'>​PMC Editing Wiki</​a>​.";​+overview = "Visit <a href='https://​www.pmctactical.org'>​PMC Tactical</​a>​ official homepage.<​br/><​br/>​Also <a href='https://​pmc.editing.wiki'>​PMC Editing Wiki</​a>​.";​
 /// Hide the extension name /// Hide the extension name
 hideName = 0; hideName = 0;
Line 41: Line 41:
 After unpacking your addon the first thing user sees is contents of in-game menu and if you have bad or even missing mod.cpp it gives very unprofessional look to your addon. After unpacking your addon the first thing user sees is contents of in-game menu and if you have bad or even missing mod.cpp it gives very unprofessional look to your addon.
  
-Mod.cpp display ​name length is 30 characters for expansions menu. It can be longer, but the text is cutoff at least in this menu. If its longer it doesn'​t seem to cause any harm.+Display ​name length is 30 characters for expansions menu. It can be longer, but the text is cutoff at least in this menu. If its longer it doesn'​t seem to cause any harm
 + 
 +Overview string length is about 360 characters what you see below, however note that the html stuff does not count as character in arma3, you must subtract those or in case of <br/> it turns into line feed obviously.
  
 You could also use class CfgMods to setup your mod in-game look or "mod presentation"​ as bis calls it, however that requires the user to keep your original addon directory name, if not then cfgmods breaks. Easiest solution is to use mod.cpp as it will always work. You could also use class CfgMods to setup your mod in-game look or "mod presentation"​ as bis calls it, however that requires the user to keep your original addon directory name, if not then cfgmods breaks. Easiest solution is to use mod.cpp as it will always work.
  
 The images defined in the mod.cpp can be stored in the mod directory or in the addon pbo file. The images defined in the mod.cpp can be stored in the mod directory or in the addon pbo file.
 +
 +Recommended sizes
 +  * Logo: 128x128
 +  * LogoOver: 128x128
 +  * LogoSmall: 64x64
 +  * Picture: 2048x1024
 +
 +**2020-01-01**
 +
 +Old Man DLC was distributed in addon pbo format, mod.cpp included:
 +<code cpp>
 +dir="​Oldman";​
 +nameShort="​Old Man";
 +</​code>​
arma3/config/mod.cpp.1489440977.txt.gz · Last modified: 2017-03-13 21:36 by snakeman