mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Progress
This commit is contained in:
parent
cd83a0b488
commit
ffc1c5d6ad
190
Moose Development/Documentation/Scoring/Scoring Sample.csv
Normal file
190
Moose Development/Documentation/Scoring/Scoring Sample.csv
Normal file
@ -0,0 +1,190 @@
|
|||||||
|
Game;Date;Time;Source Player Name;Target Player Name;Event;Source Coalition;Source Category;Source Type;Source Unit;Target Coalition;Target Category;Target Type;Target Name;Nr;Score
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:19:37;PL8;;DESTROY_SCORE;Red;Plane;Su-25T;Pilot #058;Blue;Vehicle;Hawk cwar;Unit #114;1;5
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:39:25;PL12;;HIT_SCORE;Red;Plane;AJS37;Pilot #110;Blue;Vehicle;Soldier M249;Unit #453;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:14:30;PL1;PL2;DESTROY_PENALTY;Blue;Plane;F-15C;Pilot #069;Blue;Plane;F-15C;Pilot #071;1;-15
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:40:14;PL3;PL4;HIT_SCORE;Blue;Plane;F-15C;Pilot #018;Red;Plane;AJS37;Pilot #112;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:25:22;PL5;;HIT_PENALTY;Red;Helicopter;Ka-50;MEDEVAC RED #13;Red;Vehicle;Infantry AK;Wounded Pilot #1143;1;-10
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:18:34;PL6;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;M-2 Bradley;Unit #007;1;3
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:21:35;PL7;PL2;HIT_SCORE;Red;Plane;M-2000C;Pilot #037;Blue;Plane;F-15C;Pilot #071;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:46:42;PL8;;HIT_SCORE;Red;Plane;Su-25T;Pilot #058;Blue;Vehicle;Strela-1 9P31;Unit #429;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:30:09;PL9;PL10;DESTROY_SCORE;Blue;Plane;F-15C;Pilot #017;Red;Plane;Su-27;Pilot #039;1;5
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:22:46;PL11;;HIT_SCORE;Red;;;;;Scenery;Infantry AK;Wounded Pilot #1129;1;0
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:11:46;PL6;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;MLRS;Unit #011;1;2
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:53:10;PL11;;HIT_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;MLRS;Unit #510;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:10:54;PL12;;HIT_SCORE;Red;;;;;Scenery;UKRYTIE;280468;1;0
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:09:28;PL13;PL9;HIT_SCORE;Red;Plane;Su-27;Pilot #086;Blue;Plane;F-15C;Pilot #017;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:52:59;PL13;PL14;HIT_SCORE;Red;Plane;Su-27;Pilot #086;Blue;Plane;M-2000C;Pilot #030;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:39:27;PL12;;DESTROY_SCORE;Red;Plane;AJS37;Pilot #110;Blue;Vehicle;Soldier stinger;Unit #454;1;4
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:53:21;PL11;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;MLRS;Unit #510;1;2
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:51:37;PL15;PL9;HIT_SCORE;Red;Plane;Su-27;Pilot #041;Blue;Plane;F-15C;Pilot #017;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:22:05;PL16;PL2;DESTROY_SCORE;Red;Plane;Su-27;Pilot #044;Blue;Plane;F-15C;Pilot #071;1;3
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:22:28;PL6;PL3;HIT_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Plane;F-15C;Pilot #018;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:38:21;PL17;PL18;HIT_SCORE;Blue;Plane;M-2000C;Pilot #029;Red;Plane;Su-25T;Pilot #059;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:14:34;PL7;PL17;DESTROY_SCORE;Red;Plane;M-2000C;Pilot #037;Blue;Plane;M-2000C;Pilot #029;1;2,5
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:21:22;PL19;PL20;HIT_SCORE;Blue;Plane;F-15C;Pilot #024;Red;Plane;A-10C;Pilot #057;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:24:21;PL5;PL21;HIT_PENALTY;Red;Helicopter;Mi-8MT;MEDEVAC RED #10;Red;Helicopter;SA342Mistral;helicargo4;1;-10
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:21:36;PL6;PL19;HIT_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Plane;F-15C;Pilot #024;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:21:51;PL6;PL19;DESTROY_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Plane;F-15C;Pilot #024;1;6
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:21:14;PL19;PL20;HIT_SCORE;Blue;Plane;F-15C;Pilot #024;Red;Plane;A-10C;Pilot #057;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:13:59;PL2;;HIT_SCORE;Blue;;;;;Scenery;F-15C;Pilot #069;1;0
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:48:55;PL11;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;M-1 Abrams;Unit #514;1;3
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:22:48;PL6;PL3;DESTROY_SCORE;Red;;;;Blue;Plane;F-15C;Pilot #018;1;6
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:18:19;PL6;;HIT_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;M-2 Bradley;Unit #007;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:25:19;PL5;;HIT_PENALTY;Red;Helicopter;Ka-50;MEDEVAC RED #13;Red;Vehicle;Infantry AK;Wounded Pilot #1143;1;-10
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:22:12;PL9;PL20;HIT_SCORE;Blue;Plane;F-15C;Pilot #017;Red;Plane;A-10C;Pilot #057;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:51:35;PL15;PL9;HIT_SCORE;Red;Plane;Su-27;Pilot #041;Blue;Plane;F-15C;Pilot #017;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:19:18;PL6;;HIT_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;M-113;Unit #006;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:54:22;PL1;PL13;HIT_SCORE;Blue;Plane;F-15C;Pilot #069;Red;Plane;Su-27;Pilot #086;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:37:18;PL11;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;Osa 9A33 ln;Unit #218;1;5
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:21:14;PL16;PL1;DESTROY_SCORE;Red;Plane;Su-27;Pilot #044;Blue;Plane;F-15C;Pilot #069;1;5
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:55:00;PL11;;HIT_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;M1128 Stryker MGS;Unit #010;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:22:13;PL9;PL20;HIT_SCORE;Blue;Plane;F-15C;Pilot #017;Red;Plane;A-10C;Pilot #057;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:19:55;PL2;PL18;HIT_SCORE;Blue;Plane;F-15C;Pilot #071;Red;Plane;Su-25T;Pilot #059;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:14:34;PL16;PL17;DESTROY_SCORE;Red;Plane;Su-27;Pilot #044;Blue;Plane;M-2000C;Pilot #029;1;2,5
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:46:42;PL11;;HIT_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;Soldier M4;Unit #470;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:11:46;PL6;;HIT_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;MLRS;Unit #011;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:21:20;PL19;PL20;HIT_SCORE;Blue;Plane;F-15C;Pilot #024;Red;Plane;A-10C;Pilot #057;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:10:01;PL6;PL3;HIT_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Plane;F-15C;Pilot #018;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:38:22;PL18;PL17;DESTROY_SCORE;Red;Plane;Su-25T;Pilot #059;Blue;Plane;M-2000C;Pilot #029;1;5
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:46:25;PL6;;HIT_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;M-2 Bradley;Unit #007;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:19:53;PL24;PL18;HIT_SCORE;Blue;Plane;F-15C;Pilot #033;Red;Plane;Su-25T;Pilot #059;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:51:55;PL15;PL9;DESTROY_SCORE;Red;Plane;Su-27;Pilot #041;Blue;Plane;F-15C;Pilot #017;1;5
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:48:11;PL2;PL10;DESTROY_SCORE;Blue;Plane;F-15C;Pilot #071;Red;Plane;Su-27;Pilot #039;1;5
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:39:25;PL12;;DESTROY_SCORE;Red;Plane;AJS37;Pilot #110;Blue;Vehicle;Soldier M249;X33;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:13:13;PL6;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;M-1 Abrams;Unit #009;1;3
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:17:07;PL6;;HIT_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;M-2 Bradley;Unit #007;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:18:29;PL19;PL18;HIT_SCORE;Blue;Plane;F-15C;Pilot #024;Red;Plane;Su-25T;Pilot #059;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:22:05;PL16;PL2;HIT_SCORE;Red;Plane;Su-27;Pilot #044;Blue;Plane;F-15C;Pilot #071;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:22:26;PL19;PL20;DESTROY_SCORE;Blue;Plane;F-15C;Pilot #024;Red;Plane;A-10C;Pilot #057;1;2
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:55:13;PL6;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;M1128 Stryker MGS;Unit #010;1;1,5
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:55:54;PL11;;HIT_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;AAV7;Unit #005;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:21:26;PL6;PL19;HIT_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Plane;F-15C;Pilot #024;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:09:27;PL3;PL13;HIT_SCORE;Blue;Plane;F-15C;Pilot #018;Red;Plane;Su-27;Pilot #086;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:57:05;PL15;PL1;DESTROY_SCORE;Red;Plane;Su-27;Pilot #041;Blue;Plane;F-15C;Pilot #069;1;5
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:53:23;PL11;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;MLRS;Unit #511;1;2
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:47:44;PL16;PL26;HIT_SCORE;Red;Plane;Su-27;Pilot #044;Blue;Plane;F-15C;Pilot #068;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:40:04;PL19;PL12;HIT_SCORE;Blue;Plane;F-15C;Pilot #024;Red;Plane;AJS37;Pilot #110;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:41:24;PL20;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #057;Blue;Vehicle;Soldier M4;X36;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:07:56;PL6;;HIT_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;M-109;Unit #512;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:41:24;PL20;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #057;Blue;Vehicle;Soldier M249;Unit #310;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:39:25;PL12;;HIT_SCORE;Red;Plane;AJS37;Pilot #110;Blue;Vehicle;Soldier M4;Unit #450;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:46:45;PL11;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;Soldier M4;Unit #469;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:54:26;PL1;PL13;DESTROY_SCORE;Blue;Plane;F-15C;Pilot #069;Red;Plane;Su-27;Pilot #086;1;5
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:13:29;PL4;;DESTROY_SCORE;Red;Plane;AJS37;Pilot #112;Blue;Structure;Warehouse;AMMO SENAKI;1;50
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:56:32;PL11;;HIT_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;M-109;Unit #014;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:55:49;PL16;PL2;HIT_SCORE;Red;Plane;Su-27;Pilot #044;Blue;Plane;F-15C;Pilot #071;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:17:00;PL6;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;Vulcan;Unit #004;1;4
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:47:55;PL10;PL19;HIT_SCORE;Red;Plane;Su-27;Pilot #039;Blue;Plane;F-15C;Pilot #024;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:29:20;PL9;PL10;HIT_SCORE;Blue;Plane;F-15C;Pilot #017;Red;Plane;Su-27;Pilot #039;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:46:45;PL11;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;Soldier M4;Unit #470;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:54:58;PL11;;HIT_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;AAV7;Unit #005;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:48:15;PL11;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;Vulcan;Unit #503;1;4
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:22:05;PL7;PL2;DESTROY_SCORE;Red;Plane;M-2000C;Pilot #037;Blue;Plane;F-15C;Pilot #071;1;3
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:19:55;PL24;PL18;HIT_SCORE;Blue;Plane;F-15C;Pilot #033;Red;Plane;Su-25T;Pilot #059;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:45:32;PL7;;DESTROY_SCORE;Red;Plane;M-2000C;Pilot #037;Blue;Structure;Windsock;logistic10;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:41:22;PL20;;HIT_SCORE;Red;Plane;A-10C;Pilot #057;Blue;Vehicle;Soldier M4;Unit #308;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:47:30;;;CAPTURE KOBULETI;Red;;;;NA;NA;NA;NA;1;50
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:55:13;PL11;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;M1128 Stryker MGS;Unit #010;1;1,5
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:20:05;PL17;PL18;DESTROY_SCORE;Blue;;;;Red;Plane;Su-25T;Pilot #059;1;1,67
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:22:42;PL23;PL22;HIT_SCORE;Red;Plane;M-2000C;Pilot #038;Blue;Plane;F-15C;Pilot #070;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:46:42;PL11;;HIT_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;Soldier M4;Unit #469;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:37:08;PL18;;DESTROY_SCORE;Red;Plane;Su-25T;Pilot #059;Blue;Vehicle;Hawk sr;Unit #118;1;5
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:40:12;PL19;PL12;DESTROY_SCORE;Blue;Plane;F-15C;Pilot #024;Red;Plane;AJS37;Pilot #110;1;4
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:50:48;PL20;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #057;Blue;Vehicle;Vulcan;Unit #095;1;4
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:45:31;PL7;;HIT_SCORE;Red;Plane;M-2000C;Pilot #037;Blue;Vehicle;outpost;outpost1;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:25:15;PL5;;HIT_PENALTY;Red;Helicopter;Ka-50;MEDEVAC RED #13;Red;Vehicle;Infantry AK;Wounded Pilot #1143;1;-10
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:13:29;PL4;;HIT_SCORE;Red;;;;;Scenery;Warehouse;AMMO SENAKI;1;0
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:20:05;PL2;PL18;DESTROY_SCORE;Blue;Plane;F-15C;Pilot #071;Red;Plane;Su-25T;Pilot #059;1;1,67
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:45:32;PL7;;HIT_SCORE;Red;;;;;Scenery;Windsock;logistic10;1;0
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:39:25;PL12;;HIT_SCORE;Red;Plane;AJS37;Pilot #110;Blue;Vehicle;Soldier M249;X33;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:52:37;PL11;;HIT_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;Vulcan;Unit #508;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:47:58;PL2;PL10;HIT_SCORE;Blue;Plane;F-15C;Pilot #071;Red;Plane;Su-27;Pilot #039;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:56:35;PL15;PL1;HIT_SCORE;Red;Plane;Su-27;Pilot #041;Blue;Plane;F-15C;Pilot #069;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:41:25;PL20;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #057;Blue;Vehicle;Soldier M4;Unit #308;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:32:57;PL9;PL25;DESTROY_SCORE;Blue;Plane;F-15C;Pilot #017;Red;Plane;Su-27;Pilot #043;1;5
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:18:23;PL6;;HIT_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;M-2 Bradley;Unit #007;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:21:14;PL16;PL1;HIT_SCORE;Red;Plane;Su-27;Pilot #044;Blue;Plane;F-15C;Pilot #069;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:22:47;PL9;PL6;DESTROY_SCORE;Blue;Plane;F-15C;Pilot #017;Red;Plane;A-10C;Pilot #056;1;2
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:23:16;PL5;PL5;HIT_PENALTY;Red;Helicopter;Mi-8MT;MEDEVAC RED #10;Red;Helicopter;Mi-8MT;MEDEVAC RED #10;1;-10
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:21:03;PL19;PL6;HIT_SCORE;Blue;Plane;F-15C;Pilot #024;Red;Plane;A-10C;Pilot #056;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:46:24;PL6;;HIT_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;M-2 Bradley;Unit #007;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:21:17;PL11;PL27;HIT_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Plane;F-15C;Pilot #025;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:18:22;PL6;;HIT_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;M-2 Bradley;Unit #007;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:52:37;PL11;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;Vulcan;Unit #508;1;4
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:19:30;PL6;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;M-113;Unit #006;1;2
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:41:22;PL20;;HIT_SCORE;Red;Plane;A-10C;Pilot #057;Blue;Vehicle;Soldier M249;Unit #310;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:22:46;PL9;PL11;DESTROY_SCORE;Blue;Plane;F-15C;Pilot #017;Red;Plane;A-10C;Pilot #054;1;4
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:36:57;PL18;;HIT_SCORE;Red;Plane;Su-25T;Pilot #059;Blue;Vehicle;Hawk sr;Unit #118;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:41:22;PL20;;HIT_SCORE;Red;Plane;A-10C;Pilot #057;Blue;Vehicle;Soldier M249;Unit #311;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:22:26;PL11;;HIT_SCORE;Red;;;;;Scenery;KAZARMA2;270090725;1;0
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:37:07;PL11;;HIT_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;Osa 9A33 ln;Unit #218;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:18:46;;;CAPTURE KUTAISI;Red;;;;NA;NA;NA;NA;1;50
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:33:20;PL9;PL15;HIT_SCORE;Blue;Plane;F-15C;Pilot #017;Red;Plane;Su-27;Pilot #041;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:10:10;PL6;PL3;DESTROY_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Plane;F-15C;Pilot #018;1;6
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:13:23;PL6;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;M-2 Bradley;Unit #008;1;3
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:56:08;PL11;PL26;DESTROY_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Plane;F-15C;Pilot #025;1;6
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:14:23;PL7;PL17;HIT_SCORE;Red;Plane;M-2000C;Pilot #037;Blue;Plane;M-2000C;Pilot #029;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:22:47;PL19;PL6;DESTROY_SCORE;Blue;Plane;F-15C;Pilot #024;Red;Plane;A-10C;Pilot #056;1;2
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:50:37;PL20;;HIT_SCORE;Red;Plane;A-10C;Pilot #057;Blue;Vehicle;Vulcan;Unit #015;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:22:26;PL9;PL20;DESTROY_SCORE;Blue;Plane;F-15C;Pilot #017;Red;Plane;A-10C;Pilot #057;1;2
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:57:05;PL2;PL1;DESTROY_PENALTY;Blue;Plane;F-15C;Pilot #071;Blue;Plane;F-15C;Pilot #069;1;-15
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:56:44;PL11;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;M-109;Unit #014;1;2
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:22:36;PL9;PL6;HIT_SCORE;Blue;Plane;F-15C;Pilot #017;Red;Plane;A-10C;Pilot #056;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:53:12;PL11;;HIT_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;MLRS;Unit #511;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:47:56;PL20;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #057;Blue;Vehicle;M-109;Unit #013;1;2
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:22:37;PL9;PL6;HIT_SCORE;Blue;Plane;F-15C;Pilot #017;Red;Plane;A-10C;Pilot #056;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:48:04;PL11;;HIT_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;M-113;Unit #505;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:13:23;PL6;;HIT_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;M-2 Bradley;Unit #008;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:46:42;PL11;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;Vulcan;Unit #515;1;4
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:38:22;PL18;;HIT_SCORE;Red;;;;;Scenery;M-2000C;Pilot #029;1;0
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:09:28;PL13;PL9;DESTROY_SCORE;Red;Plane;Su-27;Pilot #086;Blue;Plane;F-15C;Pilot #017;1;5
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:13:29;PL4;;DESTROY_SCORE;Red;Plane;AJS37;Pilot #112;Blue;Structure;Warehouse;AMMO SENAKI;1;50
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:48:49;PL28;;HIT_SCORE;;;;;;Scenery;Ural-4320T;Unit #150;1;0
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:40:22;PL3;PL4;DESTROY_SCORE;Blue;Plane;F-15C;Pilot #018;Red;Plane;AJS37;Pilot #112;1;4
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:39:25;PL12;;DESTROY_SCORE;Red;Plane;AJS37;Pilot #110;Blue;Vehicle;Soldier M4;Unit #450;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:14:24;PL16;PL17;HIT_SCORE;Red;Plane;Su-27;Pilot #044;Blue;Plane;M-2000C;Pilot #029;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:48:04;PL11;;HIT_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;Vulcan;Unit #503;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:00:00;;;CAPTURE GUDAUTA;Blue;;;;NA;NA;NA;NA;1;50
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:39:25;PL12;;HIT_SCORE;Red;Plane;AJS37;Pilot #110;Blue;Vehicle;Soldier stinger;Unit #454;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:13:13;PL6;;HIT_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;M-1 Abrams;Unit #009;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:46:42;PL8;;DESTROY_SCORE;Red;Plane;Su-25T;Pilot #058;Blue;Vehicle;Strela-1 9P31;Unit #429;1;4
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:56:06;PL11;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;AAV7;Unit #005;1;2
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:48:55;PL11;;HIT_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;M-1 Abrams;Unit #514;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:53:06;PL20;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #057;Blue;Vehicle;MLRS;Unit #012;1;2
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:13:59;PL1;;HIT_SCORE;Blue;;;;;Scenery;F-15C;Pilot #071;1;0
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:25:17;PL5;;HIT_PENALTY;Red;Helicopter;Ka-50;MEDEVAC RED #13;Red;Vehicle;Infantry AK;Wounded Pilot #1143;1;-10
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:39:25;PL12;;HIT_SCORE;Red;Plane;AJS37;Pilot #110;Blue;Vehicle;Soldier M4;Unit #451;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:25:20;PL5;;HIT_PENALTY;Red;Helicopter;Ka-50;MEDEVAC RED #13;Red;Vehicle;Infantry AK;Wounded Pilot #1143;1;-10
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:53:14;PL13;PL14;DESTROY_SCORE;Red;Plane;Su-27;Pilot #086;Blue;Plane;M-2000C;Pilot #030;1;5
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:50:48;PL20;;HIT_SCORE;Red;Plane;A-10C;Pilot #057;Blue;Vehicle;Vulcan;Unit #095;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:45:31;PL7;;DESTROY_SCORE;Red;Plane;M-2000C;Pilot #037;Blue;Vehicle;outpost;outpost1;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:39:25;PL12;;HIT_SCORE;Red;Plane;AJS37;Pilot #110;Blue;Vehicle;outpost;outpost2;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:19:37;PL8;;HIT_SCORE;Red;Plane;Su-25T;Pilot #058;Blue;Vehicle;Hawk cwar;Unit #114;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:18:36;PL19;PL18;DESTROY_SCORE;Blue;Plane;F-15C;Pilot #024;Red;Plane;Su-25T;Pilot #059;1;4
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:07:56;PL6;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;M-109;Unit #512;1;2
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:39:25;;;SEALS 4;Blue;;;;NA;NA;NA;NA;1;50
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:39:19;PL12;;HIT_SCORE;Red;;;;;Scenery;BLK_LIGHT_POLE;269633408;1;0
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:41:24;PL20;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #057;Blue;Vehicle;Soldier M249;Unit #311;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:20:05;PL24;PL18;DESTROY_SCORE;Blue;Plane;F-15C;Pilot #033;Red;Plane;Su-25T;Pilot #059;1;1,67
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:46:42;PL11;;HIT_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;Vulcan;Unit #515;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:09:37;PL3;PL13;DESTROY_SCORE;Blue;Plane;F-15C;Pilot #018;Red;Plane;Su-27;Pilot #086;1;5
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:48:04;PL11;;HIT_SCORE;Red;;;;;Scenery;BLK_LIGHT_POLE;269963637;1;0
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:41:24;;;SEALS 1;Blue;;;;NA;NA;NA;NA;1;50
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:11:14;PL4;;HIT_SCORE;Red;;;;;Scenery;UKRYTIE;280476;1;0
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:53:06;PL20;;HIT_SCORE;Red;Plane;A-10C;Pilot #057;Blue;Vehicle;MLRS;Unit #012;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:32:54;PL9;PL25;HIT_SCORE;Blue;Plane;F-15C;Pilot #017;Red;Plane;Su-27;Pilot #043;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:55:01;PL11;;HIT_SCORE;Red;Plane;A-10C;Pilot #054;Blue;Vehicle;M1128 Stryker MGS;Unit #010;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:39:25;PL12;;DESTROY_SCORE;Red;Plane;AJS37;Pilot #110;Blue;Vehicle;Soldier M4;Unit #451;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:47:56;PL20;;HIT_SCORE;Red;Plane;A-10C;Pilot #057;Blue;Vehicle;M-109;Unit #013;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:18:25;PL19;PL18;HIT_SCORE;Blue;Plane;F-15C;Pilot #024;Red;Plane;Su-25T;Pilot #059;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:41:22;PL20;;HIT_SCORE;Red;Plane;A-10C;Pilot #057;Blue;Vehicle;Soldier M4;X36;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:18:24;PL19;PL18;HIT_SCORE;Blue;Plane;F-15C;Pilot #024;Red;Plane;Su-25T;Pilot #059;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:21:17;PL19;PL20;HIT_SCORE;Blue;Plane;F-15C;Pilot #024;Red;Plane;A-10C;Pilot #057;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:23:03;PL23;PL22;DESTROY_SCORE;Red;Plane;M-2000C;Pilot #038;Blue;Plane;F-15C;Pilot #070;1;6
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:17:00;PL6;;HIT_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;Vulcan;Unit #004;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:45:40;PL6;;HIT_SCORE;Red;Plane;A-10C;Pilot #056;Blue;Vehicle;M1128 Stryker MGS;Unit #010;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:09:18;PL13;;HIT_SCORE;Red;;;;;Scenery;KORPUS_B1;269962308;1;0
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:33:24;PL9;PL15;DESTROY_SCORE;Blue;Plane;F-15C;Pilot #017;Red;Plane;Su-27;Pilot #041;1;5
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;1:39:27;PL12;;DESTROY_SCORE;Red;Plane;AJS37;Pilot #110;Blue;Vehicle;Soldier M249;Unit #453;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:21:53;PL9;PL11;HIT_SCORE;Blue;Plane;F-15C;Pilot #017;Red;Plane;A-10C;Pilot #054;1;1
|
||||||
|
TAW_CSARz_PALACE_3.6136;7/05/2017;12:50:37;PL20;;DESTROY_SCORE;Red;Plane;A-10C;Pilot #057;Blue;Vehicle;Vulcan;Unit #015;1;4
|
||||||
|
BIN
Moose Development/Documentation/Scoring/Scoring Sample.xlsx
Normal file
BIN
Moose Development/Documentation/Scoring/Scoring Sample.xlsx
Normal file
Binary file not shown.
@ -273,11 +273,15 @@ end
|
|||||||
local function getParent( Child )
|
local function getParent( Child )
|
||||||
local Parent = nil
|
local Parent = nil
|
||||||
|
|
||||||
|
if Child.ClassName == 'BASE' then
|
||||||
|
Parent = nil
|
||||||
|
else
|
||||||
if rawget( Child, "__" ) then
|
if rawget( Child, "__" ) then
|
||||||
Parent = getmetatable( Child.__ ).__index
|
Parent = getmetatable( Child.__ ).__index
|
||||||
else
|
else
|
||||||
Parent = getmetatable( Child ).__index
|
Parent = getmetatable( Child ).__index
|
||||||
end
|
end
|
||||||
|
end
|
||||||
return Parent
|
return Parent
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -303,13 +307,17 @@ function BASE:GetParent( Child, FromClass )
|
|||||||
self:E({FromClass = FromClass})
|
self:E({FromClass = FromClass})
|
||||||
self:E({Child = Child.ClassName})
|
self:E({Child = Child.ClassName})
|
||||||
if FromClass then
|
if FromClass then
|
||||||
while( Child.ClassName ~= FromClass.ClassName ) do
|
while( Child.ClassName ~= "BASE" and Child.ClassName ~= FromClass.ClassName ) do
|
||||||
Child = getParent( Child )
|
Child = getParent( Child )
|
||||||
self:E({Child.ClassName})
|
self:E({Child.ClassName})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
if Child.ClassName == 'BASE' then
|
||||||
|
Parent = nil
|
||||||
|
else
|
||||||
Parent = getParent( Child )
|
Parent = getParent( Child )
|
||||||
end
|
end
|
||||||
|
end
|
||||||
self:E({Parent.ClassName})
|
self:E({Parent.ClassName})
|
||||||
return Parent
|
return Parent
|
||||||
end
|
end
|
||||||
|
|||||||
@ -878,42 +878,20 @@ function TASK:MenuMarkToGroup( TaskGroup )
|
|||||||
|
|
||||||
-- List the name of the Task.
|
-- List the name of the Task.
|
||||||
local Name = self:GetName()
|
local Name = self:GetName()
|
||||||
Report:Add( Name .. ": " .. self:GetTaskBriefing() )
|
Report:Add( "Task " .. Name .. ": " .. self:GetTaskBriefing() .. "\n" )
|
||||||
|
|
||||||
for TaskInfoID, TaskInfo in pairs( self.TaskInfo, function( t, a, b ) return t[a].TaskInfoOrder < t[b].TaskInfoOrder end ) do
|
for TaskInfoID, TaskInfo in pairs( self.TaskInfo, function( t, a, b ) return t[a].TaskInfoOrder < t[b].TaskInfoOrder end ) do
|
||||||
|
|
||||||
local TaskInfoIDText = "" --string.format( "%s: ", TaskInfoID )
|
local ReportText = self:GetMarkInfo( TaskInfoID, TaskInfo )
|
||||||
|
if ReportText then
|
||||||
if type( TaskInfo.TaskInfoText ) == "string" then
|
Report:Add( ReportText )
|
||||||
if TaskInfoID == "Targets" then
|
|
||||||
else
|
|
||||||
Report:Add( TaskInfoIDText .. TaskInfo.TaskInfoText )
|
|
||||||
end
|
|
||||||
elseif type( TaskInfo ) == "table" then
|
|
||||||
if TaskInfoID == "Coordinates" then
|
|
||||||
--local ToCoordinate = TaskInfo.TaskInfoText -- Core.Point#COORDINATE
|
|
||||||
--Report:Add( TaskInfoIDText .. ToCoordinate:ToString() )
|
|
||||||
else
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
local TargetCoordinate = self:GetInfo( "Coordinate" ) -- Core.Point#COORDINATE
|
||||||
|
|
||||||
local Coordinate = self:GetInfo( "Coordinates" ) -- Core.Point#COORDINATE
|
|
||||||
|
|
||||||
local Velocity = self.TargetSetUnit:GetVelocity()
|
|
||||||
local Heading = self.TargetSetUnit:GetHeading()
|
|
||||||
|
|
||||||
Coordinate:SetHeading( Heading )
|
|
||||||
Coordinate:SetVelocity( Velocity )
|
|
||||||
|
|
||||||
Report:Add( "Targets are" .. Coordinate:GetMovingText() .. "." )
|
|
||||||
|
|
||||||
local MarkText = Report:Text( ", " )
|
local MarkText = Report:Text( ", " )
|
||||||
|
self:F( { Coordinate = TargetCoordinate, MarkText = MarkText } )
|
||||||
self:F( { Coordinate = Coordinate, MarkText = MarkText } )
|
TargetCoordinate:MarkToGroup( MarkText, TaskGroup )
|
||||||
|
|
||||||
Coordinate:MarkToGroup( MarkText, TaskGroup )
|
|
||||||
--Coordinate:MarkToAll( Briefing )
|
--Coordinate:MarkToAll( Briefing )
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -1449,14 +1427,14 @@ function TASK:ReportSummary( ReportGroup )
|
|||||||
local Report = REPORT:New()
|
local Report = REPORT:New()
|
||||||
|
|
||||||
-- List the name of the Task.
|
-- List the name of the Task.
|
||||||
Report:Add( self:GetName() )
|
Report:Add( "Task " .. self:GetName() )
|
||||||
|
|
||||||
-- Determine the status of the Task.
|
-- Determine the status of the Task.
|
||||||
Report:Add( "State: <" .. self:GetState() .. ">" )
|
Report:Add( "State: <" .. self:GetState() .. ">" )
|
||||||
|
|
||||||
if self.TaskInfo["Coordinates"] then
|
if self.TaskInfo["Coordinate"] then
|
||||||
local TaskInfoIDText = string.format( "%s: ", "Coordinate" )
|
local TaskInfoIDText = string.format( "%s: ", "Coordinate" )
|
||||||
local TaskCoord = self.TaskInfo["Coordinates"].TaskInfoText -- Core.Point#COORDINATE
|
local TaskCoord = self.TaskInfo["Coordinate"].TaskInfoText -- Core.Point#COORDINATE
|
||||||
Report:Add( TaskInfoIDText .. TaskCoord:ToString( ReportGroup, nil, self ) )
|
Report:Add( TaskInfoIDText .. TaskCoord:ToString( ReportGroup, nil, self ) )
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -1486,7 +1464,7 @@ function TASK:ReportOverview( ReportGroup )
|
|||||||
if Line ~= 0 then
|
if Line ~= 0 then
|
||||||
Report:AddIndent( LineReport:Text( ", " ) )
|
Report:AddIndent( LineReport:Text( ", " ) )
|
||||||
else
|
else
|
||||||
Report:Add( TaskName .. ", " .. LineReport:Text( ", " ) )
|
Report:Add( "Task " .. TaskName .. ", " .. LineReport:Text( ", " ) )
|
||||||
end
|
end
|
||||||
LineReport = REPORT:New()
|
LineReport = REPORT:New()
|
||||||
Line = math.floor( TaskInfo.TaskInfoOrder / 10 )
|
Line = math.floor( TaskInfo.TaskInfoOrder / 10 )
|
||||||
@ -1497,7 +1475,7 @@ function TASK:ReportOverview( ReportGroup )
|
|||||||
if type( TaskInfo.TaskInfoText ) == "string" then
|
if type( TaskInfo.TaskInfoText ) == "string" then
|
||||||
LineReport:Add( TaskInfoIDText .. TaskInfo.TaskInfoText )
|
LineReport:Add( TaskInfoIDText .. TaskInfo.TaskInfoText )
|
||||||
elseif type(TaskInfo) == "table" then
|
elseif type(TaskInfo) == "table" then
|
||||||
if TaskInfoID == "Coordinates" then
|
if TaskInfoID == "Coordinate" then
|
||||||
local ToCoordinate = TaskInfo.TaskInfoText -- Core.Point#COORDINATE
|
local ToCoordinate = TaskInfo.TaskInfoText -- Core.Point#COORDINATE
|
||||||
--Report:Add( TaskInfoIDText )
|
--Report:Add( TaskInfoIDText )
|
||||||
LineReport:Add( TaskInfoIDText .. ToCoordinate:ToString( ReportGroup, nil, self ) )
|
LineReport:Add( TaskInfoIDText .. ToCoordinate:ToString( ReportGroup, nil, self ) )
|
||||||
@ -1571,7 +1549,7 @@ function TASK:ReportDetails( ReportGroup )
|
|||||||
-- Determine the status of the Task.
|
-- Determine the status of the Task.
|
||||||
local Status = "<" .. self:GetState() .. ">"
|
local Status = "<" .. self:GetState() .. ">"
|
||||||
|
|
||||||
Report:Add( "Task: " .. Name .. " - " .. Status .. " - Detailed Report" )
|
Report:Add( "Task " .. Name .. " - " .. Status .. " - Detailed Report" )
|
||||||
|
|
||||||
-- Loop each Unit active in the Task, and find Player Names.
|
-- Loop each Unit active in the Task, and find Player Names.
|
||||||
local PlayerNames = self:GetPlayerNames()
|
local PlayerNames = self:GetPlayerNames()
|
||||||
@ -1589,31 +1567,13 @@ function TASK:ReportDetails( ReportGroup )
|
|||||||
|
|
||||||
for TaskInfoID, TaskInfo in pairs( self.TaskInfo, function( t, a, b ) return t[a].TaskInfoOrder < t[b].TaskInfoOrder end ) do
|
for TaskInfoID, TaskInfo in pairs( self.TaskInfo, function( t, a, b ) return t[a].TaskInfoOrder < t[b].TaskInfoOrder end ) do
|
||||||
|
|
||||||
local TaskInfoIDText = string.format( " - %s: ", TaskInfoID )
|
local ReportText = self:GetReportDetail( ReportGroup, TaskInfoID, TaskInfo )
|
||||||
|
if ReportText then
|
||||||
if type( TaskInfo.TaskInfoText ) == "string" then
|
Report:Add( ReportText )
|
||||||
Report:Add( TaskInfoIDText .. TaskInfo.TaskInfoText )
|
|
||||||
elseif type(TaskInfo) == "table" then
|
|
||||||
if TaskInfoID == "Coordinates" then
|
|
||||||
local FromCoordinate = ReportGroup:GetUnit(1):GetCoordinate()
|
|
||||||
local ToCoordinate = TaskInfo.TaskInfoText -- Core.Point#COORDINATE
|
|
||||||
Report:Add( TaskInfoIDText .. ToCoordinate:ToString( ReportGroup:GetUnit(1), nil, self ) )
|
|
||||||
else
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
local Coordinate = self:GetInfo( "Coordinates" ) -- Core.Point#COORDINATE
|
|
||||||
|
|
||||||
local Velocity = self.TargetSetUnit:GetVelocity()
|
|
||||||
local Heading = self.TargetSetUnit:GetHeading()
|
|
||||||
|
|
||||||
Coordinate:SetHeading( Heading )
|
|
||||||
Coordinate:SetVelocity( Velocity )
|
|
||||||
|
|
||||||
Report:Add( "Targets are" .. Coordinate:GetMovingText() .. "." )
|
|
||||||
|
|
||||||
return Report:Text()
|
return Report:Text()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -156,6 +156,33 @@ do -- TASK_ZONE_GOAL
|
|||||||
return self.GoalTotal
|
return self.GoalTotal
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function TASK_ZONE_GOAL:GetMarkInfo( TaskInfoID, TaskInfo )
|
||||||
|
|
||||||
|
if type( TaskInfo.TaskInfoText ) == "string" then
|
||||||
|
return string.format( "%s: %s", TaskInfoID, TaskInfo.TaskInfoText )
|
||||||
|
elseif type( TaskInfo ) == "table" then
|
||||||
|
if TaskInfoID == "Coordinate" then
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
return nil
|
||||||
|
end
|
||||||
|
|
||||||
|
function TASK_ZONE_GOAL:GetReportDetail( ReportGroup, TaskInfoID, TaskInfo )
|
||||||
|
|
||||||
|
if type( TaskInfo.TaskInfoText ) == "string" then
|
||||||
|
return string.format( " - %s: %s", TaskInfoID, TaskInfo.TaskInfoText )
|
||||||
|
elseif type(TaskInfo) == "table" then
|
||||||
|
if TaskInfoID == "Coordinate" then
|
||||||
|
local FromCoordinate = ReportGroup:GetUnit(1):GetCoordinate()
|
||||||
|
local ToCoordinate = TaskInfo.TaskInfoText -- Core.Point#COORDINATE
|
||||||
|
return string.format( " - %s: %s", TaskInfoID, ToCoordinate:ToString( ReportGroup:GetUnit(1), nil, self ) )
|
||||||
|
else
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
@ -163,7 +190,7 @@ do -- TASK_ZONE_CAPTURE
|
|||||||
|
|
||||||
--- The TASK_ZONE_CAPTURE class
|
--- The TASK_ZONE_CAPTURE class
|
||||||
-- @type TASK_ZONE_CAPTURE
|
-- @type TASK_ZONE_CAPTURE
|
||||||
-- @field Set#SET_UNIT TargetSetUnit
|
-- @field Core.ZoneGoalCoalition#ZONE_GOAL_COALITION ZoneGoal
|
||||||
-- @extends #TASK_ZONE_GOAL
|
-- @extends #TASK_ZONE_GOAL
|
||||||
|
|
||||||
--- # TASK_ZONE_CAPTURE class, extends @{TaskZoneGoal#TASK_ZONE_GOAL}
|
--- # TASK_ZONE_CAPTURE class, extends @{TaskZoneGoal#TASK_ZONE_GOAL}
|
||||||
@ -201,7 +228,7 @@ do -- TASK_ZONE_CAPTURE
|
|||||||
|
|
||||||
self:SetBriefing(
|
self:SetBriefing(
|
||||||
TaskBriefing or
|
TaskBriefing or
|
||||||
"Capture zone " .. self.TaskZoneName .. "."
|
"Capture Zone " .. self.TaskZoneName
|
||||||
)
|
)
|
||||||
|
|
||||||
self:UpdateTaskInfo()
|
self:UpdateTaskInfo()
|
||||||
@ -215,13 +242,13 @@ do -- TASK_ZONE_CAPTURE
|
|||||||
|
|
||||||
|
|
||||||
local ZoneCoordinate = self.ZoneGoal:GetZone():GetCoordinate()
|
local ZoneCoordinate = self.ZoneGoal:GetZone():GetCoordinate()
|
||||||
self:SetInfo( "Coordinates", ZoneCoordinate, 0 )
|
self:SetInfo( "Coordinate", ZoneCoordinate, 0 )
|
||||||
self:SetInfo( "Zone Name", self.TaskZoneName, 10 )
|
self:SetInfo( "Zone Name", self.ZoneGoal:GetZoneName(), 10 )
|
||||||
self:SetInfo( "Zone Coalition", self.TaskCoalitionName, 11 )
|
self:SetInfo( "Zone Coalition", self.ZoneGoal:GetCoalitionName(), 11 )
|
||||||
end
|
end
|
||||||
|
|
||||||
function TASK_ZONE_CAPTURE:ReportOrder( ReportGroup )
|
function TASK_ZONE_CAPTURE:ReportOrder( ReportGroup )
|
||||||
local Coordinate = self:GetInfo( "Coordinates" )
|
local Coordinate = self:GetInfo( "Coordinate" )
|
||||||
--local Coordinate = self.TaskInfo.Coordinates.TaskInfoText
|
--local Coordinate = self.TaskInfo.Coordinates.TaskInfoText
|
||||||
local Distance = ReportGroup:GetCoordinate():Get2DDistance( Coordinate )
|
local Distance = ReportGroup:GetCoordinate():Get2DDistance( Coordinate )
|
||||||
|
|
||||||
|
|||||||
@ -277,6 +277,35 @@ do -- TASK_A2A
|
|||||||
return self.GoalTotal
|
return self.GoalTotal
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function TASK_A2A:GetMarkInfo( TaskInfoID, TaskInfo )
|
||||||
|
|
||||||
|
if type( TaskInfo.TaskInfoText ) == "string" then
|
||||||
|
if TaskInfoID == "Targets" then
|
||||||
|
else
|
||||||
|
return string.format( "%s: %s", TaskInfoID, TaskInfo.TaskInfoText )
|
||||||
|
end
|
||||||
|
elseif type( TaskInfo ) == "table" then
|
||||||
|
if TaskInfoID == "Coordinate" then
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
return nil
|
||||||
|
end
|
||||||
|
|
||||||
|
function TASK_A2A:GetReportDetail( ReportGroup, TaskInfoID, TaskInfo )
|
||||||
|
|
||||||
|
if type( TaskInfo.TaskInfoText ) == "string" then
|
||||||
|
return string.format( "%s: %s", TaskInfoID, TaskInfo.TaskInfoText )
|
||||||
|
elseif type(TaskInfo) == "table" then
|
||||||
|
if TaskInfoID == "Coordinate" then
|
||||||
|
local FromCoordinate = ReportGroup:GetUnit(1):GetCoordinate()
|
||||||
|
local ToCoordinate = TaskInfo.TaskInfoText -- Core.Point#COORDINATE
|
||||||
|
return string.format( " - %s: %s", TaskInfoID, ToCoordinate:ToString( ReportGroup:GetUnit(1), nil, self ) )
|
||||||
|
else
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
@ -336,7 +365,7 @@ do -- TASK_A2A_INTERCEPT
|
|||||||
function TASK_A2A_INTERCEPT:UpdateTaskInfo()
|
function TASK_A2A_INTERCEPT:UpdateTaskInfo()
|
||||||
|
|
||||||
local TargetCoordinate = self.Detection and self.Detection:GetDetectedItemCoordinate( self.DetectedItemIndex ) or self.TargetSetUnit:GetFirst():GetCoordinate()
|
local TargetCoordinate = self.Detection and self.Detection:GetDetectedItemCoordinate( self.DetectedItemIndex ) or self.TargetSetUnit:GetFirst():GetCoordinate()
|
||||||
self:SetInfo( "Coordinates", TargetCoordinate, 0 )
|
self:SetInfo( "Coordinate", TargetCoordinate, 0 )
|
||||||
|
|
||||||
self:SetInfo( "Threat", "[" .. string.rep( "■", self.Detection and self.Detection:GetDetectedItemThreatLevel( self.DetectedItemIndex ) or self.TargetSetUnit:CalculateThreatLevelA2G() ) .. "]", 11 )
|
self:SetInfo( "Threat", "[" .. string.rep( "■", self.Detection and self.Detection:GetDetectedItemThreatLevel( self.DetectedItemIndex ) or self.TargetSetUnit:CalculateThreatLevelA2G() ) .. "]", 11 )
|
||||||
|
|
||||||
@ -492,7 +521,7 @@ do -- TASK_A2A_SWEEP
|
|||||||
function TASK_A2A_SWEEP:UpdateTaskInfo()
|
function TASK_A2A_SWEEP:UpdateTaskInfo()
|
||||||
|
|
||||||
local TargetCoordinate = self.Detection and self.Detection:GetDetectedItemCoordinate( self.DetectedItemIndex ) or self.TargetSetUnit:GetFirst():GetCoordinate()
|
local TargetCoordinate = self.Detection and self.Detection:GetDetectedItemCoordinate( self.DetectedItemIndex ) or self.TargetSetUnit:GetFirst():GetCoordinate()
|
||||||
self:SetInfo( "Coordinates", TargetCoordinate, 0 )
|
self:SetInfo( "Coordinate", TargetCoordinate, 0 )
|
||||||
|
|
||||||
self:SetInfo( "Assumed Threat", "[" .. string.rep( "■", self.Detection and self.Detection:GetDetectedItemThreatLevel( self.DetectedItemIndex ) or self.TargetSetUnit:CalculateThreatLevelA2G() ) .. "]", 11 )
|
self:SetInfo( "Assumed Threat", "[" .. string.rep( "■", self.Detection and self.Detection:GetDetectedItemThreatLevel( self.DetectedItemIndex ) or self.TargetSetUnit:CalculateThreatLevelA2G() ) .. "]", 11 )
|
||||||
|
|
||||||
@ -641,7 +670,7 @@ do -- TASK_A2A_ENGAGE
|
|||||||
function TASK_A2A_ENGAGE:UpdateTaskInfo()
|
function TASK_A2A_ENGAGE:UpdateTaskInfo()
|
||||||
|
|
||||||
local TargetCoordinate = self.Detection and self.Detection:GetDetectedItemCoordinate( self.DetectedItemIndex ) or self.TargetSetUnit:GetFirst():GetCoordinate()
|
local TargetCoordinate = self.Detection and self.Detection:GetDetectedItemCoordinate( self.DetectedItemIndex ) or self.TargetSetUnit:GetFirst():GetCoordinate()
|
||||||
self:SetInfo( "Coordinates", TargetCoordinate, 0 )
|
self:SetInfo( "Coordinate", TargetCoordinate, 0 )
|
||||||
|
|
||||||
self:SetInfo( "Threat", "[" .. string.rep( "■", self.Detection and self.Detection:GetDetectedItemThreatLevel( self.DetectedItemIndex ) or self.TargetSetUnit:CalculateThreatLevelA2G() ) .. "]", 11 )
|
self:SetInfo( "Threat", "[" .. string.rep( "■", self.Detection and self.Detection:GetDetectedItemThreatLevel( self.DetectedItemIndex ) or self.TargetSetUnit:CalculateThreatLevelA2G() ) .. "]", 11 )
|
||||||
|
|
||||||
|
|||||||
@ -286,6 +286,36 @@ do -- TASK_A2G
|
|||||||
return self.GoalTotal
|
return self.GoalTotal
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function TASK_A2G:GetMarkInfo( TaskInfoID, TaskInfo )
|
||||||
|
|
||||||
|
if type( TaskInfo.TaskInfoText ) == "string" then
|
||||||
|
if TaskInfoID == "Targets" then
|
||||||
|
else
|
||||||
|
return string.format( "%s: %s", TaskInfoID, TaskInfo.TaskInfoText )
|
||||||
|
end
|
||||||
|
elseif type( TaskInfo ) == "table" then
|
||||||
|
if TaskInfoID == "Coordinate" then
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
return nil
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
function TASK_A2G:GetReportDetail( ReportGroup, TaskInfoID, TaskInfo )
|
||||||
|
|
||||||
|
if type( TaskInfo.TaskInfoText ) == "string" then
|
||||||
|
return string.format( "%s: %s", TaskInfoID, TaskInfo.TaskInfoText )
|
||||||
|
elseif type(TaskInfo) == "table" then
|
||||||
|
if TaskInfoID == "Coordinate" then
|
||||||
|
local FromCoordinate = ReportGroup:GetUnit(1):GetCoordinate()
|
||||||
|
local ToCoordinate = TaskInfo.TaskInfoText -- Core.Point#COORDINATE
|
||||||
|
return string.format( " - %s: %s", TaskInfoID, ToCoordinate:ToString( ReportGroup:GetUnit(1), nil, self ) )
|
||||||
|
else
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
@ -335,7 +365,7 @@ do -- TASK_A2G_SEAD
|
|||||||
|
|
||||||
|
|
||||||
local TargetCoordinate = self.Detection and self.Detection:GetDetectedItemCoordinate( self.DetectedItemIndex ) or self.TargetSetUnit:GetFirst():GetCoordinate()
|
local TargetCoordinate = self.Detection and self.Detection:GetDetectedItemCoordinate( self.DetectedItemIndex ) or self.TargetSetUnit:GetFirst():GetCoordinate()
|
||||||
self:SetInfo( "Coordinates", TargetCoordinate, 0 )
|
self:SetInfo( "Coordinate", TargetCoordinate, 0 )
|
||||||
|
|
||||||
local ThreatLevel, ThreatText
|
local ThreatLevel, ThreatText
|
||||||
if self.Detection then
|
if self.Detection then
|
||||||
@ -366,7 +396,7 @@ do -- TASK_A2G_SEAD
|
|||||||
end
|
end
|
||||||
|
|
||||||
function TASK_A2G_SEAD:ReportOrder( ReportGroup )
|
function TASK_A2G_SEAD:ReportOrder( ReportGroup )
|
||||||
local Coordinate = self:GetInfo( "Coordinates" )
|
local Coordinate = self:GetInfo( "Coordinate" )
|
||||||
--local Coordinate = self.TaskInfo.Coordinates.TaskInfoText
|
--local Coordinate = self.TaskInfo.Coordinates.TaskInfoText
|
||||||
local Distance = ReportGroup:GetCoordinate():Get2DDistance( Coordinate )
|
local Distance = ReportGroup:GetCoordinate():Get2DDistance( Coordinate )
|
||||||
|
|
||||||
@ -484,7 +514,7 @@ do -- TASK_A2G_BAI
|
|||||||
self:E({self.Detection, self.DetectedItemIndex})
|
self:E({self.Detection, self.DetectedItemIndex})
|
||||||
|
|
||||||
local TargetCoordinate = self.Detection and self.Detection:GetDetectedItemCoordinate( self.DetectedItemIndex ) or self.TargetSetUnit:GetFirst():GetCoordinate()
|
local TargetCoordinate = self.Detection and self.Detection:GetDetectedItemCoordinate( self.DetectedItemIndex ) or self.TargetSetUnit:GetFirst():GetCoordinate()
|
||||||
self:SetInfo( "Coordinates", TargetCoordinate, 0 )
|
self:SetInfo( "Coordinate", TargetCoordinate, 0 )
|
||||||
|
|
||||||
local ThreatLevel, ThreatText
|
local ThreatLevel, ThreatText
|
||||||
if self.Detection then
|
if self.Detection then
|
||||||
@ -512,11 +542,21 @@ do -- TASK_A2G_BAI
|
|||||||
self:SetInfo( "Targets", string.format( "%d of %s", DetectedItemsCount, DetectedItemsTypes ), 10 )
|
self:SetInfo( "Targets", string.format( "%d of %s", DetectedItemsCount, DetectedItemsTypes ), 10 )
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local TargetCoordinate = self:GetInfo( "Coordinate" ) -- Core.Point#COORDINATE
|
||||||
|
|
||||||
|
local Velocity = self.TargetSetUnit:GetVelocity()
|
||||||
|
local Heading = self.TargetSetUnit:GetHeading()
|
||||||
|
|
||||||
|
TargetCoordinate:SetHeading( Heading )
|
||||||
|
TargetCoordinate:SetVelocity( Velocity )
|
||||||
|
|
||||||
|
self:SetInfo( "Position", "Targets are" .. TargetCoordinate:GetMovingText() .. ".", 12 )
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
function TASK_A2G_BAI:ReportOrder( ReportGroup )
|
function TASK_A2G_BAI:ReportOrder( ReportGroup )
|
||||||
local Coordinate = self:GetInfo( "Coordinates" )
|
local Coordinate = self:GetInfo( "Coordinate" )
|
||||||
--local Coordinate = self.TaskInfo.Coordinates.TaskInfoText
|
--local Coordinate = self.TaskInfo.Coordinates.TaskInfoText
|
||||||
local Distance = ReportGroup:GetCoordinate():Get2DDistance( Coordinate )
|
local Distance = ReportGroup:GetCoordinate():Get2DDistance( Coordinate )
|
||||||
|
|
||||||
@ -633,7 +673,7 @@ do -- TASK_A2G_CAS
|
|||||||
function TASK_A2G_CAS:UpdateTaskInfo()
|
function TASK_A2G_CAS:UpdateTaskInfo()
|
||||||
|
|
||||||
local TargetCoordinate = ( self.Detection and self.Detection:GetDetectedItemCoordinate( self.DetectedItemIndex ) ) or self.TargetSetUnit:GetFirst():GetCoordinate()
|
local TargetCoordinate = ( self.Detection and self.Detection:GetDetectedItemCoordinate( self.DetectedItemIndex ) ) or self.TargetSetUnit:GetFirst():GetCoordinate()
|
||||||
self:SetInfo( "Coordinates", TargetCoordinate, 0 )
|
self:SetInfo( "Coordinate", TargetCoordinate, 0 )
|
||||||
|
|
||||||
local ThreatLevel, ThreatText
|
local ThreatLevel, ThreatText
|
||||||
if self.Detection then
|
if self.Detection then
|
||||||
@ -666,7 +706,7 @@ do -- TASK_A2G_CAS
|
|||||||
--- @param #TASK_A2G_CAS self
|
--- @param #TASK_A2G_CAS self
|
||||||
function TASK_A2G_CAS:ReportOrder( ReportGroup )
|
function TASK_A2G_CAS:ReportOrder( ReportGroup )
|
||||||
|
|
||||||
local Coordinate = self:GetInfo( "Coordinates" )
|
local Coordinate = self:GetInfo( "Coordinate" )
|
||||||
local Distance = ReportGroup:GetCoordinate():Get2DDistance( Coordinate )
|
local Distance = ReportGroup:GetCoordinate():Get2DDistance( Coordinate )
|
||||||
|
|
||||||
return Distance
|
return Distance
|
||||||
|
|||||||
@ -1,299 +0,0 @@
|
|||||||
--- **Tasking** - The TASK_Protect models tasks for players to protect or capture specific zones.
|
|
||||||
--
|
|
||||||
-- ====
|
|
||||||
--
|
|
||||||
-- ### Author: **Sven Van de Velde (FlightControl)**
|
|
||||||
--
|
|
||||||
-- ### Contributions: MillerTime
|
|
||||||
--
|
|
||||||
-- ====
|
|
||||||
--
|
|
||||||
-- @module Task_Protect
|
|
||||||
|
|
||||||
do -- TASK_PROTECT
|
|
||||||
|
|
||||||
--- The TASK_PROTECT class
|
|
||||||
-- @type TASK_PROTECT
|
|
||||||
-- @field Functional.Protect#PROTECT Protect
|
|
||||||
-- @extends Tasking.Task#TASK
|
|
||||||
|
|
||||||
--- # TASK_PROTECT class, extends @{Task#TASK}
|
|
||||||
--
|
|
||||||
-- The TASK_PROTECT class defines the task to protect or capture a protection zone.
|
|
||||||
-- The TASK_PROTECT is implemented using a @{Fsm#FSM_TASK}, and has the following statuses:
|
|
||||||
--
|
|
||||||
-- * **None**: Start of the process
|
|
||||||
-- * **Planned**: The A2G task is planned.
|
|
||||||
-- * **Assigned**: The A2G task is assigned to a @{Group#GROUP}.
|
|
||||||
-- * **Success**: The A2G task is successfully completed.
|
|
||||||
-- * **Failed**: The A2G task has failed. This will happen if the player exists the task early, without communicating a possible cancellation to HQ.
|
|
||||||
--
|
|
||||||
-- ## Set the scoring of achievements in an A2G attack.
|
|
||||||
--
|
|
||||||
-- Scoring or penalties can be given in the following circumstances:
|
|
||||||
--
|
|
||||||
-- * @{#TASK_PROTECT.SetScoreOnDestroy}(): Set a score when a target in scope of the A2G attack, has been destroyed.
|
|
||||||
-- * @{#TASK_PROTECT.SetScoreOnSuccess}(): Set a score when all the targets in scope of the A2G attack, have been destroyed.
|
|
||||||
-- * @{#TASK_PROTECT.SetPenaltyOnFailed}(): Set a penalty when the A2G attack has failed.
|
|
||||||
--
|
|
||||||
-- @field #TASK_PROTECT
|
|
||||||
TASK_PROTECT = {
|
|
||||||
ClassName = "TASK_PROTECT",
|
|
||||||
}
|
|
||||||
|
|
||||||
--- Instantiates a new TASK_PROTECT.
|
|
||||||
-- @param #TASK_PROTECT self
|
|
||||||
-- @param Tasking.Mission#MISSION Mission
|
|
||||||
-- @param Set#SET_GROUP SetGroup The set of groups for which the Task can be assigned.
|
|
||||||
-- @param #string TaskName The name of the Task.
|
|
||||||
-- @param Functional.Protect#PROTECT Protect
|
|
||||||
-- @return #TASK_PROTECT self
|
|
||||||
function TASK_PROTECT:New( Mission, SetGroup, TaskName, Protect, TaskType, TaskBriefing )
|
|
||||||
local self = BASE:Inherit( self, TASK:New( Mission, SetGroup, TaskName, TaskType, TaskBriefing ) ) -- #TASK_PROTECT
|
|
||||||
self:F()
|
|
||||||
|
|
||||||
self.Protect = Protect
|
|
||||||
self.TaskType = TaskType
|
|
||||||
|
|
||||||
local Fsm = self:GetUnitProcess()
|
|
||||||
|
|
||||||
|
|
||||||
Fsm:AddProcess ( "Planned", "Accept", ACT_ASSIGN_ACCEPT:New( self.TaskBriefing ), { Assigned = "ProtectZone", Rejected = "Reject" } )
|
|
||||||
|
|
||||||
Fsm:AddTransition( "Assigned", "ProtectZone", "Protecting" )
|
|
||||||
Fsm:AddTransition( "Protecting", "Protect", "Protecting", {} )
|
|
||||||
Fsm:AddTransition( "Protecting", "RouteToTarget", "Protecting" )
|
|
||||||
Fsm:AddProcess( "Protecting", "RouteToTargetZone", ACT_ROUTE_ZONE:New(), {} )
|
|
||||||
|
|
||||||
--Fsm:AddTransition( "Accounted", "DestroyedAll", "Accounted" )
|
|
||||||
--Fsm:AddTransition( "Accounted", "Success", "Success" )
|
|
||||||
Fsm:AddTransition( "Rejected", "Reject", "Aborted" )
|
|
||||||
Fsm:AddTransition( "Failed", "Fail", "Failed" )
|
|
||||||
|
|
||||||
self:SetTargetZone( self.Protect:GetProtectZone() )
|
|
||||||
|
|
||||||
--- Test
|
|
||||||
-- @param #FSM_PROCESS self
|
|
||||||
-- @param Wrapper.Unit#UNIT TaskUnit
|
|
||||||
-- @param Tasking.Task#TASK_PROTECT Task
|
|
||||||
function Fsm:onafterProtectZone( TaskUnit, Task )
|
|
||||||
self:E( { self } )
|
|
||||||
self:__Protect( 0.1 )
|
|
||||||
self:__RouteToTarget( 0.1 )
|
|
||||||
end
|
|
||||||
|
|
||||||
--- Protect Loop
|
|
||||||
-- @param #FSM_PROCESS self
|
|
||||||
-- @param Wrapper.Unit#UNIT TaskUnit
|
|
||||||
-- @param Tasking.Task#TASK_PROTECT Task
|
|
||||||
function Fsm:onafterProtect( TaskUnit, Task )
|
|
||||||
self:E( { self } )
|
|
||||||
self:__Protect( 15 )
|
|
||||||
end
|
|
||||||
|
|
||||||
--- Test
|
|
||||||
-- @param #FSM_PROCESS self
|
|
||||||
-- @param Wrapper.Unit#UNIT TaskUnit
|
|
||||||
-- @param Tasking.Task_A2G#TASK_PROTECT Task
|
|
||||||
function Fsm:onafterRouteToTarget( TaskUnit, Task )
|
|
||||||
self:E( { TaskUnit = TaskUnit, Task = Task and Task:GetClassNameAndID() } )
|
|
||||||
-- Determine the first Unit from the self.TargetSetUnit
|
|
||||||
|
|
||||||
if Task:GetTargetZone( TaskUnit ) then
|
|
||||||
self:__RouteToTargetZone( 0.1 )
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
return self
|
|
||||||
|
|
||||||
end
|
|
||||||
|
|
||||||
--- @param #TASK_PROTECT self
|
|
||||||
-- @param Functional.Protect#PROTECT Protect The Protect Engine.
|
|
||||||
function TASK_PROTECT:SetProtect( Protect )
|
|
||||||
|
|
||||||
self.Protect = Protect -- Functional.Protect#PROTECT
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
--- @param #TASK_PROTECT self
|
|
||||||
function TASK_PROTECT:GetPlannedMenuText()
|
|
||||||
return self:GetStateString() .. " - " .. self:GetTaskName() .. " ( " .. self.Protect:GetProtectZoneName() .. " )"
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
--- @param #TASK_PROTECT self
|
|
||||||
-- @param Core.Zone#ZONE_BASE TargetZone The Zone object where the Target is located on the map.
|
|
||||||
-- @param Wrapper.Unit#UNIT TaskUnit
|
|
||||||
function TASK_PROTECT:SetTargetZone( TargetZone, TaskUnit )
|
|
||||||
|
|
||||||
local ProcessUnit = self:GetUnitProcess( TaskUnit )
|
|
||||||
|
|
||||||
local ActRouteProtectZone = ProcessUnit:GetProcess( "Protecting", "RouteToTargetZone" ) -- Actions.Act_Route#ACT_ROUTE_ZONE
|
|
||||||
ActRouteProtectZone:SetZone( TargetZone )
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
--- @param #TASK_PROTECT self
|
|
||||||
-- @param Wrapper.Unit#UNIT TaskUnit
|
|
||||||
-- @return Core.Zone#ZONE_BASE The Zone object where the Target is located on the map.
|
|
||||||
function TASK_PROTECT:GetTargetZone( TaskUnit )
|
|
||||||
|
|
||||||
local ProcessUnit = self:GetUnitProcess( TaskUnit )
|
|
||||||
|
|
||||||
local ActRouteProtectZone = ProcessUnit:GetProcess( "Protecting", "RouteToTargetZone" ) -- Actions.Act_Route#ACT_ROUTE_ZONE
|
|
||||||
return ActRouteProtectZone:GetZone()
|
|
||||||
end
|
|
||||||
|
|
||||||
function TASK_PROTECT:SetGoalTotal()
|
|
||||||
|
|
||||||
self.GoalTotal = 1
|
|
||||||
end
|
|
||||||
|
|
||||||
function TASK_PROTECT:GetGoalTotal()
|
|
||||||
|
|
||||||
return self.GoalTotal
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
do -- TASK_CAPTURE_ZONE
|
|
||||||
|
|
||||||
--- The TASK_CAPTURE_ZONE class
|
|
||||||
-- @type TASK_CAPTURE_ZONE
|
|
||||||
-- @field Set#SET_UNIT TargetSetUnit
|
|
||||||
-- @extends Tasking.Task_Protect#TASK_PROTECT
|
|
||||||
|
|
||||||
--- # TASK_CAPTURE_ZONE class, extends @{Task_A2G#TASK_PROTECT}
|
|
||||||
--
|
|
||||||
-- The TASK_CAPTURE_ZONE class defines an Suppression or Extermination of Air Defenses task for a human player to be executed.
|
|
||||||
-- These tasks are important to be executed as they will help to achieve air superiority at the vicinity.
|
|
||||||
--
|
|
||||||
-- The TASK_CAPTURE_ZONE is used by the @{Task_A2G_Dispatcher#TASK_A2G_DISPATCHER} to automatically create SEAD tasks
|
|
||||||
-- based on detected enemy ground targets.
|
|
||||||
--
|
|
||||||
-- @field #TASK_CAPTURE_ZONE
|
|
||||||
TASK_CAPTURE_ZONE = {
|
|
||||||
ClassName = "TASK_CAPTURE_ZONE",
|
|
||||||
}
|
|
||||||
|
|
||||||
--- Instantiates a new TASK_CAPTURE_ZONE.
|
|
||||||
-- @param #TASK_CAPTURE_ZONE self
|
|
||||||
-- @param Tasking.Mission#MISSION Mission
|
|
||||||
-- @param Core.Set#SET_GROUP SetGroup The set of groups for which the Task can be assigned.
|
|
||||||
-- @param #string TaskName The name of the Task.
|
|
||||||
-- @param Functional.Protect#PROTECT Protect
|
|
||||||
-- @param #string TaskBriefing The briefing of the task.
|
|
||||||
-- @return #TASK_CAPTURE_ZONE self
|
|
||||||
function TASK_CAPTURE_ZONE:New( Mission, SetGroup, TaskName, Protect, TaskBriefing)
|
|
||||||
local self = BASE:Inherit( self, TASK_PROTECT:New( Mission, SetGroup, TaskName, Protect, "CAPTURE", TaskBriefing ) ) -- #TASK_CAPTURE_ZONE
|
|
||||||
self:F()
|
|
||||||
|
|
||||||
Mission:AddTask( self )
|
|
||||||
|
|
||||||
self.TaskCoalition = Protect:GetCoalition()
|
|
||||||
self.TaskCoalitionName = Protect:GetCoalitionName()
|
|
||||||
self.TaskZoneName = self.Protect:GetProtectZoneName()
|
|
||||||
|
|
||||||
self:SetBriefing(
|
|
||||||
TaskBriefing or
|
|
||||||
"Capture zone " .. self.TaskZoneName .. "."
|
|
||||||
)
|
|
||||||
|
|
||||||
self:UpdateTaskInfo()
|
|
||||||
|
|
||||||
return self
|
|
||||||
end
|
|
||||||
|
|
||||||
--- Instantiates a new TASK_CAPTURE_ZONE.
|
|
||||||
-- @param #TASK_CAPTURE_ZONE self
|
|
||||||
function TASK_CAPTURE_ZONE:UpdateTaskInfo()
|
|
||||||
|
|
||||||
|
|
||||||
local ZoneCoordinate = self.Protect:GetProtectZone():GetCoordinate()
|
|
||||||
self:SetInfo( "Coordinates", ZoneCoordinate, 0 )
|
|
||||||
self:SetInfo( "Zone Name", self.TaskZoneName, 10 )
|
|
||||||
self:SetInfo( "Zone Coalition", self.TaskCoalitionName, 11 )
|
|
||||||
end
|
|
||||||
|
|
||||||
function TASK_CAPTURE_ZONE:ReportOrder( ReportGroup )
|
|
||||||
local Coordinate = self:GetInfo( "Coordinates" )
|
|
||||||
--local Coordinate = self.TaskInfo.Coordinates.TaskInfoText
|
|
||||||
local Distance = ReportGroup:GetCoordinate():Get2DDistance( Coordinate )
|
|
||||||
|
|
||||||
return Distance
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
--- @param #TASK_CAPTURE_ZONE self
|
|
||||||
-- @param Wrapper.Unit#UNIT TaskUnit
|
|
||||||
function TASK_CAPTURE_ZONE:OnAfterGoal( From, Event, To, PlayerUnit, PlayerName )
|
|
||||||
|
|
||||||
self:E( { PlayerUnit = PlayerUnit } )
|
|
||||||
|
|
||||||
if self.Protect then
|
|
||||||
local ProtectCoalition = self.Protect:GetCoalition()
|
|
||||||
local TaskCoalition = self.Coalition
|
|
||||||
|
|
||||||
self:E( { ProtectCoalition = ProtectCoalition, TaskCoalition = TaskCoalition } )
|
|
||||||
|
|
||||||
if ProtectCoalition ~= TaskCoalition then
|
|
||||||
self:Success()
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
self:__Goal( -10, PlayerUnit, PlayerName )
|
|
||||||
end
|
|
||||||
|
|
||||||
--- Set a score when a target in scope of the A2G attack, has been destroyed .
|
|
||||||
-- @param #TASK_CAPTURE_ZONE self
|
|
||||||
-- @param #string PlayerName The name of the player.
|
|
||||||
-- @param #number Score The score in points to be granted when task process has been achieved.
|
|
||||||
-- @param Wrapper.Unit#UNIT TaskUnit
|
|
||||||
-- @return #TASK_CAPTURE_ZONE
|
|
||||||
function TASK_CAPTURE_ZONE:SetScoreOnProgress( PlayerName, Score, TaskUnit )
|
|
||||||
self:F( { PlayerName, Score, TaskUnit } )
|
|
||||||
|
|
||||||
local ProcessUnit = self:GetUnitProcess( TaskUnit )
|
|
||||||
|
|
||||||
--ProcessUnit:AddScoreProcess( "Protecting", "Protect", "Captured", "Player " .. PlayerName .. " has SEADed a target.", Score )
|
|
||||||
|
|
||||||
return self
|
|
||||||
end
|
|
||||||
|
|
||||||
--- Set a score when all the targets in scope of the A2G attack, have been destroyed.
|
|
||||||
-- @param #TASK_CAPTURE_ZONE self
|
|
||||||
-- @param #string PlayerName The name of the player.
|
|
||||||
-- @param #number Score The score in points.
|
|
||||||
-- @param Wrapper.Unit#UNIT TaskUnit
|
|
||||||
-- @return #TASK_CAPTURE_ZONE
|
|
||||||
function TASK_CAPTURE_ZONE:SetScoreOnSuccess( PlayerName, Score, TaskUnit )
|
|
||||||
self:F( { PlayerName, Score, TaskUnit } )
|
|
||||||
|
|
||||||
local ProcessUnit = self:GetUnitProcess( TaskUnit )
|
|
||||||
|
|
||||||
ProcessUnit:AddScore( "Success", "The zone has been captured!", Score )
|
|
||||||
|
|
||||||
return self
|
|
||||||
end
|
|
||||||
|
|
||||||
--- Set a penalty when the A2G attack has failed.
|
|
||||||
-- @param #TASK_CAPTURE_ZONE self
|
|
||||||
-- @param #string PlayerName The name of the player.
|
|
||||||
-- @param #number Penalty The penalty in points, must be a negative value!
|
|
||||||
-- @param Wrapper.Unit#UNIT TaskUnit
|
|
||||||
-- @return #TASK_CAPTURE_ZONE
|
|
||||||
function TASK_CAPTURE_ZONE:SetScoreOnFail( PlayerName, Penalty, TaskUnit )
|
|
||||||
self:F( { PlayerName, Penalty, TaskUnit } )
|
|
||||||
|
|
||||||
local ProcessUnit = self:GetUnitProcess( TaskUnit )
|
|
||||||
|
|
||||||
ProcessUnit:AddScore( "Failed", "The zone has been lost!", Penalty )
|
|
||||||
|
|
||||||
return self
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
|
||||||
|
|
||||||
@ -1,5 +1,5 @@
|
|||||||
env.info( '*** MOOSE DYNAMIC INCLUDE START *** ' )
|
env.info( '*** MOOSE DYNAMIC INCLUDE START *** ' )
|
||||||
env.info( 'Moose Generation Timestamp: 20171005_1213' )
|
env.info( 'Moose Generation Timestamp: 20171005_1714' )
|
||||||
|
|
||||||
local base = _G
|
local base = _G
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
env.info('*** MOOSE DYNAMIC INCLUDE START *** ')
|
env.info('*** MOOSE DYNAMIC INCLUDE START *** ')
|
||||||
env.info('Moose Generation Timestamp: 20171005_1213')
|
env.info('Moose Generation Timestamp: 20171005_1714')
|
||||||
local base=_G
|
local base=_G
|
||||||
__Moose={}
|
__Moose={}
|
||||||
__Moose.Include=function(IncludeFile)
|
__Moose.Include=function(IncludeFile)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user