6. Tools to export mission layouts designed in the editor for use with mission templates. This allows you to quickly add content to your server. Tools are available for both static and dynamic missions.
The core mission system is configured to run 5 different classes of mission (Blue, Red, Green and Orange, and underwater/surface) simultaneously.
Reducing value for ...\custom_serer\configs\blck_configs.sqf\blck_maxSpawnedMissions will reduce the number of missions running on the server at any one time.
Alternatively, AI loadouts can be determined by the mission system based on what is available at server startup. When loadouts are dynamically configured the items spawned in CfgLoot are used. Note that an upper limit on price is available.
Where possible, I have tried group weapons based on desirability from low rank (5.56 ammo) to high rank (7.6 caliber or larger, large bore sniper, heavy LMG) then combine these groups to define parameters as needed.
Define the above parameters (nu. AI groups, No AI, etc)
add this information to the mission template and modify any messages accordingly
Add the name of the file (e.g., "newAImission" to the list of missions to be spawned of that class in ...\custom)server\missions\GMS_missionLists.sqf
Repack your custom_server.pbo
Performance considerations.
At present, missions do not actually spawn objects or players untill a player is within the trigger distance (1000 M).
Hence, performance penalties should be modest to none until players engage a mission.
There is some performance penalty to having a lot of dead AI on the server, or a lot of spawned objects used for scenery at AI missions. Hence, these are deleted after a certain time.
The positions of these are defined by templates (see custom_server\Missions\Static\Missions folder for examples) or by calls to functions to add these elements.
The recommended way to place static units of various types is to lay out their positions in the editor then export the data using the tools provided to create a new mission with these definitions.
Alternatively you can set up calls to the functions that initialize spawns for these units in blck_custom_configs.sqf or an include that is incorporated into it.
See the directions for creating static missions for more information.
This provides an optional ability to accelerate time by user-specified factors.
The time acceleration can be specified for night, daytime and dusk.
Variables controlling the time acceleration module are located in ...\custom_server\configs\blck_configs.sqf and are:
blck_useTimeAcceleration = false; // When true, time acceleration will be periodically updated based on amount of daylight at that time according to the values below.
blck_timeAccelerationDay = 1; // Daytime time accelearation
blck_timeAccelerationDusk = 4; // Dawn/dusk time accelearation
blck_timeAccelerationNight = 8; // Nighttim time acceleration
Note that map/mod specific settings can be specified in blck_custom_config.sqf if that is helpful.
This module allows you to load map-addons (custom bases, enhancements to villages or towns, ATMs at traders etc) but to do so in a way that is map and mod-specific.
I use it to manage the map addons we run on multiple different Arma servers.
It is designed to permit you to place files in subdirectories of the MapAddons folder to simplyfy organization of the various files.
You can enable/disable the use of map-addons with the following variable found in ...\custom_server\configs\blck_configs:
blck_spawnMapAddons = false;
You can define which addons you wish to load in ...\custom_server\MapAddons\MapAddons_init.sqf.
If the number of possible spawn locations is greater than the number of crates to spawned, spawn locations will be randomly chosen giving some variation to your mission from one server restart to the next.