onLoadName = "|EW| EVOLUTION NAM DELTA";
author="Eggbeast & BIS Community";
loadScreen = "rsc\Evolution_co.paa";
onLoadMission = "Demolish the Radio Tower, Capture the Commander and Clear each Area of your AO for Final Victory";
class Header
{
	gameType = COOP; //game type
	minPlayers = 1; //min # of players the mission supports
	maxPlayers = 32; //max # of players the mission supports
	playerCountMultipleOf = 1; //OFP:Elite option.
};
//#include "actions\disco\discomoves\config.cpp"
disabledAI = 1;
enableDebugConsole = 1;
// description.ext settings for respawn
/////////////////////////////////////////////////////////////////
respawn = "BASE";
//respawn = 3;
respawndelay = 10;
//respawnVehicleDelay = 60;
respawnButton = 1;
respawnOnStart = -1;
respawnDialog = 0;

// description.ext settings for revive
/////////////////////////////////////////////////////////////////
//respawnTemplates[] = {"MenuPosition","Revive"};
respawnTemplates[] = {"Revive"};
reviveDelay = 10;
reviveForceRespawnDelay = 15;
reviveBleedOutDelay = 300;

///////////////////////////////////////////////////////////////////
// corpse and wreck management 
// https://community.bistudio.com/wiki/Description.ext#corpseLimit
///////////////////////////////////////////////////////////////////
corpseManagerMode = 1; 		//All - All units are managed by the manager
corpseLimit = 20; 			//Corpse limit before which ( <= ) corpseRemovalMaxTime applies and after which ( > ) corpseRemovalMinTime applies
corpseRemovalMinTime = 60; 	//Remove all bodies that have been dead longer than corpseRemovalMinTime when corpseLimit is breached. 
corpseRemovalMaxTime = 1200;//Maximum time a corpse can remain on the ground if total number of corpses is equal or under corpseLimit. 
wreckManagerMode = 0;		//None - None of the vehicles are managed by the manager
/////////////////////////////////////////////////////////////////

//EWDB settings
#include "ADP\Dialog\defines.hpp"
#include "ADP\Dialog\ADP.hpp"
class CfgFunctions
{
	#include "EWDB\EWDB.hpp"
	#include "CfgFunctions.hpp"
	class ADP
	{
		class DialogControl
		{
            #include "ADP\Dialog\functions.hpp"
		};
	};
};
/////////////////////////////////////////////////////////////////
//Arty and logistics
#include "R3F_ARTY_AND_LOG\desc_include.h" 
//T menu
#include "evoUI.hpp"
class CfgRadio{};
class CfgEnvSounds
{
	sounds[] = {"Disco"};
	class Disco
	{
		name = "Disco";
		sound[] = {"sound\Disco.ogg", db-1, 1};
		titles[] = {};
	};	
};
class CfgSounds
{
	sounds[] = {Disco2,Counter,Jay,Intro,CityClear,Promotion,Goodjob,Rocket_Away,Incoming,incoming_Nuke,nblast,nsound,Explo_Large,Explo_Nuke,radzoneb,Recruitment,Resupply,MarkerSmoke,MortarBarrage,Airstrike,SmallArty,LargeArty,NapalmStrike,MortarDist,ArtyDist,ArtyDistLarge,SmokeScreenDist,MarkerSmokeDist,bombplanted,VC_Tanoy,US_Tanoy,Whistle,Whistle2};
	class Disco2
	{
		name = "Disco2";
		sound[] = {"Sound\Disco.ogg", db-1, 1};
		titles[] = {};
	};	
	class US_Tanoy
	{
		name = "US_Tanoy";
		sound[] = {"Sound\US_Tanoy.ogg", db-1,1};
		titles[] = {};
	};
	class Whistle
	{
		name = "Whistle";
		sound[] = {"Sound\Whistle.ogg", db+4, 1};
		titles[] = {};
	};
	class Whistle2
	{
		name = "Whistle2";
		sound[] = {"Sound\Whistle2.ogg", db+4, 1};
		titles[] = {};
	};
	class VC_Tanoy
	{
		name = "VC_Tanoy";
		sound[] = {"Sound\VC_Tanoy.ogg", db+1, 1};
		titles[] = {};
	};
	class Counter //temp fix for intro
	{
		name = "Counter";
		sound[] = {"Sound\Hello.ogg", db-10, 1};
		titles[] = {};
	};
	class Jay
	{
		name = "Jay";
		sound[] = {"Sound\aawar.ogg", db-10, 1};
		titles[] = {};
	};
	class Intro
	{
		name = "Intro";
		sound[] = {"Sound\Hello.ogg", db-2, 1};
		titles[] = {};
	};	
	class CityClear
	{
		name = "CityClear";
		sound[] = {"Sound\CityClear.ogg", db-10, 1};
		titles[] = {};
	};
	class Promotion
	{
		name = "Promotion";
		sound[] = {"Sound\Promotion.ogg", db-10, 1};
		titles[] = {};
	};
	class Goodjob
	{
		name = "Goodjob";
		sound[] = {"Sound\goodjob.ogg", db-3, 1};
		titles[] = {};
	};
	class Rocket_Away
	{
		name = "Rocket_Away"; // Name for mission editor
		sound[] = {"sound\support\Rocket_Away.ogg", db + 0, 1};
		titles[] = {0, ""};
	};
	class Incoming
	{
		name = "Incoming";
		sound[] = {"sound\support\incoming.ogg", db-5, 1};
		titles[] = {};
	};	
	class incoming_Nuke
	{
		name = "incoming_Nuke"; // Name for mission editor
		sound[] = {"sound\support\incoming.ogg", db + 0, 1};
		titles[] = {0, ""};
	};
	class nblast
	{
		name = "nblast"; // Name for mission editor
		sound[] = {"sound\support\nuke.ogg", db + 0, 1};
		titles[] = {0, ""};
	};
	class nsound
	{
		name = "nsound"; // Name for mission editor
		sound[] = {"sound\support\nsound.ogg", db + 0, 1};
		titles[] = {0, ""};
	};
	class Explo_Large
	{
		name = "Explo_Large"; // Name for mission editor
		sound[] = {"sound\support\Explo_Large.ogg", db + 0, 1};
		titles[] = {0, ""};
	};
	class Explo_Nuke
	{
		name = "Explo_Nuke"; // Name for mission editor
		sound[] = {"sound\support\Explo_Large.ogg", db + 0, 1};
		titles[] = {0, ""};
	};
	class radzoneb
	{
		name = "radzoneb"; // Name for mission editor
		sound[] = {"sound\support\radiation.ogg", db + 0, 1};
		titles[] = {0, ""};
	};
	class Recruitment
	{
		name = "Recruitment";
		sound[] = {"sound\support\Recruitment.ogg", db+1, 1};
		titles[] = {};
	};
	class Resupply
	{
		name = "Resupply";
		sound[] = {"sound\support\Resupply.ogg", db-10, 1};
		titles[] = {};
	};
	class MarkerSmoke
	{
		name = "MarkerSmoke";
		sound[] = {"sound\support\MarkerSmoke.ogg", db+2, 1};
		titles[] = {};
	};
	class MortarBarrage
	{
		name = "MortarBarrage";
		sound[] = {"sound\support\MortarBarrage.ogg", db-14, 1};
		titles[] = {};
	};
	class Airstrike
	{
		name = "Airstrike";
		sound[] = {"sound\support\Airstrike.ogg", db+9, 1};
		titles[] = {};
	};
	class SmallArty
	{
		name = "SmallArty";
		sound[] = {"sound\support\SmallArty.ogg", db-5, 1};
		titles[] = {};
	};
	class LargeArty
	{
		name = "LargeArty";
		sound[] = {"sound\support\LargeArty.ogg", db-14, 1};
		titles[] = {};
	};
	class NapalmStrike
	{
		name = "NapalmStrike";
		sound[] = {"sound\support\NapalmStrike.ogg", db-15, 1};
		titles[] = {};
	};
     class MortarDist
	{
		name = "MortarDist";
		sound[] = {"sound\support\MortarDist.ogg", db+9, 1};
		titles[] = {};
	};	
	class ArtyDist
	{
		name = "ArtyDist";
		sound[] = {"sound\support\ArtyDist.ogg", db+9, 1};
		titles[] = {};
	};
	class ArtyDistLarge
	{
		name = "ArtyDistLarge";
		sound[] = {"sound\support\ArtyDistLarge.ogg", db+9, 1};
		titles[] = {};
	};
	class SmokeScreenDist
	{
		name = "SmokeScreenDist";
		sound[] = {"sound\support\SmokeScreenDist.ogg", db+9, 1};
		titles[] = {};
	};
	class MarkerSmokeDist
	{
		name = "MarkerSmokeDist";
		sound[] = {"sound\support\MarkerSmokeDist.ogg", db+9, 1};
		titles[] = {};
	};
	class bombplanted
	{
		name = "bombplanted";
		sound[] = {"sound\bombplanted.ogg", db-5, 1};
		titles[] = {};
	};
	class Brian_Fuck
	{
		name="Brian_Fuck";
		sound[]={"sound\UNIV_v24.ogg",0.05,1};
		titles[]={};
	};
};
class Border
{
    idc			= -1;
    type		= 0;
    style		= 0;
    colorBackground[]	= {0.00, 0.00, 0.00, 0.20};
    colorText[]		= {0.00, 0.00, 0.00, 1.00};
    font		= "TahomaB";
    sizeEx		= 0.023;
    h			= 0.02;
};
class Border2
{
    idc			= -1;
    type		= 0;
    style		= 0;
    colorBackground[]	= {0.00, 0.00, 0.00, 0.50};
    colorText[]		= {0.00, 0.00, 0.00, 1.00};
    font		= "TahomaB";
    sizeEx		= 0.023;
    h			= 0.02;
};
class Border3
{
    idc			= -1;
    type		= 0;
    style		= 0;
    colorBackground[]	= {0.00, 0.00, 0.00, 0.00};
    colorText[]		= {1.00, 1.00, 1.00, 1.00};
    font		= "TahomaB";
    sizeEx		= 0.023;
    h			= 0.02;
};
class RscTitles
{
	#include "R3F_ARTY_AND_LOG\desc_rsct_include.h"
	#include "mando_hitch\mando_hitch_titles.h"
	titles[] =
	{
		"Evo"
	};
	class Evo
	{
		idd=-1;
		movingEnable = 1;
		duration=4;
		fadein=1;
		name = "Evo";
		controls[]=
		{
			Picture
		};   		
		class Picture : RscPicture
		{
			x = 0.25; 
			y = 0.25; 
	        w = 0.60; 
	        h = 0.30;
			text = "rsc\Evolution_co.paa";
			sizeEx = 0.02;	
			style=48;
			colorBackground[]= {0,0,0,1};
		};
	};
};
////////////////////////////////////////////////
//missile camera

class RscMisCam
{
	idd = 50001;
	movingEnable = 1;
	controlsBackground[]=
	{
		Background1
	};
	class Background1 : RscPicture
	{
		idc = 1047001;
		style = 128;
		x = 0.02;
		y = 0.02;
		w = 1.00;
		h = 1.00;
		text = "";
		colorBackground[] = {0, 0, 0, 0.0};
	};
};
class Params
{
	//paramsArray[0]  
	class Respawntype
	{
		title="Respawn type";
		values[]={0,1,2,3};
		default=1;
		texts[]={"Revive only","Base only","Revive/Base","Revive/Base/MHQ"};
	};
//paramsArray[1]
	class hitchtype
	{
		title = "Helicopter hitch and Arty System"; 
		values[] = {0,1,2,3};
		default = 2; 
		texts[] = {"Disabled","[R3F]Logistics","Mando Hitch & R3F","Mando Hitch"};
	};
//paramsArray[2]  
	class Missiontime
	{
      	title="Time Of Day";
		values[]={0,2,4,6,8,10,12,14,16,18,20,22};
		texts[]={"01:00", "03:00", "05:00", "07:00", "09:00", "11:00", "13:00", "15:00", "17:00", "19:00", "21:00", "23:00"};	
		default = 4;
	};
//paramsArray[3]
	class Grass
    {
		title = "Grass";
        values[] = {0,1,2,3,4};
        texts[] = {"No Grass", "Default MP", "Default SP", "More", "Max"};
        default = 1;
	};
//paramsArray[4]
    class View
    {
      	title = "View distance";
      	values[] = {500,800,1000,1300,1500, 1800,2000,2300,2500,2800,3000, 3300,3500,3800,4000,4300, 4500,4800,5000,6000, 7000,8000,9000,10000};
      	texts[] = {"500 m","800 m","1000 m","1300 m","1500 m","1800 m", "2000 m","2300 m","2500 m","2800 m","3000 m","3300 m","3500 m", "3800 m","4000 m","4300 m","4500 m","4800 m","5000 m","6000 m", "7000 m","8000 m","9000 m","10000 m"};
      	default = 1500;
	};
//paramsArray[5]
    class Mhqbeam
    {
		title = "Mobile HQ & respawns";
		values[] = {0,1,2};
		texts[] = {"Disabled", "MHQs Enabled", "MHQs, Farps & Docks"};
		default = 1;
	};
//paramsArray[6]
    class EWDB_status
    {
		title = "EWDB (EW only)";
		values[] = {0,1,2};
		texts[] = {"Disabled", "Enabled", "Experimental"};
		default = 0;
	};
//paramsArray[7]
    class Pilotaccess
    {
		title = "Pilots Access Aircraft";
		values[] = {0,1,2};
		texts[] = {"Disabled", "Enabled", "Enabled at 150 points"};
		default = 2;
	};   
//paramsArray[8]
    class Vehiclelock
    {
		title = "Ranked weapons and vehicles";
		values[] = {0,1,2,3,4,5};
		texts[] = {"Locked", "Vehicles Locked Only", "Equipment Locked Only", "Unlocked", "Vehicles disabled, Eqpt locked","Vehicles disabled, Eqpt unlocked"};
		default = 3;
	};  
//paramsArray[9]
	class Jail
    {
		title = "Teamkiller Punishment";
		values[] = {0,1};
		texts[] = {"Off","On"};
		default = 1;
	};   
//paramsArray[10]
	class Rankscore
    {
		title = "Colonel Rank Points";
		values[] = {1,20,30,40,50,60,80,90,100,150,200};
		texts[] = {"6","120", "180", "240", "300", "360", "480", "540", "600", "900", "1200"};
		default = 50;
	};
//paramsArray[11]
	class Helpers
	{
      	title="AI Recruitment";
		values[]={0,1,2};
		texts[]={"Off","On - Ranked","On - Unlocked"};
		default = 0;
	};
//paramsArray[12]
	class Performance
    {
		title = "Performance - Sky / Environment";
		values[] = {1,2};
		texts[] = {"ON", "OFF"};
		default = 1;
	};
//paramsArray[13]
	class Perks
    {
		title = "Extra weapons: Aircraft & Static";
		values[] = {1,2};
		texts[] = {"On", "Off"};
		default = 1;
	};
//paramsArray[14]
	class Artyscore
    {
      //paramsArray[14]
		title = "Area Artillery Cost";
		values[] = {1,2,3,4,5,6,7,8,9,10,1000};
		texts[] = {"5", "10", "15", "20", "25", "30", "35", "40", "45", "50", "Disabled"};
		default = 8;
	};
//paramsArray[15]
	class Revive
	{
		title = "Number of Revives:";
		values[] = {2000,1000,300,100,50,25};
		texts[] = {"No Revive","Infinite - Cadet","300 - Easy ","100 - Normal","50  - Hard","25  - Extreme"};
		default = 1000;
    };
//paramsArray[16]
	class Difficulty 
	{
		title = "Enemy Presence";
		values[] = {4,3,2,1};
		texts[] = {"Very Low", "Low", "Medium", "High"};
		default = 2;
	};
//paramsArray[17]
	class Reinf
	{
		title = "Enemy Reinforcement Delay";
		values[] = {180, 240, 360, 600, 900, 1800, 0};
		texts[] = {"3 min", "4 min", "6 min", "10 min","15 min","30 min", "never"};
		default = 240;
	};
//paramsArray[18]
	class Reward
	{
		title = "Objective Reward";
		values[] = {6, 4, 2};
		texts[] = {"High", "Med", "Low"};
		default = 4;
	};
//paramsArray[19]
	class POWcamp
	{
		title = "POW Camp";
		values[] = {0, 1};
		texts[] = {"Off", "On"};
		default = 0;
	};
//paramsArray[20]
	class Raiders
	{
		title = "Enemy raider counterattacks";
		values[] = {0, 1, 2};
		texts[] = {"Off", "On","Advanced"};
		default = 1;
	};
//paramsArray[21]
	class Enablespy
	{
		title = "Enable spy class";
		values[] = {0, 1};
		texts[] = {"Off", "On"};
		default = 1;
	};
//paramsArray[22]
	class killcam
	{
		title = "Killcam";
		values[] = {0, 1};
		texts[] = {"Off", "On"};
		default = 0;
	};
//paramsArray[23]
	class enemyskill
	{
		title = "Enemy skill";
		values[] = {0,1,2,3,4,5};
		texts[] = {"Pussy fobbits", "Weekend Warriors","Pongos & Craphats","Bootnecks","The Regiment","Suicide Squad"};
		default = 3;
	};
//paramsArray[24]
	class vecspawnab
	{
		title = "Abandoned vehicle respawn delay";
		values[] = {60,120,300,600,1200,1800,3600,100000};
		texts[] = {"1 min", "2 mins","5 mins","10 mins","15 mins","30 mins","1 hour","never"};
		default = 1200;
	};
//paramsArray[25]
	class vecspawnair
	{
		title = "Air crash respawn delay";
		values[] = {60,120,300,600,1200,1800,3600,100000};
		texts[] = {"1 min", "2 mins","5 mins","10 mins","15 mins","30 mins","1 hour","never"};
		default = 600;
	};
//paramsArray[26]
	class vecspawntnk
	{
		title = "Destroyed land vehicle respawn delay";
		values[] = {30,60,120,300,600,1200,1800,3600,100000};
		texts[] = {"30s","1 min", "2 mins","5 mins","10 mins","15 mins","30 mins","1 hour","never"};
		default = 30;
	};
//paramsArray[27]
	class tky_perfmon
	{
		title = "Run performance monitor";
		values[] = {0,60,300};
		texts[] = {"Off", "Once a minute", "Once every 5 minutes"};
		default = 0;
	};
//paramsArray[28]
	class EGG_weaponmode
	{
		title = "Activate test (EW only)";
		values[] = {0,1};
		texts[] = {"Off", "On"};
		default = 0;
	};
//paramsArray[29]
	class Arsenalmode
	{
		title = "Virtual Arsenal";
		values[] = {0,1};
		texts[] = {"Off", "On"};
		default = 0;
	};
};
class CfgMusic
{
	tracks[]={};
};
debriefing =0;
showGPS=0;
showRadio=0;