Macroize all stringtables

This commit is contained in:
PabstMirror 2015-06-05 21:02:24 -05:00
parent 237b5b4e35
commit 32ce0aa6fd
32 changed files with 183 additions and 183 deletions

View File

@ -1,13 +1,13 @@
class ACE_Settings { class ACE_Settings {
class GVAR(allowHandcuffOwnSide) { class GVAR(allowHandcuffOwnSide) {
displayName = "$STR_ACE_Captives_ModuleSettings_handcuffSide_name"; displayName = CSTRING(ModuleSettings_handcuffSide_name);
description = "$STR_ACE_Captives_ModuleSettings_handcuffSide_description"; description = CSTRING(ModuleSettings_handcuffSide_description);
typeName = "BOOL"; typeName = "BOOL";
value = 1; value = 1;
}; };
class GVAR(allowSurrender) { class GVAR(allowSurrender) {
displayName = "$STR_ACE_Captives_ModuleSettings_allowSurrender_name"; displayName = CSTRING(ModuleSettings_allowSurrender_name);
description = "$STR_ACE_Captives_ModuleSettings_allowSurrender_description"; description = CSTRING(ModuleSettings_allowSurrender_description);
typeName = "BOOL"; typeName = "BOOL";
value = 1; value = 1;
}; };

View File

@ -179,7 +179,7 @@ class CfgVehicles {
class ACE_Module: Module_F {}; class ACE_Module: Module_F {};
class GVAR(moduleSettings): ACE_Module { class GVAR(moduleSettings): ACE_Module {
author = "$STR_ACE_Common_ACETeam"; author = ECSTRING(common,ACETeam);
category = "ACE"; category = "ACE";
displayName = CSTRING(ModuleSettings_DisplayName); displayName = CSTRING(ModuleSettings_DisplayName);
function = QFUNC(moduleSettings); function = QFUNC(moduleSettings);

View File

@ -22,7 +22,7 @@ class ACE_Settings {
value = 0; value = 0;
typeName = "SCALAR"; typeName = "SCALAR";
isClientSettable = 0; isClientSettable = 0;
values[] = {"$STR_ACE_Common_CheckPBO_Action_WarnOnce", "$STR_ACE_Common_CheckPBO_Action_WarnPerm", "$STR_ACE_Common_CheckPBO_Action_Kick"}; values[] = {CSTRING(CheckPBO_Action_WarnOnce), CSTRING(CheckPBO_Action_WarnPerm), CSTRING(CheckPBO_Action_Kick)};
}; };
class GVAR(checkPBOsCheckAll) { class GVAR(checkPBOsCheckAll) {
value = 0; value = 0;
@ -38,7 +38,7 @@ class ACE_Settings {
value = 1; value = 1;
typeName = "BOOL"; typeName = "BOOL";
isClientSettable = 1; isClientSettable = 1;
displayName = "$STR_ACE_Common_EnableNumberHotkeys"; displayName = CSTRING(EnableNumberHotkeys);
};*/ };*/
class GVAR(settingFeedbackIcons) { class GVAR(settingFeedbackIcons) {
value = 1; value = 1;

View File

@ -9,45 +9,45 @@ onSetup parameters:
0: STRING - Magazine Classname 0: STRING - Magazine Classname
*/ */
class Command { class Command {
displayName = $STR_ACE_Explosives_clacker_displayName; displayName = CSTRING(clacker_displayName);
picture = PATHTOF(Data\UI\Clacker.paa); picture = PATHTOF(Data\UI\Clacker.paa);
onPlace = QUOTE(_this call FUNC(AddClacker);false); onPlace = QUOTE(_this call FUNC(AddClacker);false);
requires[] = {"ACE_Clacker"}; requires[] = {"ACE_Clacker"};
}; };
class MK16_Transmitter:Command { class MK16_Transmitter:Command {
displayName = $STR_ACE_Explosives_MK16_displayName; displayName = CSTRING(MK16_displayName);
picture = PATHTOF(Data\UI\MK16_Reciever_ca.paa); picture = PATHTOF(Data\UI\MK16_Reciever_ca.paa);
requires[] = {"ACE_M26_Clacker"}; requires[] = {"ACE_M26_Clacker"};
}; };
class DeadManSwitch:Command { class DeadManSwitch:Command {
displayName = $STR_ACE_Explosives_DeadManSwitch_displayName; displayName = CSTRING(DeadManSwitch_displayName);
picture = PATHTOF(Data\UI\DeadmanSwitch.paa); picture = PATHTOF(Data\UI\DeadmanSwitch.paa);
requires[] = {"ACE_DeadManSwitch"}; requires[] = {"ACE_DeadManSwitch"};
}; };
class Cellphone:Command { class Cellphone:Command {
displayName = $STR_ACE_Explosives_cellphone_displayName; displayName = CSTRING(cellphone_displayName);
picture = PATHTOF(Data\UI\Cellphone_UI.paa); picture = PATHTOF(Data\UI\Cellphone_UI.paa);
onPlace = QUOTE(_this call FUNC(addCellphoneIED);false); onPlace = QUOTE(_this call FUNC(addCellphoneIED);false);
requires[] = {"ACE_Cellphone"}; requires[] = {"ACE_Cellphone"};
}; };
class PressurePlate { class PressurePlate {
displayName = $STR_ACE_Explosives_PressurePlate; displayName = CSTRING(PressurePlate);
picture = PATHTOF(Data\UI\PressurePlate.paa); picture = PATHTOF(Data\UI\PressurePlate.paa);
onPlace = "_dist=GetNumber(ConfigFile >> 'CfgMagazines' >> (_this select 2) >> 'ACE_Triggers' >> 'PressurePlate' >> 'digDistance');_ex=_this select 1;_ex setPosATL ((getPosATL _ex) vectorDiff ((VectorUp _ex) vectorCrossProduct [0,0,_dist]));false"; onPlace = "_dist=GetNumber(ConfigFile >> 'CfgMagazines' >> (_this select 2) >> 'ACE_Triggers' >> 'PressurePlate' >> 'digDistance');_ex=_this select 1;_ex setPosATL ((getPosATL _ex) vectorDiff ((VectorUp _ex) vectorCrossProduct [0,0,_dist]));false";
}; };
class IRSensor { class IRSensor {
displayName = $STR_ACE_Explosives_IRSensor; displayName = CSTRING(IRSensor);
picture = PATHTOF(Data\UI\PressurePlate.paa); picture = PATHTOF(Data\UI\PressurePlate.paa);
onPlace = "false"; onPlace = "false";
}; };
class Timer { class Timer {
displayName = $STR_ACE_Explosives_timerName; displayName = CSTRING(timerName);
picture = PATHTOF(data\UI\Timer.paa); picture = PATHTOF(data\UI\Timer.paa);
onPlace = QUOTE([ARR_2(_this select 1,(_this select 3) select 0)] call FUNC(startTimer);false); onPlace = QUOTE([ARR_2(_this select 1,(_this select 3) select 0)] call FUNC(startTimer);false);
onSetup = QUOTE(_this call FUNC(openTimerSetUI);true); onSetup = QUOTE(_this call FUNC(openTimerSetUI);true);
}; };
class Tripwire { class Tripwire {
displayName = $STR_ACE_Explosives_TripWire; displayName = CSTRING(TripWire);
picture = PATHTOF(Data\UI\Tripwire.paa); picture = PATHTOF(Data\UI\Tripwire.paa);
onPlace = "false"; onPlace = "false";
}; };

View File

@ -78,13 +78,13 @@ class CfgMagazines {
class ACE_Triggers { class ACE_Triggers {
SupportedTriggers[] = {"IRSensor","PressurePlate","Timer","Command"}; SupportedTriggers[] = {"IRSensor","PressurePlate","Timer","Command"};
class PressurePlate{ class PressurePlate{
displayName = $STR_ACE_Explosives_SLAME_Magnetic; displayName = CSTRING(SLAME_Magnetic);
digDistance = 0; digDistance = 0;
ammo = "SLAMDirectionalMine_Magnetic_Ammo"; ammo = "SLAMDirectionalMine_Magnetic_Ammo";
pitch = 90; pitch = 90;
}; };
class IRSensor{ class IRSensor{
displayName = $STR_ACE_Explosives_SLAME_IRSensor; displayName = CSTRING(SLAME_IRSensor);
}; };
class Timer { class Timer {
ammo = "SLAMDirectionalMine_Timer_Ammo"; ammo = "SLAMDirectionalMine_Timer_Ammo";
@ -106,7 +106,7 @@ class CfgMagazines {
class DeadmanSwitch:Command {}; class DeadmanSwitch:Command {};
class Cellphone:Command {}; class Cellphone:Command {};
class PressurePlate { class PressurePlate {
displayName = $STR_ACE_Explosives_SLAME_Magnetic; displayName = CSTRING(SLAME_Magnetic);
digDistance = 0; digDistance = 0;
ammo = "IEDUrbanBig_Remote_Ammo"; ammo = "IEDUrbanBig_Remote_Ammo";
pitch = 0; pitch = 0;
@ -131,7 +131,7 @@ class CfgMagazines {
class DeadmanSwitch: Command {}; class DeadmanSwitch: Command {};
class Cellphone: Command {}; class Cellphone: Command {};
class PressurePlate { class PressurePlate {
displayName = $STR_ACE_Explosives_SLAME_Magnetic; displayName = CSTRING(SLAME_Magnetic);
digDistance = 0; digDistance = 0;
ammo = "IEDUrbanSmall_Remote_Ammo"; ammo = "IEDUrbanSmall_Remote_Ammo";
pitch = 0; pitch = 0;

View File

@ -3,7 +3,7 @@ class CfgVehicles {
class CAManBase: Man { class CAManBase: Man {
class ACE_SelfActions { class ACE_SelfActions {
class ACE_Explosives { class ACE_Explosives {
displayName = $STR_ACE_Explosives_Menu; displayName = CSTRING(Menu);
condition = QUOTE(!(_player getVariable [ARR_2('ace_explosives_PlantingExplosive',false)])); condition = QUOTE(!(_player getVariable [ARR_2('ace_explosives_PlantingExplosive',false)]));
statement = ""; statement = "";
exceptions[] = {"isNotSwimming", "isNotInside"}; exceptions[] = {"isNotSwimming", "isNotInside"};
@ -13,7 +13,7 @@ class CfgVehicles {
hotkey = "X"; hotkey = "X";
//Sub-menu items //Sub-menu items
class ACE_Detonate { class ACE_Detonate {
displayName = $STR_ACE_Explosives_Detonate; displayName = CSTRING(Detonate);
condition = QUOTE([_player] call FUNC(canDetonate)); condition = QUOTE([_player] call FUNC(canDetonate));
statement = ""; statement = "";
insertChildren = QUOTE([_player] call FUNC(addTransmitterActions);); insertChildren = QUOTE([_player] call FUNC(addTransmitterActions););
@ -24,7 +24,7 @@ class CfgVehicles {
hotkey = "T"; hotkey = "T";
}; };
class ACE_Place { class ACE_Place {
displayName = $STR_ACE_Explosives_Place; displayName = CSTRING(Place);
condition = QUOTE((vehicle _player == _player) and {[_player] call FUNC(hasExplosives)}); condition = QUOTE((vehicle _player == _player) and {[_player] call FUNC(hasExplosives)});
statement = ""; statement = "";
insertChildren = QUOTE([_player] call FUNC(addExplosiveActions);); insertChildren = QUOTE([_player] call FUNC(addExplosiveActions););
@ -35,7 +35,7 @@ class CfgVehicles {
hotkey = "P"; hotkey = "P";
}; };
class ACE_Cellphone { class ACE_Cellphone {
displayName = $STR_ACE_Explosives_cellphone_displayName; displayName = CSTRING(cellphone_displayName);
condition = "('ACE_Cellphone' in (items ace_player))"; condition = "('ACE_Cellphone' in (items ace_player))";
statement = "closeDialog 0;createDialog 'Rsc_ACE_PhoneInterface';"; statement = "closeDialog 0;createDialog 'Rsc_ACE_PhoneInterface';";
exceptions[] = {"isNotSwimming", "isNotInside"}; exceptions[] = {"isNotSwimming", "isNotInside"};
@ -65,7 +65,7 @@ class CfgVehicles {
distance = 5; distance = 5;
condition = "true"; condition = "true";
class ACE_Defuse { class ACE_Defuse {
displayName = $STR_ACE_Explosives_Defuse; displayName = CSTRING(Defuse);
condition = QUOTE([ARR_2(_player,_target)] call FUNC(canDefuse)); condition = QUOTE([ARR_2(_player,_target)] call FUNC(canDefuse));
statement = QUOTE([ARR_2(_player,_target)] call FUNC(startDefuse);); statement = QUOTE([ARR_2(_player,_target)] call FUNC(startDefuse););
exceptions[] = {"isNotSwimming"}; exceptions[] = {"isNotSwimming"};

View File

@ -9,8 +9,8 @@ class CfgWeapons {
class ACE_Clacker: ACE_ItemCore { class ACE_Clacker: ACE_ItemCore {
scope = 2; scope = 2;
displayName = $STR_ACE_Explosives_clacker_displayName; displayName = CSTRING(clacker_displayName);
descriptionShort = $STR_ACE_Explosives_clacker_description; descriptionShort = CSTRING(clacker_description);
picture = PATHTOF(Data\UI\Clacker.paa); picture = PATHTOF(Data\UI\Clacker.paa);
model = "\A3\weapons_F\ammo\mag_univ.p3d"; model = "\A3\weapons_F\ammo\mag_univ.p3d";
ACE_Range = 250; ACE_Range = 250;
@ -22,14 +22,14 @@ class CfgWeapons {
}; };
}; };
class ACE_M26_Clacker: ACE_Clacker { class ACE_M26_Clacker: ACE_Clacker {
displayName = $STR_ACE_Explosives_M26_displayName; displayName = CSTRING(M26_displayName);
picture = PATHTOF(Data\UI\MK26_Transmitter_ca.paa); picture = PATHTOF(Data\UI\MK26_Transmitter_ca.paa);
ACE_Range = 5000; ACE_Range = 5000;
}; };
class ACE_DefusalKit: ACE_ItemCore { class ACE_DefusalKit: ACE_ItemCore {
scope = 2; scope = 2;
displayName = $STR_ACE_Explosives_DefusalKit_displayName; displayName = CSTRING(DefusalKit_displayName);
descriptionShort = $STR_ACE_Explosives_DefusalKit_description; descriptionShort = CSTRING(DefusalKit_description);
picture = PATHTOF(Data\UI\Pliers.paa); picture = PATHTOF(Data\UI\Pliers.paa);
model = "\A3\Structures_F\Items\Tools\Pliers_F.p3d"; model = "\A3\Structures_F\Items\Tools\Pliers_F.p3d";
@ -40,8 +40,8 @@ class CfgWeapons {
}; };
class ACE_DeadManSwitch: ACE_ItemCore { class ACE_DeadManSwitch: ACE_ItemCore {
scope = 2; scope = 2;
displayName = $STR_ACE_Explosives_DeadManSwitch_displayName; displayName = CSTRING(DeadManSwitch_displayName);
descriptionShort = $STR_ACE_Explosives_DeadManSwitch_description; descriptionShort = CSTRING(DeadManSwitch_description);
picture = PATHTOF(Data\UI\DeadmanSwitch.paa); picture = PATHTOF(Data\UI\DeadmanSwitch.paa);
model = "\A3\weapons_F\ammo\mag_univ.p3d"; model = "\A3\weapons_F\ammo\mag_univ.p3d";
ACE_Range = 100; ACE_Range = 100;
@ -54,8 +54,8 @@ class CfgWeapons {
}; };
class ACE_Cellphone: ACE_ItemCore { class ACE_Cellphone: ACE_ItemCore {
scope = 2; scope = 2;
displayName = $STR_ACE_Explosives_cellphone_displayName; displayName = CSTRING(cellphone_displayName);
descriptionShort = $STR_ACE_Explosives_cellphone_description; descriptionShort = CSTRING(cellphone_description);
picture = PATHTOF(Data\UI\Cellphone_UI.paa); picture = PATHTOF(Data\UI\Cellphone_UI.paa);
model = "\A3\weapons_F\ammo\mag_univ.p3d"; model = "\A3\weapons_F\ammo\mag_univ.p3d";
ACE_Range = 15000; ACE_Range = 15000;

View File

@ -89,7 +89,7 @@ class RscACE_SelectTimeUI {
h = 0.1; h = 0.1;
y = 0.09; y = 0.09;
style = ST_CENTER; style = ST_CENTER;
text = $STR_ACE_Explosives_Cancel; text = CSTRING(Cancel);
action = "closeDialog 0;"; action = "closeDialog 0;";
}; };
class approveBtn: RscButton { class approveBtn: RscButton {
@ -99,7 +99,7 @@ class RscACE_SelectTimeUI {
h = 0.1; h = 0.1;
w = 0.15; w = 0.15;
style = ST_CENTER; style = ST_CENTER;
text = $STR_ACE_Explosives_SetTime; text = CSTRING(SetTime);
action = "closeDialog 0;"; action = "closeDialog 0;";
}; };
}; };

View File

@ -25,7 +25,7 @@ class CfgVehicles {
class Car: LandVehicle { class Car: LandVehicle {
class ACE_SelfActions { class ACE_SelfActions {
class ResetFCS { class ResetFCS {
displayName = $STR_ACE_FCS_ResetFCS; displayName = CSTRING(ResetFCS);
condition = QUOTE(call FUNC(canResetFCS)); condition = QUOTE(call FUNC(canResetFCS));
statement = QUOTE([ARR_2(vehicle _player,[_player] call DEFUNC(common,getTurretIndex))] call DFUNC(reset);); statement = QUOTE([ARR_2(vehicle _player,[_player] call DEFUNC(common,getTurretIndex))] call DFUNC(reset););
showDisabled = 0; showDisabled = 0;
@ -38,7 +38,7 @@ class CfgVehicles {
class Tank: LandVehicle { class Tank: LandVehicle {
class ACE_SelfActions { class ACE_SelfActions {
class ResetFCS { class ResetFCS {
displayName = $STR_ACE_FCS_ResetFCS; displayName = CSTRING(ResetFCS);
condition = QUOTE(call FUNC(canResetFCS)); condition = QUOTE(call FUNC(canResetFCS));
statement = QUOTE([ARR_2(vehicle _player,[_player] call DEFUNC(common,getTurretIndex))] call DFUNC(reset);); statement = QUOTE([ARR_2(vehicle _player,[_player] call DEFUNC(common,getTurretIndex))] call DFUNC(reset););
showDisabled = 0; showDisabled = 0;

View File

@ -105,7 +105,7 @@ class RscACE_SelectAnItem {
h = 0.1; h = 0.1;
y = 0.605; y = 0.605;
style = 2; style = 2;
text = $STR_ACE_Interaction_Back; //$STR_ACE_Interaction_CancelSelection; text = CSTRING(Back);
action = "call ACE_Interaction_fnc_hideMenu;"; //'Default' call ACE_Interaction_fnc_openMenu; 'Default' call ACE_Interaction_fnc_openMenuSelf; action = "call ACE_Interaction_fnc_hideMenu;"; //'Default' call ACE_Interaction_fnc_openMenu; 'Default' call ACE_Interaction_fnc_openMenuSelf;
colorBackground[] = {0,0,0,0}; colorBackground[] = {0,0,0,0};
colorBackgroundDisabled[] = {0,0,0,0}; colorBackgroundDisabled[] = {0,0,0,0};
@ -119,7 +119,7 @@ class RscACE_SelectAnItem {
h = 0.1; h = 0.1;
w = 0.15; w = 0.15;
style = 2; style = 2;
text = $STR_ACE_Interaction_MakeSelection; text = CSTRING(MakeSelection);
action = "call ACE_Interaction_fnc_hideMenu;"; action = "call ACE_Interaction_fnc_hideMenu;";
colorBackground[] = {0,0,0,0}; colorBackground[] = {0,0,0,0};
colorBackgroundDisabled[] = {0,0,0,0}; colorBackgroundDisabled[] = {0,0,0,0};
@ -170,7 +170,7 @@ class RscTitles {
class SelectText: RscInteractionText{ class SelectText: RscInteractionText{
idc = 1000; idc = 1000;
y = 17 * GUI_GRID_H; y = 17 * GUI_GRID_H;
text = $STR_ACE_Interaction_MakeSelection; text = CSTRING(MakeSelection);
}; };
class GoBackIcon: RscInteractionHelperIcon{ class GoBackIcon: RscInteractionHelperIcon{
idc = 1201; idc = 1201;
@ -180,7 +180,7 @@ class RscTitles {
class GoBackText: RscInteractionText{ class GoBackText: RscInteractionText{
idc = 1001; idc = 1001;
y = 19 * GUI_GRID_H; y = 19 * GUI_GRID_H;
text = $STR_ACE_Interaction_Back; text = CSTRING(Back);
}; };
class ScrollIcon: RscInteractionHelperIcon{ class ScrollIcon: RscInteractionHelperIcon{
idc = 1202; idc = 1202;
@ -190,7 +190,7 @@ class RscTitles {
class ScrollText: RscInteractionText{ class ScrollText: RscInteractionText{
idc = 1002; idc = 1002;
y = 18 * GUI_GRID_H; y = 18 * GUI_GRID_H;
text = $STR_ACE_Interaction_ScrollHint; text = CSTRING(ScrollHint);
}; };
}; };
}; };

View File

@ -4,7 +4,7 @@ class CfgWeapons {
class InventoryItem_Base_F; class InventoryItem_Base_F;
class ACE_Kestrel4500: ACE_ItemCore { class ACE_Kestrel4500: ACE_ItemCore {
author[] = {$STR_ACE_Common_ACETeam, "Ruthberg"}; author[] = {ECSTRING(common,ACETeam), "Ruthberg"};
scope = 2; scope = 2;
displayName = CSTRING(Name); displayName = CSTRING(Name);
descriptionShort = CSTRING(Description); descriptionShort = CSTRING(Description);

View File

@ -6,7 +6,7 @@ class CfgPatches {
weapons[] = {"ACE_Kestrel4500"}; weapons[] = {"ACE_Kestrel4500"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ACE_common", "ACE_weather"}; requiredAddons[] = {"ACE_common", "ACE_weather"};
author[] = {$STR_ACE_Common_ACETeam, "Ruthberg"}; author[] = {ECSTRING(common,ACETeam), "Ruthberg"};
VERSION_CONFIG; VERSION_CONFIG;
}; };
}; };

View File

@ -141,7 +141,7 @@ class ACE_Settings {
displayName = CSTRING(painEffectType); displayName = CSTRING(painEffectType);
typeName = "SCALAR"; typeName = "SCALAR";
value = 0; value = 0;
values[] = {"$STR_ACE_Medical_painEffect_Flash", "$STR_ACE_Medical_painEffect_Chroma"}; values[] = {CSTRING(painEffect_Flash), CSTRING(painEffect_Chroma)};
isClientSettable = 1; isClientSettable = 1;
}; };
class GVAR(allowUnconsciousAnimationOnTreatment) { class GVAR(allowUnconsciousAnimationOnTreatment) {
@ -158,7 +158,7 @@ class ACE_Settings {
description = CSTRING(menuTypeDescription); description = CSTRING(menuTypeDescription);
typeName = "SCALAR"; typeName = "SCALAR";
value = 0; value = 0;
values[] = {"$STR_ACE_Medical_useSelection"/*, "$STR_ACE_Medical_useRadial"*/}; values[] = {CSTRING(useSelection)/*, CSTRING(useRadial)*/};
// isClientSettable = 1; // isClientSettable = 1;
}; };
}; };

View File

@ -660,7 +660,7 @@ class CfgVehicles {
side = -1; side = -1;
model = QUOTE(PATHTOEF(apl,bodybag.p3d)); model = QUOTE(PATHTOEF(apl,bodybag.p3d));
icon = ""; icon = "";
displayName = $STR_ACE_Medical_Bodybag_Display; displayName = CSTRING(Bodybag_Display);
EGVAR(dragging,canDrag) = 1; EGVAR(dragging,canDrag) = 1;
EGVAR(dragging,dragPosition[]) = {0,1.2,0}; EGVAR(dragging,dragPosition[]) = {0,1.2,0};
EGVAR(dragging,dragDirection) = 0; EGVAR(dragging,dragDirection) = 0;
@ -713,7 +713,7 @@ class CfgVehicles {
class ACE_fieldDressingItem: Item_Base_F { class ACE_fieldDressingItem: Item_Base_F {
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = $STR_ACE_Medical_Bandage_Basic_Display; displayName = CSTRING(Bandage_Basic_Display);
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportItems { class TransportItems {
@ -726,7 +726,7 @@ class CfgVehicles {
class ACE_packingBandageItem: Item_Base_F { class ACE_packingBandageItem: Item_Base_F {
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = $STR_ACE_Medical_Packing_Bandage_Display; displayName = CSTRING(Packing_Bandage_Display);
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportItems { class TransportItems {
@ -739,7 +739,7 @@ class CfgVehicles {
class ACE_elasticBandageItem: Item_Base_F { class ACE_elasticBandageItem: Item_Base_F {
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = $STR_ACE_Medical_Bandage_Elastic_Display; displayName = CSTRING(Bandage_Elastic_Display);
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportItems { class TransportItems {
@ -752,7 +752,7 @@ class CfgVehicles {
class ACE_tourniquetItem: Item_Base_F { class ACE_tourniquetItem: Item_Base_F {
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = $STR_ACE_Medical_Tourniquet_Display; displayName = CSTRING(Tourniquet_Display);
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportItems { class TransportItems {
@ -765,7 +765,7 @@ class CfgVehicles {
class ACE_morphineItem: Item_Base_F { class ACE_morphineItem: Item_Base_F {
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = $STR_ACE_Medical_Morphine_Display; displayName = CSTRING(Morphine_Display);
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportItems { class TransportItems {
@ -778,7 +778,7 @@ class CfgVehicles {
class ACE_atropineItem: Item_Base_F { class ACE_atropineItem: Item_Base_F {
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = $STR_ACE_Medical_Atropine_Display; displayName = CSTRING(Atropine_Display);
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportItems { class TransportItems {
@ -791,7 +791,7 @@ class CfgVehicles {
class ACE_epinephrineItem: Item_Base_F { class ACE_epinephrineItem: Item_Base_F {
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = $STR_ACE_Medical_Epinephrine_Display; displayName = CSTRING(Epinephrine_Display);
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportItems { class TransportItems {
@ -804,7 +804,7 @@ class CfgVehicles {
class ACE_plasmaIVItem: Item_Base_F { class ACE_plasmaIVItem: Item_Base_F {
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = $STR_ACE_Medical_Plasma_IV; displayName = CSTRING(Plasma_IV);
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportItems { class TransportItems {
@ -818,7 +818,7 @@ class CfgVehicles {
class ACE_bloodIVItem: Item_Base_F { class ACE_bloodIVItem: Item_Base_F {
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = $STR_ACE_Medical_Blood_IV; displayName = CSTRING(Blood_IV);
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportItems { class TransportItems {
@ -831,7 +831,7 @@ class CfgVehicles {
class ACE_salineIVItem: Item_Base_F { class ACE_salineIVItem: Item_Base_F {
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = $STR_ACE_Medical_Saline_IV; displayName = CSTRING(Saline_IV);
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportItems { class TransportItems {
@ -844,7 +844,7 @@ class CfgVehicles {
class ACE_quikClotItem: Item_Base_F { class ACE_quikClotItem: Item_Base_F {
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = $STR_ACE_Medical_QuikClot_Display; displayName = CSTRING(QuikClot_Display);
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportItems { class TransportItems {
@ -857,7 +857,7 @@ class CfgVehicles {
class ACE_personalAidKitItem: Item_Base_F { class ACE_personalAidKitItem: Item_Base_F {
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = $STR_ACE_Medical_Aid_Kit_Display; displayName = CSTRING(Aid_Kit_Display);
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportItems { class TransportItems {
@ -870,7 +870,7 @@ class CfgVehicles {
class ACE_surgicalKitItem: Item_Base_F { class ACE_surgicalKitItem: Item_Base_F {
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = $STR_ACE_Medical_SurgicalKit_Display; displayName = CSTRING(SurgicalKit_Display);
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportItems { class TransportItems {
@ -883,7 +883,7 @@ class CfgVehicles {
class ACE_bodyBagItem: Item_Base_F { class ACE_bodyBagItem: Item_Base_F {
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = $STR_ACE_Medical_Bodybag_Display; displayName = CSTRING(Bodybag_Display);
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportItems { class TransportItems {

View File

@ -24,64 +24,64 @@ class CfgWeapons {
scope = 2; scope = 2;
model = QUOTE(PATHTOF(data\bandage.p3d)); model = QUOTE(PATHTOF(data\bandage.p3d));
picture = QUOTE(PATHTOF(ui\items\fieldDressing_x_ca.paa)); picture = QUOTE(PATHTOF(ui\items\fieldDressing_x_ca.paa));
displayName = $STR_ACE_Medical_Bandage_Basic_Display; displayName = CSTRING(Bandage_Basic_Display);
descriptionShort = $STR_ACE_Medical_Bandage_Basic_Desc_Short; descriptionShort = CSTRING(Bandage_Basic_Desc_Short);
descriptionUse = $STR_ACE_Medical_Bandage_Basic_Desc_Use; descriptionUse = CSTRING(Bandage_Basic_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 1; mass = 1;
}; };
}; };
class ACE_packingBandage: ACE_ItemCore { class ACE_packingBandage: ACE_ItemCore {
scope = 2; scope = 2;
displayName = $STR_ACE_Medical_Packing_Bandage_Display; displayName = CSTRING(Packing_Bandage_Display);
picture = QUOTE(PATHTOF(ui\items\packingBandage_x_ca.paa)); picture = QUOTE(PATHTOF(ui\items\packingBandage_x_ca.paa));
model = QUOTE(PATHTOF(data\packingbandage.p3d)); model = QUOTE(PATHTOF(data\packingbandage.p3d));
descriptionShort = $STR_ACE_Medical_Packing_Bandage_Desc_Short; descriptionShort = CSTRING(Packing_Bandage_Desc_Short);
descriptionUse = $STR_ACE_Medical_Packing_Bandage_Desc_Use; descriptionUse = CSTRING(Packing_Bandage_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 1; mass = 1;
}; };
}; };
class ACE_elasticBandage: ACE_ItemCore { class ACE_elasticBandage: ACE_ItemCore {
scope = 2; scope = 2;
displayName = $STR_ACE_Medical_Bandage_Elastic_Display; displayName = CSTRING(Bandage_Elastic_Display);
picture = QUOTE(PATHTOF(ui\items\elasticBandage_x_ca.paa)); picture = QUOTE(PATHTOF(ui\items\elasticBandage_x_ca.paa));
model = "\A3\Structures_F_EPA\Items\Medical\Bandage_F.p3d"; model = "\A3\Structures_F_EPA\Items\Medical\Bandage_F.p3d";
descriptionShort = $STR_ACE_Medical_Bandage_Elastic_Desc_Short; descriptionShort = CSTRING(Bandage_Elastic_Desc_Short);
descriptionUse = $STR_ACE_Medical_Bandage_Elastic_Desc_Use; descriptionUse = CSTRING(Bandage_Elastic_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 1; mass = 1;
}; };
}; };
class ACE_tourniquet: ACE_ItemCore { class ACE_tourniquet: ACE_ItemCore {
scope = 2; scope = 2;
displayName = $STR_ACE_Medical_Tourniquet_Display; displayName = CSTRING(Tourniquet_Display);
picture = QUOTE(PATHTOF(ui\items\tourniquet_x_ca.paa)); picture = QUOTE(PATHTOF(ui\items\tourniquet_x_ca.paa));
model = QUOTE(PATHTOF(data\tourniquet.p3d)); model = QUOTE(PATHTOF(data\tourniquet.p3d));
descriptionShort = $STR_ACE_Medical_Tourniquet_Desc_Short; descriptionShort = CSTRING(Tourniquet_Desc_Short);
descriptionUse = $STR_ACE_Medical_Tourniquet_Desc_Use; descriptionUse = CSTRING(Tourniquet_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 1; mass = 1;
}; };
}; };
class ACE_morphine: ACE_ItemCore { class ACE_morphine: ACE_ItemCore {
scope = 2; scope = 2;
displayName = $STR_ACE_Medical_Morphine_Display; displayName = CSTRING(Morphine_Display);
picture = QUOTE(PATHTOF(ui\items\morphine_x_ca.paa)); picture = QUOTE(PATHTOF(ui\items\morphine_x_ca.paa));
model = QUOTE(PATHTOF(data\morphine.p3d)); model = QUOTE(PATHTOF(data\morphine.p3d));
descriptionShort = $STR_ACE_Medical_Morphine_Desc_Short; descriptionShort = CSTRING(Morphine_Desc_Short);
descriptionUse = $STR_ACE_Medical_Morphine_Desc_Use; descriptionUse = CSTRING(Morphine_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 1; mass = 1;
}; };
}; };
class ACE_atropine: ACE_ItemCore { class ACE_atropine: ACE_ItemCore {
scope = 2; scope = 2;
displayName = $STR_ACE_Medical_Atropine_Display; displayName = CSTRING(Atropine_Display);
picture = QUOTE(PATHTOF(ui\items\atropine_x_ca.paa)); picture = QUOTE(PATHTOF(ui\items\atropine_x_ca.paa));
model = QUOTE(PATHTOF(data\atropine.p3d)); model = QUOTE(PATHTOF(data\atropine.p3d));
descriptionShort = $STR_ACE_Medical_Atropine_Desc_Short; descriptionShort = CSTRING(Atropine_Desc_Short);
descriptionUse = $STR_ACE_Medical_Atropine_Desc_Use; descriptionUse = CSTRING(Atropine_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 1; mass = 1;
@ -89,33 +89,33 @@ class CfgWeapons {
}; };
class ACE_epinephrine: ACE_ItemCore { class ACE_epinephrine: ACE_ItemCore {
scope = 2; scope = 2;
displayName = $STR_ACE_Medical_Epinephrine_Display; displayName = CSTRING(Epinephrine_Display);
picture = QUOTE(PATHTOF(ui\items\epinephrine_x_ca.paa)); picture = QUOTE(PATHTOF(ui\items\epinephrine_x_ca.paa));
model = QUOTE(PATHTOF(data\epinephrine.p3d)); model = QUOTE(PATHTOF(data\epinephrine.p3d));
descriptionShort = $STR_ACE_Medical_Epinephrine_Desc_Short; descriptionShort = CSTRING(Epinephrine_Desc_Short);
descriptionUse = $STR_ACE_Medical_Epinephrine_Desc_Use; descriptionUse = CSTRING(Epinephrine_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 1; mass = 1;
}; };
}; };
class ACE_plasmaIV: ACE_ItemCore { class ACE_plasmaIV: ACE_ItemCore {
scope = 2; scope = 2;
displayName = $STR_ACE_Medical_Plasma_IV; displayName = CSTRING(Plasma_IV);
picture = QUOTE(PATHTOF(ui\items\plasmaIV_x_ca.paa)); picture = QUOTE(PATHTOF(ui\items\plasmaIV_x_ca.paa));
descriptionShort = $STR_ACE_Medical_Plasma_IV_Desc_Short; descriptionShort = CSTRING(Plasma_IV_Desc_Short);
descriptionUse = $STR_ACE_Medical_Plasma_IV_Desc_Use; descriptionUse = CSTRING(Plasma_IV_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 10; mass = 10;
}; };
}; };
class ACE_plasmaIV_500: ACE_plasmaIV { class ACE_plasmaIV_500: ACE_plasmaIV {
displayName = $STR_ACE_Medical_Plasma_IV_500; displayName = CSTRING(Plasma_IV_500);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 5; mass = 5;
}; };
}; };
class ACE_plasmaIV_250: ACE_plasmaIV { class ACE_plasmaIV_250: ACE_plasmaIV {
displayName = $STR_ACE_Medical_Plasma_IV_250; displayName = CSTRING(Plasma_IV_250);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 2.5; mass = 2.5;
}; };
@ -123,86 +123,86 @@ class CfgWeapons {
class ACE_bloodIV: ACE_ItemCore { class ACE_bloodIV: ACE_ItemCore {
scope = 2; scope = 2;
model = "\A3\Structures_F_EPA\Items\Medical\BloodBag_F.p3d"; model = "\A3\Structures_F_EPA\Items\Medical\BloodBag_F.p3d";
displayName = $STR_ACE_Medical_Blood_IV; displayName = CSTRING(Blood_IV);
picture = QUOTE(PATHTOF(ui\items\bloodIV_x_ca.paa)); picture = QUOTE(PATHTOF(ui\items\bloodIV_x_ca.paa));
descriptionShort = $STR_ACE_Medical_Blood_IV_Desc_Short; descriptionShort = CSTRING(Blood_IV_Desc_Short);
descriptionUse = $STR_ACE_Medical_Blood_IV_Desc_Use; descriptionUse = CSTRING(Blood_IV_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 10; mass = 10;
}; };
}; };
class ACE_bloodIV_500: ACE_bloodIV { class ACE_bloodIV_500: ACE_bloodIV {
displayName = $STR_ACE_Medical_Blood_IV_500; displayName = CSTRING(Blood_IV_500);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 5; mass = 5;
}; };
}; };
class ACE_bloodIV_250: ACE_bloodIV { class ACE_bloodIV_250: ACE_bloodIV {
displayName = $STR_ACE_Medical_Blood_IV_250; displayName = CSTRING(Blood_IV_250);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 2.5; mass = 2.5;
}; };
}; };
class ACE_salineIV: ACE_ItemCore { class ACE_salineIV: ACE_ItemCore {
scope = 2; scope = 2;
displayName = $STR_ACE_Medical_Saline_IV; displayName = CSTRING(Saline_IV);
picture = QUOTE(PATHTOF(ui\items\salineIV_x_ca.paa)); picture = QUOTE(PATHTOF(ui\items\salineIV_x_ca.paa));
descriptionShort = $STR_ACE_Medical_Saline_IV_Desc_Short; descriptionShort = CSTRING(Saline_IV_Desc_Short);
descriptionUse = $STR_ACE_Medical_Saline_IV_Desc_Use; descriptionUse = CSTRING(Saline_IV_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 10; mass = 10;
}; };
}; };
class ACE_salineIV_500: ACE_salineIV { class ACE_salineIV_500: ACE_salineIV {
displayName = $STR_ACE_Medical_Saline_IV_500; displayName = CSTRING(Saline_IV_500);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 5; mass = 5;
}; };
}; };
class ACE_salineIV_250: ACE_salineIV { class ACE_salineIV_250: ACE_salineIV {
displayName = $STR_ACE_Medical_Saline_IV_250; displayName = CSTRING(Saline_IV_250);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 2.5; mass = 2.5;
}; };
}; };
class ACE_quikclot: ACE_ItemCore { class ACE_quikclot: ACE_ItemCore {
scope = 2; scope = 2;
displayName = $STR_ACE_Medical_QuikClot_Display; displayName = CSTRING(QuikClot_Display);
picture = QUOTE(PATHTOF(ui\items\quickclot_x_ca.paa)); picture = QUOTE(PATHTOF(ui\items\quickclot_x_ca.paa));
descriptionShort = $STR_ACE_Medical_QuikClot_Desc_Short; descriptionShort = CSTRING(QuikClot_Desc_Short);
descriptionUse = $STR_ACE_Medical_QuikClot_Desc_Use; descriptionUse = CSTRING(QuikClot_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 1; mass = 1;
}; };
}; };
class ACE_personalAidKit: ACE_ItemCore { class ACE_personalAidKit: ACE_ItemCore {
scope = 2; scope = 2;
displayName = $STR_ACE_Medical_Aid_Kit_Display; displayName = CSTRING(Aid_Kit_Display);
picture = QUOTE(PATHTOF(ui\items\personal_aid_kit_x_ca.paa)); picture = QUOTE(PATHTOF(ui\items\personal_aid_kit_x_ca.paa));
descriptionShort = $STR_ACE_Medical_Aid_Kit_Desc_Short; descriptionShort = CSTRING(Aid_Kit_Desc_Short);
descriptionUse = $STR_ACE_Medical_Aid_Kit_Desc_Use; descriptionUse = CSTRING(Aid_Kit_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 10; mass = 10;
}; };
}; };
class ACE_surgicalKit: ACE_ItemCore { class ACE_surgicalKit: ACE_ItemCore {
scope=2; scope=2;
displayName= $STR_ACE_Medical_SurgicalKit_Display; displayName= CSTRING(SurgicalKit_Display);
model = QUOTE(PATHTOF(data\surgical_kit.p3d)); model = QUOTE(PATHTOF(data\surgical_kit.p3d));
picture = QUOTE(PATHTOF(ui\items\surgicalKit_x_ca.paa)); picture = QUOTE(PATHTOF(ui\items\surgicalKit_x_ca.paa));
descriptionShort = $STR_ACE_Medical_SurgicalKit_Desc_Short; descriptionShort = CSTRING(SurgicalKit_Desc_Short);
descriptionUse = $STR_ACE_Medical_SurgicalKit_Desc_Use; descriptionUse = CSTRING(SurgicalKit_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 15; mass = 15;
}; };
}; };
class ACE_bodyBag: ACE_ItemCore { class ACE_bodyBag: ACE_ItemCore {
scope=2; scope=2;
displayName= $STR_ACE_Medical_Bodybag_Display; displayName= CSTRING(Bodybag_Display);
model = QUOTE(PATHTOF(data\bodybagItem.p3d)); model = QUOTE(PATHTOF(data\bodybagItem.p3d));
picture = QUOTE(PATHTOF(ui\items\bodybag_x_ca.paa)); picture = QUOTE(PATHTOF(ui\items\bodybag_x_ca.paa));
descriptionShort = $STR_ACE_Medical_Bodybag_Desc_Short; descriptionShort = CSTRING(Bodybag_Desc_Short);
descriptionUse = $STR_ACE_Medical_Bodybag_Desc_Use; descriptionUse = CSTRING(Bodybag_Desc_Use);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {
mass = 20; mass = 20;
}; };

View File

@ -2892,19 +2892,19 @@
<Spanish>Proporciona un sistema médico para jugadores e IA.</Spanish> <Spanish>Proporciona un sistema médico para jugadores e IA.</Spanish>
<German>Aktiviert ein medizinisches System für Spieler und KI.</German> <German>Aktiviert ein medizinisches System für Spieler und KI.</German>
</Key> </Key>
<Key ID="STR_ACE_AdvancedMedicalSettings_Module_DisplayName"> <Key ID="STR_ACE_Medical_AdvancedMedicalSettings_Module_DisplayName">
<English>Advanced Medical Settings [ACE]</English> <English>Advanced Medical Settings [ACE]</English>
<Polish>Zaawansowane ustawienia medyczne [ACE]</Polish> <Polish>Zaawansowane ustawienia medyczne [ACE]</Polish>
<Spanish>Ajustes médicos avanzados [ACE]</Spanish> <Spanish>Ajustes médicos avanzados [ACE]</Spanish>
<German>Erweiterte medizinische Einstellungen [ACE]</German> <German>Erweiterte medizinische Einstellungen [ACE]</German>
</Key> </Key>
<Key ID="STR_ACE_AdvancedMedicalSettings_enableFor_DisplayName"> <Key ID="STR_ACE_Medical_AdvancedMedicalSettings_enableFor_DisplayName">
<English>Enabled for</English> <English>Enabled for</English>
<Polish>Aktywne dla</Polish> <Polish>Aktywne dla</Polish>
<Spanish>Hablitado para</Spanish> <Spanish>Hablitado para</Spanish>
<German>Aktiviert für</German> <German>Aktiviert für</German>
</Key> </Key>
<Key ID="STR_ACE_AdvancedMedicalSettings_enableFor_Description"> <Key ID="STR_ACE_Medical_AdvancedMedicalSettings_enableFor_Description">
<English>Select what units the advanced medical system will be enabled for</English> <English>Select what units the advanced medical system will be enabled for</English>
<Polish>Wybierz dla kogo zaawansowany system medyczny będzie aktywny</Polish> <Polish>Wybierz dla kogo zaawansowany system medyczny będzie aktywny</Polish>
<Spanish>Seleccione para qué unidades será habilitado el sistema médico avanzado</Spanish> <Spanish>Seleccione para qué unidades será habilitado el sistema médico avanzado</Spanish>

View File

@ -103,7 +103,7 @@ class GVAR(triageCard) {
y = 0; y = 0;
w = 0; w = 0;
h = 0; h = 0;
text = $STR_ACE_Medical_Triage_Status_None; text = CSTRING(Triage_Status_None);
style = 0x02; style = 0x02;
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
@ -121,7 +121,7 @@ class GVAR(triageCard) {
y = 0; y = 0;
w = 0; w = 0;
h = 0; h = 0;
text = $STR_ACE_Medical_Triage_Status_Minor; text = CSTRING(Triage_Status_Minor);
style = 0x02; style = 0x02;
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
@ -139,7 +139,7 @@ class GVAR(triageCard) {
y = 0; y = 0;
w = 0; w = 0;
h = 0; h = 0;
text = $STR_ACE_Medical_Triage_Status_Delayed; text = CSTRING(Triage_Status_Delayed);
style = 0x02; style = 0x02;
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
@ -157,7 +157,7 @@ class GVAR(triageCard) {
y = 0; y = 0;
w = 0; w = 0;
h = 0; h = 0;
text = $STR_ACE_Medical_Triage_Status_Immediate; text = CSTRING(Triage_Status_Immediate);
style = 0x02; style = 0x02;
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
@ -175,7 +175,7 @@ class GVAR(triageCard) {
y = 0; y = 0;
w = 0; w = 0;
h = 0; h = 0;
text = $STR_ACE_Medical_Triage_Status_Deceased; text = CSTRING(Triage_Status_Deceased);
style = 0x02; style = 0x02;
size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";

View File

@ -4,7 +4,7 @@ class CfgVehicles {
author[] = {"Spooner", "tcp"}; author[] = {"Spooner", "tcp"};
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = "$STR_ACE_MX2A_DisplayName"; displayName = CSTRING(DisplayName);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportWeapons { class TransportWeapons {
MACRO_ADDWEAPON(ACE_MX2A,1); MACRO_ADDWEAPON(ACE_MX2A,1);

View File

@ -2,9 +2,9 @@
class CfgWeapons { class CfgWeapons {
class Binocular; class Binocular;
class ACE_MX2A: Binocular { class ACE_MX2A: Binocular {
author = "$STR_ACE_Common_ACETeam"; author = ECSTRING(common,ACETeam);
displayName = "$STR_ACE_MX2A_DisplayName"; displayName = CSTRING(DisplayName);
descriptionShort = "$STR_ACE_MX2A_Description"; descriptionShort = CSTRING(Description);
model = PATHTOF(data\ace_mx2a.p3d); model = PATHTOF(data\ace_mx2a.p3d);
modelOptics = QUOTE(PATHTOEF(apl,LWTS_optic.p3d)); modelOptics = QUOTE(PATHTOEF(apl,LWTS_optic.p3d));
picture = PATHTOF(UI\w_mx2a_ca.paa); picture = PATHTOF(UI\w_mx2a_ca.paa);

View File

@ -250,10 +250,10 @@ class ACE_settingsMenu {
}; };
class action_debug: actionClose { class action_debug: actionClose {
idc = 1102; idc = 1102;
text = "$STR_ACE_OptionsMenu_DumpDebug"; text = CSTRING(DumpDebug);
x = X_PART(26.5); x = X_PART(26.5);
action = QUOTE([] call FUNC(debugDumpToClipboard)); action = QUOTE([] call FUNC(debugDumpToClipboard));
tooltip = "$STR_ACE_OptionsMenu_DumpDebugTooltip"; tooltip = CSTRING(DumpDebugTooltip);
}; };
}; };
}; };

View File

@ -4,7 +4,7 @@ class CfgVehicles {
class ACE_Actions { class ACE_Actions {
class ACE_Weapon { class ACE_Weapon {
class GVAR(copyRangeCard) { class GVAR(copyRangeCard) {
displayName = "$STR_ACE_RangeCard_CopyRangeCard"; displayName = CSTRING(CopyRangeCard);
distance = 2.0; distance = 2.0;
condition = QUOTE(_target call FUNC(canCopy)); condition = QUOTE(_target call FUNC(canCopy));
statement = QUOTE(_target call FUNC(updateClassNames)); statement = QUOTE(_target call FUNC(updateClassNames));
@ -15,7 +15,7 @@ class CfgVehicles {
class ACE_SelfActions { class ACE_SelfActions {
class ACE_Equipment { class ACE_Equipment {
class GVAR(open) { class GVAR(open) {
displayName = "$STR_ACE_RangeCard_OpenRangeCard"; displayName = CSTRING(OpenRangeCard);
condition = QUOTE(call FUNC(canShow) && !GVAR(RangeCardOpened)); condition = QUOTE(call FUNC(canShow) && !GVAR(RangeCardOpened));
statement = QUOTE(false call FUNC(openRangeCard)); statement = QUOTE(false call FUNC(openRangeCard));
showDisabled = 0; showDisabled = 0;
@ -24,7 +24,7 @@ class CfgVehicles {
exceptions[] = {"notOnMap"}; exceptions[] = {"notOnMap"};
}; };
class GVAR(openCopy) { class GVAR(openCopy) {
displayName = "$STR_ACE_RangeCard_OpenRangeCardCopy"; displayName = CSTRING(OpenRangeCardCopy);
condition = QUOTE(call FUNC(canShowCopy) && !GVAR(RangeCardOpened)); condition = QUOTE(call FUNC(canShowCopy) && !GVAR(RangeCardOpened));
statement = QUOTE(true call FUNC(openRangeCard)); statement = QUOTE(true call FUNC(openRangeCard));
showDisabled = 0; showDisabled = 0;

View File

@ -6,8 +6,8 @@ class CfgWeapons {
class ACE_RangeCard: ACE_ItemCore { class ACE_RangeCard: ACE_ItemCore {
author[] = {"Ruthberg"}; author[] = {"Ruthberg"};
scope = 2; scope = 2;
displayName = "$STR_ACE_RangeCard_Name"; displayName = CSTRING(Name);
descriptionShort = "$STR_ACE_RangeCard_Description"; descriptionShort = CSTRING(Description);
picture = PATHTOF(UI\RangeCard_Icon.paa); picture = PATHTOF(UI\RangeCard_Icon.paa);
icon = "iconObject_circle"; icon = "iconObject_circle";
mapSize = 0.034; mapSize = 0.034;

View File

@ -3,7 +3,7 @@ class CfgVehicles {
class CAManBase: Man { class CAManBase: Man {
class ACE_SelfActions { class ACE_SelfActions {
class ACE_Sandbags { class ACE_Sandbags {
displayName = $STR_ACE_AC_BUILD; displayName = CSTRING(DeploySandbag);
condition = QUOTE(call FUNC(canDeploy)); condition = QUOTE(call FUNC(canDeploy));
statement = QUOTE(call FUNC(deploy)); statement = QUOTE(call FUNC(deploy));
exceptions[] = {"isNotSwimming", "isNotInside"}; exceptions[] = {"isNotSwimming", "isNotInside"};
@ -16,10 +16,10 @@ class CfgVehicles {
class Item_Base_F; class Item_Base_F;
class ACE_Item_Sandbag_empty: Item_Base_F { class ACE_Item_Sandbag_empty: Item_Base_F {
author = "$STR_ACE_Common_ACETeam"; author = ECSTRING(common,ACETeam);
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = "$STR_ACE_M_SBEMPTY"; displayName = CSTRING(sandbagEmpty_displayName);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportItems { class TransportItems {
class ACE_Sandbag_empty { class ACE_Sandbag_empty {
@ -30,10 +30,10 @@ class CfgVehicles {
}; };
/* /*
class ACE_Item_Sandbag: Item_Base_F { class ACE_Item_Sandbag: Item_Base_F {
author = "$STR_ACE_Common_ACETeam"; author = ECSTRING(common,ACETeam);
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = "$STR_ACE_Sandbag"; displayName = CSTRING(sandbag_displayName);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportItems { class TransportItems {
class ACE_Sandbag { class ACE_Sandbag {
@ -45,12 +45,12 @@ class CfgVehicles {
*/ */
class thingX; class thingX;
class ACE_SandbagObject: thingX { class ACE_SandbagObject: thingX {
author = "$STR_ACE_Common_ACETeam"; author = ECSTRING(common,ACETeam);
XEH_ENABLED; XEH_ENABLED;
scope = 1; scope = 1;
side = -1; side = -1;
model = PATHTOF(data\ace_sandbag_build.p3d); model = PATHTOF(data\ace_sandbag_build.p3d);
displayName = $STR_ACE_Sandbag; displayName = CSTRING(sandbag_displayName);
typicalCargo[] = {}; typicalCargo[] = {};
armor = 12000; // Withstand 200 5.56 bullets before sandbag hull is cheese armor = 12000; // Withstand 200 5.56 bullets before sandbag hull is cheese
mapSize = 0.4; mapSize = 0.4;
@ -76,7 +76,7 @@ class CfgVehicles {
condition = "true"; condition = "true";
class ACE_PickUp { class ACE_PickUp {
selection = ""; selection = "";
displayName = "$STR_ACE_AC_PICKUPSB"; displayName = CSTRING(PICKUPSB);
distance = 4; distance = 4;
condition = QUOTE(!(_player getVariable [ARR_2('ace_sandbag_usingSandbag',false)])); condition = QUOTE(!(_player getVariable [ARR_2('ace_sandbag_usingSandbag',false)]));
statement = QUOTE([ARR_2(_target,_player)] call FUNC(pickup)); statement = QUOTE([ARR_2(_target,_player)] call FUNC(pickup));
@ -87,7 +87,7 @@ class CfgVehicles {
}; };
class ACE_Carry { class ACE_Carry {
selection = ""; selection = "";
displayName = "$STR_ACE_AC_CARRYSB"; displayName = CSTRING(CARRYSB);
distance = 4; distance = 4;
condition = QUOTE(!(_player getVariable [ARR_2('ace_sandbag_usingSandbag',false)])); condition = QUOTE(!(_player getVariable [ARR_2('ace_sandbag_usingSandbag',false)]));
statement = QUOTE([ARR_2(_target,_player)] call FUNC(carry)); statement = QUOTE([ARR_2(_target,_player)] call FUNC(carry));

View File

@ -4,9 +4,9 @@ class CfgWeapons {
class InventoryItem_Base_F; class InventoryItem_Base_F;
class ACE_Sandbag_empty: ACE_ItemCore { class ACE_Sandbag_empty: ACE_ItemCore {
author = "$STR_ACE_Common_ACETeam"; author = ECSTRING(common,ACETeam);
scope = 2; scope = 2;
displayName = "$STR_ACE_M_SBEMPTY"; displayName = CSTRING(sandbagEmpty_displayName);
model = PATHTOF(data\ace_sandbag_m.p3d); model = PATHTOF(data\ace_sandbag_m.p3d);
picture = PATHTOF(data\m_sandbag_ca.paa); picture = PATHTOF(data\m_sandbag_ca.paa);
@ -16,9 +16,9 @@ class CfgWeapons {
}; };
/* /*
class ACE_Sandbag: ACE_ItemCore { class ACE_Sandbag: ACE_ItemCore {
author = "$STR_ACE_Common_ACETeam"; author = ECSTRING(common,ACETeam);
scope = 2; scope = 2;
displayName = "$STR_ACE_Sandbag"; displayName = CSTRING(sandbag_displayName);
model = PATHTOF(data\ace_sandbag_build.p3d); model = PATHTOF(data\ace_sandbag_build.p3d);
picture = PATHTOF(data\m_sandbag_ca.paa); picture = PATHTOF(data\m_sandbag_ca.paa);

View File

@ -46,7 +46,7 @@ _unit setVariable [QGVAR(usingSandbag), true];
GVAR(sandBag) setDir (GVAR(deployDirection) + getDir ACE_player); GVAR(sandBag) setDir (GVAR(deployDirection) + getDir ACE_player);
}, 0, []] call CBA_fnc_addPerFrameHandler; }, 0, []] call CBA_fnc_addPerFrameHandler;
[localize "STR_ACE_AC_DROP", "", ""] call EFUNC(interaction,showMouseHint); [localize LSTRING(DropSandbag), "", ""] call EFUNC(interaction,showMouseHint);
GVAR(carrier) setVariable [QGVAR(drop), GVAR(carrier) setVariable [QGVAR(drop),
[GVAR(carrier), "DefaultAction", [GVAR(carrier), "DefaultAction",

View File

@ -32,7 +32,7 @@ GVAR(deployPFH) = [{
GVAR(sandBag) setDir (GVAR(deployDirection) + getDir ACE_player); GVAR(sandBag) setDir (GVAR(deployDirection) + getDir ACE_player);
}, 0, []] call CBA_fnc_addPerFrameHandler; }, 0, []] call CBA_fnc_addPerFrameHandler;
[localize "STR_ACE_AC_CONF", localize "STR_ACE_AC_CANCEL", localize "STR_ACE_Sandbag_ScrollAction"] call EFUNC(interaction,showMouseHint); [localize LSTRING(ConfirmDeployment), localize LSTRING(CancelDeployment), localize LSTRING(ScrollAction)] call EFUNC(interaction,showMouseHint);
GVAR(placer) setVariable [QGVAR(Deploy), GVAR(placer) setVariable [QGVAR(Deploy),
[GVAR(placer), "DefaultAction", [GVAR(placer), "DefaultAction",

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project name="ACE"> <Project name="ACE">
<Package name="sandbag"> <Package name="sandbag">
<Key ID="STR_ACE_Sandbag"> <Key ID="STR_ACE_Sandbag_sandbag_displayName">
<English>Sandbag</English> <English>Sandbag</English>
<German>Sandsack</German> <German>Sandsack</German>
<Russian>Мешок с песком</Russian> <Russian>Мешок с песком</Russian>
@ -12,7 +12,7 @@
<Italian>Sacco di Sabbia</Italian> <Italian>Sacco di Sabbia</Italian>
<Hungarian>Homokzsák</Hungarian> <Hungarian>Homokzsák</Hungarian>
</Key> </Key>
<Key ID="STR_ACE_M_SBEMPTY"> <Key ID="STR_ACE_Sandbag_sandbagEmpty_displayName">
<English>Sandbag (empty)</English> <English>Sandbag (empty)</English>
<German>Sandsack (leer)</German> <German>Sandsack (leer)</German>
<Russian>Мешок с песком (пустой)</Russian> <Russian>Мешок с песком (пустой)</Russian>
@ -23,7 +23,7 @@
<Italian>Sacco di Sabbia (Vuoto)</Italian> <Italian>Sacco di Sabbia (Vuoto)</Italian>
<Hungarian>Homokzsák (üres)</Hungarian> <Hungarian>Homokzsák (üres)</Hungarian>
</Key> </Key>
<Key ID="STR_ACE_CANNOTSB"> <Key ID="STR_ACE_Sandbag_CANNOTSB">
<English>Cannot build here</English> <English>Cannot build here</English>
<German>Nicht möglich</German> <German>Nicht möglich</German>
<Russian>Установка на этом месте невозможна</Russian> <Russian>Установка на этом месте невозможна</Russian>
@ -34,7 +34,7 @@
<Italian>Impossibile costruire qui</Italian> <Italian>Impossibile costruire qui</Italian>
<Hungarian>Nem teheted ide</Hungarian> <Hungarian>Nem teheted ide</Hungarian>
</Key> </Key>
<Key ID="STR_ACE_AC_PICKUPSB"> <Key ID="STR_ACE_Sandbag_PICKUPSB">
<English>Pick up Sandbag</English> <English>Pick up Sandbag</English>
<German>Sandsack abbauen</German> <German>Sandsack abbauen</German>
<Russian>Взять мешок с песком</Russian> <Russian>Взять мешок с песком</Russian>
@ -45,7 +45,7 @@
<Italian>Prendi Sacco di Sabbia</Italian> <Italian>Prendi Sacco di Sabbia</Italian>
<Hungarian>Homokzsák felvétele</Hungarian> <Hungarian>Homokzsák felvétele</Hungarian>
</Key> </Key>
<Key ID="STR_ACE_AC_CARRYSB"> <Key ID="STR_ACE_Sandbag_CARRYSB">
<English>Carry Sandbag</English> <English>Carry Sandbag</English>
<German>Sandsack tragen</German> <German>Sandsack tragen</German>
<Russian>Нести мешок с песком</Russian> <Russian>Нести мешок с песком</Russian>
@ -56,7 +56,7 @@
<Italian>Trasporta Sacco di Sabbia</Italian> <Italian>Trasporta Sacco di Sabbia</Italian>
<Hungarian>Homokzsák cipelése</Hungarian> <Hungarian>Homokzsák cipelése</Hungarian>
</Key> </Key>
<Key ID="STR_ACE_AC_ENDCARRYSB"> <Key ID="STR_ACE_Sandbag_ENDCARRYSB">
<English>End Carrying</English> <English>End Carrying</English>
<German>Tragen beenden</German> <German>Tragen beenden</German>
<Russian>Завершить переноску</Russian> <Russian>Завершить переноску</Russian>
@ -67,7 +67,7 @@
<Italian>Fine Trasporto</Italian> <Italian>Fine Trasporto</Italian>
<Hungarian>Cipelés abbahagyása</Hungarian> <Hungarian>Cipelés abbahagyása</Hungarian>
</Key> </Key>
<Key ID="STR_ACE_AC_DROP"> <Key ID="STR_ACE_Sandbag_DropSandbag">
<English>Drop Sandbag</English> <English>Drop Sandbag</English>
<German>Sandsack ablegen</German> <German>Sandsack ablegen</German>
<Russian>Положить мешок</Russian> <Russian>Положить мешок</Russian>
@ -78,7 +78,7 @@
<Italian>Lascia Sacco di Sabbia</Italian> <Italian>Lascia Sacco di Sabbia</Italian>
<Hungarian>Homokzsák eldobása</Hungarian> <Hungarian>Homokzsák eldobása</Hungarian>
</Key> </Key>
<Key ID="STR_ACE_AC_CONF"> <Key ID="STR_ACE_Sandbag_ConfirmDeployment">
<English>Confirm Deployment</English> <English>Confirm Deployment</English>
<German>Aufbauen</German> <German>Aufbauen</German>
<Russian>Подтвердить установку</Russian> <Russian>Подтвердить установку</Russian>
@ -89,7 +89,7 @@
<Italian>Conferma Posizionamento</Italian> <Italian>Conferma Posizionamento</Italian>
<Hungarian>Lerak</Hungarian> <Hungarian>Lerak</Hungarian>
</Key> </Key>
<Key ID="STR_ACE_AC_CANCEL"> <Key ID="STR_ACE_Sandbag_CancelDeployment">
<English>Cancel Deployment</English> <English>Cancel Deployment</English>
<German>Abbrechen</German> <German>Abbrechen</German>
<Russian>Отменить установку</Russian> <Russian>Отменить установку</Russian>
@ -100,7 +100,7 @@
<Italian>Cancella Posizionamento</Italian> <Italian>Cancella Posizionamento</Italian>
<Hungarian>Visszavonás</Hungarian> <Hungarian>Visszavonás</Hungarian>
</Key> </Key>
<Key ID="STR_ACE_AC_BUILD"> <Key ID="STR_ACE_Sandbag_DeploySandbag">
<English>Deploy Sandbag</English> <English>Deploy Sandbag</English>
<German>Sandsack aufbauen</German> <German>Sandsack aufbauen</German>
<Russian>Установить мешок с песком</Russian> <Russian>Установить мешок с песком</Russian>
@ -111,7 +111,7 @@
<Italian>Posiziona Sacco di Sabbia</Italian> <Italian>Posiziona Sacco di Sabbia</Italian>
<Hungarian>Homokzsák lerakása</Hungarian> <Hungarian>Homokzsák lerakása</Hungarian>
</Key> </Key>
<Key ID="STR_ACE_V_SANDBOX"> <Key ID="STR_ACE_Sandbag_SANDBOX">
<English>Sandbag Box</English> <English>Sandbag Box</English>
<German>Sandsack Kiste</German> <German>Sandsack Kiste</German>
<Russian>Ящик мешков с песком</Russian> <Russian>Ящик мешков с песком</Russian>
@ -122,7 +122,7 @@
<Italian>Contenitore Sacchi di Sabbia</Italian> <Italian>Contenitore Sacchi di Sabbia</Italian>
<Hungarian>Homokzsákos láda</Hungarian> <Hungarian>Homokzsákos láda</Hungarian>
</Key> </Key>
<Key ID="STR_ACE_NOSAND"> <Key ID="STR_ACE_Sandbag_NOSAND">
<English>Here is no sand</English> <English>Here is no sand</English>
<German>Hier gibt es keinen Sand</German> <German>Hier gibt es keinen Sand</German>
<Russian>Здесь нет песка</Russian> <Russian>Здесь нет песка</Russian>

View File

@ -2,45 +2,45 @@ class ACE_Settings {
class GVAR(enabled) { class GVAR(enabled) {
typeName = "BOOL"; typeName = "BOOL";
value = 1; value = 1;
displayName = "$STR_ACE_ViewDistance_enabled_DisplayName"; displayName = CSTRING(enabled_DisplayName);
description = "$STR_ACE_ViewDistance_enabled_Description"; description = CSTRING(enabled_Description);
}; };
class GVAR(viewDistanceOnFoot) { class GVAR(viewDistanceOnFoot) {
typeName = "SCALAR"; typeName = "SCALAR";
isClientSettable = 1; isClientSettable = 1;
value = 0; // index, NOT value // Can set it to client's actual viewdistance in the init function once ACE_Settings supports numbers (if ever). value = 0; // index, NOT value // Can set it to client's actual viewdistance in the init function once ACE_Settings supports numbers (if ever).
values[] = {"$STR_ACE_ViewDistance_videosettings","500","1000","1500","2000","2500","3000","3500","4000","5000","6000","7000","8000","9000","10000"}; // Values also need to be changed in functions/fnc_returnValue.sqf values[] = {CSTRING(videosettings),"500","1000","1500","2000","2500","3000","3500","4000","5000","6000","7000","8000","9000","10000"}; // Values also need to be changed in functions/fnc_returnValue.sqf
displayName = "$STR_ACE_ViewDistance_onFoot_DisplayName"; displayName = CSTRING(onFoot_DisplayName);
description = "$STR_ACE_ViewDistance_onFoot_Description"; description = CSTRING(onFoot_Description);
}; };
class GVAR(viewDistanceLandVehicle) { class GVAR(viewDistanceLandVehicle) {
typeName = "SCALAR"; typeName = "SCALAR";
isClientSettable = 1; isClientSettable = 1;
value = 0; // index, NOT value value = 0; // index, NOT value
values[] = {"$STR_ACE_ViewDistance_videosettings","500","1000","1500","2000","2500","3000","3500","4000","5000","6000","7000","8000","9000","10000"}; // Values also need to be changed in functions/fnc_returnValue.sqf values[] = {CSTRING(videosettings),"500","1000","1500","2000","2500","3000","3500","4000","5000","6000","7000","8000","9000","10000"}; // Values also need to be changed in functions/fnc_returnValue.sqf
displayName = "$STR_ACE_ViewDistance_landVehicle_DisplayName"; displayName = CSTRING(landVehicle_DisplayName);
description = "$STR_ACE_ViewDistance_landVehicle_Description"; description = CSTRING(landVehicle_Description);
}; };
class GVAR(viewDistanceAirVehicle) { class GVAR(viewDistanceAirVehicle) {
typeName = "SCALAR"; typeName = "SCALAR";
isClientSettable = 1; isClientSettable = 1;
value = 0; // index, NOT value value = 0; // index, NOT value
values[] = {"$STR_ACE_ViewDistance_videosettings","500","1000","1500","2000","2500","3000","3500","4000","5000","6000","7000","8000","9000","10000"}; // Values also need to be changed in functions/fnc_returnValue.sqf values[] = {CSTRING(videosettings),"500","1000","1500","2000","2500","3000","3500","4000","5000","6000","7000","8000","9000","10000"}; // Values also need to be changed in functions/fnc_returnValue.sqf
displayName = "$STR_ACE_ViewDistance_airVehicle_DisplayName"; displayName = CSTRING(airVehicle_DisplayName);
description = "$STR_ACE_ViewDistance_airVehicle_Description"; description = CSTRING(airVehicle_Description);
}; };
class GVAR(limitViewDistance) { class GVAR(limitViewDistance) {
typeName = "SCALAR"; typeName = "SCALAR";
value = 10000; // Value, NOT index. 10000 is the maximum in A3 value = 10000; // Value, NOT index. 10000 is the maximum in A3
displayName = "$STR_ACE_ViewDistance_limit_DisplayName"; displayName = CSTRING(limit_DisplayName);
description = "$STR_ACE_ViewDistance_limit_setting"; description = CSTRING(limit_setting);
}; };
class GVAR(objectViewDistanceCoeff) { class GVAR(objectViewDistanceCoeff) {
typeName = "SCALAR"; typeName = "SCALAR";
isClientSettable = 1; isClientSettable = 1;
value = 0; // index. Actual coefficient is given by functions/fnc_returnObjectCoeff.sqf value = 0; // index. Actual coefficient is given by functions/fnc_returnObjectCoeff.sqf
values[] = {"$STR_ACE_ViewDistance_object_off","$STR_ACE_ViewDistance_object_verylow","$STR_ACE_ViewDistance_object_low","$STR_ACE_ViewDistance_object_medium","$STR_ACE_ViewDistance_object_high","$STR_ACE_ViewDistance_object_veryhigh"}; values[] = {CSTRING(object_off),CSTRING(object_verylow),CSTRING(object_low),CSTRING(object_medium),CSTRING(object_high),CSTRING(object_veryhigh)};
displayName = "$STR_ACE_ViewDistance_object_DisplayName"; displayName = CSTRING(object_DisplayName);
description = "$STR_ACE_ViewDistance_object_Description"; description = CSTRING(object_Description);
}; };
}; };

View File

@ -4,26 +4,26 @@ class CfgVehicles {
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
category = "ACE"; category = "ACE";
function = QUOTE(DFUNC(initModule)); function = QUOTE(DFUNC(initModule));
displayName = "$STR_ACE_ViewDistance_Module_DisplayName"; displayName = CSTRING(Module_DisplayName);
scope = 2; scope = 2;
isGlobal = 1; isGlobal = 1;
//icon = ""; // needs an icon //icon = ""; // needs an icon
class Arguments { class Arguments {
class moduleViewDistanceEnabled { class moduleViewDistanceEnabled {
displayName = "$STR_ACE_ViewDistance_enabled_DisplayName"; displayName = CSTRING(enabled_DisplayName);
description = "$STR_ACE_ViewDistance_enabled_Description"; description = CSTRING(enabled_Description);
typeName = "BOOL"; typeName = "BOOL";
defaultValue = 1; defaultValue = 1;
}; };
class moduleViewDistanceLimit { class moduleViewDistanceLimit {
displayName = "$STR_ACE_ViewDistance_limit_DisplayName"; displayName = CSTRING(limit_DisplayName);
description = "$STR_ACE_ViewDistance_limit_Description"; description = CSTRING(limit_Description);
typeName = "NUMBER"; typeName = "NUMBER";
defaultValue = 10000; defaultValue = 10000;
}; };
}; };
class ModuleDescription { class ModuleDescription {
description = "$STR_ACE_ViewDistance_Module_Description"; description = CSTRING(Module_Description);
sync[] = {}; sync[] = {};
}; };
}; };

View File

@ -7,7 +7,7 @@ class CfgPatches {
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_weather"}; requiredAddons[] = {"ace_weather"};
versionDesc = "ACE Wind Deflection"; versionDesc = "ACE Wind Deflection";
author[] = {$STR_ACE_Common_ACETeam, "Glowbal", "Ruthberg"}; author[] = {ECSTRING(common,ACETeam), "Glowbal", "Ruthberg"};
authorUrl = "http://csemod.com"; authorUrl = "http://csemod.com";
VERSION_CONFIG; VERSION_CONFIG;
}; };

View File

@ -4,7 +4,7 @@ class CfgVehicles {
author[] = {"Spooner", "tcp"}; author[] = {"Spooner", "tcp"};
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = "$STR_ACE_Yardage450_DisplayName"; displayName = CSTRING(DisplayName);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportWeapons { class TransportWeapons {
MACRO_ADDWEAPON(ACE_Yardage450,1); MACRO_ADDWEAPON(ACE_Yardage450,1);

View File

@ -2,9 +2,9 @@
class CfgWeapons { class CfgWeapons {
class Binocular; class Binocular;
class ACE_Yardage450: Binocular { class ACE_Yardage450: Binocular {
author = "$STR_ACE_Common_ACETeam"; author = ECSTRING(common,ACETeam);
displayName = "$STR_ACE_Yardage450_DisplayName"; displayName = CSTRING(DisplayName);
descriptionShort = "$STR_ACE_Yardage450_Description"; descriptionShort = CSTRING(Description);
model = PATHTOF(data\ace_yardage_pro_450.p3d); model = PATHTOF(data\ace_yardage_pro_450.p3d);
modelOptics = PATHTOF(data\bushnell_optic.p3d); modelOptics = PATHTOF(data\bushnell_optic.p3d);
picture = PATHTOF(UI\w_bushnell_ca.paa); picture = PATHTOF(UI\w_bushnell_ca.paa);