diff --git a/HeartsAndMindsPlus.Altis/core/def/mission.sqf b/HeartsAndMindsPlus.Altis/core/def/mission.sqf index d69944251..67d282272 100644 --- a/HeartsAndMindsPlus.Altis/core/def/mission.sqf +++ b/HeartsAndMindsPlus.Altis/core/def/mission.sqf @@ -308,15 +308,12 @@ if (isServer) then { // If there's a hit in btc_buildings_multiplier, btc_buildings_categories_multipliers will NOT be run btc_buildings_multipliers = [ // Specific buildings that need to have a custom modifier. - //["Land_BellTower", 0.2 ], ["Land_WIP", 1.5], ["Land_u_Addon_01", 0.2], - //["Land_Airport_Tower", 10.0], ["Land_Mil_ControlTower", 10.0], - //["Land_TentHangar", 7.0], ["Land_i_Shed_Ind", 1.5], ["Land_u_Shed_Ind", 1.5], - //["Land_TTowerBig", 6.0], ["Land_TTowerSmall", 4.5], ["Land_cmp_Tower", 4.0] + ["Wire", 0] ]; // The multipliers are applied on top of each other, so "Chapel" and "Small" will both multiply the malus value btc_buildings_categories_multipliers = [ - ["Shed", 1], ["Slum", 1], ["Small", 1], ["Big", 1], ["Villa", 1], ["Main", 1], ["Tower", 1], + ["Shed", 1], ["Slum", 1], ["Small", 0.5], ["Big", 1], ["Villa", 1], ["Main", 1], ["Tower", 1], ["HouseBlock", 1], ["Panelak", 1], ["Tenement", 1], ["Barn", 1], ["School", 1], ["Office", 1], ["Shop", 1], ["Store", 1], ["Hospital", 1], ["Castle", 1], ["Chapel", 1], ["Minaret", 1], ["Mosque", 1], ["Church", 1], ["Kostel", 1], @@ -329,6 +326,8 @@ if (isServer) then { ["Pump", 1] ]; btc_buildings_changed = []; + tet_buildings_changed = []; + tet_limiter = false; //TAGS btc_type_tags = ["Land_Graffiti_01_F", "Land_Graffiti_02_F", "Land_Graffiti_03_F", "Land_Graffiti_04_F", "Land_Graffiti_05_F"]; @@ -784,29 +783,29 @@ btc_spect_range = 1000; btc_spect_updateOn = -1; //Rep -btc_rep_bonus_cache = 100; -btc_rep_bonus_civ_hh = 3; -btc_rep_bonus_disarm = 15; -btc_rep_bonus_hideout = 200; -btc_rep_bonus_mil_killed = 0.25; -btc_rep_bonus_IEDCleanUp = 10; -btc_rep_bonus_removeTag = 1; -btc_rep_bonus_removeTagLetter = 0.5; -btc_rep_bonus_foodGive = 1; -btc_rep_bonus_vehicle = 10; - -btc_rep_malus_veh_killed = - 10; -btc_rep_malus_civ_hd = - 5; -btc_rep_malus_animal_hd = - 1; -btc_rep_malus_civ_killed = - 100; -btc_rep_malus_animal_killed = - 5; -btc_rep_malus_civ_suppressed = - 0; -btc_rep_malus_player_respawn = - 5; -btc_rep_malus_building_damaged = - 0; -btc_rep_malus_building_destroyed = - 50; -btc_rep_malus_foodRemove = - btc_rep_bonus_foodGive; -btc_rep_malus_breakDoor = - 1; -btc_rep_malus_wheelChange = - 0; +btc_rep_bonus_cache = 50; // WAI +btc_rep_bonus_civ_hh = 0; // DISABLED +btc_rep_bonus_disarm = 15; // WAI +btc_rep_bonus_hideout = 100; // WAI +btc_rep_bonus_mil_killed = 1; // WAI +btc_rep_bonus_IEDCleanUp = 5; // WAI +btc_rep_bonus_removeTag = 5; // WAI +btc_rep_bonus_removeTagLetter = 1; // WAI +btc_rep_bonus_foodGive = 2; // WAI +btc_rep_bonus_vehicle = 10; // WAI + +btc_rep_malus_veh_killed = 0; // DISABLE +btc_rep_malus_civ_hd = 0 ; // DISABLE +btc_rep_malus_animal_hd = 0 ; // DISABLE +btc_rep_malus_civ_killed = - 50 ; // HIGH +btc_rep_malus_animal_killed = - 10; // MID +btc_rep_malus_civ_suppressed = 0 ; // DISABLED +btc_rep_malus_player_respawn = - 2; // LOW +btc_rep_malus_building_damaged = - 3; // LOW +btc_rep_malus_building_destroyed = - 20; // HIGH +btc_rep_malus_foodRemove = - btc_rep_bonus_foodGive; // WAI +btc_rep_malus_breakDoor = - 0.5; // WAI +btc_rep_malus_wheelChange = 0; // DISABLED btc_rep_level_veryLow = 0; btc_rep_level_low = 200; diff --git a/HeartsAndMindsPlus.Altis/core/def/param.hpp b/HeartsAndMindsPlus.Altis/core/def/param.hpp index be459d1d4..3f38992c8 100644 --- a/HeartsAndMindsPlus.Altis/core/def/param.hpp +++ b/HeartsAndMindsPlus.Altis/core/def/param.hpp @@ -489,6 +489,6 @@ class Params { title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_OTHER_DEBUG"]); values[]={0,1,2}; texts[]={$STR_DISABLED,$STR_ENABLED, $STR_BTC_HAM_PARAM_OTHER_DEBUG_LOGONLY}; // texts[]={"Off","On","Log only"}; - default = 0; + default = 1; }; }; diff --git a/HeartsAndMindsPlus.Altis/core/fnc/city/setClear.sqf b/HeartsAndMindsPlus.Altis/core/fnc/city/setClear.sqf index b128a8764..922149356 100644 --- a/HeartsAndMindsPlus.Altis/core/fnc/city/setClear.sqf +++ b/HeartsAndMindsPlus.Altis/core/fnc/city/setClear.sqf @@ -49,8 +49,8 @@ if (btc_final_phase) then { //ADDNOTIF OBJ CLEAR [parseText "+ Objective Cleared!
+$100", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; - [west, 100, false] call acex_fortify_fnc_updateBudget; - btc_global_economy = btc_global_economy + 100; + [west, 500, false] call acex_fortify_fnc_updateBudget; + btc_global_economy = btc_global_economy + 500; if (btc_debug) then { private _id = _city getVariable "id"; diff --git a/HeartsAndMindsPlus.Altis/core/fnc/rep/buildingchanged.sqf b/HeartsAndMindsPlus.Altis/core/fnc/rep/buildingchanged.sqf index d87a1870d..4414703e6 100644 --- a/HeartsAndMindsPlus.Altis/core/fnc/rep/buildingchanged.sqf +++ b/HeartsAndMindsPlus.Altis/core/fnc/rep/buildingchanged.sqf @@ -28,21 +28,26 @@ params [ ["_isRuin", false, [false]] ]; +if (tet_limiter == true) exitwith {}; +tet_limiter = true; private _classname = toUpper typeOf _from; private _malus = [btc_rep_malus_building_damaged, btc_rep_malus_building_destroyed] select _isRuin; private _skipCategories = false; // Accept only static, terrain buildings, discard any dynamically created ones but keep already damaged buildings. if ( - (getObjectType _from != 1) && - !(_from in btc_buildings_changed) || + (getObjectType _from != 1) && // If NOT part of the map + !(_from in btc_buildings_changed) || // If building is NOT in btc_buildings_changed then exit {_classname isEqualTo ""} || {_classname isKindOf "Wall"} || {"GATE" in _classname} || {"Mil" in _classname} ) exitWith {}; +if (_from in tet_buildings_changed) exitwith {}; + btc_buildings_changed pushBack _to; +tet_buildings_changed pushback _from; { _x params ["_buildings_classname", "_malus_multipliers"]; @@ -68,3 +73,5 @@ if (btc_debug) then { }; _malus call btc_rep_fnc_change; + +[{tet_limiter = false;}, [1], delay] call CBA_fnc_waitAndExecute; \ No newline at end of file diff --git a/HeartsAndMindsPlus.Altis/core/fnc/rep/hd.sqf b/HeartsAndMindsPlus.Altis/core/fnc/rep/hd.sqf index b5fa3791b..3660df77c 100644 --- a/HeartsAndMindsPlus.Altis/core/fnc/rep/hd.sqf +++ b/HeartsAndMindsPlus.Altis/core/fnc/rep/hd.sqf @@ -52,13 +52,12 @@ if !(isServer) exitWith { _dam }; -// CONFIG - Disable rep change for injury -//[ -// [btc_rep_malus_civ_hd, btc_rep_malus_animal_hd] select _isAgent, -// _instigator -//] call btc_rep_fnc_change; +[ + [btc_rep_malus_civ_hd, btc_rep_malus_animal_hd] select _isAgent, + _instigator +] call btc_rep_fnc_change; -//if (btc_global_reputation < btc_rep_level_normal + 100) then {[getPos _unit] call btc_rep_fnc_eh_effects;}; +if (btc_global_reputation < btc_rep_level_normal + 100) then {[getPos _unit] call btc_rep_fnc_eh_effects;}; if (btc_debug_log) then { [format ["REP HD = GREP %1 THIS = %2", btc_global_reputation, _this], __FILE__, [false]] call btc_debug_fnc_message; diff --git a/HeartsAndMindsPlus.Altis/core/fnc/side/EMP.sqf b/HeartsAndMindsPlus.Altis/core/fnc/side/EMP.sqf index 072d23890..1b0a71386 100644 --- a/HeartsAndMindsPlus.Altis/core/fnc/side/EMP.sqf +++ b/HeartsAndMindsPlus.Altis/core/fnc/side/EMP.sqf @@ -124,10 +124,10 @@ waitUntil {sleep 5; if (_taskID call BIS_fnc_taskState isEqualTo "CANCELED") exitWith {}; //ADDNOTIF SIDE MISSION -100 call btc_rep_fnc_change; -[parseText "+ Side Mission Completed!
+$50", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; - [west, 50, false] call acex_fortify_fnc_updateBudget; - btc_global_economy = btc_global_economy + 50; +75 call btc_rep_fnc_change; +[parseText "+ Side Mission Completed!
+$500", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; + [west, 500, false] call acex_fortify_fnc_updateBudget; + btc_global_economy = btc_global_economy + 500; [_taskID, "SUCCEEDED"] call btc_task_fnc_setState; diff --git a/HeartsAndMindsPlus.Altis/core/fnc/side/capture_officer.sqf b/HeartsAndMindsPlus.Altis/core/fnc/side/capture_officer.sqf index ccdc524ca..08e502e16 100644 --- a/HeartsAndMindsPlus.Altis/core/fnc/side/capture_officer.sqf +++ b/HeartsAndMindsPlus.Altis/core/fnc/side/capture_officer.sqf @@ -202,7 +202,7 @@ if (_taskID call BIS_fnc_taskState isEqualTo "CANCELED") exitWith {}; //ADDNOTIF SIDE MISSION -100 call btc_rep_fnc_change; -[parseText "+ Side Mission Completed!
+$50", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; - [west, 100, false] call acex_fortify_fnc_updateBudget; - btc_global_economy = btc_global_economy + 100; +75 call btc_rep_fnc_change; +[parseText "+ Side Mission Completed!
+$500", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; + [west, 500, false] call acex_fortify_fnc_updateBudget; + btc_global_economy = btc_global_economy + 500; diff --git a/HeartsAndMindsPlus.Altis/core/fnc/side/checkpoint.sqf b/HeartsAndMindsPlus.Altis/core/fnc/side/checkpoint.sqf index 82eded0c3..8525d645f 100644 --- a/HeartsAndMindsPlus.Altis/core/fnc/side/checkpoint.sqf +++ b/HeartsAndMindsPlus.Altis/core/fnc/side/checkpoint.sqf @@ -128,8 +128,8 @@ if (_taskID call BIS_fnc_taskState isEqualTo "CANCELED") exitWith { [[], _groups apply {vehicle leader _x}] call btc_fnc_delete; }; //ADDNOTIF SIDE MISSION -100 call btc_rep_fnc_change; -[parseText "+ Side Mission Completed!
+$25", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; - [west, 50, false] call acex_fortify_fnc_updateBudget; - btc_global_economy = btc_global_economy + 50; +20 call btc_rep_fnc_change; +[parseText "+ Side Mission Completed!
+$100", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; + [west, 100, false] call acex_fortify_fnc_updateBudget; + btc_global_economy = btc_global_economy + 100; [_taskID, "SUCCEEDED"] call btc_task_fnc_setState; diff --git a/HeartsAndMindsPlus.Altis/core/fnc/side/civtreatment.sqf b/HeartsAndMindsPlus.Altis/core/fnc/side/civtreatment.sqf index 430e70fb5..c1645de93 100644 --- a/HeartsAndMindsPlus.Altis/core/fnc/side/civtreatment.sqf +++ b/HeartsAndMindsPlus.Altis/core/fnc/side/civtreatment.sqf @@ -105,10 +105,10 @@ if !(alive _unit) exitWith { }; //ADDNOTIF SIDE MISSION -50 call btc_rep_fnc_change; -[parseText "+ Side Mission Completed!
+$25", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; - [west, 25, false] call acex_fortify_fnc_updateBudget; - btc_global_economy = btc_global_economy + 25; +25 call btc_rep_fnc_change; +[parseText "+ Side Mission Completed!
+$100", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; + [west, 100, false] call acex_fortify_fnc_updateBudget; + btc_global_economy = btc_global_economy + 100; [_taskID, "SUCCEEDED"] call BIS_fnc_taskSetState; diff --git a/HeartsAndMindsPlus.Altis/core/fnc/side/convoy.sqf b/HeartsAndMindsPlus.Altis/core/fnc/side/convoy.sqf index 537d0d02b..118d87262 100644 --- a/HeartsAndMindsPlus.Altis/core/fnc/side/convoy.sqf +++ b/HeartsAndMindsPlus.Altis/core/fnc/side/convoy.sqf @@ -149,10 +149,10 @@ if (_taskID call BIS_fnc_taskState isEqualTo "FAILED") exitWith { if (_taskID call BIS_fnc_taskState isEqualTo "CANCELED") exitWith {}; //ADDNOTIF SIDE MISSION -100 call btc_rep_fnc_change; -[parseText "+ Side Mission Completed!
+$50", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; - [west, 100, false] call acex_fortify_fnc_updateBudget; - btc_global_economy = btc_global_economy + 100; +50 call btc_rep_fnc_change; +[parseText "+ Side Mission Completed!
+$300", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; + [west, 300, false] call acex_fortify_fnc_updateBudget; + btc_global_economy = btc_global_economy + 300; [_taskID, "SUCCEEDED"] call BIS_fnc_taskSetState; diff --git a/HeartsAndMindsPlus.Altis/core/fnc/side/get_city.sqf b/HeartsAndMindsPlus.Altis/core/fnc/side/get_city.sqf index a63cea54b..3d70f7bd6 100644 --- a/HeartsAndMindsPlus.Altis/core/fnc/side/get_city.sqf +++ b/HeartsAndMindsPlus.Altis/core/fnc/side/get_city.sqf @@ -44,10 +44,10 @@ waitUntil {sleep 5; if (_taskID call BIS_fnc_taskState isEqualTo "CANCELED") exitWith {}; //ADDNOTIF SIDE MISSION -100 call btc_rep_fnc_change; -[parseText "+ Side Mission Completed!
+$50", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; - [west, 50, false] call acex_fortify_fnc_updateBudget; - btc_global_economy = btc_global_economy + 50; +30 call btc_rep_fnc_change; +[parseText "+ Side Mission Completed!
+$100", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; + [west, 100, false] call acex_fortify_fnc_updateBudget; + btc_global_economy = btc_global_economy + 100; [_taskID, "SUCCEEDED"] call BIS_fnc_taskSetState; diff --git a/HeartsAndMindsPlus.Altis/core/fnc/side/hack.sqf b/HeartsAndMindsPlus.Altis/core/fnc/side/hack.sqf index 3b00142bd..72714bd53 100644 --- a/HeartsAndMindsPlus.Altis/core/fnc/side/hack.sqf +++ b/HeartsAndMindsPlus.Altis/core/fnc/side/hack.sqf @@ -105,10 +105,10 @@ _fx attachTo [_rocket, [0, 0, 0]]; [[], [_rocket, _terminal, _fx]] call btc_fnc_delete; //ADDNOTIF SIDE MISSION -100 call btc_rep_fnc_change; -[parseText "+ Side Mission Completed!
+$100", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; - [west, 100, false] call acex_fortify_fnc_updateBudget; - btc_global_economy = btc_global_economy + 100; +150 call btc_rep_fnc_change; +[parseText "+ Side Mission Completed!
+$400", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; + [west, 400, false] call acex_fortify_fnc_updateBudget; + btc_global_economy = btc_global_economy + 400; [_taskID, "SUCCEEDED"] call btc_task_fnc_setState; diff --git a/HeartsAndMindsPlus.Altis/core/fnc/side/hostage.sqf b/HeartsAndMindsPlus.Altis/core/fnc/side/hostage.sqf index dea97e1fd..a34e4e3cc 100644 --- a/HeartsAndMindsPlus.Altis/core/fnc/side/hostage.sqf +++ b/HeartsAndMindsPlus.Altis/core/fnc/side/hostage.sqf @@ -111,10 +111,10 @@ if !(alive _captive) exitWith { }; //ADDNOTIF SIDE MISSION -200 call btc_rep_fnc_change; -[parseText "+ Side Mission Completed!
+$75", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; - [west, 150, false] call acex_fortify_fnc_updateBudget; - btc_global_economy = btc_global_economy + 150; +75 call btc_rep_fnc_change; +[parseText "+ Side Mission Completed!
+$750", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; + [west, 750, false] call acex_fortify_fnc_updateBudget; + btc_global_economy = btc_global_economy + 750; [_taskID, "SUCCEEDED"] call BIS_fnc_taskSetState; diff --git a/HeartsAndMindsPlus.Altis/core/fnc/side/kill.sqf b/HeartsAndMindsPlus.Altis/core/fnc/side/kill.sqf index 3960409cb..a3ddef868 100644 --- a/HeartsAndMindsPlus.Altis/core/fnc/side/kill.sqf +++ b/HeartsAndMindsPlus.Altis/core/fnc/side/kill.sqf @@ -165,10 +165,10 @@ removeMissionEventHandler ["HandleDisconnect", _IDEH_HandleDisconnect]; if ((_taskID call BIS_fnc_taskState) in ["CANCELED", "FAILED"]) exitWith {[_taskID, _taskID call BIS_fnc_taskState] call btc_task_fnc_setState}; //ADDNOTIF SIDE MISSION -100 call btc_rep_fnc_change; -[parseText "+ Side Mission Completed!
+$50", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; - [west, 100, false] call acex_fortify_fnc_updateBudget; - btc_global_economy = btc_global_economy + 50; +50 call btc_rep_fnc_change; +[parseText "+ Side Mission Completed!
+$300", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; + [west, 300, false] call acex_fortify_fnc_updateBudget; + btc_global_economy = btc_global_economy + 300; [_taskID, "SUCCEEDED"] call btc_task_fnc_setState; diff --git a/HeartsAndMindsPlus.Altis/core/fnc/side/mines.sqf b/HeartsAndMindsPlus.Altis/core/fnc/side/mines.sqf index ac07efd8d..5deaa649e 100644 --- a/HeartsAndMindsPlus.Altis/core/fnc/side/mines.sqf +++ b/HeartsAndMindsPlus.Altis/core/fnc/side/mines.sqf @@ -127,10 +127,10 @@ waitUntil {sleep 5; if (_taskID call BIS_fnc_taskState isEqualTo "CANCELED") exitWith {}; //ADDNOTIF SIDE MISSION -200 call btc_rep_fnc_change; -[parseText "+ Side Mission Completed!
+$100", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; - [west, 100, false] call acex_fortify_fnc_updateBudget; - btc_global_economy = btc_global_economy + 100; +30 call btc_rep_fnc_change; +[parseText "+ Side Mission Completed!
+$200", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; + [west, 200, false] call acex_fortify_fnc_updateBudget; + btc_global_economy = btc_global_economy + 200; [_taskID, "SUCCEEDED"] call BIS_fnc_taskSetState; diff --git a/HeartsAndMindsPlus.Altis/core/fnc/side/removeRubbish.sqf b/HeartsAndMindsPlus.Altis/core/fnc/side/removeRubbish.sqf index 8ee872d67..b64e519dd 100644 --- a/HeartsAndMindsPlus.Altis/core/fnc/side/removeRubbish.sqf +++ b/HeartsAndMindsPlus.Altis/core/fnc/side/removeRubbish.sqf @@ -85,10 +85,10 @@ if !("SUCCEEDED" in (_tasksID apply {_x call BIS_fnc_taskState})) exitWith { }; //ADDNOTIF SIDE MISSION -[parseText "+ Side Mission Completed!
+$25", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; - [west, 25, false] call acex_fortify_fnc_updateBudget; - btc_global_economy = btc_global_economy + 25; +[parseText "+ Side Mission Completed!
+$150", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; + [west, 150, false] call acex_fortify_fnc_updateBudget; + btc_global_economy = btc_global_economy + 150; -50 call btc_rep_fnc_change; +25 call btc_rep_fnc_change; [_taskID, "SUCCEEDED"] call BIS_fnc_taskSetState; diff --git a/HeartsAndMindsPlus.Altis/core/fnc/side/rescue.sqf b/HeartsAndMindsPlus.Altis/core/fnc/side/rescue.sqf index 25e40139a..af43dc073 100644 --- a/HeartsAndMindsPlus.Altis/core/fnc/side/rescue.sqf +++ b/HeartsAndMindsPlus.Altis/core/fnc/side/rescue.sqf @@ -152,7 +152,7 @@ if (_units select {alive _x} isEqualTo []) then { (([_x] call ace_dogtags_fnc_getDogtagData) select 0) in _dogTagList } count (nearestObjects [btc_create_object_point, ["ACE_bodyBagObject"], 100]) >= count _units }; - _rep = 100; + _rep = 60; }; { @@ -163,9 +163,9 @@ if (_units select {alive _x} isEqualTo []) then { if (_taskID call BIS_fnc_taskState in ["CANCELED", "FAILED"]) exitWith {}; //ADDNOTIF SIDE MISSION -[parseText "+ Side Mission Completed!
+$50", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; - [west, 50, false] call acex_fortify_fnc_updateBudget; - btc_global_economy = btc_global_economy + 50; +[parseText "+ Side Mission Completed!
+$600", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; + [west, 600, false] call acex_fortify_fnc_updateBudget; + btc_global_economy = btc_global_economy + 600; _rep call btc_rep_fnc_change; diff --git a/HeartsAndMindsPlus.Altis/core/fnc/side/supply.sqf b/HeartsAndMindsPlus.Altis/core/fnc/side/supply.sqf index c3587c667..0705372e8 100644 --- a/HeartsAndMindsPlus.Altis/core/fnc/side/supply.sqf +++ b/HeartsAndMindsPlus.Altis/core/fnc/side/supply.sqf @@ -117,10 +117,10 @@ if (_taskID call BIS_fnc_taskState isEqualTo "CANCELED") exitWith { }; //ADDNOTIF SIDE MISSION -100 call btc_rep_fnc_change; -[parseText "+ Side Mission Completed!
+$75", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; - [west, 75, false] call acex_fortify_fnc_updateBudget; - btc_global_economy = btc_global_economy + 75; +20 call btc_rep_fnc_change; +[parseText "+ Side Mission Completed!
+$150", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; + [west, 150, false] call acex_fortify_fnc_updateBudget; + btc_global_economy = btc_global_economy + 150; [_taskID, "SUCCEEDED"] call btc_task_fnc_setState; diff --git a/HeartsAndMindsPlus.Altis/core/fnc/side/tower.sqf b/HeartsAndMindsPlus.Altis/core/fnc/side/tower.sqf index 83f8e89f8..e3f5335b5 100644 --- a/HeartsAndMindsPlus.Altis/core/fnc/side/tower.sqf +++ b/HeartsAndMindsPlus.Altis/core/fnc/side/tower.sqf @@ -73,10 +73,10 @@ waitUntil {sleep 5; if (_taskID call BIS_fnc_taskState isEqualTo "CANCELED") exitWith {}; //ADDNOTIF SIDE MISSION -100 call btc_rep_fnc_change; -[parseText "+ Side Mission Completed!
+$25", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; - [west, 25, false] call acex_fortify_fnc_updateBudget; - btc_global_economy = btc_global_economy + 25; +30 call btc_rep_fnc_change; +[parseText "+ Side Mission Completed!
+$200", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; + [west, 200, false] call acex_fortify_fnc_updateBudget; + btc_global_economy = btc_global_economy + 200; [_taskID, "SUCCEEDED"] call BIS_fnc_taskSetState; diff --git a/HeartsAndMindsPlus.Altis/core/fnc/side/vehicle.sqf b/HeartsAndMindsPlus.Altis/core/fnc/side/vehicle.sqf index 5993cbbcc..8c9e494fe 100644 --- a/HeartsAndMindsPlus.Altis/core/fnc/side/vehicle.sqf +++ b/HeartsAndMindsPlus.Altis/core/fnc/side/vehicle.sqf @@ -63,8 +63,8 @@ if (!alive _veh) exitWith { (- btc_rep_malus_wheelChange * _damagedWheel) call btc_rep_fnc_change; //ADDNOTIF SIDE MISSION -[parseText "+ Side Mission Completed!
+$25", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; - [west, 25, false] call acex_fortify_fnc_updateBudget; - btc_global_economy = btc_global_economy + 25; +[parseText "+ Side Mission Completed!
+$100", [0, 0.5, 1, 1], nil, 5, 1.7, 0] remoteExec ["BIS_fnc_textTiles", 0]; + [west, 100, false] call acex_fortify_fnc_updateBudget; + btc_global_economy = btc_global_economy + 100; [_taskID, "SUCCEEDED"] call BIS_fnc_taskSetState;