From 7b6038fe06cfe9c8a8adb676b9e89588cdbf4725 Mon Sep 17 00:00:00 2001 From: Vdauphin Date: Fri, 8 Jun 2018 18:45:19 +0200 Subject: [PATCH] Add param for autoloadout feature - add in mission parameter the option to activate automatic and dynamic loadout - need german translation: https://github.com/Vdauphin/HeartsAndMinds/issues/400 --- =BTC=co@30_Hearts_and_Minds.Altis/core/def/param.hpp | 6 ++++++ =BTC=co@30_Hearts_and_Minds.Altis/stringtable.xml | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/=BTC=co@30_Hearts_and_Minds.Altis/core/def/param.hpp b/=BTC=co@30_Hearts_and_Minds.Altis/core/def/param.hpp index 56ec5d416..43f6f6633 100644 --- a/=BTC=co@30_Hearts_and_Minds.Altis/core/def/param.hpp +++ b/=BTC=co@30_Hearts_and_Minds.Altis/core/def/param.hpp @@ -251,6 +251,12 @@ class Params { texts[] = {$STR_DISABLED,$STR_BTC_HAM_PARAM_ARSENAL_ARSENALRESTR_FULL,$STR_BTC_HAM_PARAM_ARSENAL_ARSENALRESTR_REMOVEONLY}; //texts[]={"Off","Full","Remove only (works only with ACE3-Arsenal)"}; default = 0; }; + class btc_p_loadout { // Automatic loadout: + title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_ARSENAL_AUTOLOADOUT"]); + values[]={0,1}; + texts[]={$STR_DISABLED,$STR_ENABLED}; + default = 1; + }; class btc_p_garage { // Activate garage for admin: title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_ARSENAL_GARAGEADMIN"]); values[]={0,1}; diff --git a/=BTC=co@30_Hearts_and_Minds.Altis/stringtable.xml b/=BTC=co@30_Hearts_and_Minds.Altis/stringtable.xml index e4296d451..2cbffac87 100644 --- a/=BTC=co@30_Hearts_and_Minds.Altis/stringtable.xml +++ b/=BTC=co@30_Hearts_and_Minds.Altis/stringtable.xml @@ -466,6 +466,10 @@ Remove only (works only with ACE3-Arsenal) Nur entfernen (funktioniert nur beim ACE3-Arsenal) + + Automatic loadout + Automatic loadout + Activate garage for admin: Virtuelle Garage für den Admin: