Skip to content

Commit

Permalink
Use stringtable from Arma 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Vdauphin committed Jul 8, 2018
1 parent 29a34f1 commit 1cd4842
Show file tree
Hide file tree
Showing 15 changed files with 59 additions and 185 deletions.
36 changes: 18 additions & 18 deletions =BTC=co@30_Hearts_and_Minds.Altis/core/def/param.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ class Params {
default = 0;
};
class btc_p_time { // Set the start time:
title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_TIME_START"]);
title = __EVAL(format [" %1", localize "STR_A3_CFGVEHICLES_MODULEDATE_F_ARGUMENTS_HOUR_0"]);
values[]={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24};
texts[]={"1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24"};
default = 12;
};
class btc_p_acctime { // Acceleration time multiplier:
title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_TIME_MULTIP"]);
title = __EVAL(format [" %1", localize "STR_USRACT_TIME_INC"]);
values[]={1,2,3,4,5,6,7,8,9,10,11,12};
texts[]={"1","2","3","4","5","6","7","8","9","10","11","12"};
default = 5;
Expand Down Expand Up @@ -74,13 +74,13 @@ class Params {
class btc_p_ied { // IEDs ratio:
title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_IED_RATIO"]);
values[]={0, 1, 2, 3};
texts[]={$STR_DISABLED,$STR_BTC_HAM_PARAM_IED_RATIO_LOW,$STR_BTC_HAM_PARAM_IED_RATIO_NORMAL,$STR_BTC_HAM_PARAM_IED_RATIO_HIGH}; //texts[]={"Off","Low","Normal","High"};
texts[]={$STR_DISABLED,$STR_A3_TIME_TRIALS_MISCTT_ROF_25,$STR_3DEN_ATTRIBUTES_SPEEDMODE_NORMAL,$STR_A3_TIME_TRIALS_MISCTT_ROF_21}; //texts[]={"Off","Low","Normal","High"};
default = 2;
};
class btc_p_ied_spot { // IEDs spotting difficulty:
title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_IED_SPOT"]);
values[]={0, 1, 2};
texts[]={$STR_BTC_HAM_PARAM_IED_SPOT_VERYEASY,$STR_BTC_HAM_PARAM_IED_SPOT_EASY,$STR_BTC_HAM_PARAM_IED_RATIO_NORMAL}; //texts[]={"Very easy","Easy","Normal"};
texts[]={$STR_BTC_HAM_PARAM_IED_SPOT_VERYEASY,$STR_BTC_HAM_PARAM_IED_SPOT_EASY,$STR_3DEN_ATTRIBUTES_SPEEDMODE_NORMAL}; //texts[]={"Very easy","Easy","Normal"};
default = 2;
};
class btc_p_ied_drone { // Drone bomber:
Expand All @@ -98,7 +98,7 @@ class Params {
class btc_p_hideout_n { // Hideout numbers:
title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_HIDE_NUMBERS"]);
values[]={99,1,2,3,4,5};
texts[]={$STR_BTC_HAM_PARAM_HIDE_NUMBERS_RND,"1","2","3","4","5"}; //texts[]={"Random","1","2","3","4","5"};
texts[]={$STR_3DEN_ATTRIBUTES_OBJECTTEXTURE_RANDOM_TEXT,"1","2","3","4","5"}; //texts[]={"Random","1","2","3","4","5"};
default = 5;
};
class btc_p_cache_info_def { // Info cache distance:
Expand Down Expand Up @@ -138,67 +138,67 @@ class Params {
default = 0;
};
class btc_p_set_skill { // Set skill?
title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_SKILL_ONOFF"]);
title = __EVAL(format [" %1?", localize "STR_A3_CFGVEHICLES_MODULESKILL_F_0"]);
values[]={0,1};
texts[]={$STR_DISABLED,$STR_ENABLED};
default = 1;
};
class btc_p_set_skill_general { // Set skill, general
title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_SKILL_GEN"]);
title = __EVAL(format [" %1, %2", localize "STR_A3_CFGVEHICLES_MODULESKILL_F_0", localize "STR_3DEN_SCENARIO_TEXTSINGULAR"]);
values[]={0,1,2,3,4,5,6,7,8,9,10};
texts[]={"0","0.1","0.2","0.3","0.4","0.5","0.6","0.7","0.8","0.9","1"};
default = 0;
};
class btc_p_set_skill_aimingAccuracy { // Set skill, aimingAccuracy
title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_SKILL_AIMACC"]);
title = __EVAL(format [" %1, %2", localize "STR_A3_CFGVEHICLES_MODULESKILL_F_0", localize "STR_BTC_HAM_PARAM_SKILL_AIMACC"]);
values[]={0,1,2,3,4,5,6,7,8,9,10};
texts[]={"0","0.1","0.2","0.3","0.4","0.5","0.6","0.7","0.8","0.9","1"};
default = 1;
};
class btc_p_set_skill_aimingShake { // Set skill, aimingShake
title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_SKILL_AIMSKILL"]);
title = __EVAL(format [" %1, %2", localize "STR_A3_CFGVEHICLES_MODULESKILL_F_0", localize "STR_BTC_HAM_PARAM_SKILL_AIMSKILL"]);
values[]={0,1,2,3,4,5,6,7,8,9,10};
texts[]={"0","0.1","0.2","0.3","0.4","0.5","0.6","0.7","0.8","0.9","1"};
default = 4;
};
class btc_p_set_skill_aimingSpeed { // Set skill, aimingSpeed
title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_SKILL_AIMSPEED"]);
title = __EVAL(format [" %1, %2", localize "STR_A3_CFGVEHICLES_MODULESKILL_F_0", localize "STR_BTC_HAM_PARAM_SKILL_AIMSPEED"]);
values[]={0,1,2,3,4,5,6,7,8,9,10};
texts[]={"0","0.1","0.2","0.3","0.4","0.5","0.6","0.7","0.8","0.9","1"};
default = 3;
};
class btc_p_set_skill_endurance { // Set skill, endurance
title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_SKILL_ENDURANCE"]);
title = __EVAL(format [" %1, %2", localize "STR_A3_CFGVEHICLES_MODULESKILL_F_0", localize "STR_A3_VR_STAMINA"]);
values[]={0,1,2,3,4,5,6,7,8,9,10};
texts[]={"0","0.1","0.2","0.3","0.4","0.5","0.6","0.7","0.8","0.9","1"};
default = 5;
};
class btc_p_set_skill_spotDistance { // Set skill, spotDistance
title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_SKILL_SPOTDIST"]);
title = __EVAL(format [" %1, %2", localize "STR_A3_CFGVEHICLES_MODULESKILL_F_0", localize "STR_BTC_HAM_PARAM_SKILL_SPOTDIST"]);
values[]={0,1,2,3,4,5,6,7,8,9,10};
texts[]={"0","0.1","0.2","0.3","0.4","0.5","0.6","0.7","0.8","0.9","1"};
default = 9;
};
class btc_p_set_skill_spotTime { // Set skill, spotTime
title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_SKILL_SPOTTIME"]);
title = __EVAL(format [" %1, %2", localize "STR_A3_CFGVEHICLES_MODULESKILL_F_0", localize "STR_BTC_HAM_PARAM_SKILL_SPOTTIME"]);
values[]={0,1,2,3,4,5,6,7,8,9,10};
texts[]={"0","0.1","0.2","0.3","0.4","0.5","0.6","0.7","0.8","0.9","1"};
default = 7;
};
class btc_p_set_skill_courage { // Set skill, courage
title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_SKILL_COURAGE"]);
title = __EVAL(format [" %1, %2", localize "STR_A3_CFGVEHICLES_MODULESKILL_F_0", localize "STR_BTC_HAM_PARAM_SKILL_COURAGE"]);
values[]={0,1,2,3,4,5,6,7,8,9,10};
texts[]={"0","0.1","0.2","0.3","0.4","0.5","0.6","0.7","0.8","0.9","1"};
default = 2;
};
class btc_p_set_skill_reloadSpeed { // Set skill, reloadSpeed
title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_SKILL_RELOAD"]);
title = __EVAL(format [" %1, %2", localize "STR_A3_CFGVEHICLES_MODULESKILL_F_0", localize "STR_BTC_HAM_PARAM_SKILL_RELOAD"]);
values[]={0,1,2,3,4,5,6,7,8,9,10};
texts[]={"0","0.1","0.2","0.3","0.4","0.5","0.6","0.7","0.8","0.9","1"};
default = 10;
};
class btc_p_set_skill_commanding { // Set skill, commanding
title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_SKILL_COMMANDING"]);
title = __EVAL(format [" %1, %2", localize "STR_A3_CFGVEHICLES_MODULESKILL_F_0", localize "STR_A3_CFGHINTS0"]);
values[]={0,1,2,3,4,5,6,7,8,9,10};
texts[]={"0","0.1","0.2","0.3","0.4","0.5","0.6","0.7","0.8","0.9","1"};
default = 7;
Expand Down Expand Up @@ -248,7 +248,7 @@ class Params {
class btc_p_arsenal_Restrict { // Restricted arsenal (See /define_mod.sqf):
title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_ARSENAL_ARSENALRESTR"]);
values[]={0,1,2,3};
texts[] = {$STR_DISABLED,$STR_BTC_HAM_PARAM_ARSENAL_ARSENALRESTR_FULL,$STR_BTC_HAM_PARAM_ARSENAL_ARSENALRESTR_REMOVEONLY,$STR_BTC_HAM_PARAM_ARSENAL_ARSENALRESTR_FILTER}; //texts[]={"Off","Full","Remove only (works only with ACE3-Arsenal)","Filter on player role (works only with ACE3-Arsenal)"};
texts[] = {$STR_DISABLED,$STR_3DEN_ATTRIBUTES_SPEEDMODE_FULL,$STR_BTC_HAM_PARAM_ARSENAL_ARSENALRESTR_REMOVEONLY,$STR_BTC_HAM_PARAM_ARSENAL_ARSENALRESTR_FILTER}; //texts[]={"Off","Full","Remove only (works only with ACE3-Arsenal)","Filter on player role (works only with ACE3-Arsenal)"};
default = 3;
};
class btc_p_autoloadout { // Automatic loadout:
Expand All @@ -272,7 +272,7 @@ class Params {
class btc_p_rep { // Reputation at start:
title = __EVAL(format [" %1", localize "STR_BTC_HAM_PARAM_OTHER_REPSTART"]);
values[]={0, 200, 500, 750};
texts[]={$STR_BTC_HAM_PARAM_OTHER_REPSTART_VLOW,$STR_BTC_HAM_PARAM_IED_RATIO_LOW,$STR_BTC_HAM_PARAM_IED_RATIO_NORMAL,$STR_BTC_HAM_PARAM_IED_RATIO_HIGH}; //texts[]={"Very Low","Low","Normal","High"};
texts[]={$STR_BTC_HAM_PARAM_OTHER_REPSTART_VLOW,$STR_A3_TIME_TRIALS_MISCTT_ROF_25,$STR_3DEN_ATTRIBUTES_SPEEDMODE_NORMAL,$STR_A3_TIME_TRIALS_MISCTT_ROF_21}; //texts[]={"Very Low","Low","Normal","High"};
default = 200;
};
class btc_p_city_radius { // Spawn city radius offset:
Expand Down
14 changes: 7 additions & 7 deletions =BTC=co@30_Hearts_and_Minds.Altis/core/doc.sqf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
private _MainCategory = localize "STR_BTC_HAM_DOC_TITLE";
private _MainCategory = localize "str_3den_display3den_menubar_helpdoc_text";
player createDiarySubject [_MainCategory, _MainCategory];

//Headless and Data base
Expand All @@ -11,7 +11,7 @@ player createDiaryRecord [_MainCategory, [localize "STR_BTC_HAM_DOC_WOUNDS_TITLE
player createDiaryRecord [_MainCategory, [localize "STR_BTC_HAM_DOC_DEAFNESS_TITLE", localize "STR_BTC_HAM_DOC_DEAFNESS_TEXT"]];

//Vehicles
player createDiaryRecord [_MainCategory, [localize "STR_BTC_HAM_DOC_VEHICLES_TITLE", localize "STR_BTC_HAM_DOC_VEHICLES_TEXT"]];
player createDiaryRecord [_MainCategory, [localize "str_a3_cfghints_command_vehicles1", localize "STR_BTC_HAM_DOC_VEHICLES_TEXT"]];

//Side Mission
player createDiaryRecord [_MainCategory, [localize "STR_BTC_HAM_DOC_SIDEMISSION_TITLE", localize "STR_BTC_HAM_DOC_SIDEMISSION_TEXT"]];
Expand All @@ -20,7 +20,7 @@ player createDiaryRecord [_MainCategory, [localize "STR_BTC_HAM_DOC_SIDEMISSION_
player createDiaryRecord [_MainCategory, ["FOB", localize "STR_BTC_HAM_DOC_FOB_TEXT"]];

//Sling loading
player createDiaryRecord [_MainCategory, [localize "STR_BTC_HAM_DOC_SLING_TITLE", localize "STR_BTC_HAM_DOC_SLING_TEXT"]];
player createDiaryRecord [_MainCategory, [localize "STR_A3_SlingLoad1", localize "STR_BTC_HAM_DOC_SLING_TEXT"]];

//Logistic point
player createDiaryRecord [_MainCategory, [localize "STR_BTC_HAM_DOC_LOGISTICP_TITLE", localize "STR_BTC_HAM_DOC_LOGISTICP_TEXT"]];
Expand All @@ -29,19 +29,19 @@ player createDiaryRecord [_MainCategory, [localize "STR_BTC_HAM_DOC_LOGISTICP_TI
player createDiaryRecord [_MainCategory, [localize "STR_BTC_HAM_DOC_LOGISTIC_TITLE", localize "STR_BTC_HAM_DOC_LOGISTIC_TEXT"]];

//Hideout
player createDiaryRecord [_MainCategory, [localize "STR_BTC_HAM_DOC_HIDEOUT_TITLE", localize "STR_BTC_HAM_DOC_HIDEOUT_TEXT"]];
player createDiaryRecord [_MainCategory, [localize "str_a3_campaign_b_m03_marker02", localize "STR_BTC_HAM_DOC_HIDEOUT_TEXT"]];

//IED
player createDiaryRecord [_MainCategory, ["IED", localize "STR_BTC_HAM_DOC_IED_TEXT"]];

//Intel
player createDiaryRecord [_MainCategory, [localize "STR_BTC_HAM_DOC_INTEL_TITLE", localize "STR_BTC_HAM_DOC_INTEL_TEXT"]];
player createDiaryRecord [_MainCategory, [localize "str_a3_mdl_category_intel", localize "STR_BTC_HAM_DOC_INTEL_TEXT"]];

//Reputation
player createDiaryRecord [_MainCategory, [localize "STR_BTC_HAM_DOC_REPUTATION_TITLE", localize "STR_BTC_HAM_DOC_REPUTATION_TEXT"]];

//Orders
player createDiaryRecord [_MainCategory, [localize "STR_BTC_HAM_DOC_ORDERS_TITLE", localize "STR_BTC_HAM_DOC_ORDERS_TEXT"]];
player createDiaryRecord [_MainCategory, [localize "str_3den_waypoint_attribute_order_displayname", localize "STR_BTC_HAM_DOC_ORDERS_TEXT"]];

//Traffic
player createDiaryRecord [_MainCategory, [localize "STR_BTC_HAM_DOC_TRAFFIC_TITLE", localize "STR_BTC_HAM_DOC_TRAFFIC_TEXT"]];
Expand All @@ -53,7 +53,7 @@ player createDiaryRecord [_MainCategory, [localize "STR_BTC_HAM_DOC_GEAR_TITLE",
player createDiaryRecord [_MainCategory, [localize "STR_BTC_HAM_DOC_INTERACTION_TITLE", localize "STR_BTC_HAM_DOC_INTERACTION_TEXT"]];

//Version
player createDiaryRecord [_MainCategory, [localize "STR_BTC_HAM_DOC_VERSION_TITLE",
player createDiaryRecord [_MainCategory, [localize "STR_A3_FM_Welcome4",
format ["<img image='\A3\ui_f\data\igui\cfg\simpleTasks\types\download_ca.paa' width='20' height='20'/> Version %1.2 <img image='\A3\ui_f\data\igui\cfg\simpleTasks\types\download_ca.paa' width='20' height='20'/>", btc_version]
]
];
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if ((round random 1) isEqualTo 1) then {
private _info_type = switch (true) do {
case (_rep < 200): {localize "STR_BTC_HAM_CON_INFO_ASKREP_VLOW"}; //very low
case (_rep >= 200 && _rep < 500): {localize "STR_BTC_HAM_CON_INFO_ASKREP_LOW"}; //low
case (_rep >= 500 && _rep < 750): {localize "STR_BTC_HAM_CON_INFO_ASKREP_NORMAL"}; //normal
case (_rep >= 500 && _rep < 750): {toLower localize "str_a3_firing_drills_rule_normal"}; //normal
case (_rep >= 750): {localize "STR_BTC_HAM_CON_INFO_ASKREP_HIGH"}; //high
};

Expand Down
10 changes: 5 additions & 5 deletions =BTC=co@30_Hearts_and_Minds.Altis/core/fnc/int/add_actions.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
private _action = ["Database", localize "STR_BTC_HAM_ACTION_DATA_MAIN", "\A3\ui_f\data\igui\cfg\simpleTasks\letters\D_ca.paa", {}, {serverCommandAvailable "#logout" || !isMultiplayer}] call ace_interact_menu_fnc_createAction;
[player, 1, ["ACE_SelfActions"], _action] call ace_interact_menu_fnc_addActionToObject;

_action = ["request_save", localize "STR_BTC_HAM_ACTION_DATA_SAVE", "\A3\ui_f\data\igui\cfg\simpleTasks\types\download_ca.paa", {call btc_fnc_db_request_save;}, {true}] call ace_interact_menu_fnc_createAction;
_action = ["request_save", localize "str_3den_display3den_menubar_missionsave_text", "\A3\ui_f\data\igui\cfg\simpleTasks\types\download_ca.paa", {call btc_fnc_db_request_save;}, {true}] call ace_interact_menu_fnc_createAction;
[player, 1, ["ACE_SelfActions", "Database"], _action] call ace_interact_menu_fnc_addActionToObject;
_action = ["request_delete", localize "STR_BTC_HAM_ACTION_DATA_DELETE", "\A3\ui_f\data\igui\cfg\simpleTasks\types\exit_ca.paa", {call btc_fnc_db_request_delete;}, {true}] call ace_interact_menu_fnc_createAction;
_action = ["request_delete", localize "str_a3_cfgvehicles_modulerespawnvehicle_f_arguments_wreck_values_delete_0", "\A3\ui_f\data\igui\cfg\simpleTasks\types\exit_ca.paa", {call btc_fnc_db_request_delete;}, {true}] call ace_interact_menu_fnc_createAction;
[player, 1, ["ACE_SelfActions", "Database"], _action] call ace_interact_menu_fnc_addActionToObject;

//Intel
_action = ["Search_intel", localize "STR_BTC_HAM_ACTION_INTEL_SEARCH", "\A3\ui_f\data\igui\cfg\simpleTasks\types\search_ca.paa", {(_this select 0) spawn btc_fnc_info_search_for_intel;}, {!Alive (_this select 0)}] call ace_interact_menu_fnc_createAction;
_action = ["Search_intel", localize "STR_A3_Showcase_Marksman_BIS_tskIntel_title", "\A3\ui_f\data\igui\cfg\simpleTasks\types\search_ca.paa", {(_this select 0) spawn btc_fnc_info_search_for_intel;}, {!Alive (_this select 0)}] call ace_interact_menu_fnc_createAction;
{[_x, 0, ["ACE_MainActions"], _action] call ace_interact_menu_fnc_addActionToClass;} forEach (btc_type_units + btc_type_divers);
_action = ["Interrogate_intel", localize "STR_BTC_HAM_ACTION_INTEL_INTERROGATE", "\a3\Ui_f\data\GUI\Cfg\CommunicationMenu\instructor_ca.paa", {[(_this select 0),true] spawn btc_fnc_info_ask;}, {Alive (_this select 0) && {[_this select 0] call ace_common_fnc_isAwake} && captive (_this select 0)}] call ace_interact_menu_fnc_createAction;
{[_x, 0, ["ACE_MainActions"], _action] call ace_interact_menu_fnc_addActionToClass;} forEach (btc_type_units + btc_type_divers);
Expand All @@ -23,7 +23,7 @@ _action = ["Repair_wreck", localize "STR_BTC_HAM_ACTION_LOGPOINT_REPWRECK", "\A3
[btc_create_object, 0, ["ACE_MainActions", "Logistic"], _action] call ace_interact_menu_fnc_addActionToObject;
_action = ["Require_veh", localize "STR_BTC_HAM_ACTION_LOGPOINT_REQVEH", "\A3\ui_f\data\map\vehicleicons\iconCar_ca.paa", {[btc_create_object_point] spawn btc_fnc_arsenal_garage}, {(serverCommandAvailable "#logout" || !isMultiplayer) and btc_p_garage}, {}, [], [0, 0, 0], 5] call ace_interact_menu_fnc_createAction;
[btc_create_object, 0, ["ACE_MainActions", "Logistic"], _action] call ace_interact_menu_fnc_addActionToObject;
_action = ["Tool", localize "STR_BTC_HAM_ACTION_COPYPASTE_TOOL", "\A3\ui_f\data\igui\cfg\simpleTasks\letters\T_ca.paa", {}, {true}] call ace_interact_menu_fnc_createAction;
_action = ["Tool", localize "str_3den_display3den_menubar_tools_text", "\A3\ui_f\data\igui\cfg\simpleTasks\letters\T_ca.paa", {}, {true}] call ace_interact_menu_fnc_createAction;
[btc_create_object, 0, ["ACE_MainActions"], _action] call ace_interact_menu_fnc_addActionToObject;
_action = ["Copy", localize "STR_BTC_HAM_ACTION_COPYPASTE_COPY", "\A3\ui_f\data\igui\cfg\simpleTasks\types\download_ca.paa", {[btc_create_object_point] spawn btc_fnc_log_copy}, {true}, {}, [], [0, 0, 0.4], 5] call ace_interact_menu_fnc_createAction;
[btc_create_object, 0, ["ACE_MainActions", "Tool"], _action] call ace_interact_menu_fnc_addActionToObject;
Expand All @@ -39,7 +39,7 @@ _action = ["Mount_FOB", localize "STR_BTC_HAM_ACTION_FOB_MOUNT", "\A3\Ui_f\data\
[btc_fob_mat, 0, ["ACE_MainActions", "Logistic"], _action] call ace_interact_menu_fnc_addActionToClass;
_action = ["Dismantle_FOB", localize "STR_BTC_HAM_ACTION_FOB_DISMANTLE", "", {(_this select 0) spawn btc_fnc_fob_dismantle}, {true}, {}, [], [0, 0, -2], 5] call ace_interact_menu_fnc_createAction;
[btc_fob_flag, 0, ["ACE_MainActions"], _action] call ace_interact_menu_fnc_addActionToClass;
_action = ["Place", localize "STR_BTC_HAM_ACTION_FOB_PLACE", "\A3\ui_f\data\map\markers\military\end_CA.paa", {(_this select 0) spawn btc_fnc_log_place}, {!btc_log_placing}] call ace_interact_menu_fnc_createAction;
_action = ["Place", localize "STR_3DEN_Display3DEN_ControlsHint_Place", "\A3\ui_f\data\map\markers\military\end_CA.paa", {(_this select 0) spawn btc_fnc_log_place}, {!btc_log_placing}] call ace_interact_menu_fnc_createAction;
{[_x, 0, ["ACE_MainActions", "Logistic"], _action] call ace_interact_menu_fnc_addActionToClass;} forEach btc_log_def_placeable;

//Orders
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ btc_side_jip_data remoteExec ["btc_fnc_task_create", 0];
//// Create markers \\\\
private _marker1 = createMarker [format ["sm_2_%1", getPos _city1], getPos _city1];
_marker1 setMarkerType "hd_flag";
[_marker1, "STR_BTC_HAM_SIDE_CONVOY_MRKSTART"] remoteExec ["btc_fnc_set_markerTextLocal", [0, -2] select isDedicated, _marker1]; //Convoy Start
[_marker1, "str_a3_campaign_b_m06_marker01"] remoteExec ["btc_fnc_set_markerTextLocal", [0, -2] select isDedicated, _marker1]; //Convoy Start
_marker1 setMarkerSize [0.6, 0.6];

private _marker2 = createMarker [format ["sm_2_%1", _pos2], _pos2];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ for "_i" from 1 to (1 + round random 2) do {
//// Create marker \\\\
private _marker = createMarker [format ["sm_2_%1", _pos], _pos];
_marker setMarkerType "hd_flag";
[_marker, "STR_BTC_HAM_SIDE_CHECKPOINT_MRK"] remoteExec ["btc_fnc_set_markerTextLocal", [0, -2] select isDedicated, _marker]; //Checkpoint
[_marker, "str_a3_timetrials_checkpoints0"] remoteExec ["btc_fnc_set_markerTextLocal", [0, -2] select isDedicated, _marker]; //Checkpoint
_marker setMarkerColor "ColorRed";
_marker setMarkerSize [0.6, 0.6];
_markers pushback _marker;
Expand Down
2 changes: 1 addition & 1 deletion =BTC=co@30_Hearts_and_Minds.Altis/core/fnc/side/convoy.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ btc_side_jip_data remoteExec ["btc_fnc_task_create", 0];
//// Create markers \\\\
private _marker1 = createMarker [format ["sm_2_%1", _pos1], _pos1];
_marker1 setMarkerType "hd_flag";
[_marker1, "STR_BTC_HAM_SIDE_CONVOY_MRKSTART"] remoteExec ["btc_fnc_set_markerTextLocal", [0, -2] select isDedicated, _marker1]; //Convoy start
[_marker1, "str_a3_campaign_b_m06_marker01"] remoteExec ["btc_fnc_set_markerTextLocal", [0, -2] select isDedicated, _marker1]; //Convoy start
_marker1 setMarkerSize [0.6, 0.6];

private _marker2 = createMarker [format ["sm_2_%1", _pos2], _pos2];
Expand Down
Loading

0 comments on commit 1cd4842

Please sign in to comment.