Skip to content

Commit

Permalink
Add param for autoloadout feature
Browse files Browse the repository at this point in the history
- add in mission parameter the option to activate automatic and dynamic loadout
- need german translation: #400
  • Loading branch information
Vdauphin committed Jun 8, 2018
1 parent 49c2b62 commit 7b6038f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions =BTC=co@30_Hearts_and_Minds.Altis/core/def/param.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
4 changes: 4 additions & 0 deletions =BTC=co@30_Hearts_and_Minds.Altis/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,10 @@
<Original>Remove only (works only with ACE3-Arsenal)</Original>
<German>Nur entfernen (funktioniert nur beim ACE3-Arsenal)</German>
</Key>
<Key ID="STR_BTC_HAM_PARAM_ARSENAL_AUTOLOADOUT">
<Original>Automatic loadout</Original>
<German>Automatic loadout</German>
</Key>
<Key ID="STR_BTC_HAM_PARAM_ARSENAL_GARAGEADMIN">
<Original>Activate garage for admin:</Original>
<German>Virtuelle Garage für den Admin:</German>
Expand Down

0 comments on commit 7b6038f

Please sign in to comment.