This mission is based on the player capturing zones.
smm_
and is lowercase without numbersinit.sqf
which is called on mission start in non-scheduled environment
by the main init.sqf
.function
folder container a modulename_functions.hpp
modulename_functions.hpp
needs to be included in the main functions.hpp
in the following manner:
class modulename{
file = "smm_modulename\functions";
#include "smm_modulename\functions\modulename_functions.hpp"
};
In here, each module has a short summary of how it works, and what it does. This should be sorted in an alphabetic order.
Responsible for setting all values that are used in the mission. The most important ones are:
Variable | Usage |
---|---|
ai_infantry |
Specifies for each faction, which units should be spawned to defend the zone |
buy_units |
Array of ["vehicletype",price] tuples specifying, which vehicles the user can buy |
rand_weapons ,rand_backpacks ,... |
Array of ["itemtype",price] tuples which the user can buy |
Used for deleting vehicles and weapons, that were not used for some time.
Responsible for allowing the user to equip at the Virtual Arsenal and store gear over sessions.
Several small usefull snippets.
Set of functions to get specific items from vanilla/mod configFiles.
Can track a vehicle/unit with a marker.
Used for dealing with different medic/revive systems.
Responsible for handling players wallets.
Minor framework for keeping the game state over a server restart.
Shop for buying vehicles and gear.
Does all the zone generation, unit spawning and zone owner switching stuff.
Needs more documentation.
All zones are stored in spawnLocs
. Be carefull using this variable.
Disables thermal scopes in vehicles.
Keeps track of how many tickets a team has left.
Synchronizes time over players.
descriptionfor players classes