From 94fd0d073fa081165b2a066d753e76b4a395a20b Mon Sep 17 00:00:00 2001 From: tanin69 Date: Mon, 14 Feb 2022 22:46:50 +0100 Subject: [PATCH 1/2] Ajout des macros pour messages de debug --- .../Cfg/functions.hpp | 1 + .../Cfg/missionParams.hpp | 102 +++++++-------- CPC-COM[18]-Cache_cash.Altis/description.ext | 32 ----- .../include/debug_macros.hpp | 116 ++++++++++++++++++ CPC-COM[18]-Cache_cash.Altis/init.sqf | 10 +- .../initPlayerLocal.sqf | 7 +- .../loadout/loadout_USsf.sqf | 2 - CPC-COM[18]-Cache_cash.Altis/mission.sqm | Bin 52288 -> 52288 bytes ~CPC-COM[18]-Cache_cash.Altis/mission.sqm | Bin 0 -> 52289 bytes 9 files changed, 182 insertions(+), 88 deletions(-) create mode 100644 CPC-COM[18]-Cache_cash.Altis/include/debug_macros.hpp create mode 100644 ~CPC-COM[18]-Cache_cash.Altis/mission.sqm diff --git a/CPC-COM[18]-Cache_cash.Altis/Cfg/functions.hpp b/CPC-COM[18]-Cache_cash.Altis/Cfg/functions.hpp index 3acc328..060b717 100644 --- a/CPC-COM[18]-Cache_cash.Altis/Cfg/functions.hpp +++ b/CPC-COM[18]-Cache_cash.Altis/Cfg/functions.hpp @@ -14,6 +14,7 @@ class CfgFunctions class setupssscas {}; class setupsssdrone {}; class buildCacheCash {}; + class buildConvoyDefense {}; }; }; }; \ No newline at end of file diff --git a/CPC-COM[18]-Cache_cash.Altis/Cfg/missionParams.hpp b/CPC-COM[18]-Cache_cash.Altis/Cfg/missionParams.hpp index 42eb24a..584c7f6 100644 --- a/CPC-COM[18]-Cache_cash.Altis/Cfg/missionParams.hpp +++ b/CPC-COM[18]-Cache_cash.Altis/Cfg/missionParams.hpp @@ -3,73 +3,48 @@ class Params /* TYPE DE JEU */ class gameType { - title = "Type de jeu :"; + title = "<<<<<| Type de jeu |>>>>>"; values[] = {1,2}; texts[] = { "Trouver la cache d'armes", - "Attaquer un convoi" + "Défendre le convoi" }; default = 1; }; - /* DIFFICULTE GENERALE */ - class difficulte + /* METEO */ + class meteo { - title = "Difficulté :"; - values[] = {0,1,2,3}; - texts[] = {"Facile (-8 joueurs)","Normale (~10 joueurs)","Difficile (+12 joueurs)","Impossible"}; + title = "==| Environnement : Météo |"; + values[] = {0,1,2,3,4}; + texts[] = {"Ciel dégagé","Ciel légèrement nuageux","Ciel nuageux","Pluie","Orage"}; default = 1; }; - - /* METEO */ class heure { - title = "> Heure :"; + title = "------| Environnement : Heure |"; values[] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0}; texts[] = {"01:00","02:00","03:00","04:00","05:00","06:00","07:00","08:00","09:00","10:00","11:00","12:00","13:00","14:00","15:00","16:00","17:00","18:00","19:00","20:00","21:00","22:00","23:00","00:00"}; default = 12; }; - class meteo - { - title = "> Météo :"; - values[] = {0,1,2,3,4}; - texts[] = {"Ciel dégagé","Ciel légèrement nuageux","Ciel nuageux","Pluie","Orage"}; - default = 1; - }; - class fog - { - title = "> Brouillard :"; + class fog { + title = "------| Environnement : Brouillard |"; values[] = {0,1,2,3}; texts[] = {"Aucun","Léger","Moyen","Dense"}; default = 0; }; class fullmoon { - title = "> Nuit de pleine lune :"; + title = "------| Environnement : Nuit de pleine lune |"; values[] = {0,1}; texts[] = {"Non","Oui"}; default = 0; }; /* INSERTION EXTRACTION */ - class insertion - { - title = "=> Type d'insertion :"; - values[] = {0,1,3,4,5}; - texts[] = {"Aléatoire","Choisie","Héliportée (IA)","Parachutage","HALO jump"}; - default = 1; - }; - class extraction - { - title = "=> Extraction :"; - values[] = {0,1,2}; - texts[] = {"Aucune (au choix du leader)","Aléatoire","héliportée"}; - default = 0; - }; - class faction { - title = "> Faction joueur :"; + title = "==|Joueurs : Faction |"; values[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,15,16,17,18,19,20,21,22}; texts[] = { @@ -98,46 +73,63 @@ class Params }; default = 18; }; + class insertion + { + title = "------| Joueurs : Type d'insertion |"; + values[] = {0,1,3,4,5}; + texts[] = {"Aléatoire","Choisie","Héliportée (IA)","Parachutage","HALO jump"}; + default = 1; + }; + class extraction + { + title = "------| Joueurs : Type d'extraction |"; + values[] = {0,1,2}; + texts[] = {"Aucune (au choix du leader)","Aléatoire","héliportée"}; + default = 0; + }; + class nvg { - title = "> Joueurs avec NVG/lampes :"; + title = "------| Joueurs : NVG / Lampes |"; values[] = {0,1,2}; texts[] = {"Rien","NVG","Lampes et/ou equipements nocturnes (quand possible)"}; default = 0; }; class ammocrate { - title = "> Caisse de matos supplémentaire :"; + title = "------| Joueurs : Caisse de matos supplémentaire |"; values[] = {0,1,2,3}; texts[] = {"Non","Caisse","Caisse + arsenal limité","Caisse + arsenal complet"}; default = 0; }; class vehicule { - title = "> Vehicule :"; + title = "------| Joueurs : Vehicules |"; values[] = {0,1,2,3,4,5,6,7,8,9,10,100}; texts[] = {"Aucun","1","2","3","4","5","6","7","8","9","10","100"}; default = 0; }; class sss_cas { - title = "> SSS CAS"; + title = "------| Joueurs : CAS SSS |"; values[] = {0,1,2,3,4,5}; texts[] = {"Non","A-10A","Su-25","A-164 Wipeout","To-199 Neophron","A-143 Buzzard"}; default = 0; }; class sss_drone { - title = "> SSS Drone"; + title = "------| Joueurs : Drone SSS |"; values[] = {0,1,2,3}; texts[] = {"Non","MQ-9 Reaper","MQ-4A Greyhawk","KH-3A Fenghuang"}; default = 0; }; /* IAs */ + + /* DIFFICULTE */ class faction_ia { - title = "=> Faction Ennemie :"; + title = "==| ENI : Faction |"; values[] = { 1,2,3,4,5, 101,102,103,104,105,106,107, @@ -177,46 +169,56 @@ class Params }; default = 101; }; + + class difficulte + { + title = "------| ENI : Nombre d'hostiles |"; + values[] = {0,1,2,3}; + texts[] = {"Facile (-8 joueurs)","Normal (~10 joueurs)","Difficile (+12 joueurs)","Impossible"}; + default = 1; + }; + + class menace_at { - title = "=> Niveau de menace AT (infanterie) :"; + title = "------| ENI : Niveau de menace AT (infanterie) |"; values[] = {0,1,2}; texts[] = {"Aucune","Normale","Importante"}; default = 1; }; class menace_veh_type { - title = "=> Types des véhicules terrestres ennemis :"; + title = "------| ENI : Types des véhicules terrestres |"; values[] = {0,1,2,3}; texts[] = {"Légers","Légers + Moyens","Légers + Moyens + Lourds","Légers + Moyens + (Lourds x 2)"}; default = 2; }; class menace_veh_nbr { - title = "=> Nombre de véhicules terrestres ennemis :"; + title = "------| ENI : Nombre de véhicules terrestres ennemis |"; values[] = {0,1,2}; texts[] = {"Aucun","Normal","Beaucoup"}; default = 1; }; class menace_aa { - title = "=> Présence d'armements AA (infanterie + véhicules) :"; + title = "------| ENI : Présence d'armements AA (infanterie + véhicules) |"; values[] = {0,1}; texts[] = {"Non","Oui"}; default = 0; }; class menace_air { - title = "=> Présence possible de véhicules aériens ennemis (hélicos + avions) :"; + title = "------| ENI : Présence possible de véhicules aériens (hélicos + avions) |"; values[] = {0,1}; texts[] = {"Non","Oui"}; default = 0; }; class skillIA { - title = "=> Skill des IAs (par rapport au réglage serveur):"; + title = "------| ENI : Skill des IAs (par rapport au réglage serveur) |"; values[] = {0.1,0.3,0.5,0.7,0.85,1,1.2,1.5}; texts[] = {"- 90%","- 70%","- 50%","- 30%","- 15%","Par défaut","+ 20%","+ 50%"}; default = 1; }; -}; \ No newline at end of file +}; diff --git a/CPC-COM[18]-Cache_cash.Altis/description.ext b/CPC-COM[18]-Cache_cash.Altis/description.ext index 91d0066..e410fe1 100644 --- a/CPC-COM[18]-Cache_cash.Altis/description.ext +++ b/CPC-COM[18]-Cache_cash.Altis/description.ext @@ -5,35 +5,3 @@ enableDebugConsole = 1; #include "Cfg\missionParams.hpp" #include "Cfg\factions.hpp" -/* - class nato: cc_faction_army - { - class polyvalent - { - r = ""; - tl = ""; - gl = ""; - lat = ""; - at = ""; - mg = ""; - m = ""; - aa = ""; - crew = ""; - veharray_light[] = {"",""}; - veharray_medium[] = {"","","","",""}; - veharray_heavy[] = {"","","","","",""}; - veharray_transport[] = {"",""}; - veharray_heli[] = {"",""}; - veharray_air[] = {"","",""}; - veharray_aa[] = {"",""}; - hmg = ""; - pilot = ""; - plane = ""; - }; - class woodland: polyvalent {}; - class desert: polyvalent {}; - class jungle: woodland {}; - class winter: woodland {}; - }; -*/ - diff --git a/CPC-COM[18]-Cache_cash.Altis/include/debug_macros.hpp b/CPC-COM[18]-Cache_cash.Altis/include/debug_macros.hpp new file mode 100644 index 0000000..bcc17f0 --- /dev/null +++ b/CPC-COM[18]-Cache_cash.Altis/include/debug_macros.hpp @@ -0,0 +1,116 @@ +/** +* Macros for easier debugging management +* +* Usage : +* 1) Define debug output. Add a line with : +* #define DBG_OUTPUT_SCREEN (for output to screen) or +* #define DBG_OUTPUT_RPT (for output to rpt file) +* if not defined, output will be to rpt +* 2) Define debug level. After the previous line, add a line with : +* #define DBG_LEVEL_FULL (all messages will be logged) +* #define DBG_LEVEL_NORMAL (ERROR and WARNING messages will be logged) +* #define DBG_LEVEL_MINIMAL (on ERROR messages will be logged) +* 3) After the previous lines, add a line with : +* #include "include\debug_macros.hpp" +Debug message types : +* LOG : informative message, output only with DBG_LEVEL_FULL +* WARNING : to be used for warning, but not for errors, output with DBG_LEVEL_FULL and DBG_LEVEL_NORMAL +* ERROR : to be used for fatal errors, output with all DBG levels +* +* @example +* //Default mode +* #define DBG_OUTPUT_RPT +* #define DBG_LEVEL_NORMAL +* #include "Cfg\macros.hpp" +* +* @name debug_macros.hpp +* +* @author tanin69 +* +*/ + +/* + Uncomment the following lines to force debug params for all scripts in the mission file. + Dont forget to #include "include\debug_macros.hpp" a the beginning of script files ! +*/ +/* Full Debug to rpt */ +//#define DBG_OUTPUT_RPT +//#define DBG_LEVEL_FULL + +/* Minimal Debug to rpt (only ERROR messages)*/ +//#define DBG_OUTPUT_RPT +//#define DBG_LEVEL_MINIMAL + + +#ifdef DBG_OUTPUT_SCREEN + #define LOG_OUTPUT systemChat +#endif +#ifdef DBG_OUTPUT_RPT + #define LOG_OUTPUT diag_log text +#endif +#ifndef LOG_OUTPUT + #define LOG_OUTPUT diag_log text +#endif + +#ifdef DBG_LEVEL_FULL + #define DBG_LEVEL_NORMAL +#endif +#ifdef DBG_LEVEL_NORMAL + #define DBG_LEVEL_MINIMAL +#endif +#ifndef DBG_LEVEL_MINIMAL + #define DBG_LEVEL_NORMAL + #define DBG_LEVEL_MINIMAL +#endif + +#define MISSION_NAME #Cache_Cash +#define SCRIPT_NAME (__FILE__ splitString "\") select (count (__FILE__ splitString "\") - 1) + +/** +* INFO messages. Only with DBG_LEVEL_FULL +* @example : INF2("Value of _myVar:", _myVar1) +*/ +#ifdef DBG_LEVEL_FULL + + #define INF1(ARG1) LOG_OUTPUT format ["[%1] (%2) INFO: %3", MISSION_NAME, SCRIPT_NAME, ARG1] + #define INF2(ARG1, ARG2) LOG_OUTPUT format ["[%1] (%2) INFO: %3 %4", MISSION_NAME, SCRIPT_NAME, ARG1, ARG2] + #define INF3(ARG1, ARG2, ARG3) LOG_OUTPUT format ["[%1] (%2) INFO: %3 %4 %5", MISSION_NAME, SCRIPT_NAME, ARG1, ARG2, ARG3] + #define INF4(ARG1, ARG2, ARG3, ARG4) LOG_OUTPUT format ["[%1] (%2) INFO: %3 %4 %5 %6", MISSION_NAME, SCRIPT_NAME, ARG1, ARG2, ARG3, ARG4] + +#else + + #define INF1(ARG1) + #define INF2(ARG1, ARG2) + #define INF3(ARG1, ARG2, ARG3) + #define INF4(ARG1, ARG2, ARG3, ARG4) + +#endif + +/** +* WARNING messages. Only with DBG_LEVEL_FULL and DBG_LEVEL_NORMAL +* @example : WARN4("Value for_myVar1:", _myVar1, "Value for _myVar2:", _myVar2) +*/ +#ifdef DBG_LEVEL_NORMAL + + #define WARN1(ARG1) LOG_OUTPUT format ["[%1] (%2) WARNING: %3", MISSION_NAME, SCRIPT_NAME, ARG1] + #define WARN2(ARG1, ARG2) LOG_OUTPUT format ["[%1] (%2) WARNING: %3 %4", MISSION_NAME, SCRIPT_NAME, ARG1, ARG2] + #define WARN3(ARG1, ARG2, ARG3) LOG_OUTPUT format ["[%1] (%2) WARNING: %3 %4 %5", MISSION_NAME, SCRIPT_NAME, ARG1, ARG2, ARG3] + #define WARN4(ARG1, ARG2, ARG3, ARG4) LOG_OUTPUT format ["[%1] (%2) WARNING: %3 %4 %5 %6", MISSION_NAME, SCRIPT_NAME, ARG1, ARG2, ARG3, ARG4] + +#else + + #define WARN1(ARG1) + #define WARN2(ARG1, ARG2) + #define WARN3(ARG1, ARG2, ARG3) + #define WARN4(ARG1, ARG2, ARG3, ARG4) + +#endif + +/** +* ERROR messages. All DBG_LEVEL +* @example : ERR3("Value for_myVar1:", _myVar1, "is illegal. Script aborted") +*/ +#define ERR1(ARG1) LOG_OUTPUT format ["[%1] (%2) ERROR: %3", MISSION_NAME, SCRIPT_NAME, ARG1] +#define ERR2(ARG1, ARG2) LOG_OUTPUT format ["[%1] (%2) ERROR: %3 %4", MISSION_NAME, SCRIPT_NAME, ARG1, ARG2] +#define ERR3(ARG1, ARG2, ARG3) LOG_OUTPUT format ["[%1] (%2) ERROR: %3 %4 %5", MISSION_NAME, SCRIPT_NAME, ARG1, ARG2, ARG3] +#define ERR4(ARG1, ARG2, ARG3, ARG4) LOG_OUTPUT format ["[%1] (%2) ERROR: %3 %4 %5 %6", MISSION_NAME, SCRIPT_NAME, ARG1, ARG2, ARG3, ARG4] diff --git a/CPC-COM[18]-Cache_cash.Altis/init.sqf b/CPC-COM[18]-Cache_cash.Altis/init.sqf index e195a71..e8477e8 100644 --- a/CPC-COM[18]-Cache_cash.Altis/init.sqf +++ b/CPC-COM[18]-Cache_cash.Altis/init.sqf @@ -22,18 +22,24 @@ if (is3DENPreview) then { // Launch game type from mission parameter switch CC_p_game_type do { case 1: {[] spawn STDR_fnc_buildCacheCash;}; - case 2: {SystemChat "Le mode de jeu choisi est en cours d'implémentation : mode Cache cash lancé";[] spawn STDR_fnc_buildCacheCash;}; + case 2: { + SystemChat "Le mode de jeu choisi est en cours d'implémentation : mode Cache cash lancé"; + [] spawn STDR_fnc_buildCacheCash; + //[] spawn STDR_fnc_buildCconvoyDefense; + }; }; waitUntil {!isnil "cc_MarkersCreated"}; + +// DAL : Les deux fonctions suivantes devraient être déplacées dans le initServer.sqf // Date et heure [] call STDR_fnc_setDate; - //METEO [] call STDR_fnc_setWeather; /*SCRIPTS*/ +// DAL : il faut revoir le truc car il va aussi être conditionné par le mode de jeu (ex. Défense de convoi : pas de spawn HALO ou LALO, en théorie) switch (CC_p_insertion) do { case 0 : {null = [] execVM "scripts\insert_random.sqf";}; case 1 : {null = [] execVM "scripts\insert_gdc_choose.sqf";}; diff --git a/CPC-COM[18]-Cache_cash.Altis/initPlayerLocal.sqf b/CPC-COM[18]-Cache_cash.Altis/initPlayerLocal.sqf index 3569437..9d10ccc 100644 --- a/CPC-COM[18]-Cache_cash.Altis/initPlayerLocal.sqf +++ b/CPC-COM[18]-Cache_cash.Altis/initPlayerLocal.sqf @@ -1,3 +1,6 @@ +#define DBG_OUTPUT_SCREEN +#define DBG_LEVEL_FULL +#include "include\debug_macros.hpp" // We need tones of variables [] call STDR_fnc_commonVariables; @@ -5,8 +8,9 @@ //Add Zeus to player if player is admin or player is hosting (local) server _isAdmin = serverCommandAvailable "#logout"; if (_isAdmin || (isServer && hasInterface)) then { - [] call gdc_fnc_addZeusToPlayer; + [] call gdc_fnc_addZeusToPlayerRemote; }; +INF2("_isAdmin a la valeur", _isAdmin); // Variables pour les loadouts playerUnit = _this select 0; // unité du joueur (sélectionnée dans l'écran des slots) @@ -48,7 +52,6 @@ if !(isMultiplayer) then } foreach allUnits; }; - execVM "briefing.sqf"; [] call GDC_fnc_inventoryBriefing; // lancement du script qui affiche le loadout lors du briefing. [] call GDC_fnc_rosterBriefing; // lancement du script qui affiche le roster lors du briefing. diff --git a/CPC-COM[18]-Cache_cash.Altis/loadout/loadout_USsf.sqf b/CPC-COM[18]-Cache_cash.Altis/loadout/loadout_USsf.sqf index 1163de8..1e67529 100644 --- a/CPC-COM[18]-Cache_cash.Altis/loadout/loadout_USsf.sqf +++ b/CPC-COM[18]-Cache_cash.Altis/loadout/loadout_USsf.sqf @@ -175,8 +175,6 @@ hard_setLoadout = }; }; - - loadoutCC_OFF = // { _unit = _this select 0; diff --git a/CPC-COM[18]-Cache_cash.Altis/mission.sqm b/CPC-COM[18]-Cache_cash.Altis/mission.sqm index ed2b716ebf040eb6970406ac40815cef4a4d31db..8de8c8e34460fe831710cdf1839b0b0016047e50 100644 GIT binary patch delta 78 zcmX>wgZaP=<_(rij3Se*m{cv*m&Wd6{P|IAKVyrryFF8B0RuB5<9Wq>j9U-;*)!JW i2--6x7H6iU0)-DRDzj%~U|=v}^fK$T+dPA5#Yq77b{PTy delta 78 zcmX>wgZaP=<_(rijNFs0m{cuoydUmk?AYhApHYbGfgMw60RuDRi*UaEj9Pc)>>2;} i@Y*va7H6iU0)Z)RLJvBcrO_u+qsJ&OMu6{%UB%;r*=w3|jBG;CR=Ju)M@J@|!=R1zZB45Z*+hFD zW46T|DUMFb#WBf5FPgQ*+Zua%GAlD{k~!xR?a8)mGLh}^mmS$eS63?C#Xap%ZOvNM?<8Z_+MEtc5b&kz7+~J(=`PxP#e* zn~iI7g^NUL(#bXX`Ey*|NawigfNCNdaIXQ?uE0T^-F7v-nVcIIdAYwQ9@+ohvt~yw z-`F3o=}2XvJolnk?u$exPW@iwk-v^;sOjs4?v1yhyYKla4UszzdS63LA_o(op4~mG zfo+TY<(csf9+O)@_TPkQ*!?3TH7OWQk%j-r2eoeZVRBjLHt1!{?XsO{>)luNa*BIH zFQ>X?+e?FK?l*cl-Oa;I=9#vOxc2TuF2`{miYMHGG=+a-wkHv-k2ZGqu1Z7?iVj3) z6mb-7>dxd>QRGHkqA$NHlXbH*tCBsbM09={Yyc$?toX1m+wE56^S!x)Cr>`F!8P80HUEhS;>ZqQAy1lA8MGI`G>2AWF_FdvW(iyD^J{=Lq{{Uq z)Bg#xnZd&cOh_m4sg4Bk0!cZ$I+Z-B6`4-cb~Mrb!1alICY4PB%$x_V&u9DSx-XrK zw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5+@pj+DW#e3t<(LzYOnQDupgA3?T};@buyg;my;s>v6HkH}9-zFL(9 z!~)1lKKkQ$-&R2g`B-UT3>Eoa0a_otzVf}RvRJbhuTcl`nFPA6e5~^8*GgBy>xeFe zILx`}kJ60;;|>Dj4ueo~C439@@+;xPekhkQch^IX` Date: Sun, 27 Feb 2022 14:41:32 +0100 Subject: [PATCH 2/2] create_markers.sqf refactored and partial locality refactoring --- .../Cfg/functions.hpp | 3 +- .../Cfg/mapParams.hpp | 535 ++++++++++++++++++ .../Cfg/missionParams.hpp | 31 +- .../create_markers_old.sqf | 510 ----------------- CPC-COM[18]-Cache_cash.Altis/description.ext | 1 + .../functions/cc/fn_ammocrate.sqf | 2 +- .../functions/cc/fn_buildCacheCash.sqf | 463 --------------- .../functions/cc/fn_commonVariables.sqf | 25 +- .../cc/fn_create_markers.sqf} | 61 +- .../cc/fn_obj_cache.sqf} | 0 .../functions/cc/fn_setdate.sqf | 2 + CPC-COM[18]-Cache_cash.Altis/init.sqf | 52 +- .../initPlayerLocal.sqf | 3 +- CPC-COM[18]-Cache_cash.Altis/initserver.sqf | 52 +- CPC-COM[18]-Cache_cash.Altis/mission.sqm | Bin 52288 -> 52288 bytes .../scripts/insert_gdc_helico.sqf | 2 +- .../scripts/insert_gdc_lalo.sqf | 2 +- ~CPC-COM[18]-Cache_cash.Altis/mission.sqm | Bin 52289 -> 0 bytes 18 files changed, 702 insertions(+), 1042 deletions(-) create mode 100644 CPC-COM[18]-Cache_cash.Altis/Cfg/mapParams.hpp delete mode 100644 CPC-COM[18]-Cache_cash.Altis/create_markers_old.sqf delete mode 100644 CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_buildCacheCash.sqf rename CPC-COM[18]-Cache_cash.Altis/{scripts/create_markers.sqf => functions/cc/fn_create_markers.sqf} (92%) rename CPC-COM[18]-Cache_cash.Altis/{scripts/obj_cache.sqf => functions/cc/fn_obj_cache.sqf} (100%) delete mode 100644 ~CPC-COM[18]-Cache_cash.Altis/mission.sqm diff --git a/CPC-COM[18]-Cache_cash.Altis/Cfg/functions.hpp b/CPC-COM[18]-Cache_cash.Altis/Cfg/functions.hpp index 060b717..50a6115 100644 --- a/CPC-COM[18]-Cache_cash.Altis/Cfg/functions.hpp +++ b/CPC-COM[18]-Cache_cash.Altis/Cfg/functions.hpp @@ -13,8 +13,9 @@ class CfgFunctions class setskill {}; class setupssscas {}; class setupsssdrone {}; - class buildCacheCash {}; class buildConvoyDefense {}; + class create_markers {}; + class obj_cache {}; }; }; }; \ No newline at end of file diff --git a/CPC-COM[18]-Cache_cash.Altis/Cfg/mapParams.hpp b/CPC-COM[18]-Cache_cash.Altis/Cfg/mapParams.hpp new file mode 100644 index 0000000..2848b9c --- /dev/null +++ b/CPC-COM[18]-Cache_cash.Altis/Cfg/mapParams.hpp @@ -0,0 +1,535 @@ +class mapParams +{ + class altis + { + worldType = "vanilla"; + timeFullMoon[] = {2016,5,30,0,0}; + whiteListArea = "[]"; + blackListArea = "[\ + [[3636.15,13270.1,0],'ELLIPSE',[1002.83,1122.66],0],\ + [[14974.5,16373.1,0],'RECTANGLE',[899.446,1492.74],223.862],\ + [[16809.9,12977,0],'ELLIPSE',[873.661,842.144],223.862],\ + [[13523,12005.6,0],'ELLIPSE',[594.727,335.679],306.511],\ + [[8512.72,25102.6,0],'ELLIPSE',[818.797,503.416],178.14],\ + [[23682.6,18339.5,0],'ELLIPSE',[1286.82,948.574],307.179],\ + [[8076.41,14561.8,0],'ELLIPSE',[564.364,335.679],216.31],\ + [[6383.18,12281.6,0],'ELLIPSE',[385.557,370.922],306.511]\ + ]"; + defaultPlayerSpawnPos[] = {14738.1,16662.9,0}; + lucySpawnPos[] = {8456.56,25132.1,0}; + }; + + class tanoa + { + worldType = "fidji"; + timeFullMoon[] = {2016,6,30,0,0}; + whiteListArea = "[\ + [3203.61,12037.8,0],'ELLIPSE',[1432.37,2416.46],201.688],\ + [[2551.78,6899.34,0],'ELLIPSE',[1432.37,2232.18],137.787],\ + [[4355.63,3885.18,0],'ELLIPSE',[2140.12,3172.25],246.116],\ + [[11311.5,3540.9,0],'ELLIPSE',[2141.16,2911.4],284.484],\ + [[9657.9,10077.1,0],'ELLIPSE',[3939.03,5435.44],271.081]\ + ]"; + blackListArea = "[\ + [[11673.8,2772.79,0],'RECTANGLE',[410.592,660.608],126.84],\ + [[7065.39,7334.72,0],'ELLIPSE',[416.412,572.18],167.939],\ + [[5695.91,10424.3,0],'ELLIPSE',[649.509,773.307],192.699],\ + [[13551.5,12135.4,0],'ELLIPSE',[649.509,773.307],126.915],\ + [[11817.8,13119,0],'RECTANGLE',[308.982,560.524],106.948],\ + [[9533.95,13544.5,0],'RECTANGLE',[308.982,854.844],96.3162],\ + [[8620.99,10237.6,0],'ELLIPSE',[308.982,560.524],106.948],\ + [[11921.7,10460.2,0],'ELLIPSE',[409.685,642.127],93.0934],\ + [[10064.7,12040.2,0],'ELLIPSE',[677.764,760.999],106.948],\ + [[10641.5,8622.13,0],'ELLIPSE',[392.775,1166.13],263.57]\ + ]"; + defaultPlayerSpawnPos[] = {12283.4,13971.9,0}; + lucySpawnPos[] = {12283,13969,0}; + }; + + class takistan + { + worldType = "desert"; + timeFullMoon[] = {2016,6,29,0,0}; + whiteListArea = "[[[6499.09,6499.61,0],'RECTANGLE',[6002.91,6001.42],0]]"; + blackListArea = "[\ + [[5710.79,11393.7,0],'RECTANGLE',[937.946,434.322],134.145],\ + [[8010.06,1900.74,0],'RECTANGLE',[572.709,310.531],331.93],\ + [[5244.4,6146.79,0],'ELLIPSE',[387.682,287.06],330.167],\ + [[1798.97,8962.41,0],'ELLIPSE',[1464.72,634.517],147.884],\ + [[826.746,10874.1,0],'ELLIPSE',[740.315,308.874],218.708],\ + [[805.393,10028.9,0],'ELLIPSE',[341.605,287.06],251.413],\ + [[6826.09,12280.5,0],'ELLIPSE',[154.858,99.2234],330.167],\ + [[12205.1,11103.2,0],'ELLIPSE',[217.274,156.789],184.474],\ + [[9868.04,11427.2,0],'ELLIPSE',[235.122,221.18],222.152],\ + [[10450.7,10981.3,0],'ELLIPSE',[235.122,221.18],222.152],\ + [[5601.2,9095.96,0],'ELLIPSE',[392.792,221.18],260.951],\ + [[5979.83,10756.9,0],'ELLIPSE',[1103,494.019],292.445],\ + [[800.255,2981.69,0],'ELLIPSE',[235.122,460.418],222.152],\ + [[8024.5,6201.59,0],'ELLIPSE',[294.03,265.703],222.152]\ + ]"; + defaultPlayerSpawnPos[] = {5821.4,11233.8,0}; + lucySpawnPos[] = {6025.07,11102.2,0}; + }; + + //Livonia + class enoch + { + worldType = "chern"; + timeFullMoon[] = {2016,3,30,0,0}; + whiteListArea = "[[[6400.39,6400.12,0],'RECTANGLE',[5700.26,5699.95],0]]"; + blackListArea = "[\ + [[3927.79,10207.7,0],'RECTANGLE',[670.311,375.522],135.875],\ + [[5047.13,10074.2,0],'ELLIPSE',[396.415,656.747],0],\ + [[1562.61,7385.01,0],'ELLIPSE',[781.239,984.452],150.712],\ + [[6075.37,4104.94,0],'ELLIPSE',[448.533,656.747],302.961],\ + [[5620.93,3806.29,0],'RECTANGLE',[166.064,176.584],149.422],\ + [[6379.78,4781.55,0],'RECTANGLE',[166.064,176.584],125.837],\ + [[8466.99,6865.83,0],'RECTANGLE',[166.064,176.584],137.044],\ + [[9050.47,6630.03,0],'RECTANGLE',[166.064,176.584],167.367],\ + [[11547.5,7058.23,0],'RECTANGLE',[166.064,176.584],163.024],\ + [[10982.7,9020.51,0],'RECTANGLE',[195.826,176.584],182.217],\ + [[11467.5,9583.07,0],'RECTANGLE',[323.856,284.037],149.422],\ + [[9406.45,10776.3,0],'ELLIPSE',[396.415,656.747],153.435],\ + [[7867,9813.93,0],'ELLIPSE',[276.899,429.547],0],\ + [[5061.04,2147.72,0],'ELLIPSE',[335.36,410.8],90],\ + [[7440.19,2705.38,0],'ELLIPSE',[335.36,410.8],136.814],\ + [[3491.38,11873.4,0],'ELLIPSE',[449.853,566.251],117.642],\ + [[8142.91,10773.8,0],'RECTANGLE',[257.385,234.869],262.763],\ + [[2595.49,5514.56,0],'RECTANGLE',[233.768,142.489],226.179]\ + ]"; + defaultPlayerSpawnPos[] = {3981.46,10188.6,0}; + lucySpawnPos[] = {133.815,229.94,0}; + }; + + class chernarus + { + worldType = "chern"; + timeFullMoon[] = {2016,3,30,0,0}; + whiteListArea = "[[[7716.22,8102.3,0],'RECTANGLE',[7218.04,6758.17],0]]"; + blackListArea = "[\ + [[4614.45,10260.4,0],'RECTANGLE',[633.794,1211.86],150.375],\ + [[6799.08,2531.72,0],'ELLIPSE',[707.555,845.495],236.558],\ + [[10499.9,2167.82,0],'ELLIPSE',[678.508,845.495],236.558],\ + [[13625.5,2988.8,0],'ELLIPSE',[678.508,845.495],290.491],\ + [[12644.3,9689.44,0],'ELLIPSE',[603.783,1288.93],229.419],\ + [[9453.44,13642.2,0],'ELLIPSE',[165.888,239.469],265.846],\ + [[8690.57,2794.55,0],'ELLIPSE',[221.924,348.754],165.512],\ + [[2718.37,5294.47,0],'ELLIPSE',[545.108,320.627],286.728]\ + ]"; + defaultPlayerSpawnPos[] = {4648.93,10264,0}; + lucySpawnPos[] = {13708.8,2869.94,0}; + }; + + class chernarus_summer + { + worldType = "chern"; + timeFullMoon[] = {2016,3,30,0,0}; + whiteListArea = "[[[7716.22,8102.3,0],'RECTANGLE',[7218.04,6758.17],0]]"; + blackListArea = "[\ + [[4614.45,10260.4,0],'RECTANGLE',[633.794,1211.86],150.375],\ + [[6799.08,2531.72,0],'ELLIPSE',[707.555,845.495],236.558],\ + [[10499.9,2167.82,0],'ELLIPSE',[678.508,845.495],236.558],\ + [[13625.5,2988.8,0],'ELLIPSE',[678.508,845.495],290.491],\ + [[12644.3,9689.44,0],'ELLIPSE',[603.783,1288.93],229.419],\ + [[9453.44,13642.2,0],'ELLIPSE',[165.888,239.469],265.846],\ + [[8690.57,2794.55,0],'ELLIPSE',[221.924,348.754],165.512],\ + [[2718.37,5294.47,0],'ELLIPSE',[545.108,320.627],286.728]\ + ]"; + defaultPlayerSpawnPos[] = {4648.93,10264,0}; + lucySpawnPos[] = {13708.8,2869.94,0}; + }; + + class chernarus_winter + { + worldType = "chern"; + timeFullMoon[] = {2016,3,30,0,0}; + whiteListArea = "[[[7716.22,8102.3,0],'RECTANGLE',[7218.04,6758.17],0]]"; + blackListArea = "[\ + [[4614.45,10260.4,0],'RECTANGLE',[633.794,1211.86],150.375],\ + [[6799.08,2531.72,0],'ELLIPSE',[707.555,845.495],236.558],\ + [[10499.9,2167.82,0],'ELLIPSE',[678.508,845.495],236.558],\ + [[13625.5,2988.8,0],'ELLIPSE',[678.508,845.495],290.491],\ + [[12644.3,9689.44,0],'ELLIPSE',[603.783,1288.93],229.419],\ + [[9453.44,13642.2,0],'ELLIPSE',[165.888,239.469],265.846],\ + [[8690.57,2794.55,0],'ELLIPSE',[221.924,348.754],165.512],\ + [[2718.37,5294.47,0],'ELLIPSE',[545.108,320.627],286.728]\ + ]"; + defaultPlayerSpawnPos[] = {4648.93,10264,0}; + lucySpawnPos[] = {13708.8,2869.94,0}; + }; + + //chernarus 2020 + class cup_chernarus_a3 + { + worldType = "chern"; + timeFullMoon[] = {2016,3,30,0,0}; + whiteListArea = "[[[7716.22,8102.3,0],'RECTANGLE',[7218.04,6758.17],0]]"; + blackListArea = "[\ + [[4614.45,10260.4,0],'RECTANGLE',[633.794,1211.86],150.375],\ + [[6799.08,2531.72,0],'ELLIPSE',[707.555,845.495],236.558],\ + [[10499.9,2167.82,0],'ELLIPSE',[678.508,845.495],236.558],\ + [[13625.5,2988.8,0],'ELLIPSE',[678.508,845.495],290.491],\ + [[12644.3,9689.44,0],'ELLIPSE',[603.783,1288.93],229.419],\ + [[8116.03,12863.3,0],'ELLIPSE',[759.182,1202.9],247.286],\ + [[8690.57,2794.55,0],'ELLIPSE',[221.924,348.754],165.512],\ + [[2718.37,5294.47,0],'ELLIPSE',[545.108,320.627],286.728],\ + [[4081.61,11691.5,0],'ELLIPSE',[359.251,396.318],265.846],\ + [[11476.7,14379.4,0],'ELLIPSE',[818.679,1308.67],120.579],\ + [[13974.6,13251.8,0],'ELLIPSE',[759.182,708.272],247.286],\ + [[11659.5,12464.9,0],'ELLIPSE',[538.268,1084.96],263.735],\ + [[3362.58,12797,0],'ELLIPSE',[564.826,1202.9],247.286],\ + [[1263.67,14433.3,0],'ELLIPSE',[611.733,1202.9],147.939]\ + ]"; + defaultPlayerSpawnPos[] = {4648.93,10264,0}; + lucySpawnPos[] = {13673.2,2971.31,0}; + }; + + class isladuala3 + { + worldType = "afrique"; + timeFullMoon[] = {2016,6,29,0,0}; + whiteListArea = "[]"; + blackListArea = "[\ + [[635.969,6454.05,0],'ELLIPSE',[392.1,418.128],130.783],\ + [[2585.86,7780.95,0],'ELLIPSE',[392.1,471.027],251.634],\ + [[9133.94,7308.84,0],'ELLIPSE',[392.1,478.867],138.621],\ + [[1575.13,6022.47,0],'ELLIPSE',[281.239,260.438],87.1828],\ + [[4592.88,2246.1,0],'RECTANGLE',[762.378,336.837],0],\ + [[3432.59,2598.35,0],'RECTANGLE',[651.303,282.102],0],\ + [[3528.89,3106.83,0],'RECTANGLE',[234.41,265.471],270.374],\ + [[4383.11,6628.92,0],'ELLIPSE',[568.205,567.448],104.261],\ + [[6225.96,6285.88,0],'RECTANGLE',[920.577,453.755],0],\ + [[5039.54,5148.34,0],'RECTANGLE',[279.272,174.987],0],\ + [[8811.74,6361.03,0],'ELLIPSE',[441.454,278.095],221.262],\ + [[5588.2,7652.53,0],'ELLIPSE',[150,150],0],\ + [[5870.11,4743.62,0],'ELLIPSE',[184.211,229.611],87.1828]\ + ]"; + defaultPlayerSpawnPos[] = {5949.44,6190.24,0}; + lucySpawnPos[] = {4313.08,6510.6,0}; + }; + + class lingor3 + { + worldType = "jungle"; + timeFullMoon[] = {2016,6,29,0,0}; + whiteListArea = "[]"; + blackListArea = "[\ + [[6565.1,5793.22,0],'RECTANGLE',[990.569,1916.55],0],\ + [[9009.89,5886.17,0],'ELLIPSE',[395.229,506.709],0],\ + [[8099.52,6735.81,0],'ELLIPSE',[240.898,326.706],122.125],\ + [[7541.95,8289.34,0],'ELLIPSE',[141.045,172.072],53.5809],\ + [[2291.93,6277.57,0],'ELLIPSE',[297.317,310.885],0],\ + [[9914.73,273.514,0],'ELLIPSE',[395.229,411.391],0],\ + [[3970.93,1451,0],'RECTANGLE',[767.76,673.934],0],\ + [[1847.16,4550.88,0],'ELLIPSE',[357.489,345.785],0],\ + [[627.526,9977.67,0],'ELLIPSE',[297.317,310.885],0],\ + [[184.904,9296.26,0],'ELLIPSE',[236.804,310.885],42.5533],\ + [[2915.62,6920.68,0],'RECTANGLE',[386.69,473.014],0],\ + [[686.356,5658.4,0],'RECTANGLE',[674.529,1220.33],0],\ + [[4246.05,5312.41,0],'RECTANGLE',[1371.97,1256.13],0]\ + ]"; + defaultPlayerSpawnPos[] = {6754.69,6935.87,0}; + lucySpawnPos[] = {9923.75,208.365,0}; + }; + + class dingor + { + worldType = "afrique"; + timeFullMoon[] = {2016,6,29,0,0}; + whiteListArea = "[]"; + blackListArea = "[\ + [[6565.1,5793.22,0],'RECTANGLE',[990.569,1916.55],0],\ + [[9009.89,5886.17,0],'ELLIPSE',[395.229,506.709],0],\ + [[8099.52,6735.81,0],'ELLIPSE',[240.898,326.706],122.125],\ + [[7541.95,8289.34,0],'ELLIPSE',[141.045,172.072],53.5808],\ + [[2106.82,6270.62,0],'ELLIPSE',[342.369,173.227],232.997],\ + [[924.448,9273.56,0],'ELLIPSE',[395.229,411.391],0],\ + [[3970.93,1451,0],'RECTANGLE',[767.76,673.934],0],\ + [[1810.67,4589.6,0],'ELLIPSE',[393.565,384.893],359.391],\ + [[2915.62,6920.68,0],'RECTANGLE',[386.69,473.014],0],\ + [[4246.05,5312.41,0],'RECTANGLE',[1371.97,1256.13],0]\ + ]"; + defaultPlayerSpawnPos[] = {6832.08,6908.56,0}; + lucySpawnPos[] = {935.23,9209.41,0}; + }; + + //Sahrani + class sara + { + worldType = "vanilla"; + timeFullMoon[] = {2016,6,29,0,0}; + whiteListArea = "[]"; + blackListArea = "[\ + [[4837.61,15579.5,0],'ELLIPSE',[900,900],0],\ + [[17413.8,18627.9,0],'ELLIPSE',[921.998,1366.83],154.063],\ + [[17497.6,3969.93,0],'ELLIPSE',[1820.96,1820.96],0],\ + [[9473.36,3484.78,0],'ELLIPSE',[526.71,377.138],0],\ + [[2500.46,2609.75,0],'ELLIPSE',[1465.75,1465.75],0],\ + [[1927.55,17976.6,0],'ELLIPSE',[900,1358.34],210.681],\ + [[9813.94,10031.9,0],'RECTANGLE',[885.139,412.09],0],\ + [[10530.6,9349.49,0],'ELLIPSE',[529.049,529.049],0],\ + [[17771.9,12392,0],'RECTANGLE',[125.886,125.886],0],\ + [[18964.6,14119.8,0],'ELLIPSE',[904.124,434.116],221.148],\ + [[12979.8,17371.7,0],'ELLIPSE',[842.051,1172.51],305.598],\ + [[8167.1,17003.1,0],'RECTANGLE',[125.886,125.886],206.341],\ + [[11045.9,16816.5,0],'ELLIPSE',[474.938,329.637],174.805],\ + [[13341.4,8945.04,0],'ELLIPSE',[587.632,393.227],150.714],\ + [[12353.9,8482.43,0],'RECTANGLE',[76.7495,125.886],0],\ + [[12364.9,7092.24,0],'ELLIPSE',[479.173,479.173],0],\ + [[11574,6101.59,0],'ELLIPSE',[529.049,529.049],0],\ + [[12457,10573.9,0],'ELLIPSE',[597.378,321.505],286.678],\ + [[16983,10970.2,0],'ELLIPSE',[1090.04,312.81],199.799],\ + [[18732.3,10723.8,0],'ELLIPSE',[1535.23,753.434],135.462],\ + [[19362.3,12431.9,0],'ELLIPSE',[606.296,213.912],259.492],\ + [[8851.5,14292.3,0],'ELLIPSE',[4182.47,1508.96],214.446],\ + [[15720.8,11520.3,0],'ELLIPSE',[697.841,732.029],191.898],\ + [[14756.2,15630.7,0],'ELLIPSE',[1628.28,2333.66],122.814],\ + [[10795.7,7843.18,0],'ELLIPSE',[1295.82,552.801],317.342]\ + ]"; + defaultPlayerSpawnPos[] = {2582.69,2710.45,0}; + lucySpawnPos[] = {9493.33,3448.66,0}; + }; + + //Podagorsk + class fdf_isle1_a + { + worldType = "chern"; + timeFullMoon[] = {2016,3,30,0,0}; + whiteListArea = "[[[9487.25,11397.8,0],'RECTANGLE',[5813.54,8582.39],0]]"; + blackListArea = "[\ + [[7464.38,10733.8,0],'ELLIPSE',[788.509,387.813],194.53],\ + [[13049.1,9630.18,0],'ELLIPSE',[148.374,147.731],0],\ + [[10233.6,8868.53,0],'ELLIPSE',[159.743,159.743],0],\ + [[11372.6,7920.76,0],'ELLIPSE',[91.3027,91.3027],0],\ + [[14837.8,6414.02,0],'ELLIPSE',[462.606,456.595],131.568],\ + [[14167.5,5564.69,0],'ELLIPSE',[492.849,815.506],132.725],\ + [[7048.01,9114.1,0],'ELLIPSE',[733.34,1595.13],167.471],\ + [[7199.89,11987.5,0],'ELLIPSE',[328.399,728.645],107.133],\ + [[6723.94,11362.1,0],'ELLIPSE',[378.549,519.141],219.67],\ + [[8054.12,6726.44,0],'ELLIPSE',[370.866,582.591],137.907],\ + [[11370.8,5092.49,0],'ELLIPSE',[488.573,281.421],203.438],\ + [[8627.93,4545.95,0],'ELLIPSE',[2414.86,1272.17],191.73],\ + [[14625.6,9709.83,0],'ELLIPSE',[159.743,289.837],152.644],\ + [[9071.7,15727.5,0],'ELLIPSE',[133.277,133.277],0],\ + [[11871.1,10493.8,0],'ELLIPSE',[504.833,300.927],168.401],\ + [[8612.88,7820.9,0],'ELLIPSE',[353.617,354.597],194.53],\ + [[10796.8,6922.09,0],'ELLIPSE',[408.533,354.597],215.637]\ + ]"; + defaultPlayerSpawnPos[] = {15880,6584.53,0}; + lucySpawnPos[] = {14046.6,5865.5,0}; + }; + + //Bystrica + class woodland_acr + { + worldType = "chern"; + timeFullMoon[] = {2016,3,30,0,0}; + whiteListArea = "[[[3850.91,3800.08,0],'RECTANGLE',[3449.93,3473.5],0]]"; + blackListArea = "[\ + [[2169.31,4317.33,0],'ELLIPSE',[280.934,280.934],0],\ + [[3049.5,5832.45,0],'ELLIPSE',[121.456,121.456],0],\ + [[1313.27,1863.65,0],'ELLIPSE',[533.899,525.094],0],\ + [[4856.59,1335.01,0],'ELLIPSE',[451.897,643.821],237.631],\ + [[3317.99,1981.52,0],'ELLIPSE',[227.043,344.28],145.19],\ + [[5884.81,4658.63,0],'ELLIPSE',[193.014,96.3768],150.933],\ + [[5842.51,5777.9,0],'ELLIPSE',[256.496,100.704],188.39],\ + [[5270.66,7200.79,0],'ELLIPSE',[280.934,193.996],134.164],\ + [[740.133,6975.16,0],'RECTANGLE',[363.294,327.083],0],\ + [[1688.36,6898.93,0],'ELLIPSE',[280.934,169.661],204.383],\ + [[424.33,3991.99,0],'ELLIPSE',[185.794,280.934],0],\ + [[3775.91,3045.79,0],'ELLIPSE',[86.1889,125.838],213.868],\ + [[4718.73,4637.83,0],'ELLIPSE',[122.774,122.774],0],\ + [[4247.95,5736.62,0],'ELLIPSE',[95.2251,161.008],282.492],\ + [[6678.24,2735.48,0],'ELLIPSE',[280.934,196.768],174.183],\ + [[6744.38,6486.92,0],'ELLIPSE',[280.934,184.281],169.2]\ + ]"; + defaultPlayerSpawnPos[] = {161.665,7588.38,0}; + lucySpawnPos[] = {381.451,7649.95,0}; + }; + + //N'Ziwasogo + class pja305 + { + worldType = "jungle"; + timeFullMoon[] = {2016,6,29,0,0}; + whiteListArea = "[[[10249.4,10211.3,0],'RECTANGLE',[9750.05,9748.92],0]]"; + blackListArea = "[\ + [[12634.8,2616.75,0],'ELLIPSE',[3761.49,2915.84],0],\ + [[11737.7,6205.16,0],'ELLIPSE',[2684.88,1413.23],145.649],\ + [[2204.32,9586.89,0],'ELLIPSE',[1633.37,992.323],181.096],\ + [[3876.3,11453.5,0],'ELLIPSE',[1842.43,431.979],110.79],\ + [[4673.41,13641.5,0],'ELLIPSE',[1266.98,857.678],239.889],\ + [[7058.98,3683.06,0],'ELLIPSE',[589.038,1036.12],304.489]\ + ]"; + defaultPlayerSpawnPos[] = {13027,885.263,0}; + lucySpawnPos[] = {11786.9,1540.46,0}; + }; + + //Daryiah + class pja307 + { + worldType = "desert"; + timeFullMoon[] = {2016,6,29,0,0}; + whiteListArea = "[]"; + blackListArea = "[\ + [[17251.1,18444.8,0],'ELLIPSE',[308.144,426.621],137.561],\ + [[17176.9,19702,0],'RECTANGLE',[1175.65,772.17],0],\ + [[9463.67,12874.2,0],'ELLIPSE',[388.321,1261.15],119.012],\ + [[16845.5,1212.75,0],'RECTANGLE',[521.152,911.745],179.973],\ + [[11480.6,4790.74,0],'ELLIPSE',[442.646,443.135],117.055],\ + [[11061.1,787.543,0],'RECTANGLE',[897.326,573.599],0],\ + [[3449.45,10170.9,0],'RECTANGLE',[10427.3,3618.5],90],\ + [[13526.3,20230.9,0],'RECTANGLE',[332.363,6559.02],90],\ + [[20322,10092.3,0],'RECTANGLE',[10427.3,310.283],90],\ + [[13512.9,35.2088,0],'RECTANGLE',[332.363,6533.49],90],\ + [[9310.99,2767.35,0],'RECTANGLE',[1003.72,2583.1],0],\ + [[7701.46,4708.35,0],'RECTANGLE',[915.847,697.781],0],\ + [[7767.47,1014.32,0],'RECTANGLE',[915.847,697.781],0],\ + [[18222.2,15323,0],'RECTANGLE',[1840.29,2186.91],0],\ + [[19256.2,11526.1,0],'RECTANGLE',[786.99,1728.74],0],\ + [[18852.4,9075.46,0],'RECTANGLE',[1173.97,753.691],0],\ + [[19754.1,4354.75,0],'RECTANGLE',[282.131,3998.51],0],\ + [[7698.15,11561.9,0],'RECTANGLE',[786.99,1728.74],0],\ + [[8248.73,15327,0],'RECTANGLE',[1365.43,2186.91],0],\ + [[19474.4,3707.26,0],'ELLIPSE',[566.138,825.59],0],\ + [[11869.8,8830.69,0],'ELLIPSE',[500,500],0]\ + ]"; + defaultPlayerSpawnPos[] = {5287.35,14565.9,0}; + lucySpawnPos[] = {302.839,422.334,0}; + }; + + //Nogova + class noe + { + worldType = "vanilla"; + timeFullMoon[] = {2016,6,29,0,0}; + whiteListArea = "[]"; + blackListArea = "[\ + [[2638.66,369.142,0],'ELLIPSE',[1143.01,559.168],0],\ + [[1525.12,5196.8,0],'RECTANGLE',[852.247,408.569],90],\ + [[282.114,8287.27,0],'ELLIPSE',[300,300],0],\ + [[2615.01,12425.6,0],'ELLIPSE',[300,300],0],\ + [[9593.33,12481.4,0],'RECTANGLE',[365.027,1070.63],90],\ + [[7030.86,8023.12,0],'ELLIPSE',[229.256,229.256],0],\ + [[8258.32,1560.11,0],'ELLIPSE',[1670.77,1118.02],33.6302],\ + [[6275.91,10709,0],'ELLIPSE',[707.956,559.168],127.296],\ + [[8528.03,7471.29,0],'ELLIPSE',[299.526,300.679],0]\ + ]"; + defaultPlayerSpawnPos[] = {8917.49,12508.5,0}; + lucySpawnPos[] = {7630.57,1195.23,0}; + }; + + //Everon + class eden + { + worldType = "vanilla"; + timeFullMoon[] = {2016,6,29,0,0}; + whiteListArea = "[]"; + blackListArea = "[\ + [[10872.3,11717.8,0],'ELLIPSE',[1248.51,727.677],229.705],\ + [[10826.1,8695.75,0],'ELLIPSE',[353.904,353.904],0],\ + [[1113.44,11577.5,0],'ELLIPSE',[672.224,672.224],0],\ + [[3071.82,1907.09,0],'ELLIPSE',[799.923,799.923],0],\ + [[4892.87,11687.4,0],'RECTANGLE',[1010.89,900.834],0]\ + ]"; + defaultPlayerSpawnPos[] = {4859.88,11799.2,0}; + lucySpawnPos[] = {1128.99,11508.8,0}; + }; + + //Kujari + class tem_kujari + { + worldType = "afrique"; + timeFullMoon[] = {2016,6,29,0,0}; + whiteListArea = "[[[8178.86,8046.74,0],'RECTANGLE',[7595.73,7617.96],0]]"; + blackListArea = "[\ + [[11805,14823.9,0],'RECTANGLE',[1802.54,928.486],0]\ + ]"; + defaultPlayerSpawnPos[] = {11974.1,15103.8,0}; + lucySpawnPos[] = {8013.77,28.4434,0}; + }; + + //old PKL + class prei_khmaoch_luong + { + worldType = "jungle"; + timeFullMoon[] = {2016,6,30,0,0}; + whiteListArea = "[[[4115.72,4137.93,0],'RECTANGLE',[3543.66,3608.95],0]]"; + blackListArea = "[\ + [[7042.53,2537.15,0],'RECTANGLE',[524.161,287.551],25.0685],\ + [[5686.11,4167.89,0],'RECTANGLE',[429.416,187.525],0],\ + [[6945.69,4880.06,0],'RECTANGLE',[361.753,362.503],0],\ + [[6087.71,6710.18,0],'RECTANGLE',[346.388,239.755],0],\ + [[955.082,1452.27,0],'RECTANGLE',[79.4979,77.4629],0]\ + ]"; + defaultPlayerSpawnPos[] = {7379.08,757.978,0}; + lucySpawnPos[] = {7939,8405,0}; + }; + + //VT7 + class vt7 + { + worldType = "chern"; + timeFullMoon[] = {2016,3,30,0,0}; + whiteListArea = "[[[9000.46,8880.81,0],'RECTANGLE',[8500.53,8620.41],0]]"; + blackListArea = "[\ + [[1061.23,2869.31,0],'ELLIPSE',[589.586,660.07],149.357],\ + [[1636.45,808.883,0],'ELLIPSE',[282.637,473.092],149.357],\ + [[4930.41,4298.58,0],'ELLIPSE',[523.065,1464.59],114.352],\ + [[5858.7,3062.81,0],'ELLIPSE',[633.713,920.094],159.594],\ + [[3013.73,4805.72,0],'ELLIPSE',[532.747,1083.24],255.944],\ + [[3730.53,4252.04,0],'ELLIPSE',[282.637,473.092],114.605],\ + [[7492.92,923.014,0],'ELLIPSE',[678.515,1028.84],119.458],\ + [[8147.18,1796.81,0],'ELLIPSE',[349.156,859.322],117.824],\ + [[12208.6,2388.96,0],'ELLIPSE',[1446.26,2042.52],91.1306],\ + [[10357.7,2913.15,0],'ELLIPSE',[275.34,336.011],149.357],\ + [[11492.4,3971.67,0],'ELLIPSE',[282.637,473.092],95.7626],\ + [[15392.1,3424.28,0],'ELLIPSE',[364.893,783.004],61.08],\ + [[17266.1,6109.8,0],'ELLIPSE',[333.503,624.779],124.651],\ + [[15962.3,7405.2,0],'ELLIPSE',[566.341,780.363],136.992],\ + [[17196.4,8251.6,0],'ELLIPSE',[282.637,473.092],149.357],\ + [[16070.2,9037.76,0],'ELLIPSE',[282.637,301.436],236.409],\ + [[15820.4,10172.2,0],'ELLIPSE',[269.455,295.317],149.357],\ + [[15916.6,11747.4,0],'ELLIPSE',[282.637,473.092],215.417],\ + [[17362.5,13313.4,0],'ELLIPSE',[433.39,842.873],137.274],\ + [[14812.4,14368.1,0],'ELLIPSE',[898.94,948.964],181.548],\ + [[15780.9,14884.1,0],'ELLIPSE',[282.637,473.092],250.201],\ + [[15733.6,16521.1,0],'ELLIPSE',[610.595,1060.04],149.357],\ + [[1204.57,7028.08,0],'ELLIPSE',[407.675,845.997],90.7202],\ + [[11026.9,7402.47,0],'ELLIPSE',[251.06,351.446],149.357],\ + [[9303.16,6770.33,0],'ELLIPSE',[143.866,353.632],169.475],\ + [[6780.87,3592.73,0],'ELLIPSE',[195.005,294.501],149.357],\ + [[3693.42,1962.36,0],'ELLIPSE',[282.637,1192.46],180.202]\ + ]"; + defaultPlayerSpawnPos[] = {13465.9,1694.1,0}; + lucySpawnPos[] = {6025.9,2718.57,0}; + }; + + //Anizay + class tem_anizay + { + worldType = "desert"; + timeFullMoon[] = {2016,3,30,0,0}; + whiteListArea = "[[[5099.85,5100.2,0],'RECTANGLE',[4600.22,4600.51],0]]"; + blackListArea = "[\ + [[8949.06,7011.4,0],'RECTANGLE',[1062.86,1176.15],0],\ + [[1526.23,8657.6,0],'ELLIPSE',[209.252,270.074],86.4471]\ + ]"; + defaultPlayerSpawnPos[] = {8420.35,7037.96,0}; + lucySpawnPos[] = {10201.9,135.098,0}; + }; + + //Rosche + class wl_rosche + { + worldType = "chern"; + timeFullMoon[] = {2016,3,30,0,0}; + whiteListArea = "[[[7700.47,7686.61,0],'RECTANGLE',[7100.47,7089.48],0]]"; + blackListArea = "[\ + [[448.13,3309.8,0],'RECTANGLE',[4129.62,1433.57],252.599]\ + ]"; + defaultPlayerSpawnPos[] = {760.565,4669.13,0}; + lucySpawnPos[] = {15313.6,14936.7,0}; + }; + +}; \ No newline at end of file diff --git a/CPC-COM[18]-Cache_cash.Altis/Cfg/missionParams.hpp b/CPC-COM[18]-Cache_cash.Altis/Cfg/missionParams.hpp index 584c7f6..4610174 100644 --- a/CPC-COM[18]-Cache_cash.Altis/Cfg/missionParams.hpp +++ b/CPC-COM[18]-Cache_cash.Altis/Cfg/missionParams.hpp @@ -13,26 +13,13 @@ class Params }; /* METEO */ - class meteo - { - title = "==| Environnement : Météo |"; - values[] = {0,1,2,3,4}; - texts[] = {"Ciel dégagé","Ciel légèrement nuageux","Ciel nuageux","Pluie","Orage"}; - default = 1; - }; class heure { - title = "------| Environnement : Heure |"; + title = "==| Environnement : Heure |"; values[] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0}; texts[] = {"01:00","02:00","03:00","04:00","05:00","06:00","07:00","08:00","09:00","10:00","11:00","12:00","13:00","14:00","15:00","16:00","17:00","18:00","19:00","20:00","21:00","22:00","23:00","00:00"}; default = 12; }; - class fog { - title = "------| Environnement : Brouillard |"; - values[] = {0,1,2,3}; - texts[] = {"Aucun","Léger","Moyen","Dense"}; - default = 0; - }; class fullmoon { title = "------| Environnement : Nuit de pleine lune |"; @@ -40,9 +27,21 @@ class Params texts[] = {"Non","Oui"}; default = 0; }; + class meteo + { + title = "------| Environnement : Météo |"; + values[] = {0,1,2,3,4}; + texts[] = {"Ciel dégagé","Ciel légèrement nuageux","Ciel nuageux","Pluie","Orage"}; + default = 1; + }; + class fog { + title = "------| Environnement : Brouillard |"; + values[] = {0,1,2,3}; + texts[] = {"Aucun","Léger","Moyen","Dense"}; + default = 0; + }; - /* INSERTION EXTRACTION */ - class faction + class faction_player { title = "==|Joueurs : Faction |"; values[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,15,16,17,18,19,20,21,22}; diff --git a/CPC-COM[18]-Cache_cash.Altis/create_markers_old.sqf b/CPC-COM[18]-Cache_cash.Altis/create_markers_old.sqf deleted file mode 100644 index f1193e0..0000000 --- a/CPC-COM[18]-Cache_cash.Altis/create_markers_old.sqf +++ /dev/null @@ -1,510 +0,0 @@ -/* -//Pour récupérer les marqueurs créés sur une map (il faut les nommer entre 60 et 99 avant (en commançant par 99)) - -br = toString [13,10]; -arraystrmark = []; -strmark = ""; -{ -_markstr_x = format ["_marker_x = createMarker [""%1"",%2]; ""%1"" SetMarkerShape ""%4""; ""%1"" setMarkerSize %5; ""%1"" setMarkerDir %3;", _x, getMarkerPos _x, markerDir _x, markerShape _x, getMarkerSize _x]; -arraystrmark pushback _markstr_x; - -} forEach allMapMarkers; - -{ -strmark = strmark + br + _x; -} forEach arraystrmark; -copyToClipboard strmark; - -*/ - -CPC_MAP = toLower worldName; -publicVariable "CPC_MAP"; - -switch (CPC_MAP) do { - -//Altis -case "altis" : { - - CPC_WorldType = "vanilla"; - publicVariable "CPC_WorldType"; - CPC_FullMoon = [2016,5,30,0,0]; - publicVariable "CPC_FullMoon"; - - _marker_x = createMarker ["64",[22358.6,7595.3,0]]; "64" SetMarkerShape "RECTANGLE"; "64" setMarkerSize [413.912,647.154]; "64" setMarkerDir 148.972; - _marker_x = createMarker ["65",[20721.4,10417.7,0]]; "65" SetMarkerShape "RECTANGLE"; "65" setMarkerSize [515.093,1368.83]; "65" setMarkerDir 190.719; - _marker_x = createMarker ["66",[7008.93,15672.9,0]]; "66" SetMarkerShape "RECTANGLE"; "66" setMarkerSize [1843.41,485.569]; "66" setMarkerDir 177.321; - _marker_x = createMarker ["67",[10083.5,12066.3,0]]; "67" SetMarkerShape "RECTANGLE"; "67" setMarkerSize [424.325,1271.44]; "67" setMarkerDir 129.763; - _marker_x = createMarker ["68",[24771.5,19745.8,0]]; "68" SetMarkerShape "ELLIPSE"; "68" setMarkerSize [737.336,899.925]; "68" setMarkerDir 89.533; - _marker0 = createMarker ["69", [19492.094,12333.145,0]]; "69" setMarkerShape "ELLIPSE"; "69" setMarkerSize [600, 1500]; "69" setMarkerDir 70.668; - _marker1 = createMarker ["70", [22872.4,20867.8,0]]; "70" setMarkerShape "RECTANGLE"; "70" setMarkerSize [600, 800]; "70" setMarkerDir 336.272; - _marker2 = createMarker ["71", [21988.215,19201.723,0]]; "71" setMarkerShape "RECTANGLE"; "71" setMarkerSize [600, 800]; "71" setMarkerDir 41.943; - _marker3 = createMarker ["72", [19806.152,16299.153,0]]; "72" setMarkerShape "RECTANGLE"; "72" setMarkerSize [700, 900]; "72" setMarkerDir 0; - _marker4 = createMarker ["73", [9639.513,21193.887,0]]; "73" setMarkerShape "ELLIPSE"; "73" setMarkerSize [600, 800]; "73" setMarkerDir 30.439; - _marker5 = createMarker ["74", [8313.503,21418.5,0]]; "74" setMarkerShape "RECTANGLE"; "74" setMarkerSize [700, 1300]; "74" setMarkerDir 0; - _marker6 = createMarker ["75", [13406.479,15835.049,0]]; "75" setMarkerShape "ELLIPSE"; "75" setMarkerSize [600, 800]; "75" setMarkerDir 0; - _marker7 = createMarker ["76", [22552.45,16711.605,0]]; "76" setMarkerShape "ELLIPSE"; "76" setMarkerSize [700, 900]; "76" setMarkerDir 293.209; - _marker8 = createMarker ["77", [8048.571,12673.027,0]]; "77" setMarkerShape "RECTANGLE"; "77" setMarkerSize [700, 1100]; "77" setMarkerDir 0; - _marker9 = createMarker ["78", [15818.385,19036.488,0]]; "78" setMarkerShape "ELLIPSE"; "78" setMarkerSize [1000, 1200]; "78" setMarkerDir 322.814; - _marker10 = createMarker ["79", [8446.367,19307.980,0]]; "79" setMarkerShape "RECTANGLE"; "79" setMarkerSize [800, 800]; "79" setMarkerDir 0; - _marker11 = createMarker ["80", [4336.629,19723.94,0]]; "80" setMarkerShape "RECTANGLE"; "80" setMarkerSize [700, 1500]; "80" setMarkerDir 0; - _marker12 = createMarker ["81", [6397.73,20752.672,0]]; "81" setMarkerShape "RECTANGLE"; "81" setMarkerSize [1200, 1200]; "81" setMarkerDir 0; - _marker13 = createMarker ["82", [6327.377,18092.133,0]];"82" setMarkerShape "RECTANGLE"; "82" setMarkerSize [1200, 1200]; "82" setMarkerDir 0; - _marker14 = createMarker ["83", [9083.498,17046.023,0]];"83" setMarkerShape "RECTANGLE";"83" setMarkerSize [900, 900]; "83" setMarkerDir 0; - _marker15 = createMarker ["84", [7596.737,14672.451,0]];"84" setMarkerShape "ELLIPSE";"84" setMarkerSize [700, 1400]; "84" setMarkerDir 72.741; - _marker16 = createMarker ["85", [6040.862,12820.987,0]];"85" setMarkerShape "RECTANGLE";"85" setMarkerSize [1300, 1000]; "85" setMarkerDir 0; - _marker17 = createMarker ["86", [11998.823,20629.66,0]];"86" setMarkerShape "RECTANGLE";"86" setMarkerSize [1700, 1200]; "86" setMarkerDir 0; - _marker18 = createMarker ["87", [12061.399,18170.816,0]];"87" setMarkerShape "RECTANGLE";"87" setMarkerSize [1500, 1000]; "87" setMarkerDir 0; - _marker19 = createMarker ["88", [11019.598,15956.458,0]];"88" setMarkerShape "RECTANGLE";"88" setMarkerSize [800, 1000]; "88" setMarkerDir 0; - _marker20 = createMarker ["89", [9718.211,13582.32,0]]; "89" setMarkerShape "RECTANGLE";"89" setMarkerSize [900, 1100]; "89" setMarkerDir 0; - _marker21 = createMarker ["90", [11097.404,8274.051,0]];"90" setMarkerShape "RECTANGLE";"90" setMarkerSize [1200, 1200]; "90" setMarkerDir 0; - _marker22 = createMarker ["91", [26223.074,22349.465,0]];"91" setMarkerShape "ELLIPSE";"91" setMarkerSize [700, 1000]; "91" setMarkerDir 316.012; - _marker23 = createMarker ["92", [24243.422,22084.652,0]];"92" setMarkerShape "ELLIPSE";"92" setMarkerSize [800, 1000]; "92" setMarkerDir 53.013; - _marker24 = createMarker ["93", [20201.094,18090.277,0]];"93" setMarkerShape "ELLIPSE";"93" setMarkerSize [800, 1000]; "93" setMarkerDir 40.153; - _marker25 = createMarker ["94", [19772.39,14479.796,0]];"94" setMarkerShape "ELLIPSE";"94" setMarkerSize [900, 1800]; "94" setMarkerDir 72.975; - _marker26 = createMarker ["95", [17706.629,16764.738,0]];"95" setMarkerShape "RECTANGLE";"95" setMarkerSize [700, 900]; "95" setMarkerDir 0; - _marker27 = createMarker ["96", [14541.494,21775.215,0]];"96" setMarkerShape "ELLIPSE";"96" setMarkerSize [700, 1400]; "96" setMarkerDir 298.276; - _marker28 = createMarker ["97", [18425.277,10341.412,0]];"97" setMarkerShape "ELLIPSE";"97" setMarkerSize [1200, 1600]; "97" setMarkerDir 285.894; - _marker29 = createMarker ["98", [20057.008,7820.042,0]];"98" setMarkerShape "ELLIPSE";"98" setMarkerSize [1200, 800]; "98" setMarkerDir 0; - _marker30 = createMarker ["99", [20176.395,6254.457,0]];"99" setMarkerShape "ELLIPSE";"99" setMarkerSize [400, 1400]; "99" setMarkerDir 292.152; -}; - -//Tanoa -case "tanoa" : { - - CPC_WorldType = "fidji"; - publicVariable "CPC_WorldType"; - CPC_FullMoon = [2016,6,30,0,0]; - publicVariable "CPC_FullMoon"; - - _marker_x = createMarker ["99",[4593.54,3280.12,0]]; "99" SetMarkerShape "ELLIPSE"; "99" setMarkerSize [580.515,1080.09]; "99" setMarkerDir 0; - _marker_x = createMarker ["98",[5770.36,4597.66,0]]; "98" SetMarkerShape "ELLIPSE"; "98" setMarkerSize [1244.13,323.702]; "98" setMarkerDir 198.442; - _marker_x = createMarker ["97",[3210.33,2735.82,0]]; "97" SetMarkerShape "ELLIPSE"; "97" setMarkerSize [430.132,654.708]; "97" setMarkerDir 137.154; - _marker_x = createMarker ["96",[5684.11,9323.27,0]]; "96" SetMarkerShape "RECTANGLE"; "96" setMarkerSize [442.956,820.482]; "96" setMarkerDir 269.954; - _marker_x = createMarker ["95",[9142.05,10927.5,0]]; "95" SetMarkerShape "ELLIPSE"; "95" setMarkerSize [649.63,605.116]; "95" setMarkerDir 0; - _marker_x = createMarker ["94",[9826.88,9704.25,0]]; "94" SetMarkerShape "ELLIPSE"; "94" setMarkerSize [972.167,402.178]; "94" setMarkerDir 190.598; - _marker_x = createMarker ["93",[9529.81,7310.09,0]]; "93" SetMarkerShape "ELLIPSE"; "93" setMarkerSize [1031.25,817.616]; "93" setMarkerDir 0; - _marker_x = createMarker ["92",[11447.8,7454.2,0]]; "92" SetMarkerShape "RECTANGLE"; "92" setMarkerSize [875.616,778.936]; "92" setMarkerDir 0; - _marker_x = createMarker ["91",[6125.73,7875.56,0]]; "91" SetMarkerShape "ELLIPSE"; "91" setMarkerSize [688.832,506.22]; "91" setMarkerDir 202.944; - _marker_x = createMarker ["90",[7233.76,10893.6,0]]; "90" SetMarkerShape "ELLIPSE"; "90" setMarkerSize [1042.33,660.798]; "90" setMarkerDir 191.669; - _marker_x = createMarker ["89",[3189.54,6133.91,0]]; "89" SetMarkerShape "ELLIPSE"; "89" setMarkerSize [1051.81,543.481]; "89" setMarkerDir 203.112; - _marker_x = createMarker ["88",[1897.84,7372.51,0]]; "88" SetMarkerShape "ELLIPSE"; "88" setMarkerSize [450.158,1099.79]; "88" setMarkerDir 151.621; - _marker_x = createMarker ["87",[8112.41,9099.19,0]]; "87" SetMarkerShape "ELLIPSE"; "87" setMarkerSize [571.829,667.089]; "87" setMarkerDir 225.383; - _marker_x = createMarker ["86",[2887.86,12345.1,0]]; "86" SetMarkerShape "ELLIPSE"; "86" setMarkerSize [657.894,1579.92]; "86" setMarkerDir 208.319; - _marker_x = createMarker ["85",[12030.9,9520.62,0]]; "85" SetMarkerShape "ELLIPSE"; "85" setMarkerSize [541.788,674.784]; "85" setMarkerDir 212.459; - _marker_x = createMarker ["84",[12801.2,7937.67,0]]; "84" SetMarkerShape "ELLIPSE"; "84" setMarkerSize [955.759,314.487]; "84" setMarkerDir 194.387; - - "Mark_Inser" setMarkerPos [11687,13115.1,0]; - "M_helipad1" setMarkerPos [11778.7,13115.9,0]; - "M_helipad2" setMarkerPos [11860.9,13089.2,0]; -}; - -//Takistan -case "takistan" : { - - CPC_WorldType = "desert"; - publicVariable "CPC_WorldType"; - CPC_FullMoon = [2016,6,29,0,0]; - publicVariable "CPC_FullMoon"; - - _marker0 = createMarker ["99", [5295.17,2657.773,0]]; "99" setMarkerShape "RECTANGLE"; "99" setMarkerSize [1000, 1000]; "99" setMarkerDir 0; - _marker1 = createMarker ["98", [9633.053,3390.555,0]]; "98" setMarkerShape "RECTANGLE"; "98" setMarkerSize [800, 800]; "98" setMarkerDir 0; - _marker2 = createMarker ["97", [10387.033,5214.611,0]]; "97" setMarkerShape "RECTANGLE"; "97" setMarkerSize [1000, 1000]; "97" setMarkerDir 0; - _marker3 = createMarker ["96", [7090.24,8119.508,0]]; "96" setMarkerShape "RECTANGLE"; "96" setMarkerSize [1000, 700]; "96" setMarkerDir 0; - _marker4 = createMarker ["95", [10124.1344,1300.347,0]]; "95" setMarkerShape "ELLIPSE"; "95" setMarkerSize [1100, 800]; "95" setMarkerDir 332.287; - _marker5 = createMarker ["94", [10858.46,9510.365,0]]; "94" setMarkerShape "RECTANGLE"; "94" setMarkerSize [1000, 1000]; "94" setMarkerDir 0; - _marker6 = createMarker ["93", [11245.096,11505.419,0]]; "93" setMarkerShape "ELLIPSE"; "93" setMarkerSize [800, 700]; "93" setMarkerDir 45.421; - _marker7 = createMarker ["92", [1807.530,1917.689,0]]; "92" setMarkerShape "ELLIPSE"; "92" setMarkerSize [1000, 1200]; "92" setMarkerDir 52.615; - _marker8 = createMarker ["91", [3645.667,2425.021,0]]; "91" setMarkerShape "RECTANGLE"; "91" setMarkerSize [600, 1000]; "91" setMarkerDir 0; - _marker9 = createMarker ["90", [3380.719,6613.070,0]]; "90" setMarkerShape "RECTANGLE"; "90" setMarkerSize [1200, 1200]; "90" setMarkerDir 0; - _marker10 = createMarker ["89", [4821.299,7805.4,0]]; "89" setMarkerShape "RECTANGLE"; "89" setMarkerSize [700, 1300]; "89" setMarkerDir 346.244; - _marker11 = createMarker ["88", [9794.284,7754.105,0]]; "88" setMarkerShape "RECTANGLE"; "88" setMarkerSize [700, 700]; "88" setMarkerDir 0; - _marker12 = createMarker ["87", [7586.144,6424.855,0]]; "87" setMarkerShape "RECTANGLE"; "87" setMarkerSize [1400, 1000]; "87" setMarkerDir 0; - _marker13 = createMarker ["86", [7183.935,9858.763,0]]; "86" setMarkerShape "RECTANGLE"; "86" setMarkerSize [800, 800]; "86" setMarkerDir 0; - _marker14 = createMarker ["85", [1837.089,8815.625,0]]; "85" setMarkerShape "RECTANGLE"; "85" setMarkerSize [1200, 900]; "85" setMarkerDir 0; - _marker15 = createMarker ["84", [8465.91,11679.027,0]]; "84" setMarkerShape "RECTANGLE"; "84" setMarkerSize [1000, 700]; "84" setMarkerDir 0; - _marker16 = createMarker ["83", [4557.061,10087.461,0]]; "83" setMarkerShape "RECTANGLE"; "83" setMarkerSize [500, 1000]; "83" setMarkerDir 55.17; - _marker17 = createMarker ["82", [2856.727,11077.944,0]]; "82" setMarkerShape "RECTANGLE"; "82" setMarkerSize [700, 1000]; "82" setMarkerDir 45.111; - _marker18 = createMarker ["81", [1303.583,10419.07,0]]; "81" setMarkerShape "RECTANGLE"; "81" setMarkerSize [600, 600]; "81" setMarkerDir 0; - _marker19 = createMarker ["80", [1014.626,11851.829,0]]; "80" setMarkerShape "ELLIPSE"; "80" setMarkerSize [500, 700]; "80" setMarkerDir 41.740; - _marker20 = createMarker ["79", [1210.962,6876.678,0]]; "79" setMarkerShape "RECTANGLE"; "79" setMarkerSize [600, 1000]; "79" setMarkerDir 0; - _marker21 = createMarker ["78", [1497.531,4721.287,0]]; "78" setMarkerShape "RECTANGLE"; "78" setMarkerSize [750, 750]; "78" setMarkerDir 0; - _marker22 = createMarker ["77", [6117.523,4518.379,0]]; "77" setMarkerShape "RECTANGLE"; "77" setMarkerSize [600, 800]; "77" setMarkerDir 0; - _marker23 = createMarker ["76", [4598.750,4507,0]]; "76" setMarkerShape "RECTANGLE"; "76" setMarkerSize [600, 800]; "76" setMarkerDir 0; - _marker24 = createMarker ["75", [7271.281,3086.016,0]]; "75" setMarkerShape "RECTANGLE"; "75" setMarkerSize [600, 600]; "75" setMarkerDir 0; - _marker25 = createMarker ["74", [8651.838,10376.397,0]]; "74" setMarkerShape "RECTANGLE"; "74" setMarkerSize [600, 600]; "74" setMarkerDir 0; - _marker26 = createMarker ["73", [8930.296,9083.795,0]]; "73" setMarkerShape "RECTANGLE"; "73" setMarkerSize [800, 600]; "73" setMarkerDir 0; - _marker27 = createMarker ["72", [11377.796,7352.242,0]]; "72" setMarkerShape "RECTANGLE"; "72" setMarkerSize [800, 800]; "72" setMarkerDir 0; - _marker28 = createMarker ["71", [7869.035,4528.701,0]]; "71" setMarkerShape "RECTANGLE"; "71" setMarkerSize [900, 900]; "71" setMarkerDir 0; - _marker29 = createMarker ["70", [11244.815,3479.027,0]]; "70" setMarkerShape "RECTANGLE"; "70" setMarkerSize [800, 800]; "70" setMarkerDir 0; - _marker30 = createMarker ["69", [2636.3,4016.727,0]]; "69" setMarkerShape "RECTANGLE"; "69" setMarkerSize [500, 1000]; "69" setMarkerDir 211.347; - _marker31 = createMarker ["68", [11650.564,1589.769,0]]; "68" setMarkerShape "RECTANGLE"; "68" setMarkerSize [500, 900]; "68" setMarkerDir 0; - - "Mark_Inser" setMarkerPos [5996.956,11453.947,0]; - "M_helipad1" setMarkerPos [5914.13,11441.5,0]; - "M_helipad2" setMarkerPos [5938.9,11466.3,0]; - -}; - -//chernarus -case "chernarus" : { - - CPC_WorldType = "chern"; - publicVariable "CPC_WorldType"; - CPC_FullMoon = [2016,3,30,0,0]; - publicVariable "CPC_FullMoon"; - - _marker0 = createMarker ["99", [8586.314,4862.615,0]]; "99" setMarkerShape "ELLIPSE"; "99" setMarkerSize [800, 1500]; "99" setMarkerDir 16.394; - _marker1 = createMarker ["98", [10403.963,5503.989,0]]; "98" setMarkerShape "RECTANGLE"; "98" setMarkerSize [800, 800]; "98" setMarkerDir 0; - _marker2 = createMarker ["97", [8939.259,7842.991,0]]; "97" setMarkerShape "RECTANGLE"; "97" setMarkerSize [900, 900]; "97" setMarkerDir 33.069; - _marker3 = createMarker ["96", [9509.53,13624.558,0]]; "96" setMarkerShape "RECTANGLE"; "96" setMarkerSize [1200, 1200]; "96" setMarkerDir 0; - _marker4 = createMarker ["95", [11003.854,8890.053,0]]; "95" setMarkerShape "RECTANGLE"; "95" setMarkerSize [700, 700]; "95" setMarkerDir 0; - _marker5 = createMarker ["94", [7492.971,9723.364,0]]; "94" setMarkerShape "RECTANGLE"; "94" setMarkerSize [1300, 1600]; "94" setMarkerDir 34.181; - _marker6 = createMarker ["93", [11138.988,10956.055,0]]; "93" setMarkerShape "RECTANGLE"; "93" setMarkerSize [900, 900]; "93" setMarkerDir 0; - _marker7 = createMarker ["92", [12023.264,13920.54,0]]; "92" setMarkerShape "RECTANGLE"; "92" setMarkerSize [1200, 1000]; "92" setMarkerDir 0; - _marker8 = createMarker ["91", [14106.51,14326.849,0]]; "91" setMarkerShape "ELLIPSE"; "91" setMarkerSize [600, 900]; "91" setMarkerDir 297.659; - _marker9 = createMarker ["90", [10324.725,3829.688,0]]; "90" setMarkerShape "RECTANGLE"; "90" setMarkerSize [800, 800]; "90" setMarkerDir 0; - _marker10 = createMarker ["89", [1274.108,6241.96,0]]; "89" setMarkerShape "RECTANGLE"; "89" setMarkerSize [900, 1000]; "89" setMarkerDir 0; - _marker11 = createMarker ["88", [5731.61,6486.167,0]]; "88" setMarkerShape "RECTANGLE"; "88" setMarkerSize [600, 1000]; "88" setMarkerDir 0; - _marker12 = createMarker ["87", [4228.387,7609.473,0]]; "87" setMarkerShape "RECTANGLE"; "87" setMarkerSize [700, 1100]; "87" setMarkerDir 44.629; - _marker13 = createMarker ["86", [6786.976,13593.651,0]]; "86" setMarkerShape "RECTANGLE"; "86" setMarkerSize [1500, 1100]; "86" setMarkerDir 0; - _marker14 = createMarker ["85", [4596.599,3689.145,0]]; "85" setMarkerShape "RECTANGLE"; "85" setMarkerSize [1000, 800]; "85" setMarkerDir 0; - _marker15 = createMarker ["84", [974.905,3821.192,0]]; "84" setMarkerShape "RECTANGLE"; "84" setMarkerSize [500, 1100]; "84" setMarkerDir 0; - _marker16 = createMarker ["83", [1574.631,8505.422,0]]; "83" setMarkerShape "RECTANGLE"; "83" setMarkerSize [1200, 1100]; "83" setMarkerDir 0; - _marker17 = createMarker ["82", [1860.045,11469.156,0]]; "82" setMarkerShape "RECTANGLE"; "82" setMarkerSize [1400, 1400]; "82" setMarkerDir 0; - _marker18 = createMarker ["81", [4074.107,13798.995,0]]; "81" setMarkerShape "RECTANGLE"; "81" setMarkerSize [1200, 900]; "81" setMarkerDir 0; - _marker19 = createMarker ["80", [1670.274,13791.468,0]]; "80" setMarkerShape "RECTANGLE"; "80" setMarkerSize [1200, 900]; "80" setMarkerDir 0; - _marker20 = createMarker ["79", [7350.930,6308.432,0]]; "79" setMarkerShape "RECTANGLE"; "79" setMarkerSize [700, 700]; "79" setMarkerDir 0; - _marker21 = createMarker ["78", [2577.283,3689.438,0]]; "78" setMarkerShape "RECTANGLE"; "78" setMarkerSize [700, 1100]; "78" setMarkerDir 0; - _marker22 = createMarker ["77", [6790.852,4612.241,0]]; "77" setMarkerShape "RECTANGLE"; "77" setMarkerSize [700, 700]; "77" setMarkerDir 0; - _marker23 = createMarker ["76", [12107.618,4707.653,0]]; "76" setMarkerShape "RECTANGLE"; "76" setMarkerSize [700, 700]; "76" setMarkerDir 0; - _marker24 = createMarker ["75", [10434.571,7174.042,0]]; "75" setMarkerShape "RECTANGLE"; "75" setMarkerSize [700, 700]; "75" setMarkerDir 290.486; - _marker25 = createMarker ["74", [4932.900,11821.14,0]]; "74" setMarkerShape "RECTANGLE"; "74" setMarkerSize [1600, 600]; "74" setMarkerDir 0; - _marker26 = createMarker ["73", [9563.786,11483.009,0]]; "73" setMarkerShape "RECTANGLE"; "73" setMarkerSize [600, 900]; "73" setMarkerDir 0; - _marker27 = createMarker ["72", [13041.561,11845.738,0]]; "72" setMarkerShape "ELLIPSE"; "72" setMarkerSize [700, 1000]; "72" setMarkerDir 31.243; - _marker28 = createMarker ["71", [12143.367,6319.077,0]]; "71" setMarkerShape "RECTANGLE"; "71" setMarkerSize [700, 700]; "71" setMarkerDir 0; - _marker29 = createMarker ["70", [3906.768,5674.265,0]]; "70" setMarkerShape "RECTANGLE"; "70" setMarkerSize [700, 700]; "70" setMarkerDir 0; - - "Mark_Inser" setMarkerPos [4758.284,10219.22,0]; - "M_helipad1" setMarkerPos [4780.02,10128.2,0]; - "M_helipad2" setMarkerPos [4739.15,10194.5,0]; - -}; - -//chernarus summer -case "chernarus_summer" : { - - CPC_WorldType = "chern"; - publicVariable "CPC_WorldType"; - CPC_FullMoon = [2016,3,30,0,0]; - publicVariable "CPC_FullMoon"; - - _marker0 = createMarker ["99", [8586.314,4862.615,0]]; "99" setMarkerShape "ELLIPSE"; "99" setMarkerSize [800, 1500]; "99" setMarkerDir 16.394; - _marker1 = createMarker ["98", [10403.963,5503.989,0]]; "98" setMarkerShape "RECTANGLE"; "98" setMarkerSize [800, 800]; "98" setMarkerDir 0; - _marker2 = createMarker ["97", [8939.259,7842.991,0]]; "97" setMarkerShape "RECTANGLE"; "97" setMarkerSize [900, 900]; "97" setMarkerDir 33.069; - _marker3 = createMarker ["96", [9509.53,13624.558,0]]; "96" setMarkerShape "RECTANGLE"; "96" setMarkerSize [1200, 1200]; "96" setMarkerDir 0; - _marker4 = createMarker ["95", [11003.854,8890.053,0]]; "95" setMarkerShape "RECTANGLE"; "95" setMarkerSize [700, 700]; "95" setMarkerDir 0; - _marker5 = createMarker ["94", [7492.971,9723.364,0]]; "94" setMarkerShape "RECTANGLE"; "94" setMarkerSize [1300, 1600]; "94" setMarkerDir 34.181; - _marker6 = createMarker ["93", [11138.988,10956.055,0]]; "93" setMarkerShape "RECTANGLE"; "93" setMarkerSize [900, 900]; "93" setMarkerDir 0; - _marker7 = createMarker ["92", [12023.264,13920.54,0]]; "92" setMarkerShape "RECTANGLE"; "92" setMarkerSize [1200, 1000]; "92" setMarkerDir 0; - _marker8 = createMarker ["91", [14106.51,14326.849,0]]; "91" setMarkerShape "ELLIPSE"; "91" setMarkerSize [600, 900]; "91" setMarkerDir 297.659; - _marker9 = createMarker ["90", [10324.725,3829.688,0]]; "90" setMarkerShape "RECTANGLE"; "90" setMarkerSize [800, 800]; "90" setMarkerDir 0; - _marker10 = createMarker ["89", [1274.108,6241.96,0]]; "89" setMarkerShape "RECTANGLE"; "89" setMarkerSize [900, 1000]; "89" setMarkerDir 0; - _marker11 = createMarker ["88", [5731.61,6486.167,0]]; "88" setMarkerShape "RECTANGLE"; "88" setMarkerSize [600, 1000]; "88" setMarkerDir 0; - _marker12 = createMarker ["87", [4228.387,7609.473,0]]; "87" setMarkerShape "RECTANGLE"; "87" setMarkerSize [700, 1100]; "87" setMarkerDir 44.629; - _marker13 = createMarker ["86", [6786.976,13593.651,0]]; "86" setMarkerShape "RECTANGLE"; "86" setMarkerSize [1500, 1100]; "86" setMarkerDir 0; - _marker14 = createMarker ["85", [4596.599,3689.145,0]]; "85" setMarkerShape "RECTANGLE"; "85" setMarkerSize [1000, 800]; "85" setMarkerDir 0; - _marker15 = createMarker ["84", [974.905,3821.192,0]]; "84" setMarkerShape "RECTANGLE"; "84" setMarkerSize [500, 1100]; "84" setMarkerDir 0; - _marker16 = createMarker ["83", [1574.631,8505.422,0]]; "83" setMarkerShape "RECTANGLE"; "83" setMarkerSize [1200, 1100]; "83" setMarkerDir 0; - _marker17 = createMarker ["82", [1860.045,11469.156,0]]; "82" setMarkerShape "RECTANGLE"; "82" setMarkerSize [1400, 1400]; "82" setMarkerDir 0; - _marker18 = createMarker ["81", [4074.107,13798.995,0]]; "81" setMarkerShape "RECTANGLE"; "81" setMarkerSize [1200, 900]; "81" setMarkerDir 0; - _marker19 = createMarker ["80", [1670.274,13791.468,0]]; "80" setMarkerShape "RECTANGLE"; "80" setMarkerSize [1200, 900]; "80" setMarkerDir 0; - _marker20 = createMarker ["79", [7350.930,6308.432,0]]; "79" setMarkerShape "RECTANGLE"; "79" setMarkerSize [700, 700]; "79" setMarkerDir 0; - _marker21 = createMarker ["78", [2577.283,3689.438,0]]; "78" setMarkerShape "RECTANGLE"; "78" setMarkerSize [700, 1100]; "78" setMarkerDir 0; - _marker22 = createMarker ["77", [6790.852,4612.241,0]]; "77" setMarkerShape "RECTANGLE"; "77" setMarkerSize [700, 700]; "77" setMarkerDir 0; - _marker23 = createMarker ["76", [12107.618,4707.653,0]]; "76" setMarkerShape "RECTANGLE"; "76" setMarkerSize [700, 700]; "76" setMarkerDir 0; - _marker24 = createMarker ["75", [10434.571,7174.042,0]]; "75" setMarkerShape "RECTANGLE"; "75" setMarkerSize [700, 700]; "75" setMarkerDir 290.486; - _marker25 = createMarker ["74", [4932.900,11821.14,0]]; "74" setMarkerShape "RECTANGLE"; "74" setMarkerSize [1600, 600]; "74" setMarkerDir 0; - _marker26 = createMarker ["73", [9563.786,11483.009,0]]; "73" setMarkerShape "RECTANGLE"; "73" setMarkerSize [600, 900]; "73" setMarkerDir 0; - _marker27 = createMarker ["72", [13041.561,11845.738,0]]; "72" setMarkerShape "ELLIPSE"; "72" setMarkerSize [700, 1000]; "72" setMarkerDir 31.243; - _marker28 = createMarker ["71", [12143.367,6319.077,0]]; "71" setMarkerShape "RECTANGLE"; "71" setMarkerSize [700, 700]; "71" setMarkerDir 0; - _marker29 = createMarker ["70", [3906.768,5674.265,0]]; "70" setMarkerShape "RECTANGLE"; "70" setMarkerSize [700, 700]; "70" setMarkerDir 0; - - "Mark_Inser" setMarkerPos [4758.284,10219.22,0]; - "M_helipad1" setMarkerPos [4780.02,10128.2,0]; - "M_helipad2" setMarkerPos [4739.15,10194.5,0]; - -}; - - -//IslaDuala3 -case "isladuala3" : { - - CPC_WorldType = "afrique"; - publicVariable "CPC_WorldType"; - CPC_FullMoon = [2016,6,29,0,0]; - publicVariable "CPC_FullMoon"; - - _marker0 = createMarker ["99", [7678.856,6275.589,0]]; "99" setMarkerShape "RECTANGLE"; "99" setMarkerSize [600, 400]; "99" setMarkerDir 180; - _marker1 = createMarker ["98", [7218.446,5368.355,0]]; "98" setMarkerShape "RECTANGLE"; "98" setMarkerSize [700, 500]; "98" setMarkerDir 0; - _marker2 = createMarker ["97", [7359.932,4481.246,0]]; "97" setMarkerShape "RECTANGLE"; "97" setMarkerSize [450, 350]; "97" setMarkerDir 0; - _marker3 = createMarker ["96", [6887.236,3733.355,0]]; "96" setMarkerShape "RECTANGLE"; "96" setMarkerSize [300, 330]; "96" setMarkerDir 0; - _marker4 = createMarker ["95", [5212.677,1656.636,0]]; "95" setMarkerShape "RECTANGLE"; "95" setMarkerSize [725, 300]; "95" setMarkerDir 0; - _marker5 = createMarker ["94", [7357.869,1688.149,0]]; "94" setMarkerShape "ELLIPSE"; "94" setMarkerSize [680, 300]; "94" setMarkerDir 192.433; - _marker6 = createMarker ["93", [8812.769,3884.012,0]]; "93" setMarkerShape "ELLIPSE"; "93" setMarkerSize [275, 200]; "93" setMarkerDir 167; - _marker7 = createMarker ["92", [9055.421,3456.130,0]]; "92" setMarkerShape "ELLIPSE"; "92" setMarkerSize [275, 200]; "92" setMarkerDir 120; - _marker8 = createMarker ["91", [8800.492,2072.387,0]]; "91" setMarkerShape "ELLIPSE"; "91" setMarkerSize [350, 250]; "91" setMarkerDir 160; - _marker9 = createMarker ["90", [8138.903,956.865,0]]; "90" setMarkerShape "ELLIPSE"; "90" setMarkerSize [425, 275]; "90" setMarkerDir 160; - _marker10 = createMarker ["89", [2576.868,3218.459,0]]; "89" setMarkerShape "RECTANGLE"; "89" setMarkerSize [560, 200]; "89" setMarkerDir 217.485; - _marker11 = createMarker ["88", [1809.682,3788.353,0]]; "88" setMarkerShape "ELLIPSE"; "88" setMarkerSize [300, 350]; "88" setMarkerDir 0; - _marker12 = createMarker ["87", [2569.234,3910.778,0]]; "87" setMarkerShape "ELLIPSE"; "87" setMarkerSize [420, 260]; "87" setMarkerDir 44.629; - _marker13 = createMarker ["86", [514.327,4852.573,0]]; "86" setMarkerShape "ELLIPSE"; "86" setMarkerSize [240, 360]; "86" setMarkerDir 150; - _marker14 = createMarker ["85", [2249.841,5031.735,0]]; "85" setMarkerShape "RECTANGLE"; "85" setMarkerSize [510, 170]; "85" setMarkerDir 188; - _marker15 = createMarker ["84", [4373.691,4546.013,0]]; "84" setMarkerShape "RECTANGLE"; "84" setMarkerSize [600, 400]; "84" setMarkerDir 0; - _marker16 = createMarker ["83", [4261.858,5542.583,0]]; "83" setMarkerShape "RECTANGLE"; "83" setMarkerSize [425, 530]; "83" setMarkerDir 0; - _marker17 = createMarker ["82", [3576.816,6938.296,0]]; "82" setMarkerShape "ELLIPSE"; "82" setMarkerSize [340, 425]; "82" setMarkerDir 221.5; - _marker18 = createMarker ["81", [1988.493,8427.563,0]]; "81" setMarkerShape "ELLIPSE"; "81" setMarkerSize [150, 275]; "81" setMarkerDir 247; - _marker19 = createMarker ["80", [4999.240,7346.015,0]]; "80" setMarkerShape "ELLIPSE"; "80" setMarkerSize [675, 460]; "80" setMarkerDir 203; - _marker20 = createMarker ["79", [7662.563,7602.196,0]]; "79" setMarkerShape "ELLIPSE"; "79" setMarkerSize [550, 550]; "79" setMarkerDir 0; - _marker21 = createMarker ["78", [6551.101,8323.791,0]]; "78" setMarkerShape "RECTANGLE"; "78" setMarkerSize [450, 250]; "78" setMarkerDir 0; - _marker22 = createMarker ["77", [3621.006,9028.313,0]]; "77" setMarkerShape "RECTANGLE"; "77" setMarkerSize [480, 225]; "77" setMarkerDir 209.281; - _marker23 = createMarker ["76", [4504.603,9726.983,0]]; "76" setMarkerShape "ELLIPSE"; "76" setMarkerSize [325, 620]; "76" setMarkerDir 82; - _marker24 = createMarker ["75", [5913.125,9583.607,0]]; "75" setMarkerShape "ELLIPSE"; "75" setMarkerSize [360, 500]; "75" setMarkerDir 76; - - "Mark_Inser" setMarkerPos [5775.83,6169.68,0]; - "M_helipad1" setMarkerPos [5794.88,6200.63,0]; - "M_helipad2" setMarkerPos [5756.78,6200.42,0]; - -}; - -//Sahrani -case "sara" : { - - CPC_WorldType = "vanilla"; - publicVariable "CPC_WorldType"; - CPC_FullMoon = [2016,6,29,0,0]; - publicVariable "CPC_FullMoon"; - - _marker0 = createMarker ["99", [7121.018,7341.33,0]]; "99" setMarkerShape "ELLIPSE"; "99" setMarkerSize [800, 600]; "99" setMarkerDir 0; - _marker1 = createMarker ["98", [8521.892,6539.810,0]]; "98" setMarkerShape "ELLIPSE"; "98" setMarkerSize [1000, 600]; "98" setMarkerDir 66.102; - _marker2 = createMarker ["97", [10165.068,6634.188,0]]; "97" setMarkerShape "ELLIPSE"; "97" setMarkerSize [800, 1400]; "97" setMarkerDir 157.882; - _marker3 = createMarker ["96", [9185.896,9071.885,0]]; "96" setMarkerShape "ELLIPSE"; "96" setMarkerSize [500, 800]; "96" setMarkerDir 64.030; - _marker4 = createMarker ["95", [11685.964,7520.789,0]]; "95" setMarkerShape "ELLIPSE"; "95" setMarkerSize [400, 900]; "95" setMarkerDir 36.790; - _marker5 = createMarker ["94", [15587.426,9907.769,0]]; "94" setMarkerShape "ELLIPSE"; "94" setMarkerSize [900, 1600]; "94" setMarkerDir 61.295; - _marker6 = createMarker ["93", [14629.192,11695.867,0]]; "93" setMarkerShape "ELLIPSE"; "93" setMarkerSize [600, 1600]; "93" setMarkerDir 56.727; - _marker7 = createMarker ["92", [17965.408,12846.345,0]]; "92" setMarkerShape "RECTANGLE"; "92" setMarkerSize [800, 1100]; "92" setMarkerDir 284.052; - _marker8 = createMarker ["91", [14876.619,13734.535,0]]; "91" setMarkerShape "ELLIPSE"; "91" setMarkerSize [900, 2000]; "91" setMarkerDir 294.531; - _marker9 = createMarker ["90", [12544.535,13406.87,0]]; "90" setMarkerShape "RECTANGLE"; "90" setMarkerSize [700, 1200]; "90" setMarkerDir 314.843; - _marker10 = createMarker ["89", [12789.651,15962.770,0]]; "89" setMarkerShape "RECTANGLE"; "89" setMarkerSize [700, 1000]; "89" setMarkerDir 119.536; - _marker11 = createMarker ["88", [10451.539,15359.218,0]]; "88" setMarkerShape "RECTANGLE"; "88" setMarkerSize [1200, 500]; "88" setMarkerDir 40.467; - _marker12 = createMarker ["87", [8169.373,16412.352,0]]; "87" setMarkerShape "ELLIPSE"; "87" setMarkerSize [1300, 700]; "87" setMarkerDir 9.254; - - "Mark_Inser" setMarkerPos [2598.23,2813.93,0]; - "M_helipad1" setMarkerPos [2528.77,2806.91,0]; - "M_helipad2" setMarkerPos [2525.53,2866.95,0]; - -}; - -//Podagorsk -case "fdf_isle1_a" : { - - CPC_WorldType = "chernarus"; - publicVariable "CPC_WorldType"; - CPC_FullMoon = [2016,3,30,0,0]; - publicVariable "CPC_FullMoon"; - - _marker0 = createMarker ["99", [7355.296,19517.443,0]]; "99" setMarkerShape "RECTANGLE"; "99" setMarkerSize [2000, 300]; "99" setMarkerDir 0; - _marker1 = createMarker ["98", [11803.866,19539.521,0]]; "98" setMarkerShape "RECTANGLE"; "98" setMarkerSize [2400, 300]; "98" setMarkerDir 0; - _marker2 = createMarker ["97", [7773.407,18458.477,0]]; "97" setMarkerShape "RECTANGLE"; "97" setMarkerSize [1200, 700]; "97" setMarkerDir 0; - _marker3 = createMarker ["96", [10196.978,18499.789,0]]; "96" setMarkerShape "RECTANGLE"; "96" setMarkerSize [1200, 700]; "96" setMarkerDir 0; - _marker4 = createMarker ["95", [12275.6,18548.494,0]]; "95" setMarkerShape "ELLIPSE"; "95" setMarkerSize [900, 700]; "95" setMarkerDir 0; - _marker5 = createMarker ["94", [8116.678,17232.311,0]]; "94" setMarkerShape "RECTANGLE"; "94" setMarkerSize [900, 500]; "94" setMarkerDir 0; - _marker6 = createMarker ["93", [9906.007,17297.916,0]]; "93" setMarkerShape "RECTANGLE"; "93" setMarkerSize [900, 500]; "93" setMarkerDir 0; - _marker7 = createMarker ["92", [11306.796,3456.130,0]]; "92" setMarkerShape "RECTANGLE"; "92" setMarkerSize [550, 500]; "92" setMarkerDir 0; - _marker8 = createMarker ["91", [9585.060,16300.894,0]]; "91" setMarkerShape "RECTANGLE"; "91" setMarkerSize [1300, 500]; "91" setMarkerDir 0; - _marker9 = createMarker ["90", [9186.204,15077.744,0]]; "90" setMarkerShape "RECTANGLE"; "90" setMarkerSize [1500, 500]; "90" setMarkerDir 0; - _marker10 = createMarker ["89", [9661.241,14025.393,0]]; "89" setMarkerShape "RECTANGLE"; "89" setMarkerSize [1200, 550]; "89" setMarkerDir 0; - _marker11 = createMarker ["88", [11455.771,13358.019,0]]; "88" setMarkerShape "RECTANGLE"; "88" setMarkerSize [700, 900]; "88" setMarkerDir 0; - _marker12 = createMarker ["87", [9470.926,12963.303,0]]; "87" setMarkerShape "RECTANGLE"; "87" setMarkerSize [1300, 500]; "87" setMarkerDir 0; - _marker13 = createMarker ["86", [8851.484,11471.58,0]]; "86" setMarkerShape "RECTANGLE"; "86" setMarkerSize [700, 1000]; "86" setMarkerDir 0; - _marker14 = createMarker ["85", [10377.329,11476.3,0]]; "85" setMarkerShape "RECTANGLE"; "85" setMarkerSize [700, 1000]; "85" setMarkerDir 0; - _marker15 = createMarker ["84", [9278.27,9978.145,0]]; "84" setMarkerShape "RECTANGLE"; "84" setMarkerSize [1500, 500]; "84" setMarkerDir 0; - _marker16 = createMarker ["83", [11663.177,9898.113,0]]; "83" setMarkerShape "RECTANGLE"; "83" setMarkerSize [900, 400]; "83" setMarkerDir 0; - _marker17 = createMarker ["82", [11702.649,11485.668,0]]; "82" setMarkerShape "ELLIPSE"; "82" setMarkerSize [600, 1000]; "82" setMarkerDir 20; - _marker18 = createMarker ["81", [7618.449,4884.406,0]]; "81" setMarkerShape "ELLIPSE"; "81" setMarkerSize [500, 700]; "81" setMarkerDir 0; - _marker19 = createMarker ["80", [9204.411,8778.32,0]]; "80" setMarkerShape "RECTANGLE"; "80" setMarkerSize [900, 700]; "80" setMarkerDir 0; - _marker20 = createMarker ["79", [10777.267,8306.346,0]]; "79" setMarkerShape "RECTANGLE"; "79" setMarkerSize [450, 1200]; "79" setMarkerDir 0; - _marker21 = createMarker ["78", [12404.287,9030.893,0]]; "78" setMarkerShape "RECTANGLE"; "78" setMarkerSize [950, 500]; "78" setMarkerDir 0; - _marker22 = createMarker ["77", [9588.691,7101.364,0]]; "77" setMarkerShape "ELLIPSE"; "77" setMarkerSize [1000, 1000]; "77" setMarkerDir 0; - _marker23 = createMarker ["76", [12666.157,7726.207,0]]; "76" setMarkerShape "ELLIPSE"; "76" setMarkerSize [700, 1300]; "76" setMarkerDir 59.894; - _marker24 = createMarker ["75", [14251.766,7153.137,0]]; "75" setMarkerShape "RECTANGLE"; "75" setMarkerSize [600, 700]; "75" setMarkerDir 289.511; - - "Mark_Inser" setMarkerPos [5775.83,6169.68,0]; - "M_helipad1" setMarkerPos [5794.88,6200.63,0]; - "M_helipad2" setMarkerPos [5756.78,6200.42,0]; - -}; - -//Bystrica -case "woodland_acr" : { - - CPC_WorldType = "chernarus"; - publicVariable "CPC_WorldType"; - CPC_FullMoon = [2016,3,30,0,0]; - publicVariable "CPC_FullMoon"; - - _marker0 = createMarker ["99", [1065.433,6059.067,0]]; "99" setMarkerShape "RECTANGLE"; "99" setMarkerSize [600, 600]; "99" setMarkerDir 0; - _marker1 = createMarker ["98", [3032.660,5875.657,0]]; "98" setMarkerShape "RECTANGLE"; "98" setMarkerSize [1100, 1100]; "98" setMarkerDir 0; - _marker2 = createMarker ["97", [5934.108,6519.026,0]]; "97" setMarkerShape "RECTANGLE"; "97" setMarkerSize [600, 600]; "97" setMarkerDir 0; - _marker3 = createMarker ["96", [1301.281,3854.274,0]]; "96" setMarkerShape "RECTANGLE"; "96" setMarkerSize [700, 800]; "96" setMarkerDir 0; - _marker4 = createMarker ["95", [2319.608,780.471,0]]; "95" setMarkerShape "ELLIPSE"; "95" setMarkerSize [1200, 600]; "95" setMarkerDir 0; - _marker5 = createMarker ["94", [3037.04,3752.449,0]]; "94" setMarkerShape "RECTANGLE"; "94" setMarkerSize [700, 900]; "94" setMarkerDir 31.792; - _marker6 = createMarker ["93", [5278.417,5345.128,0]]; "93" setMarkerShape "RECTANGLE"; "93" setMarkerSize [500, 700]; "93" setMarkerDir 302.608; - _marker7 = createMarker ["92", [6653.627,4878.559,0]]; "92" setMarkerShape "RECTANGLE"; "92" setMarkerSize [500, 500]; "92" setMarkerDir 0; - _marker8 = createMarker ["91", [6617.272,3663.268,0]]; "91" setMarkerShape "RECTANGLE"; "91" setMarkerSize [700, 700]; "91" setMarkerDir 0; - _marker9 = createMarker ["90", [4880.500,3505.622,0]]; "90" setMarkerShape "RECTANGLE"; "90" setMarkerSize [900, 900]; "90" setMarkerDir 0; - _marker10 = createMarker ["89", [4180.048,2201.658,0]]; "89" setMarkerShape "RECTANGLE"; "89" setMarkerSize [700, 700]; "89" setMarkerDir 0; - _marker11 = createMarker ["88", [6483.064,1114.850,0]]; "88" setMarkerShape "ELLIPSE"; "88" setMarkerSize [800, 1000]; "88" setMarkerDir 230.437; - - "Mark_Inser" setMarkerPos [985.561,2038.16,0]; - "M_helipad1" setMarkerPos [1054.43,2052.54,0]; - "M_helipad2" setMarkerPos [1035.84,2029,0]; - -}; - -//N'Ziwasogo -case "pja305" : { - - CPC_WorldType = "jungle"; - publicVariable "CPC_WorldType"; - CPC_FullMoon = [2016,6,29,0,0]; - publicVariable "CPC_FullMoon"; - - _marker_x = createMarker ["99",[3418.23,1963.03,0]]; "99" SetMarkerShape "RECTANGLE"; "99" setMarkerSize [900,1300]; "99" setMarkerDir 0; - _marker_x = createMarker ["98",[1491.54,2068.41,0]]; "98" SetMarkerShape "RECTANGLE"; "98" setMarkerSize [600,1400]; "98" setMarkerDir 0; - _marker_x = createMarker ["97",[2415.94,5261.99,0]]; "97" SetMarkerShape "RECTANGLE"; "97" setMarkerSize [1400,1200]; "97" setMarkerDir 0; - _marker_x = createMarker ["96",[5304.32,4442.93,0]]; "96" SetMarkerShape "RECTANGLE"; "96" setMarkerSize [900,1300]; "96" setMarkerDir 0; - _marker_x = createMarker ["95",[5852.04,1913.25,0]]; "95" SetMarkerShape "RECTANGLE"; "95" setMarkerSize [750,1200]; "95" setMarkerDir 0; - _marker_x = createMarker ["94",[7591.82,5507.68,0]]; "94" SetMarkerShape "RECTANGLE"; "94" setMarkerSize [750,750]; "94" setMarkerDir 0; - _marker_x = createMarker ["93",[7223.5,7678.25,0]]; "93" SetMarkerShape "ELLIPSE"; "93" setMarkerSize [1400,800]; "93" setMarkerDir 0; - _marker_x = createMarker ["92",[4280.47,8898.85,0]]; "92" SetMarkerShape "ELLIPSE"; "92" setMarkerSize [1300,1000]; "92" setMarkerDir 218.746; - _marker_x = createMarker ["91",[2175.6,12887,0]]; "91" SetMarkerShape "RECTANGLE"; "91" setMarkerSize [1300,1400]; "91" setMarkerDir 0; - _marker_x = createMarker ["90",[2388.04,17912.1,0]]; "90" SetMarkerShape "RECTANGLE"; "90" setMarkerSize [1400,1400]; "90" setMarkerDir 0; - _marker_x = createMarker ["89",[8099.76,9926.55,0]]; "89" SetMarkerShape "ELLIPSE"; "89" setMarkerSize [1322.84,726.621]; "89" setMarkerDir 150.789; - _marker_x = createMarker ["88",[16505.4,6759.86,0]]; "88" SetMarkerShape "ELLIPSE"; "88" setMarkerSize [345.998,608.523]; "88" setMarkerDir 210.7; - _marker_x = createMarker ["87",[6183.18,16351.8,0]]; "87" SetMarkerShape "RECTANGLE"; "87" setMarkerSize [1816.67,881.381]; "87" setMarkerDir 0; - _marker_x = createMarker ["86",[12598.4,14599.8,0]]; "86" SetMarkerShape "ELLIPSE"; "86" setMarkerSize [2088.71,923.825]; "86" setMarkerDir 201.337; - _marker_x = createMarker ["85",[13918.3,18213,0]]; "85" SetMarkerShape "ELLIPSE"; "85" setMarkerSize [1008.69,1467.05]; "85" setMarkerDir 211.969; - _marker_x = createMarker ["84",[17185.5,12605.9,0]]; "84" SetMarkerShape "RECTANGLE"; "84" setMarkerSize [1075.52,1044.48]; "84" setMarkerDir 0; - _marker_x = createMarker ["83",[16745.6,17141,0]]; "83" SetMarkerShape "ELLIPSE"; "83" setMarkerSize [1356.52,1321.05]; "83" setMarkerDir 0; - _marker_x = createMarker ["82",[16881.7,10558.7,0]]; "82" SetMarkerShape "RECTANGLE"; "82" setMarkerSize [1084.09,1001.11]; "82" setMarkerDir 0; - _marker_x = createMarker ["81",[14231.9,9345.72,0]]; "81" SetMarkerShape "ELLIPSE"; "81" setMarkerSize [404.735,1095.65]; "81" setMarkerDir 219.02; - _marker_x = createMarker ["80",[18688.1,6811,0]]; "80" SetMarkerShape "ELLIPSE"; "80" setMarkerSize [1203.34,1653.13]; "80" setMarkerDir 191.804; - _marker_x = createMarker ["79",[19257.4,1488.49,0]]; "79" SetMarkerShape "ELLIPSE"; "79" setMarkerSize [482.657,812.186]; "79" setMarkerDir 206.565; - _marker_x = createMarker ["78",[18286.3,1042.37,0]]; "78" SetMarkerShape "RECTANGLE"; "78" setMarkerSize [287.942,308.002]; "78" setMarkerDir 0; - _marker_x = createMarker ["77",[17566.2,14740.7,0]]; "77" SetMarkerShape "RECTANGLE"; "77" setMarkerSize [919.683,574.856]; "77" setMarkerDir 0; - _marker_x = createMarker ["76",[18993.8,18350.7,0]]; "76" SetMarkerShape "RECTANGLE"; "76" setMarkerSize [689.077,1159.72]; "76" setMarkerDir 0; - _marker_x = createMarker ["75",[10287,16808.8,0]]; "75" SetMarkerShape "ELLIPSE"; "75" setMarkerSize [779.623,1469.83]; "75" setMarkerDir 27.103; - _marker_x = createMarker ["74",[7967.67,13991.7,0]]; "74" SetMarkerShape "ELLIPSE"; "74" setMarkerSize [1827.93,977.271]; "74" setMarkerDir 0; - _marker_x = createMarker ["73",[2497.22,15388.7,0]]; "73" SetMarkerShape "RECTANGLE"; "73" setMarkerSize [1475.58,644.156]; "73" setMarkerDir 0; - _marker_x = createMarker ["72",[11517.4,8608.55,0]]; "72" SetMarkerShape "ELLIPSE"; "72" setMarkerSize [251.406,183.438]; "72" setMarkerDir 0; - - "Mark_Inser" setMarkerPos [13797.8,779.114,0]; - "M_helipad1" setMarkerPos [13838.5,809.967,0]; - "M_helipad2" setMarkerPos [13843.8,755.957,0]; -}; - -//daryiah -case "pja307" : { - - CPC_WorldType = "desert"; - publicVariable "CPC_WorldType"; - CPC_FullMoon = [2016,6,29,0,0]; - publicVariable "CPC_FullMoon"; - - _marker_x = createMarker ["80",[12216.1,18560.9,0]]; "80" SetMarkerShape "RECTANGLE"; "80" setMarkerSize [500,500]; "80" setMarkerDir 0; - _marker_x = createMarker ["81",[12469.7,17554.8,0]]; "81" SetMarkerShape "RECTANGLE"; "81" setMarkerSize [500,500]; "81" setMarkerDir 0; - _marker_x = createMarker ["82",[12739.5,15836.8,0]]; "82" SetMarkerShape "RECTANGLE"; "82" setMarkerSize [1000,1000]; "82" setMarkerDir 0; - _marker_x = createMarker ["83",[12717.6,14131.9,0]]; "83" SetMarkerShape "RECTANGLE"; "83" setMarkerSize [500,500]; "83" setMarkerDir 0; - _marker_x = createMarker ["84",[11381.2,7518.43,0]]; "84" SetMarkerShape "RECTANGLE"; "84" setMarkerSize [700,700]; "84" setMarkerDir 0; - _marker_x = createMarker ["86",[13611.3,12720.5,0]]; "86" SetMarkerShape "RECTANGLE"; "86" setMarkerSize [800,800]; "86" setMarkerDir 0; - _marker_x = createMarker ["87",[14113.6,9157.65,0]]; "87" SetMarkerShape "RECTANGLE"; "87" setMarkerSize [1000,1000]; "87" setMarkerDir 0; - _marker_x = createMarker ["88",[9794.28,7754.1,0]]; "88" SetMarkerShape "RECTANGLE"; "88" setMarkerSize [700,700]; "88" setMarkerDir 0; - _marker_x = createMarker ["89",[13275.4,6706.64,0]]; "89" SetMarkerShape "RECTANGLE"; "89" setMarkerSize [900,900]; "89" setMarkerDir 0; - _marker_x = createMarker ["90",[14926.1,4405.07,0]]; "90" SetMarkerShape "RECTANGLE"; "90" setMarkerSize [1200,1200]; "90" setMarkerDir 0; - _marker_x = createMarker ["91",[13841.8,2784.14,0]]; "91" SetMarkerShape "RECTANGLE"; "91" setMarkerSize [700,700]; "91" setMarkerDir 0; - _marker_x = createMarker ["92",[15139.8,2002.28,0]]; "92" SetMarkerShape "RECTANGLE"; "92" setMarkerSize [700,700]; "92" setMarkerDir 0; - _marker_x = createMarker ["93",[14028.7,10914,0]]; "93" SetMarkerShape "RECTANGLE"; "93" setMarkerSize [800,800]; "93" setMarkerDir 0; - _marker_x = createMarker ["94",[10563.9,9564.46,0]]; "94" SetMarkerShape "RECTANGLE"; "94" setMarkerSize [1000,1000]; "94" setMarkerDir 0; - _marker_x = createMarker ["95",[12483.1,4445.84,0]]; "95" SetMarkerShape "RECTANGLE"; "95" setMarkerSize [400,400]; "95" setMarkerDir 0; - _marker_x = createMarker ["96",[18493.8,5834.42,0]]; "96" SetMarkerShape "RECTANGLE"; "96" setMarkerSize [500,500]; "96" setMarkerDir 0; - _marker_x = createMarker ["97",[16745.7,7544.46,0]]; "97" SetMarkerShape "RECTANGLE"; "97" setMarkerSize [700,700]; "97" setMarkerDir 0; - _marker_x = createMarker ["98",[17972.7,3952.25,0]]; "98" SetMarkerShape "RECTANGLE"; "98" setMarkerSize [500,500]; "98" setMarkerDir 0; - _marker_x = createMarker ["85",[8174.09,7029.82,0]]; "85" SetMarkerShape "RECTANGLE"; "85" setMarkerSize [700,700]; "85" setMarkerDir 0; - _marker_x = createMarker ["99",[7451.88,2619.68,0]]; "99" SetMarkerShape "RECTANGLE"; "99" setMarkerSize [400,400]; "99" setMarkerDir 0; - - "Mark_Inser" setMarkerPos [5325.86,14558.6,0]; - "M_helipad1" setMarkerPos [5288,14527.8,0]; - "M_helipad2" setMarkerPos [5287.86,14592.1,0]; -}; - -//Nogova -case "noe" : { - - CPC_WorldType = "vanilla"; - publicVariable "CPC_WorldType"; - CPC_FullMoon = [2016,6,29,0,0]; - publicVariable "CPC_FullMoon"; - - - _marker_x = createMarker ["99",[9406.34,3844.64,0]]; "99" SetMarkerShape "ELLIPSE"; "99" setMarkerSize [653.454,1167.76]; "99" setMarkerDir 152.283; - _marker_x = createMarker ["98",[11361.2,4256.65,0]]; "98" SetMarkerShape "ELLIPSE"; "98" setMarkerSize [608.971,1108.82]; "98" setMarkerDir 188.572; - _marker_x = createMarker ["97",[9769.39,6369.1,0]]; "97" SetMarkerShape "ELLIPSE"; "97" setMarkerSize [922.197,509.972]; "97" setMarkerDir 195.764; - _marker_x = createMarker ["96",[10127.7,7946.65,0]]; "96" SetMarkerShape "ELLIPSE"; "96" setMarkerSize [1219.74,707.624]; "96" setMarkerDir 159.768; - _marker_x = createMarker ["95",[11072.6,10286.1,0]]; "95" SetMarkerShape "ELLIPSE"; "95" setMarkerSize [488.309,886.193]; "95" setMarkerDir 0; - _marker_x = createMarker ["94",[2757.97,4136.47,0]]; "94" SetMarkerShape "ELLIPSE"; "94" setMarkerSize [504.474,1364.57]; "94" setMarkerDir 241.849; - _marker_x = createMarker ["93",[2256.01,7289.57,0]]; "93" SetMarkerShape "ELLIPSE"; "93" setMarkerSize [496.106,1302.63]; "93" setMarkerDir 210.78; - _marker_x = createMarker ["92",[5317.49,6707.62,0]]; "92" SetMarkerShape "ELLIPSE"; "92" setMarkerSize [1074.61,988.864]; "92" setMarkerDir 0; - _marker_x = createMarker ["91",[5485.68,4036.05,0]]; "91" SetMarkerShape "ELLIPSE"; "91" setMarkerSize [1239.02,783.374]; "91" setMarkerDir 214.445; - _marker_x = createMarker ["90",[7461.18,6452.24,0]]; "90" SetMarkerShape "ELLIPSE"; "90" setMarkerSize [576.517,1155]; "90" setMarkerDir 188.973; - _marker_x = createMarker ["89",[4192.9,8627.67,0]]; "89" SetMarkerShape "ELLIPSE"; "89" setMarkerSize [933.118,1176.46]; "89" setMarkerDir 153.567; - _marker_x = createMarker ["88",[1037.44,11128.2,0]]; "88" SetMarkerShape "ELLIPSE"; "88" setMarkerSize [571.067,941.602]; "88" setMarkerDir 161.174; - _marker_x = createMarker ["87",[7586.1,10025.3,0]]; "87" SetMarkerShape "ELLIPSE"; "87" setMarkerSize [858.925,494.953]; "87" setMarkerDir 0; - - "Mark_Inser" setMarkerPos [8903.34,12557,0]; - "M_helipad1" setMarkerPos [8971.26,12574.6,0]; - "M_helipad2" setMarkerPos [9009.84,12575,0]; -}; - -//Everon -case "eden" : { - - CPC_WorldType = "vanilla"; - publicVariable "CPC_WorldType"; - CPC_FullMoon = [2016,6,29,0,0]; - publicVariable "CPC_FullMoon"; - - _marker_x = createMarker ["99",[4143.5,6022.54,0]]; "99" SetMarkerShape "ELLIPSE"; "99" setMarkerSize [1194.55,1004.47]; "99" setMarkerDir 202.986; - _marker_x = createMarker ["98",[3502.96,4437.24,0]]; "98" SetMarkerShape "ELLIPSE"; "98" setMarkerSize [1328.82,593.151]; "98" setMarkerDir 204.042; - _marker_x = createMarker ["97",[2524.88,6426.4,0]]; "97" SetMarkerShape "RECTANGLE"; "97" setMarkerSize [285.833,932.175]; "97" setMarkerDir 0; - _marker_x = createMarker ["96",[7633.85,2775.25,0]]; "96" SetMarkerShape "ELLIPSE"; "96" setMarkerSize [472.262,1394.58]; "96" setMarkerDir 165.148; - _marker_x = createMarker ["95",[9261.05,3633,0]]; "95" SetMarkerShape "RECTANGLE"; "95" setMarkerSize [325.965,1464.84]; "95" setMarkerDir 151.02; - _marker_x = createMarker ["94",[6369.11,7960.48,0]]; "94" SetMarkerShape "ELLIPSE"; "94" setMarkerSize [1149.31,668.067]; "94" setMarkerDir 148.887; - _marker_x = createMarker ["93",[6252.49,5804.72,0]]; "93" SetMarkerShape "ELLIPSE"; "93" setMarkerSize [662.495,1329.76]; "93" setMarkerDir 0; - _marker_x = createMarker ["92",[4914.12,8974.39,0]]; "92" SetMarkerShape "ELLIPSE"; "92" setMarkerSize [494.935,1370.63]; "92" setMarkerDir 206.219; - - "Mark_Inser" setMarkerPos [4862.15,11870.1,0]; - "M_helipad1" setMarkerPos [4871.29,11817.6,0]; - "M_helipad2" setMarkerPos [4872.43,11771.4,0]; -}; - -}; - -//Cacher les marqueurs de zone -for "_x" from 1 to 100 do -{ - format ["%1",_x] setMarkerAlpha 0; -}; - - -CPC_MarkersCreated = true; -publicVariable "CPC_MarkersCreated"; diff --git a/CPC-COM[18]-Cache_cash.Altis/description.ext b/CPC-COM[18]-Cache_cash.Altis/description.ext index e410fe1..9b3e8a4 100644 --- a/CPC-COM[18]-Cache_cash.Altis/description.ext +++ b/CPC-COM[18]-Cache_cash.Altis/description.ext @@ -4,4 +4,5 @@ enableDebugConsole = 1; #include "Cfg\functions.hpp" #include "Cfg\missionParams.hpp" #include "Cfg\factions.hpp" +#include "Cfg\mapParams.hpp" diff --git a/CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_ammocrate.sqf b/CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_ammocrate.sqf index 8723a97..84c868d 100644 --- a/CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_ammocrate.sqf +++ b/CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_ammocrate.sqf @@ -4,7 +4,7 @@ Script pour créer une caisse avec du matos en plus près du spawn des joueurs private ["_pos","_veh","_weap","_lat","_at","_mag_at1","_mag_at2","_mag_at3","_hat","_mag_hat","_gre","_mag1","_mag2","_mag_ar","_mag_mg","_arsenal_items_faction","_arsenal_items_base"]; -switch (CC_p_loaout) do { +switch (CC_p_playerFaction) do { //OTAN case 0 : { _weap = "arifle_MX_Black_F"; diff --git a/CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_buildCacheCash.sqf b/CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_buildCacheCash.sqf deleted file mode 100644 index 3738d77..0000000 --- a/CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_buildCacheCash.sqf +++ /dev/null @@ -1,463 +0,0 @@ -/* - -*/ -private [ - "_nbr","_mark","_markEx","_pos","_dir","_group","_veh","_array","_type","_wp","_i","_markPos","_upPos", - "_side","_unitType","_vehTypes","_VehicleCrew","_VehicleCrewTypes", - "_r","_tl","_gl","_lat","_at","_mg","_m","_aa","_crew","_hmg", - "_veharray_light","_veharray_medium","_veharray_heavy","_veharray_transport","_veharray_heli","_veharray_air","_veharray_aa" -]; - -waitUntil {!isnil "cc_MarkersCreated"}; -/* -[ - false, - [], - true, - 0.5, - 2000, - [], - 100, - 70, - 500, //_MCC_GAIA_MAX_SLOW_SPEED_RANGE - 800, //_MCC_GAIA_MAX_MEDIUM_SPEED_RANGE - 80000, //_MCC_GAIA_MAX_FAST_SPEED_RANGE - 40, - 5000, - 350 -] call GDC_gaia_fnc_initHC;*/ - -[] execVM "InitGaia.sqf"; -call compile preprocessfilelinenumbers "shk_pos\shk_pos_init.sqf"; - -/* PARAMETRES */ - -_side = independent; - -_r = getText (missionConfigFile >> "CC_ennemy" >> CC_faction_ia >> cc_IAcamo >> "r"); -_tl = getText (missionConfigFile >> "CC_ennemy" >> CC_faction_ia >> cc_IAcamo >> "tl"); -_gl = getText (missionConfigFile >> "CC_ennemy" >> CC_faction_ia >> cc_IAcamo >> "gl"); -_lat = getText (missionConfigFile >> "CC_ennemy" >> CC_faction_ia >> cc_IAcamo >> "lat"); -_at = getText (missionConfigFile >> "CC_ennemy" >> CC_faction_ia >> cc_IAcamo >> "at"); -_mg = getText (missionConfigFile >> "CC_ennemy" >> CC_faction_ia >> cc_IAcamo >> "mg"); -_m = getText (missionConfigFile >> "CC_ennemy" >> CC_faction_ia >> cc_IAcamo >> "m"); -_aa = getText (missionConfigFile >> "CC_ennemy" >> CC_faction_ia >> cc_IAcamo >> "aa"); -_crew = getText (missionConfigFile >> "CC_ennemy" >> CC_faction_ia >> cc_IAcamo >> "crew"); -_hmg = getText (missionConfigFile >> "CC_ennemy" >> CC_faction_ia >> cc_IAcamo >> "hmg"); -_veharray_light = getArray (missionConfigFile >> "CC_ennemy" >> CC_faction_ia >> cc_IAcamo >> "veharray_light"); -_veharray_medium = getArray (missionConfigFile >> "CC_ennemy" >> CC_faction_ia >> cc_IAcamo >> "veharray_medium"); -_veharray_heavy = getArray (missionConfigFile >> "CC_ennemy" >> CC_faction_ia >> cc_IAcamo >> "veharray_heavy"); -_veharray_transport = getArray (missionConfigFile >> "CC_ennemy" >> CC_faction_ia >> cc_IAcamo >> "veharray_transport"); -_veharray_heli = getArray (missionConfigFile >> "CC_ennemy" >> CC_faction_ia >> cc_IAcamo >> "veharray_heli"); -_veharray_air = getArray (missionConfigFile >> "CC_ennemy" >> CC_faction_ia >> cc_IAcamo >> "veharray_air"); -_veharray_aa = getArray (missionConfigFile >> "CC_ennemy" >> CC_faction_ia >> cc_IAcamo >> "veharray_aa"); - -_unitTypes = [_r,0.9,_mg,0.3,_gl,0.1,_m,0.1]; - -_array = switch (CC_p_menace_at) do { // menace AT infantry - case 1: {[_lat,0.4,_at,0.3]}; - case 2: {[_lat,0.6,_at,0.5]}; - default {[]}; -}; -_unitTypes = _unitTypes + _array; - -_array = switch (CC_p_menace_aa) do { // menace AA infantry - case 1: {[_aa,0.2]}; - default {[]}; -}; -_unitTypes = _unitTypes + _array; - -_vehTypes = _veharray_light; // Seulement des véhicules légers - -if (CC_p_menace_veh_type > 0) then { // Présence de véhicules moyens - _vehTypes = _veharray_medium; -}; - -if (CC_p_menace_veh_type > 1) then { // Présence de véhicules lourds - _vehTypes = _vehTypes + _veharray_heavy; -}; - -if (CC_p_menace_veh_type > 2) then { // Encore plus de véhicules lourds - _vehTypes = _vehTypes + _veharray_heavy; -}; - -_VehicleCrewTypes = [_crew,_crew,_crew]; - -waituntil {time > 10}; - -/* SPAWN */ - -// Fait spawn des groupes (jusqu'à 4) qui patrouillent dans la petite zone en NOFOLLOW -_nbr = CC_p_difficulty + 1; -_mark = "2"; -_markEx = "1"; -for "_n" from 1 to _nbr do { - _pos = [_mark,0,_markEx,100] call SHK_pos; - _group = [_pos,_side,([_unitTypes,[2,3,5],_tl] call GDC_fnc_creategroupCompo)] call GDC_fnc_lucySpawnGroupInf; - _group setVariable ["GAIA_ZONE_INTEND",[_mark,"NOFOLLOW"],false]; - sleep 0.5; -}; - -// Fait spawn des technicals (jusqu'à 4) qui patrouillent dans la petite zone en MOVE -_nbr = switch (CC_p_difficulty) do { - case 0: {2}; - case 1: {2 + (floor random 2)}; - case 2: {3}; - case 3: {4}; -}; -if (CC_p_menace_veh_nbr > 0) then { - for "_n" from 1 to _nbr do { - _type = (selectRandom _veharray_light); - _pos = [_mark,0,_markEx,[100,_type]] call SHK_pos; - _veh = [_pos,_side,_type,([_unitTypes,2] call GDC_fnc_creategroupCompo),(random 360),["NONE",0,0]] call GDC_fnc_lucySpawnVehicle; - _group = _veh#0; - _group setVariable ["GAIA_ZONE_INTEND",[_mark,"MOVE"],false]; - sleep 0.5; - }; -}; - -// Fait spawn des groupes (jusqu'à 6) qui restent dans la zone du camp en FORTIFY -if (typecamp == 1) then { //petit camp - _nbr = switch (CC_p_difficulty) do { - case 0: {2}; - case 1: {3}; - case 2: {4}; - case 3: {5}; - }; -}; -if (typecamp == 2) then { //ville - _nbr = switch (CC_p_difficulty) do { - case 0: {2 + (floor random 2)}; - case 1: {3 + (floor random 2)}; - case 2: {4 + (floor random 2)}; - case 3: {6 + (floor random 2)}; - }; -}; -if (typecamp == 3) then { //Base militaire - _nbr = switch (CC_p_difficulty) do { - case 0: {2}; - case 1: {3 + (floor random 2)}; - case 2: {4 + (floor random 2)}; - case 3: {6 + (floor random 2)}; - }; -}; -_mark = "1"; -for "_n" from 1 to _nbr do { - _pos = [_mark,0,[],100] call SHK_pos; - _group = [_pos,_side,([_unitTypes,[2,3,5],_tl] call GDC_fnc_creategroupCompo)] call GDC_fnc_lucySpawnGroupInf; - _group setVariable ["GAIA_ZONE_INTEND",[_mark,"FORTIFY"],false]; - sleep 0.5; -}; - -// Fait spawn des groupes (minimum 4) qui patrouillent dans la grande zone en MOVE -_nbr = switch (CC_p_difficulty) do { - case 0: {1}; - case 1: {2}; - case 2: {3}; - case 3: {5}; -}; -_mark = "3"; -_markEx = "2"; -for "_n" from 1 to _nbr do { - { - _pos = [_mark,0,_markEx,200] call SHK_pos; - _group = [_pos,_side,([_unitTypes,[2,3,5],_tl] call GDC_fnc_creategroupCompo)] call GDC_fnc_lucySpawnGroupInf; - _group setVariable ["GAIA_ZONE_INTEND",[_mark,"MOVE"],false]; - sleep 0.5; - } foreach [1,2,3,4]; -}; -// Fait spawn des véhicules "lourds" (entre 1 et 8) qui patrouillent dans la grande zone en MOVE -_nbr = switch (CC_p_difficulty) do { - case 0: {floor random 2}; - case 1: {floor ((random 2)+ 0.5)}; - case 2: {(floor random 1.8) + 1}; - case 3: {(floor random 3) + 2}; -}; -if (CC_p_menace_veh_nbr > 0) then { - if (CC_p_menace_veh_nbr == 2) then {_nbr = _nbr + 1 + CC_p_difficulty;}; - _mark = "3"; - _markEx = "2"; - for "_n" from 1 to _nbr do { - _type = selectrandom _vehTypes; - _pos = [_mark,0,_markEx,[200,_type]] call SHK_pos; - if ((_type isKindOf "tank") OR (_type isKindOf "Wheeled_APC_F")) then { - _VehicleCrew = _VehicleCrewTypes; - } else { - _VehicleCrew = ([_unitTypes,2] call GDC_fnc_creategroupCompo); - }; - _veh = [_pos,_side,_type,_VehicleCrew,(random 360),["NONE",0,0]] call GDC_fnc_lucySpawnVehicle; - _group = _veh#0; - _group setVariable ["GAIA_ZONE_INTEND",[_mark,"MOVE"],false]; - sleep 0.5; - }; -}; - -// Fait spawn des véhicules AA qui ne sont pas affectés à GAIA : -if (CC_p_menace_aa == 1) then { - _nbr = switch (CC_p_difficulty) do { - case 0: {1}; - case 1: {2}; - case 2: {3}; - case 3: {5}; - }; - _mark = "3"; - _markEx = "2"; - for "_n" from 1 to _nbr do { - _type = selectrandom _veharray_aa; - _pos = [_mark,0,_markEx,[200,_type]] call SHK_pos; - if ((_type isKindOf "tank") OR (_type isKindOf "Wheeled_APC_F")) then { - _VehicleCrew = _VehicleCrewTypes; - } else { - _VehicleCrew = ([_unitTypes,2] call GDC_fnc_creategroupCompo); - }; - _veh = [_pos,_side,_type,_VehicleCrew,(random 360),["NONE",0,0]] call GDC_fnc_lucySpawnVehicle; - sleep 0.5; - }; -}; - -// Fait spawn un mortier qui bombarde la grande zone -if (random 100 < 22) then { - _dir = [[getMarkerPos "Mark_Inser" select 0,getMarkerPos "Mark_Inser" select 1,0],[getMarkerPos "1" select 0,getMarkerPos "1" select 1,0]] call BIS_fnc_dirTo; - _pos = [[getmarkerpos "1" select 0, getmarkerpos "1" select 1,0],2000,(_dir + ((random 20)-10)),0] call SHK_pos; - _veh = [_pos,_side,"B_G_Mortar_01_F",[_r],(random 360),["NONE",0,0]] call GDC_fnc_lucySpawnVehicle; - _group = _veh#0; _veh = _veh#1; - _group setVariable ["GAIA_ZONE_INTEND",["3","NOFOLLOW"],false]; -}; - -//Fait spawn des petits camps (jusqu'à 4) dans la grande zone avec un groupe dessus en FORTIFY -{ - if (random 100 < _x) then { - _pos = [[getmarkerpos "1" select 0, getmarkerpos "1" select 1,0],[450,800],random 360,0] call SHK_pos; - while {((SurfaceNormal _pos) select 2) < 0.955} do { - _pos = [[getmarkerpos "1" select 0, getmarkerpos "1" select 1,0],[450,800],random 360,0] call SHK_pos; - }; - [ - _pos - , selectrandom ["campA","campB","campC","campD","campE","campF"] - ] execVM "scripts\create_camp.sqf"; - _mark = createMarker [format["CPos%1",_x],_pos]; - _mark setmarkerColor "colorRed"; - _mark setMarkerShape "ELLIPSE"; - _mark setMarkerSize [50,51]; - _mark setMarkerAlpha 0; - _dir = random 360; - _group = [_pos,_side,([_unitTypes,[2,3,5],_tl] call GDC_fnc_creategroupCompo)] call GDC_fnc_lucySpawnGroupInf; - _group setVariable ["GAIA_ZONE_INTEND",[_mark,"FORTIFY"],false]; - sleep 0.5; - }; -} foreach [40,20,5,2]; - -// Fait spawn un véhicule de transport de troupes sur une route entre 1000m et 1500m du camp et le fait patrouiller. -if (CC_p_menace_veh_nbr > 0) then { - if (random 100 < 75) then { - _type = selectRandom _veharray_transport; - _pos = [getMarkerPos "1",[1000,1500],random 360,0,[1,500],_type] call SHK_pos; - _veh = [_pos,_side,_type,[_r],(random 360),["NONE",0,0]] call GDC_fnc_lucySpawnVehicle; - _group = _veh#0; _veh = _veh#1; - //units _group join _veh; - _wp = _group addWaypoint [(getpos _veh),20]; - _wp setWaypointType "MOVE"; - _wp setWaypointBehaviour "SAFE"; - _wp setWaypointSpeed "LIMITED"; - { - _pos = [getMarkerPos "1",[1500,1800],_x,0,[1,500]] call SHK_pos; - _wp = _group addWaypoint [_pos,20]; - _wp setWaypointType "MOVE"; - _wp setWaypointBehaviour "SAFE"; - _wp setWaypointSpeed "LIMITED"; - } foreach [[0,90],[90,180],[180,270],[270,360]]; - _wp = _group addWaypoint [(getpos _veh),20]; - _wp setWaypointType "CYCLE"; - _wp setWaypointBehaviour "SAFE"; - _wp setWaypointSpeed "LIMITED"; - _group = [(getpos _veh),_side,([_unitTypes,5,_tl] call GDC_fnc_creategroupCompo)] call GDC_fnc_lucySpawnGroupInf; - {_x assignAsCargo _veh; _x moveInCargo _veh;} foreach units _group; - }; -}; - -// Fait spawn un poste d'observation au sommet d'un relief avec un groupe en FORTIFY dessus -if (random 100 < 75) then { - _mark = "3"; - _markPos = markerpos _mark; - _markSize = (getmarkerSize _mark) select 0; - _upPos = -1; - _pos = [0,0,-10]; - for "_x" from ((_markPos select 0)- (_markSize /1.6)) to ((_markPos select 0)+ (_markSize /1.6)) step (_markSize / 100) do { - for "_y" from ((_markPos select 1)- (_markSize /1.6)) to ((_markPos select 1)+ (_markSize /1.6)) step (_markSize / 100) do { - _upPos = getTerrainHeightASL [_x,_y]; - if ((_pos select 2) < _upPos) then { - _Pos = [_x,_y,_upPos]; - }; - }; - }; - - _veh = "Land_Cargo_Patrol_V2_F" CreateVehicle [_pos select 0, _pos select 1,-3]; - _veh setdir random 360; - "4" setmarkerpos _pos; - _group = [(getpos _veh),_side,([_unitTypes,[2,3,5],_tl] call GDC_fnc_creategroupCompo)] call GDC_fnc_lucySpawnGroupInf; - (leader _group) setPosATL (_veh buildingPos 1); - _group setVariable ["GAIA_ZONE_INTEND",["4","FORTIFY"],false]; -}; - -//hélico TODO : changer la fonction, besoin d'une classe pilote -if (CC_p_menace_air == 1) then { - for "_i" from 1 to 2 do { - if (((count _veharray_air) != 0) AND (random 100 < 50)) then { - _mark = "2"; - _markEx = "1"; - _type = selectRandom _veharray_air; - _pos = [_mark,0,_markEx,[300,_type]] call SHK_pos; - _veh = [_pos,(random 360),_type,_side] call BIS_fnc_spawnVehicle; - _group = _veh #2; - _group setVariable ["GAIA_ZONE_INTEND",["3","MOVE"],false]; - }; - }; -}; - -//Fait spawn des binomes dans les batiments de la grande zone et les assigne en FORTIFY à cette zone -private _houselist = []; -private _houseOutlist = []; -{ - _buildingPos = _x buildingPos -1; - if ((count _buildingPos) > 0) then { - _houselist = _houselist + [_x]; - } -} forEach (nearestObjects [(markerPos "3"), ["House","Building"], 1200]); -{ - if (random 100 < 3.5) then { - _houseOutlist = _houseOutlist + [_x]; - _pos = getpos _x; - _group = [_pos,_side,([_unitTypes,2] call GDC_fnc_creategroupCompo)] call GDC_fnc_lucySpawnGroupInf; - _mark = createMarker [format["BPos%1",_x],_pos]; - _mark setmarkerColor "colorPink"; - _mark setMarkerShape "ELLIPSE"; - _mark setMarkerSize [40,40]; - _mark setMarkerAlpha 0; - _group setVariable ["GAIA_ZONE_INTEND",[_mark,"FORTIFY"],false]; - if ((!chefIA_create) AND (random 100 < 20) AND !(["1",_pos] call BIS_fnc_inTrigger)) then { - private _group_chef = [_pos,_side,[_tl]] call GDC_fnc_lucySpawnGroupInf; - chefIA = (units _group_chef) #0; - [chefIA] joinSilent _group; - chefIA allowDamage false; - [chefIA,["Confirmer l'élimination","chefIA_killed = true; publicVariable 'chefIA_killed';(_this select 0) removeAction (_this select 2);",0,1.5,true,true,"","(!alive chefIA) AND ((_target distance _this) < 3)"]] remoteExec ["addaction", 0]; - _mark = createMarker ["Chefmarker",_pos]; - _mark setMarkerType "HD_dot"; - _mark setMarkerColor "colorRed"; - publicVariable "chefIA"; - chefIA_create = true; - publicVariable "chefIA_create"; - }; - sleep 0.5; - }; -} foreach _houselist; - -// Fait spawn des civils dans des batiments de la grande zone et les fait se balader. -_houselist = _houselist - _houseOutlist; -{ - if (random 100 < 3.5) then { - _pos = getpos _x; - _type = switch (CPC_WorldType) do { - case "vanilla": {["CUP_C_C_Citizen_02","CUP_C_C_Citizen_01","CUP_C_C_Citizen_04","CUP_C_C_Citizen_03","CUP_C_C_Functionary_01","CUP_C_C_Functionary_02","CUP_C_C_Profiteer_02","CUP_C_C_Profiteer_03","CUP_C_C_Profiteer_01","CUP_C_C_Profiteer_04","CUP_C_C_Rocker_01","CUP_C_C_Rocker_03","CUP_C_C_Rocker_02","CUP_C_C_Rocker_04","CUP_C_C_Schoolteacher_01","CUP_C_C_Villager_01","CUP_C_C_Villager_04","CUP_C_C_Villager_02","CUP_C_C_Villager_03","CUP_C_C_Worker_03","CUP_C_C_Worker_04","CUP_C_C_Worker_02","CUP_C_C_Worker_01","C_man_polo_1_F","C_man_polo_2_F","C_man_polo_3_F","C_man_polo_4_F","C_man_polo_5_F","C_man_polo_6_F","C_man_p_beggar_F"]}; - case "desert": {["C_man_p_beggar_F_afro","C_man_polo_1_F_afro","C_man_polo_2_F_afro","C_man_polo_3_F_afro","C_man_polo_4_F_afro","C_man_polo_5_F_afro","C_man_polo_6_F_afro","C_man_p_beggar_F_asia","C_man_polo_1_F_asia","C_man_polo_2_F_asia","C_man_polo_3_F_asia","C_man_polo_4_F_asia","C_man_polo_5_F_asia","C_man_polo_6_F_asia"]}; - case "afrique": {["C_man_p_beggar_F_afro","C_man_polo_1_F_afro","C_man_polo_2_F_afro","C_man_polo_3_F_afro","C_man_polo_4_F_afro","C_man_polo_5_F_afro","C_man_polo_6_F_afro"]}; - case "jungle": {["C_man_p_beggar_F_afro","C_man_polo_1_F_afro","C_man_polo_2_F_afro","C_man_polo_3_F_afro","C_man_polo_4_F_afro","C_man_polo_5_F_afro","C_man_polo_6_F_afro"]}; - case "chern": {["CUP_C_C_Worker_01","CUP_C_C_Worker_02","CUP_C_C_Worker_04","CUP_C_C_Worker_03","CUP_C_C_Woodlander_04","CUP_C_C_Woodlander_03","CUP_C_C_Woodlander_02","CUP_C_C_Woodlander_01","CUP_C_C_Villager_03","CUP_C_C_Villager_02","CUP_C_C_Villager_04","CUP_C_C_Villager_01","CUP_C_C_Schoolteacher_01","CUP_C_C_Rocker_04","CUP_C_C_Rocker_02","CUP_C_C_Rocker_03","CUP_C_C_Rocker_01","CUP_C_C_Racketeer_04","CUP_C_C_Racketeer_03","CUP_C_C_Racketeer_02","CUP_C_C_Racketeer_01","CUP_C_C_Profiteer_04","CUP_C_C_Profiteer_01","CUP_C_C_Profiteer_03","CUP_C_C_Profiteer_02","CUP_C_C_Priest_01","CUP_C_C_Worker_05","CUP_C_C_Functionary_jacket_02","CUP_C_C_Functionary_jacket_01","CUP_C_C_Functionary_jacket_03","CUP_C_C_Citizen_03","CUP_C_C_Citizen_04","CUP_C_C_Citizen_02","CUP_C_C_Assistant_01","CUP_C_C_Functionary_01","CUP_C_C_Functionary_02","CUP_C_C_Functionary_03"]}; - case "fidji": {["C_Man_casual_1_F_tanoan","C_Man_casual_2_F_tanoan","C_Man_casual_3_F_tanoan","C_man_sport_1_F_tanoan""C_man_sport_2_F_tanoan","C_man_sport_3_F_tanoan","C_Man_casual_4_F_tanoan","C_Man_casual_5_F_tanoan","C_Man_casual_6_F_tanoan"]}; - }; - _group = [_pos,civilian,[(selectrandom _type),(selectrandom _type)]] call GDC_fnc_lucySpawnGroupInf; - [_group,0] setWaypointType "DISMISS"; - sleep 0.5; - }; -} foreach _houselist; - -// Fait spawn des carcasses dans la grande zone -private _wrecklist = ["Land_Wreck_BMP2_F","Land_Wreck_BRDM2_F","Land_Wreck_HMMWV_F","Land_Wreck_Skodovka_F","Land_Wreck_CarDismantled_F","Land_Wreck_Truck_F","Land_Wreck_Car2_F","Land_Wreck_Car_F","Land_Wreck_Car3_F","Land_Wreck_Hunter_F","Land_Wreck_Offroad_F","Land_Wreck_Offroad2_F","Land_Wreck_UAZ_F","Land_Wreck_Ural_F","Land_Wreck_Truck_dropside_F","Land_Wreck_Van_F","Land_Wreck_Slammer_F","Land_Wreck_Slammer_hull_F","Land_Wreck_T72_hull_F","hiluxWreck","datsun01Wreck","datsun02Wreck","SKODAWreck","Mi8Wreck","Mi8Wreck"]; -_mark = "3"; -_markEx = "1"; -{ - if (random 100 < _x) then { - _type = selectrandom _wrecklist; - _pos = [_mark,0,_markEx,_type] call SHK_pos; - _veh = _type createVehicle _pos; - _veh setdir (random 360); - _veh setVectorUp surfaceNormal position _veh; - sleep 0.5; - }; -} foreach [100,90,80,70,60,50,40,30,10]; - -// réglage des skills -[(allUnits select {side _x == _side})] call STDR_fnc_setskill; - -// chef IA -if (chefIA_create) then {removeHeadgear chefIA; chefIA addHeadgear "CUP_H_RUS_Beret_Spetsnaz"; chefIA allowDamage true;}; - -//event fin -[_unitTypes,_tl,_side] spawn { - params ["_unitTypes","_tl","_side"]; - private ["_nbr","_mark","_markPos","_pos","_group"]; - waitUntil {("Succeeded" == (taskState task1))}; - - _nbr = switch (CC_p_difficulty) do { - case 0: {2}; - case 1: {3}; - case 2: {4}; - case 3: {5}; - }; - for "_n" from 1 to _nbr do { - _mark = "2"; - _markPos = markerpos _mark; - _pos = [[_markPos select 0,_markPos select 1,0],1400,random 360,0,[],100] call SHK_pos; - _group = [_pos,_side,([_unitTypes,[2,3,5],_tl] call GDC_fnc_creategroupCompo)] call GDC_fnc_lucySpawnGroupInf; - _group setVariable ["GAIA_ZONE_INTEND",[_mark,"NOFOLLOW"],false]; - sleep 0.5; - [(units _group)] call STDR_fnc_setskill; - }; -}; -hint "SPAWN END"; - -/* RANDOM EVENTS */ - -waitUntil {time > (2100 + (random 600))}; - -// Camion de renfort -if (CC_p_menace_veh_nbr > 0) then { - _type = selectRandom _veharray_transport; - _pos = [getMarkerPos "1",[1500,1800],random 360,0,[1,200],_type] call SHK_pos; - _veh = [_pos,_side,_type,[_r],(random 360),["NONE",0,0]] call GDC_fnc_lucySpawnVehicle; - _group = _veh#0; _veh = _veh#1; - _group = [_pos,_side,([_unitTypes,5,_tl] call GDC_fnc_creategroupCompo)] call GDC_fnc_lucySpawnGroupInf; - {_x assignAsCargo _veh; _x moveInCargo _veh;} foreach units _group; - units _group join _group; - _group setVariable ["GAIA_ZONE_INTEND",["2", "MOVE"], false]; - [(units _group)] call STDR_fnc_setskill; -}; - -// Camion de renfort -if ((random 100 < 50) AND (CC_p_menace_veh_nbr > 0)) then { - sleep (600 + (random 300)); - _type = selectRandom _veharray_transport; - _pos = [getMarkerPos "1",[1500,1800],random 360,0,[1,200],_type] call SHK_pos; - _veh = [_pos,_side,_type,[_r],(random 360),["NONE",0,0]] call GDC_fnc_lucySpawnVehicle; - _group = _veh#0; _veh = _veh#1; - _group = [_pos,_side,([_unitTypes,5,_tl] call GDC_fnc_creategroupCompo)] call GDC_fnc_lucySpawnGroupInf; - {_x assignAsCargo (_veh select 0); _x moveInCargo (_veh select 0);} foreach units _group; - units _group join (_veh select 2); - (_veh select 2) setVariable ["GAIA_ZONE_INTEND",["2", "MOVE"], false]; - [(units (_veh select 2))] call STDR_fnc_setskill; -}; - - -/* -if (CC_p_menace_air == 1) then { - if (((count _veharray_air) != 0) AND (random 100 < 35)) then { - waitUntil {time > (6100+ (random 300))}; - _mark = "2"; - _markEx = "1"; - _type = selectRandom _veharray_air; - _pos = [_mark,0,_markEx,[300,_type]] call SHK_pos; - _veh = [_pos,(random 360),_type,_side] call BIS_fnc_spawnVehicle; - _group = _veh #2; - _veh setVariable ["GAIA_ZONE_INTEND",["3","MOVE"],false]; - }; -}; -*/ \ No newline at end of file diff --git a/CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_commonVariables.sqf b/CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_commonVariables.sqf index a6c6d0a..9cfbcb4 100644 --- a/CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_commonVariables.sqf +++ b/CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_commonVariables.sqf @@ -1,12 +1,21 @@ -/* - +/** +* @description +* Initialize everywhere shared variables. Must contain only static variables ! +* Called from init.sqf +* +* */ if (!isNil "CC_variables_defined") exitWith {}; -CC_variables_defined = true; // définition manuelle des paramètres pour le débug -// Variables liées aux paramètres de la mission +// Map variables +CPC_MAP = toLower worldName; +CPC_WorldType = getText (missionConfigFile >> "mapParams" >> CPC_MAP >> "worldType"); +publicVariable "CPC_WorldType"; +CPC_FullMoon = getArray (missionConfigFile >> "mapParams" >> CPC_MAP >> "timeFullMoon");; + +// Mission parameters CC_p_game_type = "gameType" call BIS_fnc_getParamValue; CC_p_difficulty = "difficulte" call BIS_fnc_getParamValue; CC_p_time = "heure" call BIS_fnc_getParamValue; @@ -15,7 +24,7 @@ CC_p_fog = "fog" call BIS_fnc_getParamValue; CC_p_fullmoon = "fullmoon" call BIS_fnc_getParamValue; CC_p_insertion = "insertion" call BIS_fnc_getParamValue; CC_p_extraction = "extraction" call BIS_fnc_getParamValue; -CC_p_loaout = "faction" call BIS_fnc_getParamValue; +CC_p_playerFaction = "faction_player" call BIS_fnc_getParamValue; CC_p_nvg = "nvg" call BIS_fnc_getParamValue; CC_p_ammocrate = "ammocrate" call BIS_fnc_getParamValue; CC_p_vehicle = "vehicule" call BIS_fnc_getParamValue; @@ -30,7 +39,7 @@ CC_P_ssscas = "sss_cas" call BIS_fnc_getParamValue; CC_P_sssdrone = "sss_drone" call BIS_fnc_getParamValue; // Loadout -CC_loadout = switch (CC_p_loaout) do { +CC_loadout = switch (CC_p_playerFaction) do { case 0 : {"NATO"}; case 1 : {"CSAT"}; case 2 : {"AAF"}; @@ -133,4 +142,6 @@ switch (toLower worldName) do { case "chernarus_winter" : {cc_IAcamo = "winter"}; default {cc_IAcamo = "polyvalent"}; }; -cc_loadoutcamo = cc_IAcamo; \ No newline at end of file +cc_loadoutcamo = cc_IAcamo; + +CC_variables_defined = true; \ No newline at end of file diff --git a/CPC-COM[18]-Cache_cash.Altis/scripts/create_markers.sqf b/CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_create_markers.sqf similarity index 92% rename from CPC-COM[18]-Cache_cash.Altis/scripts/create_markers.sqf rename to CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_create_markers.sqf index 129ad1a..edf9a41 100644 --- a/CPC-COM[18]-Cache_cash.Altis/scripts/create_markers.sqf +++ b/CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_create_markers.sqf @@ -1,7 +1,25 @@ /* - Création de markers en fonctions de la map - Pour récup les markers rouges de la map : +** Refactoring ** + + Etat initial du script : + A partir des paramètres de la carte, initialise plusieurs éléments importants pour une mission de type cache-cash : + - Initialise plusieurs variables publiques : CPC_MAP, CPC_WorldType, CPC_FullMoon + - Créé des marqueurs de zone de white et black list et les tableaux associés + - Créé un marqueur de spawn pour Lucy + - Déplace le marqueur de spawn par défaut des joueurs + + TODO : + - Le script ne devrait créer que les marqueurs de white et black lists et le marqueur de spawn Lucy + + DONE : + - Supprimer le switch et la description des cartes en déportant les données dans un fichier de config + - Initialisation de CPC_MAP, CPC_WorldType et de CPC_FullMoon déplacée dans fn_commonVariables.sqf + - Les marqueurs de white et black lists ne sont créés que localement, sur la même localité que le script qui l'utilise (obj_cache.sqf) : server only (performance !) + +** Refactoring ** + +Pour récup les markers rouges de la map : _br = toString [13,10]; _arraymk = []; _strmk = ""; @@ -20,21 +38,21 @@ copyToClipboard _strmk; */ private ["_mkz_whitelist","_mkz_blacklist","_spawnpos","_mk"]; -CPC_MAP = toLower worldName; -publicVariable "CPC_MAP"; + cc_mkz_whitelist = []; cc_mkz_blacklist = []; cc_createAreaMarker = { params ["_mkCfg"]; private ["_mk"]; - _mk = createMarker [(format ["mkz_ex_%1",(_mkCfg select 0)]),(_mkCfg select 0)]; - _mk setMarkerShape (_mkCfg select 1); - _mk setMarkerSize (_mkCfg select 2); - _mk setMarkerDir (_mkCfg select 3); + _mk = createMarkerLocal [(format ["mkz_ex_%1",(_mkCfg select 0)]),(_mkCfg select 0)]; + _mk setMarkerShapeLocal (_mkCfg select 1); + _mk setMarkerSizeLocal (_mkCfg select 2); + _mk setMarkerDirLocal (_mkCfg select 3); _mk }; +/* Code sorti dans le fichier de config mapParams.hpp switch (CPC_MAP) do { //Altis case "altis" : { @@ -669,32 +687,41 @@ switch (CPC_MAP) do { _spawnpos = [15313.6,14936.7,0]; }; }; +*/ + +_mkz_whitelist = call(compile(getText (missionConfigFile >> "mapParams" >> CPC_MAP >> "whiteListArea"))); +_mkz_blacklist = call(compile(getText (missionConfigFile >> "mapParams" >> CPC_MAP >> "blackListArea"))); +_lucySpawnPos = getArray (missionConfigFile >> "mapParams" >> CPC_MAP >> "lucySpawnPos"); +_playerSpawnPos = getArray (missionConfigFile >> "mapParams" >> CPC_MAP >> "defaultPlayerSpawnPos"); +"Mark_Inser" setMarkerPos _playerSpawnPos; -// Création des markers +// Création des markers white et black lists { _mk = [_x] call cc_createAreaMarker; cc_mkz_whitelist = cc_mkz_whitelist + [_mk]; - if (isMultiplayer) then {_mk setMarkerAlpha 0;}; + if (isMultiplayer) then {_mk setMarkerAlphaLocal 0;}; } forEach _mkz_whitelist; -publicVariable "cc_mkz_whitelist"; +//publicVariable "cc_mkz_whitelist"; + { _mk = [_x] call cc_createAreaMarker; cc_mkz_blacklist = cc_mkz_blacklist + [_mk]; - if (isMultiplayer) then {_mk setMarkerAlpha 0;}; + if (isMultiplayer) then {_mk setMarkerAlphaLocal 0;}; } forEach _mkz_blacklist; -publicVariable "cc_mkz_blacklist"; +//publicVariable "cc_mkz_blacklist"; -//marker de spawn -_mk = createMarker ["mkr_spawn_static_unit",_spawnpos]; +//marker de spawn Lucy +_mk = createMarker ["mkr_spawn_static_unit",_lucySpawnPos]; _mk setMarkerShape "ICON"; _mk setMarkerType "mil_end"; _mk setMarkerAlpha 0; //Cacher les marqueurs de zone +//DAL : Bouh que c'est cochon !! if (isMultiplayer) then { for "_x" from 1 to 100 do { - format ["%1",_x] setMarkerAlpha 0; + format ["%1",_x] setMarkerAlphaLocal 0; }; }; @@ -718,6 +745,4 @@ for "_i" from 1 to 6000 do { _mk setMarkerShape "ICON"; _mk setmarkertype "hd_dot"; }; - - */ \ No newline at end of file diff --git a/CPC-COM[18]-Cache_cash.Altis/scripts/obj_cache.sqf b/CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_obj_cache.sqf similarity index 100% rename from CPC-COM[18]-Cache_cash.Altis/scripts/obj_cache.sqf rename to CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_obj_cache.sqf diff --git a/CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_setdate.sqf b/CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_setdate.sqf index 6496b45..7bcc86f 100644 --- a/CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_setdate.sqf +++ b/CPC-COM[18]-Cache_cash.Altis/functions/cc/fn_setdate.sqf @@ -4,10 +4,12 @@ if !(isServer) exitWith {}; private ["_day","_month"]; +// DAL : adhérence inutile avec une variable globale, devrait être passé en paramètre de la fonction if (CC_p_fullmoon == 1) then { _day = CPC_FullMoon select 2; _month = CPC_FullMoon select 1; } else { +// DAL : il s'est passé quoi, le 24 juin 2016 :-D ? _day = 24; _month = 6; }; diff --git a/CPC-COM[18]-Cache_cash.Altis/init.sqf b/CPC-COM[18]-Cache_cash.Altis/init.sqf index e8477e8..7c6b501 100644 --- a/CPC-COM[18]-Cache_cash.Altis/init.sqf +++ b/CPC-COM[18]-Cache_cash.Altis/init.sqf @@ -1,14 +1,25 @@ -// We need tones of variables -[] call STDR_fnc_commonVariables; +/* + ** Refactoring ** + + Globalement, on lance la plupart (voire tous) les scripts à partir d'ici. Le lancement des scripts lancés initialement + dans le initServer.sqf est relocalisé ici. + + ** Refactoring ** +*/ + +/* Everywhere shared variables */ + [] call STDR_fnc_commonVariables; +/* Everywhere shared variables */ + +// Initialize LUCY +[1.0,"mkr_spawn_static_unit",false,600,false,3600,false,false,"SERGEANT"] call GDC_fnc_lucyInit; // déterminer la localité pour faire pop les IAs (HC ou éditeur) +// DAL : Lucy n'est pas censé s'occuper de ça (en dehors du isEdenPreview) ? MODE_EDITEUR = false; MODE_HC = false; HC_IsPresent = false; -// Initialize LUCY -[1.0,"mkr_spawn_static_unit",false,600,false,3600,false,false,"SERGEANT"] call GDC_fnc_lucyInit; - if (is3DENPreview) then { MODE_EDITEUR = true; } else { @@ -19,25 +30,33 @@ if (is3DENPreview) then { }; }; +waitUntil {CC_variables_defined}; + +/* Server only scripts */ + if (isServer) then { + //Mission date and time + [] call STDR_fnc_setDate; + //Weather + [] call STDR_fnc_setWeather; + //Cache-cash markers + [] call STDR_fnc_create_markers; + //Cache-cash buildings + [] call STDR_fnc_obj_cache; + }; +/* Server only scripts */ + // Launch game type from mission parameter switch CC_p_game_type do { - case 1: {[] spawn STDR_fnc_buildCacheCash;}; + case 1: {[] execVM "scripts\Spawn_IA.sqf";}; case 2: { SystemChat "Le mode de jeu choisi est en cours d'implémentation : mode Cache cash lancé"; - [] spawn STDR_fnc_buildCacheCash; + [] execVM "scripts\Spawn_IA.sqf"; //[] spawn STDR_fnc_buildCconvoyDefense; }; }; waitUntil {!isnil "cc_MarkersCreated"}; - -// DAL : Les deux fonctions suivantes devraient être déplacées dans le initServer.sqf -// Date et heure -[] call STDR_fnc_setDate; -//METEO -[] call STDR_fnc_setWeather; - /*SCRIPTS*/ // DAL : il faut revoir le truc car il va aussi être conditionné par le mode de jeu (ex. Défense de convoi : pas de spawn HALO ou LALO, en théorie) switch (CC_p_insertion) do { @@ -50,7 +69,7 @@ switch (CC_p_insertion) do { }; if (CC_p_extraction == 2) then { - _type = switch (CC_p_loaout) do { + _type = switch (CC_p_playerFaction) do { case 0 : {if (cc_playerCount > 8) then {"B_Heli_Transport_03_unarmed_F"} else {"B_Heli_Transport_01_F"}}; // NATO case 1 : {if (cc_playerCount > 8) then {"O_Heli_Transport_04_covered_F"} else {"O_Heli_Light_02_unarmed_F"}}; // CSAT case 2 : {if (cc_playerCount > 8) then {"I_Heli_Transport_02_F"} else {"MU_AAF_Orca_unarmed"}}; // AAF @@ -92,6 +111,3 @@ waitUntil {time > 0}; if (CC_p_vehicle > 0) then { null = [] execVM "scripts\vehicle_creator.sqf"; }; - -//METEO -[] call STDR_fnc_setWeather; diff --git a/CPC-COM[18]-Cache_cash.Altis/initPlayerLocal.sqf b/CPC-COM[18]-Cache_cash.Altis/initPlayerLocal.sqf index 9d10ccc..7dd438f 100644 --- a/CPC-COM[18]-Cache_cash.Altis/initPlayerLocal.sqf +++ b/CPC-COM[18]-Cache_cash.Altis/initPlayerLocal.sqf @@ -10,7 +10,6 @@ _isAdmin = serverCommandAvailable "#logout"; if (_isAdmin || (isServer && hasInterface)) then { [] call gdc_fnc_addZeusToPlayerRemote; }; -INF2("_isAdmin a la valeur", _isAdmin); // Variables pour les loadouts playerUnit = _this select 0; // unité du joueur (sélectionnée dans l'écran des slots) @@ -59,7 +58,7 @@ execVM "briefing.sqf"; player allowdamage false; waitUntil {time > 1}; -if ((uniform playerUnit) == "") then { +if ((uniform playerUnit) isEqualTo "") then { [playerUnit] call hard_setLoadout; playerUnit setVariable ["loadout_done", true, true]; playerUnit action ["WeaponOnBack", playerUnit]; diff --git a/CPC-COM[18]-Cache_cash.Altis/initserver.sqf b/CPC-COM[18]-Cache_cash.Altis/initserver.sqf index ca52b9e..6fe2002 100644 --- a/CPC-COM[18]-Cache_cash.Altis/initserver.sqf +++ b/CPC-COM[18]-Cache_cash.Altis/initserver.sqf @@ -1,20 +1,56 @@ +/* + +** Refactoring ** +Etat initial du script : +- Initialise les variables globales côté serveur +- Paramètre l'heure et la pleine lune +- Paramètre la météo +- Lance le build de la cache (obj_cache.sqf) et des triggers d'objectifs accomplis +- Créé un marqueur d'extraction aléatoire sous condition +- Paramètre le loadout des IA +- Ajoute la caisse de matériel sous condition +- Ajoute SSS sous condition + +TODO : éviter d'avoir à broadcaster des variables et d'avoir des waituntil attendant l'init de variables publiques (broadcastées) + +DONE : +- Initialiser les variables statiques (paramètres de mission, en particulier) uniquement dans le init.sqf +- En conséquence, deplacer les appels de fonction serveur dans le init.sqf + +** Refactoring ** + +*/ + private ["_txt","_trg","_pos","_mk"]; -// We need tones of variables -[] call STDR_fnc_commonVariables; + +/* Déplacé dans le init.sqf */ + /* Server global variables */ + // [] call STDR_fnc_commonVariables; + /* Server global variables */ + + /* Mission date and time */ + // [] call STDR_fnc_setDate; + /* Mission date and time */ + + /* Weather */ + // [] call STDR_fnc_setWeather; + /* Weather */ +/* Déplacé dans le init.sqf */ chefIA_create = false; publicVariable "chefIA_create"; chefIA_killed = false; publicVariable "chefIA_killed"; -null = [] execVM "scripts\create_markers.sqf"; +/* DAL : non fonctionnel // Sélection du type de mission cc_p_mission = 1; -if (cc_p_mission == 0) then { +if (cc_p_mission isEqualTo 0) then { cc_p_mission = selectrandom [1,2]; }; + cc_p_mission_server = cc_p_mission; publicVariable "cc_p_mission_server"; switch (cc_p_mission_server) do { @@ -31,7 +67,14 @@ switch (cc_p_mission_server) do { _txt = "Caisse en feu"; }; }; +*/ + +/* Déplacé dans le init.sqf */ + //null = [] execVM "scripts\create_markers.sqf"; + //[] execVM "scripts\obj_cache.sqf"; +/* Déplacé dans le init.sqf */ +_txt = "Caisse en feu"; // Trigger d'objectif _trg = createTrigger ["EmptyDetector",[0,0,0],true]; _trg setTriggerStatements ["!alive cible","task1 setTaskState 'Succeeded';['TaskSucceeded',['','"+_txt+"']] call BIS_fnc_showNotification;",""]; @@ -42,6 +85,7 @@ _trg setTriggerStatements ["(time > 120) AND ((resistance countSide allUnits) < _trg setTriggerTimeout [0,0,0,false]; waitUntil {!isnil "cc_objOK"}; + // Marker d'extraction aléatoire. if (CC_p_extraction == 1) then { _pos = (MarkerPos "2") getpos [1150,(random 360)]; diff --git a/CPC-COM[18]-Cache_cash.Altis/mission.sqm b/CPC-COM[18]-Cache_cash.Altis/mission.sqm index 8de8c8e34460fe831710cdf1839b0b0016047e50..ba2ab0e3f83052be6f276f5922972a6a0b8f1e3c 100644 GIT binary patch delta 110 zcmX>wgZaP=<_(ri@tTYb4310;3=Awx1^LAc%#7O}^als#*~s-1Qblw zU%rp=>PzSSjEqct_DrP(K(U%5$M!K^JE3CF*m70Fo++_7GbI%$+&wqO9%v>517rMM MM*Gb(m{yzw03LK9&;S4c delta 110 zcmX>wgZaP=<_(ri@gj^24310;3=Awx1^LAc%#5$va@`o!{_mtj!U$XG$#2Oi2X_A6`^u4>Xg(h|$Ze L({A$&rWGdv1lb`z diff --git a/CPC-COM[18]-Cache_cash.Altis/scripts/insert_gdc_helico.sqf b/CPC-COM[18]-Cache_cash.Altis/scripts/insert_gdc_helico.sqf index f608017..704196b 100644 --- a/CPC-COM[18]-Cache_cash.Altis/scripts/insert_gdc_helico.sqf +++ b/CPC-COM[18]-Cache_cash.Altis/scripts/insert_gdc_helico.sqf @@ -5,7 +5,7 @@ if (didJIP) exitwith {}; private["_type"]; -_type = switch (CC_p_loaout) do { +_type = switch (CC_p_playerFaction) do { case 0 : {if (cc_playerCount > 8) then {"B_Heli_Transport_03_unarmed_F"} else {"B_Heli_Transport_01_F"}}; // NATO case 1 : {if (cc_playerCount > 8) then {"O_Heli_Transport_04_covered_F"} else {"O_Heli_Light_02_unarmed_F"}}; // CSAT case 2 : {if (cc_playerCount > 8) then {"I_Heli_Transport_02_F"} else {"MU_AAF_Orca_unarmed"}}; // AAF diff --git a/CPC-COM[18]-Cache_cash.Altis/scripts/insert_gdc_lalo.sqf b/CPC-COM[18]-Cache_cash.Altis/scripts/insert_gdc_lalo.sqf index 032bca1..2338b7d 100644 --- a/CPC-COM[18]-Cache_cash.Altis/scripts/insert_gdc_lalo.sqf +++ b/CPC-COM[18]-Cache_cash.Altis/scripts/insert_gdc_lalo.sqf @@ -24,7 +24,7 @@ if (isserver) then { }; }; waitUntil {!isnil "cc_objet_lalo"}; -_type = switch (CC_p_loaout) do { +_type = switch (CC_p_playerFaction) do { case 0 : {"B_T_VTOL_01_infantry_F"}; //NATO case 1 : {"B_T_VTOL_01_infantry_F"}; //CSAT case 2 : {"CUP_I_C130J_AAF"}; //AAF diff --git a/~CPC-COM[18]-Cache_cash.Altis/mission.sqm b/~CPC-COM[18]-Cache_cash.Altis/mission.sqm deleted file mode 100644 index c62d07ba2d66a6d5a7b8c5d29aa9ed53c5a6becf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 52289 zcmd6Q34EMY)&89nT3Z2;BAYB@tF)BTCX=pgX_{u*LN}UF#8TrlnWO{BOqiLJ7A&%S z1{4JW5m}@KWiN=bh-{)@1p!6m14K|zJ{MFL1sDE+|L2^0&g8uBOgl3zCi44f-*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