Implementation of Civ Rep Global

* global variable
* ui element
* kill manager handling
* penalty variable in config
* reordered ui elements
* sync extended for civ rep
This commit is contained in:
Christian 2017-08-03 13:55:57 +02:00
parent 6469d37361
commit 55fc274c4a
7 changed files with 261 additions and 139 deletions

View File

@ -87,6 +87,8 @@ GRLIB_sector_cap = 180 * GRLIB_unitcap; // Cap for sector defen
GRLIB_battlegroup_cap = 150 * GRLIB_unitcap; // Cap for enemy battlegroups.
GRLIB_patrol_cap = 150 * GRLIB_unitcap; // Cap for enemy patrols.
KP_liberation_civ_kill_penalty = 1; // Civil Reputation penalty for killing a civilian
/* - Default arsenal blacklist method.
Useless if you're using anything other than "kp_liberation_arsenal = 0;" above. A whitelisted arsenal is always more performance friendly then a blacklisted arsenal.
REMEMBER: All static turret and UAV bags should be defined here, to stop players from exploiting free resources via the virtual arsenal. */

View File

@ -25,6 +25,7 @@ while { true } do {
combat_readiness = sync_vars select 9;
resources_intel = sync_vars select 10;
infantry_cap = sync_vars select 11;
KP_liberation_civ_rep = sync_vars select 12;
sync_vars = [];
one_synchro_done = true;
synchro_done = true;

View File

@ -3,8 +3,49 @@ disableSerialization;
private [ "_overlayshown", "_sectorcontrols", "_resourcescontrols", "_active_sectors_hint", "_uiticks", "_attacked_string", "_active_sectors_string", "_color_readiness", "_nearest_active_sector", "_zone_size", "_colorzone", "_bar", "_barwidth", "_first_iteration", "_distfob", "_nearfob", "_fobdistance", "_resources", "_notNearFOB", "_resource_area"];
_overlayshown = false;
_sectorcontrols = [201,202,203,244,205];
_resourcescontrols = [101,102,103,104,105,106,107,108,109,135,758001,758002,758003,758004,758005,758006,758007,758008,758009,758010,758011,758012,758020,758021,758022,758023,758024,758025];
_sectorcontrols = [
201, // BG Picture Sector
202, // Capture Frame
203, // Capture Frame OPFOR
205, // Label Point
244 // Capture Frame BLUFOR
];
_resourcescontrols = [
758001, // BG Picture
758002, // Picture FOB
758003, // Picture FOB Shadow
758004, // Label FOB
758005, // Picture Supplies
758006, // Picture Supplies Shadow
758007, // Label Supplies
758008, // Picture Ammo
758009, // Picture Ammo Shadow
758010, // Label Ammo
758011, // Picture Fuel
758012, // Picture Fuel Shadow
758013, // Label Fuel
758014, // Picture Cap
758015, // Picture Cap Shadow
758016, // Label Cap
758017, // Picture Heli
758018, // Picture Heli Shadow
758019, // Label Heli
758020, // Picture Plane
758021, // Picture Plane Shadow
758022, // Label Plane
758023, // Picture Combat Readiness
758024, // Picture Combat Readiness Shadow
758025, // Label Combat Readiness
758026, // Picture Civ Rep
758027, // Picture Civ Rep Shadow
758028, // Label Civ Rep
758029, // Picture Intel
758030, // Picture Intel Shadow
758031 // Label Intel
];
_active_sectors_hint = false;
_first_iteration = true;
_distfob = 100;
@ -27,7 +68,7 @@ if ( isNil "halojumping" ) then { halojumping = false };
while { true } do {
if ( isNull ((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (101)) && _overlayshown ) then {
if ( isNull ((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (758007)) && _overlayshown ) then {
_overlayshown = false;
_first_iteration = true;
@ -104,15 +145,16 @@ while { true } do {
if ((_uiticks % 5 == 0) || _notNearFOB) then {
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (101)) ctrlSetText format ["%1", (floor KP_liberation_supplies)];
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (102)) ctrlSetText format ["%1", (floor KP_liberation_ammo)];
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (103)) ctrlSetText format ["%1", (floor KP_liberation_fuel)];
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (104)) ctrlSetText format ["%1/%2", unitcap,([] call F_localCap)];
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (105)) ctrlSetText format ["%1%2", round(combat_readiness),"%"];
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (106)) ctrlSetText format ["%1", round(resources_intel)];
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (107)) ctrlSetText format ["%1/%2", KP_liberation_heli_count, KP_liberation_heli_slots];
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (108)) ctrlSetText format ["%1/%2", KP_liberation_plane_count, KP_liberation_plane_slots];
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (109)) ctrlSetText format ["%1", _resource_area];
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (758004)) ctrlSetText format ["%1", _resource_area];
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (758007)) ctrlSetText format ["%1", (floor KP_liberation_supplies)];
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (758010)) ctrlSetText format ["%1", (floor KP_liberation_ammo)];
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (758013)) ctrlSetText format ["%1", (floor KP_liberation_fuel)];
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (758016)) ctrlSetText format ["%1/%2", unitcap,([] call F_localCap)];
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (758019)) ctrlSetText format ["%1/%2", KP_liberation_heli_count, KP_liberation_heli_slots];
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (758022)) ctrlSetText format ["%1/%2", KP_liberation_plane_count, KP_liberation_plane_slots];
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (758025)) ctrlSetText format ["%1%2", round(combat_readiness),"%"];
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (758028)) ctrlSetText format ["%1", KP_liberation_civ_rep];
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (758031)) ctrlSetText format ["%1", round(resources_intel)];
_color_readiness = [0.8,0.8,0.8,1];
if ( combat_readiness >= 25 ) then { _color_readiness = [0.8,0.8,0,1] };
@ -120,8 +162,8 @@ while { true } do {
if ( combat_readiness >= 75 ) then { _color_readiness = [0.8,0.3,0,1] };
if ( combat_readiness >= 100 ) then { _color_readiness = [0.8,0,0,1] };
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (105)) ctrlSetTextColor _color_readiness;
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (135)) ctrlSetTextColor _color_readiness;
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (758023)) ctrlSetTextColor _color_readiness;
((uiNamespace getVariable 'GUI_OVERLAY') displayCtrl (758025)) ctrlSetTextColor _color_readiness;
_notNearFOB = false;
};

View File

@ -56,6 +56,7 @@ GRLIB_permissions = [];
ai_groups = [];
resources_intel = 0;
GRLIB_player_scores = [];
KP_liberation_civ_rep = 0;
no_kill_handler_classnames = [FOB_typename, huron_typename];
_classnames_to_save = [FOB_typename, huron_typename];
@ -146,6 +147,10 @@ if ( !isNil "greuh_liberation_savegame" ) then {
GRLIB_player_scores = greuh_liberation_savegame select 14;
};
if (count greuh_liberation_savegame > 15) then {
KP_liberation_civ_rep = greuh_liberation_savegame select 15;
};
setDate [ 2045, 6, 6, time_of_day, 0];
if (KP_liberation_savegame_debug) then {private _text = format ["[KP LIBERATION] [DEBUG] Loaded savegame: %1", greuh_liberation_savegame];_text remoteExec ["diag_log",2];};
@ -626,11 +631,11 @@ while { true } do {
_stats pushback stats_fobs_lost;
_stats pushback stats_readiness_earned;
greuh_liberation_savegame = [ blufor_sectors, GRLIB_all_fobs, buildings_to_save, time_of_day, round combat_readiness, KP_liberation_storages,
KP_liberation_production, KP_liberation_logistics, _stats, [ round infantry_weight, round armor_weight, round air_weight ], GRLIB_vehicle_to_military_base_links,
GRLIB_permissions, ai_groups, resources_intel, GRLIB_player_scores ];
greuh_liberation_savegame = [blufor_sectors, GRLIB_all_fobs, buildings_to_save, time_of_day, round combat_readiness, KP_liberation_storages,
KP_liberation_production, KP_liberation_logistics, _stats, [round infantry_weight, round armor_weight, round air_weight], GRLIB_vehicle_to_military_base_links,
GRLIB_permissions, ai_groups, resources_intel, GRLIB_player_scores, KP_liberation_civ_rep];
profileNamespace setVariable [ GRLIB_save_key, greuh_liberation_savegame ];
profileNamespace setVariable [GRLIB_save_key, greuh_liberation_savegame];
saveProfileNamespace;
if (KP_liberation_savegame_debug) then {private _text = format ["[KP LIBERATION] [DEBUG] Saved savegame: %1", greuh_liberation_savegame];_text remoteExec ["diag_log",2];};

View File

@ -28,6 +28,24 @@ waitUntil{!isNil "resources_intel"};
if (KP_liberation_debug) then {private _text = format ["[KP LIBERATION] [DEBUG] Serverside sync variables: resources_intel"];_text remoteExec ["diag_log",2];};
waitUntil{!isNil "infantry_cap"};
if (KP_liberation_debug) then {private _text = format ["[KP LIBERATION] [DEBUG] Serverside sync variables: infantry_cap"];_text remoteExec ["diag_log",2];};
waitUntil{!isNil "KP_liberation_civ_rep"};
if (KP_liberation_debug) then {private _text = format ["[KP LIBERATION] [DEBUG] Serverside sync variables: KP_liberation_civ_rep"];_text remoteExec ["diag_log",2];};
private [
"_KP_liberation_fob_resources_old",
"_KP_liberation_supplies_global_old",
"_KP_liberation_ammo_global_old",
"_KP_liberation_fuel_global_old",
"_unitcap_old",
"_KP_liberation_heli_count_old",
"_KP_liberation_plane_count_old",
"_KP_liberation_heli_slots_old",
"_KP_liberation_plane_slots_old",
"_combat_readiness_old",
"_resources_intel_old",
"_infantry_cap_old",
"_KP_liberation_civ_rep_old"
];
_KP_liberation_fob_resources_old = [];
_KP_liberation_supplies_global_old = -1;
@ -41,6 +59,7 @@ _KP_liberation_plane_slots_old = -1;
_combat_readiness_old = -1;
_resources_intel_old = -999;
_infantry_cap_old = -999;
_KP_liberation_civ_rep_old = -999;
if (KP_liberation_debug) then {private _text = format ["[KP LIBERATION] [DEBUG] Serverside sync variables intitializing finished on: %1", debug_source];_text remoteExec ["diag_log",2];};
@ -59,9 +78,10 @@ while {true} do {
|| _combat_readiness_old != combat_readiness
|| _resources_intel_old != resources_intel
|| _infantry_cap_old != infantry_cap
|| _KP_liberation_civ_rep_old != KP_liberation_civ_rep
};
sleep 0.25;
sync_vars = [KP_liberation_fob_resources,KP_liberation_supplies_global,KP_liberation_ammo_global,KP_liberation_fuel_global,unitcap,KP_liberation_heli_count,KP_liberation_plane_count,KP_liberation_heli_slots,KP_liberation_plane_slots,combat_readiness,resources_intel,infantry_cap];
sync_vars = [KP_liberation_fob_resources,KP_liberation_supplies_global,KP_liberation_ammo_global,KP_liberation_fuel_global,unitcap,KP_liberation_heli_count,KP_liberation_plane_count,KP_liberation_heli_slots,KP_liberation_plane_slots,combat_readiness,resources_intel,infantry_cap,KP_liberation_civ_rep];
publicVariable "sync_vars";
_KP_liberation_fob_resources_old = +KP_liberation_fob_resources;
@ -76,5 +96,7 @@ while {true} do {
_combat_readiness_old = combat_readiness;
_resources_intel_old = resources_intel;
_infantry_cap_old = infantry_cap;
_KP_liberation_civ_rep_old = KP_liberation_civ_rep;
if (KP_liberation_debug) then {private _text = format ["[KP LIBERATION] [DEBUG] Serverside sync sent from: %1", debug_source];_text remoteExec ["diag_log",2];};
};

View File

@ -3,7 +3,7 @@ private ["_nearby_bigtown"];
if (isServer) then {
if (KP_liberation_debug) then {private _text = format ["[KP LIBERATION] [DEBUG] Kill Manager started on: %1 - _unit: %2 - _killer: %3", debug_source, _unit, _killer];_text remoteExec ["diag_log",2];};
if (KP_liberation_debug) then {private _text = format ["[KP LIBERATION] [DEBUG] [KILL] Kill Manager executed on: %1 - _unit: %2 (%3 - %4) - _killer: %5 (%6 - %7)", debug_source, typeOf _unit, _unit, name _unit, typeOf _killer, _killer, name _killer];_text remoteExec ["diag_log",2];};
please_recalculate = true;
@ -62,6 +62,10 @@ if (isServer) then {
if (_unit isKindOf "Man") then {
if (side (group _unit) == GRLIB_side_civilian) then {
stats_civilians_killed = stats_civilians_killed + 1;
if (side _killer == GRLIB_side_friendly) then {
(format ["A civilian named %1 was killed!", name _unit]) remoteExec ["systemChat"];
KP_liberation_civ_rep = KP_liberation_civ_rep - KP_liberation_civ_kill_penalty;
};
if (isPlayer _killer) then {
stats_civilians_killed_by_players = stats_civilians_killed_by_players + 1;
};

View File

@ -140,14 +140,26 @@ class RscTitles
idd = 6666;
movingEnable = true;
onLoad = "uiNamespace setVariable ['GUI_OVERLAY', _this select 0];";
controls[]= { BGPicture,LabelManpower,LabelAmmo,LabelFuel,LabelCap,PictureManpowerShadow,PictureAmmoShadow, BGPictureActiveSectors,
PictureFuelShadow,PictureCapShadow,PictureManpower,PictureAmmo,PictureFuel,PictureCap,PictureCombatReadinessShadow,PictureCombatReadiness,
PictureIntelShadow, PictureIntel, LabelIntel, PictureHeliShadow, PictureHeli, LabelHeli, PicturePlaneShadow, PicturePlane, LabelPlane,
PictureFOBShadow, PictureFOB, LabelFOB,
BGPictureSector, CaptureFrame_OPFOR, CaptureFrame_BLUFOR, CaptureFrame, LabelPoint, LabelCombatReadiness, CentralShadow, CentralLabel, ActiveSectors,
AlertBGPicture, AlertLabel, AlertTimer };
controls[]= {
BGPicture,
PictureFOBShadow, PictureFOB, LabelFOB,
PictureSuppliesShadow, PictureSupplies, LabelSupplies,
PictureAmmoShadow, PictureAmmo, LabelAmmo,
PictureFuelShadow, PictureFuel, LabelFuel,
PictureCapShadow, PictureCap, LabelCap,
PictureHeliShadow, PictureHeli, LabelHeli,
PicturePlaneShadow, PicturePlane, LabelPlane,
PictureCombatReadinessShadow, PictureCombatReadiness, LabelCombatReadiness,
PictureCivRepShadow, PictureCivRep, LabelCivRep,
PictureIntelShadow, PictureIntel, LabelIntel,
BGPictureActiveSectors, BGPictureSector,
CaptureFrame_OPFOR, CaptureFrame_BLUFOR, CaptureFrame,
LabelPoint, CentralShadow, CentralLabel,
ActiveSectors, AlertBGPicture, AlertLabel, AlertTimer
};
class BGPicture {
idc = 758012;
idc = 758001;
type = CT_STATIC;
style = ST_PICTURE;
colorText[] = {0.8,0.8,0.8,0.9};
@ -157,7 +169,7 @@ class RscTitles
x = 0.95 * safezoneW + safezoneX;
w = 0.075 * safezoneW;
y = 0.395 * safezoneH + safezoneY;
h = 0.230 * safezoneH;
h = 0.255 * safezoneH;
text = "res\gradient.paa";
};
class BGPictureSector : BGPicture {
@ -167,6 +179,7 @@ class RscTitles
y = 0.33 * safezoneH + safezoneY;
h = 0.05 * safezoneH;
};
class GenericLabel69 {
idc = -1;
type = CT_STATIC;
@ -197,6 +210,7 @@ class RscTitles
idc = 267;
shadow = 1;
};
class GenericPicture69 {
idc = -1;
type = CT_STATIC;
@ -209,160 +223,188 @@ class RscTitles
w = 0.012 * safezoneW;
h = 0.0213333333 * safezoneH;
};
class PictureManpower : GenericPicture69 {
idc = 758001;
class PictureFOB : GenericPicture69 {
idc = 758002;
y = (0.4 + ( ICONE_SPACY * 0 ) ) * safezoneH + safezoneY;
text = "\A3\ui_f\data\map\markers\handdrawn\flag_CA.paa";
};
class PictureFOBShadow : PictureFOB {
idc = 758003;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 0 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelFOB : GenericLabel69 {
idc = 758004;
text = "";
y = (0.39 + ( ICONE_SPACY * 0 ) ) * safezoneH + safezoneY;
colorText[] = {0.8, 0.8, 0.8, 1};
};
class PictureSupplies : GenericPicture69 {
idc = 758005;
y = (0.4 + ( ICONE_SPACY * 1 ) ) * safezoneH + safezoneY;
text = "res\ui_manpo.paa";
};
class PictureAmmo : GenericPicture69 {
idc = 758002;
y = (0.4 + ( ICONE_SPACY * 2 ) ) * safezoneH + safezoneY;
text = "res\ui_ammo.paa";
};
class PictureFuel : GenericPicture69 {
idc = 758003;
y = (0.4 + ( ICONE_SPACY * 3 ) ) * safezoneH + safezoneY;
text = "res\ui_fuel.paa";
};
class PictureCap : GenericPicture69 {
idc = 758004;
y = (0.4 + ( ICONE_SPACY * 4 ) ) * safezoneH + safezoneY;
text = "\a3\Ui_F_Curator\Data\Displays\RscDisplayCurator\modeGroups_ca.paa";
};
class PictureCombatReadiness : GenericPicture69 {
idc = 135;
y = (0.4 + ( ICONE_SPACY * 7 ) ) * safezoneH + safezoneY;
text = "\A3\ui_f\data\map\markers\handdrawn\warning_CA.paa";
};
class PictureIntel : GenericPicture69 {
idc = 758005;
colorText[] = {0,0.45,0.95,1};
y = (0.4 + ( ICONE_SPACY * 8 ) ) * safezoneH + safezoneY;
text = "\A3\Ui_f\data\GUI\Cfg\Ranks\general_gs.paa";
};
class PictureManpowerShadow : PictureManpower {
class PictureSuppliesShadow : PictureSupplies {
idc = 758006;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 1 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class PictureAmmoShadow : PictureAmmo {
class LabelSupplies : GenericLabel69 {
idc = 758007;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 2 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class PictureFuelShadow : PictureFuel {
idc = 758008;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 3 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class PictureCapShadow : PictureCap {
idc = 758009;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 4 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class PictureCombatReadinessShadow : PictureCombatReadiness {
idc = 758010;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 7 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class PictureIntelShadow : PictureIntel {
idc = 758011;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 8 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class PictureHeli : GenericPicture69 {
idc = 758020;
y = (0.4 + ( ICONE_SPACY * 5 ) ) * safezoneH + safezoneY;
text = "\A3\air_f_beta\Heli_Transport_01\Data\UI\Map_Heli_Transport_01_base_CA.paa";
};
class PictureHeliShadow : PictureHeli {
idc = 758021;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 5 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class PicturePlane : GenericPicture69 {
idc = 758022;
y = (0.4 + ( ICONE_SPACY * 6 ) ) * safezoneH + safezoneY;
text = "\A3\Air_F_EPC\Plane_CAS_01\Data\UI\Map_Plane_CAS_01_CA.paa";
};
class PicturePlaneShadow : PictureHeli {
idc = 758023;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 6 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class PictureFOB : GenericPicture69 {
idc = 758024;
y = (0.4 + ( ICONE_SPACY * 0 ) ) * safezoneH + safezoneY;
text = "\A3\ui_f\data\map\markers\handdrawn\flag_CA.paa";
};
class PictureFOBShadow : PictureHeli {
idc = 758025;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 0 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelManpower : GenericLabel69 {
idc = 101;
text = "";
y = (0.39 + ( ICONE_SPACY * 1 ) ) * safezoneH + safezoneY;
colorText[] = {0, 0.75, 0, 1};
};
class PictureAmmo : GenericPicture69 {
idc = 758008;
y = (0.4 + ( ICONE_SPACY * 2 ) ) * safezoneH + safezoneY;
text = "res\ui_ammo.paa";
};
class PictureAmmoShadow : PictureAmmo {
idc = 758009;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 2 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelAmmo : GenericLabel69 {
idc = 102;
idc = 758010;
text = "";
y = (0.39 + ( ICONE_SPACY * 2 ) ) * safezoneH + safezoneY;
colorText[] = {0.75, 0, 0, 1};
};
class PictureFuel : GenericPicture69 {
idc = 758011;
y = (0.4 + ( ICONE_SPACY * 3 ) ) * safezoneH + safezoneY;
text = "res\ui_fuel.paa";
};
class PictureFuelShadow : PictureFuel {
idc = 758012;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 3 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelFuel : GenericLabel69 {
idc = 103;
idc = 758013;
text = "";
y = (0.39 + ( ICONE_SPACY * 3 ) ) * safezoneH + safezoneY;
colorText[] = {0.75, 0.75, 0, 1};
};
class PictureCap : GenericPicture69 {
idc = 758014;
y = (0.4 + ( ICONE_SPACY * 4 ) ) * safezoneH + safezoneY;
text = "\a3\Ui_F_Curator\Data\Displays\RscDisplayCurator\modeGroups_ca.paa";
};
class PictureCapShadow : PictureCap {
idc = 758015;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 4 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelCap : GenericLabel69 {
idc = 104;
idc = 758016;
text = "";
y = (0.39 + ( ICONE_SPACY * 4 ) ) * safezoneH + safezoneY;
colorText[] = {0.8, 0.8, 0.8, 1};
};
class LabelCombatReadiness : GenericLabel69 {
idc = 105;
text = "";
y = (0.39 + ( ICONE_SPACY * 7 ) ) * safezoneH + safezoneY;
colorText[] = {0.8, 0.8, 0.8, 1};
class PictureHeli : GenericPicture69 {
idc = 758017;
y = (0.4 + ( ICONE_SPACY * 5 ) ) * safezoneH + safezoneY;
text = "\A3\air_f_beta\Heli_Transport_01\Data\UI\Map_Heli_Transport_01_base_CA.paa";
};
class LabelIntel : GenericLabel69 {
idc = 106;
text = "";
y = (0.39 + ( ICONE_SPACY * 8 ) ) * safezoneH + safezoneY;
colorText[] = {0, 0.45, 0.95, 1};
class PictureHeliShadow : PictureHeli {
idc = 758018;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 5 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelHeli : GenericLabel69 {
idc = 107;
idc = 758019;
text = "";
y = (0.39 + ( ICONE_SPACY * 5 ) ) * safezoneH + safezoneY;
colorText[] = {0.8, 0.8, 0.8, 1};
};
class PicturePlane : GenericPicture69 {
idc = 758020;
y = (0.4 + ( ICONE_SPACY * 6 ) ) * safezoneH + safezoneY;
text = "\A3\Air_F_EPC\Plane_CAS_01\Data\UI\Map_Plane_CAS_01_CA.paa";
};
class PicturePlaneShadow : PicturePlane {
idc = 758021;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 6 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelPlane : GenericLabel69 {
idc = 108;
idc = 758022;
text = "";
y = (0.39 + ( ICONE_SPACY * 6 ) ) * safezoneH + safezoneY;
colorText[] = {0.8, 0.8, 0.8, 1};
};
class LabelFOB : GenericLabel69 {
idc = 109;
class PictureCombatReadiness : GenericPicture69 {
idc = 758023;
y = (0.4 + ( ICONE_SPACY * 7 ) ) * safezoneH + safezoneY;
text = "\A3\ui_f\data\map\markers\handdrawn\warning_CA.paa";
};
class PictureCombatReadinessShadow : PictureCombatReadiness {
idc = 758024;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 7 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelCombatReadiness : GenericLabel69 {
idc = 758025;
text = "";
y = (0.39 + ( ICONE_SPACY * 0 ) ) * safezoneH + safezoneY;
y = (0.39 + ( ICONE_SPACY * 7 ) ) * safezoneH + safezoneY;
colorText[] = {0.8, 0.8, 0.8, 1};
};
class PictureCivRep : GenericPicture69 {
idc = 758026;
y = (0.4 + ( ICONE_SPACY * 8 ) ) * safezoneH + safezoneY;
text = "\A3\ui_f\data\map\mapcontrol\tourism_CA.paa";
};
class PictureCivRepShadow : PictureCivRep {
idc = 758027;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 8 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelCivRep : GenericLabel69 {
idc = 758028;
text = "";
y = (0.39 + ( ICONE_SPACY * 8 ) ) * safezoneH + safezoneY;
colorText[] = {0.8, 0.8, 0.8, 1};
};
class PictureIntel : GenericPicture69 {
idc = 758029;
colorText[] = {0,0.45,0.95,1};
y = (0.4 + ( ICONE_SPACY * 9 ) ) * safezoneH + safezoneY;
text = "\A3\Ui_f\data\GUI\Cfg\Ranks\general_gs.paa";
};
class PictureIntelShadow : PictureIntel {
idc = 758030;
y = (0.4 + SHADOW_Y + ( ICONE_SPACY * 9 ) ) * safezoneH + safezoneY;
x = (0.985 + SHADOW_X) * safezoneW + safezoneX;
colorText[] = {0,0,0,0.7};
};
class LabelIntel : GenericLabel69 {
idc = 758031;
text = "";
y = (0.39 + ( ICONE_SPACY * 9 ) ) * safezoneH + safezoneY;
colorText[] = {0, 0.45, 0.95, 1};
};
class CaptureFrameStandard {
idc = -1;
type = CT_STATIC;
@ -401,6 +443,7 @@ class RscTitles
y = 0.358 * safezoneH + safezoneY;
h = 0.011 * safezoneH;
};
class LabelPoint : GenericLabel69 {
idc = 205;
text = "";
@ -412,6 +455,7 @@ class RscTitles
h = 0.03 * safezoneH;
colorText[] = {0.7, 0, 0, 1};
};
class ActiveSectors {
idc = 516;
type = CT_STRUCTURED_TEXT;
@ -430,6 +474,7 @@ class RscTitles
align = "right";
valign = "top";
};
class BGPictureActiveSectors : BGPicture {
idc = 517;
x = 0.93 * safezoneW + safezoneX;
@ -444,6 +489,7 @@ class RscTitles
y = 0.27 * safezoneH + safezoneY;
h = 0.05 * safezoneH;
};
class AlertLabel : GenericLabel69 {
idc = 402;
text = "";