PMC websites shut down November 13th 2025 unless web hosting fees are paid. See up to date status from PMC Website Hosting and Domain Registration Fee Status forum topic. Please Support PMC to help keep these websites online.

Enjoyed or found this pages content useful, please Support PMC to help me keep this web page online beyond November 13th 2025 when web hosting fees are due.

User Tools

Site Tools


arma2:missions:userconfig

This is an old revision of the document!


HOWTO use Userconfig

Description.ext:

class X
{
	#include "\userconfig\somefile.hpp"
};

Userconfig\somefile.hpp:

class Y
{
	key = value;
};

Script:

ucval = [[getNumber]] ([[missionConfigFile]] >> "X" >> "Y" >> "key");

Skipping class X means the user could introduce anything into the description.ext Note that #include WILL fail with a CTD if the somefile.hpp doesn't exist.

missionConfigFile is used when the mission does the include from description.ext

campaignConfigFile is similar but for a campaign

configFile is about the “global config” of unit types, vehicle types, and so on, this is the area added to by addons.

arma2/missions/userconfig.1309504179.txt.gz · Last modified: 2011/07/01 07:09 (external edit)