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

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
arma3:config:mod.cpp [2017-10-06 22:09]
snakeman http to https switch.
arma3:config:mod.cpp [2018-08-18 03:09]
snakeman added recommended image sizes.
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 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
arma3/config/mod.cpp.txt · Last modified: 2020-01-01 05:41 by snakeman