How to reduce Territory Money

How to reduce Territory Money

« posted: May 17, 2016, 10:35 PM »
 forEach currentTerritoryDetails;

   {
      _team = _x select 0;
      _count = _x select 1;

      _money = _count * _moneyAmount;
      _message =  format ["Dein Team erhielt einen Bonus in Höhe von $%1 für das Besetzen von %2 territor%3 während der letzten %4 Minuten !", [_money] call fn_numbersText, _count, if (_count == 1) then { "y" } else { "ies" }, ceil (_timeInterval / 60)];

      [[_message, _money], "A3W_fnc_territoryActivityHandler", _team, false] call A3W_fnc_MP;
   } forEach _payouts;
};




Can anyone tell me how to reduce the money ?
  • Offline CREAMPIE
  • Armaholic
  • Veteran
  • ******
  • Posts: 1085
  • ^_^;;

Re: How to reduce Territory Money

« Reply #1 posted: May 18, 2016, 10:26 AM »
forEach currentTerritoryDetails;

   {
      _team = _x select 0;
      _count = _x select 1;

      _money = _count * _moneyAmount;
      _message =  format ["Dein Team erhielt einen Bonus in Höhe von $%1 für das Besetzen von %2 territor%3 während der letzten %4 Minuten !", [_money] call fn_numbersText, _count, if (_count == 1) then { "y" } else { "ies" }, ceil (_timeInterval / 60)];

      [[_message, _money], "A3W_fnc_territoryActivityHandler", _team, false] call A3W_fnc_MP;
   } forEach _payouts;
};




Can anyone tell me how to reduce the money ?

You need to edit the amounts in the territory definition file /mapConfig/territories.sqf inside the mission file.

e.g. the amount after the territory definition is the amount for capping it.

Code: [Select]
[
["TERRITORY_1", "Agia Marina", 10000],
["TERRITORY_2", "Stratis Airbase", 10000],
["TERRITORY_3", "Airstation Mike", 10000],
["TERRITORY_4", "Agios Cephas", 5000],
["TERRITORY_5", "Camp Maxwell", 5000],
["TERRITORY_6", "Camp Rogain", 5000],
["TERRITORY_7", "Kamino Firig Range", 7500],
["TERRITORY_8", "Kill Farm", 5000],
["TERRITORY_9", "Stratis Airbase Town", 5000],
["TERRITORY_10", "Radar Station", 5000],
["TERRITORY_11", "Nisi Bay", 5000]
]

- from the grassy knoll -

Re: How to reduce Territory Money

« Reply #2 posted: May 18, 2016, 01:17 PM »
Thank you