serverSettings.sqf - Global-Conflicts-ArmA/Olsen-Framework-Arma-3 GitHub Wiki
Server Settings
the customization/serverSettings.hpp
file contains the core settings needed for a mission that pertain to the server, or the mission as a whole. It contains the settings for a mission time limit, the frequency at which end conditions are checked, as well as the team settings.
Setting up teams
Teams are set up in the customization/serverSettings.hpp
file through classes. Each side (in game faction side) has their own class. Inside each class are settings for that team:
Example:
class west {
name = "USMC";
type = "player";
/*
Respawn tickets per side. Total number of respawns that a side can have during a mission.
Set to -1 for unlimited team respawns, so respawns will only be limited by the individual respawnTickets
in clientSettings. Setting both to a finite number will act as a dual ticket system, so individuals will
use their individual respawnTickets as well as their team tickets until one of them reaches 0.
*/
respawnTickets = -1;
// How many players have to respawn before wave is released
waveSize = 0;
/*
Players should be put in enclosed space, when their number reaches treshold, the defined "gate" will disappear for 30 seconds
it has to be defined for wave respawn to work
*/
respawnPenGate[] = {};
disconnectBodyCleanUp = true;
// List, in order (left to right) of which units are in the secession of command for CO in a mission
// example: CoC_override[] = {"comd1", "plSgt1"};
CoC_override[] = {};
// Whether the team will be shown on the end screen statistics
endScreenDisplay = true;
};
Each of these values is described within the customization/serverSettings.hpp
file.
Time Limit Settings
Most missions will have a time limit enabled. This provides a way to incentivize the players to accomplish the tasks in the mission without taking too much time. It is up to the mission maker to decide whether their mission requires a time limit, and how long that time limit should be.
timeLimit = 30; //Time limit in minutes, to disable the time limit set it to 0
timeLimitMessage = "TIME LIMIT REACHED!"; //The message displayed when the time runs out