HOWTO
=====

How do I get this thing working?
--------------------------------

Open your mission editor and create 1 or more markers.  Name the markers and make sure the names of marker have no spaces in them.  Optionally add a description in the 'text' field.  This is what is used for messages being displayed when someone captures a sector, ie. if text is 'The Harbor' it will display "US has captured The Harbour".

Create or edit the 'init.sqf' file in your mission root folder and add the line: 

["Flag1", "Flag2", "Flag3"] execVM "esc\init_esc.sqf";

Save your mission by exporting to a MPMission.  Upload and play.  

IMPORTANT: If you want to test it locally on a non-dedicated machine, change the line 'GNO_dedicated = true' to 'GNO_dedicated = false' in esc\init_esc.sqf.  If you don't do this the sectors won't flip and you wont recieve any capture messages.

A sample init.sqf file is included in 'esc\Sample Files'.


How can I set timelimit/scorelimit from the game lobby?
------------------------------------------------------

Create or edit the 'description.ext' file in your mission root folder and add the following:

titleParam1 = "TIME LIMIT";
valuesParam1[] = {300,600,1200,1800,3600}; //Time in seconds
defValueParam1 = 300;
textsParam1[] = {"5 min", "10 min", "20 min", "30 min", "1 hr"};  //Labels show in lobby

titleParam2 = "SCORE LIMIT";
valuesParam2[] = {100,200,300,400};
defValueParam2 = 100;
textsParam2[] = {100,200,300,400};

After you have added the above lines you need to uncomment (remove the leading // from) the following lines in the 'esc\init_esc.sqf' file:

// GNO_timelimit = param1; //Uncomment to tie into description.ext for timelimit.
// GNO_scorelimit = param2; //Uncomment to tie into description.ext for scorelimit.

A sample description.ext file is included in 'esc\Sample Files'.


How do I change the teamnames that show on the scoreboard and messages?
-----------------------------------------------------------------------

Edit the 'esc\init_esc.sqf' file and change the following lines:

GNO_westname = "US";
GNO_eastname = "SLA";
GNO_guername = "RACS";

and

GNO_westscoreboardname = "US:    ";
GNO_eastscoreboardname = "SLA:   ";
GNO_guerscoreboardname = "RACS: ";

The difference between the two is that the scoreboard name has trailing spaces to line up the scores nicely (or as nicely as one can).  Make sure you tweak this before releasing your game.


How do I only display two team names on scoreboard?
---------------------------------------------------

Edit the scoreboard names in 'esc\init_esc.sqf'.  Remove the unneeded team by using an empty string as name like so.

GNO_westscoreboardname = "US:    ";
GNO_eastscoreboardname = "SLA:   ";
GNO_guerscoreboardname = "";

Will result in just east and west showing up in scoreboard.


How do i do XXXXXXXX?
---------------------

Please email me at mats@ronin-group.org and I'll try to answer any questions you might have with this script.

