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 GVAR(allowHandcuffOwnSide) {
displayName = "$STR_ACE_Captives_ModuleSettings_handcuffSide_name";
description = "$STR_ACE_Captives_ModuleSettings_handcuffSide_description";
displayName = CSTRING(ModuleSettings_handcuffSide_name);
description = CSTRING(ModuleSettings_handcuffSide_description);
typeName = "BOOL";
value = 1;
};
class GVAR(allowSurrender) {
displayName = "$STR_ACE_Captives_ModuleSettings_allowSurrender_name";
description = "$STR_ACE_Captives_ModuleSettings_allowSurrender_description";
displayName = CSTRING(ModuleSettings_allowSurrender_name);
description = CSTRING(ModuleSettings_allowSurrender_description);
typeName = "BOOL";
value = 1;
};

View File

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

View File

@ -22,7 +22,7 @@ class ACE_Settings {
value = 0;
typeName = "SCALAR";
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) {
value = 0;
@ -38,7 +38,7 @@ class ACE_Settings {
value = 1;
typeName = "BOOL";
isClientSettable = 1;
displayName = "$STR_ACE_Common_EnableNumberHotkeys";
displayName = CSTRING(EnableNumberHotkeys);
};*/
class GVAR(settingFeedbackIcons) {
value = 1;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -105,7 +105,7 @@ class RscACE_SelectAnItem {
h = 0.1;
y = 0.605;
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;
colorBackground[] = {0,0,0,0};
colorBackgroundDisabled[] = {0,0,0,0};
@ -119,7 +119,7 @@ class RscACE_SelectAnItem {
h = 0.1;
w = 0.15;
style = 2;
text = $STR_ACE_Interaction_MakeSelection;
text = CSTRING(MakeSelection);
action = "call ACE_Interaction_fnc_hideMenu;";
colorBackground[] = {0,0,0,0};
colorBackgroundDisabled[] = {0,0,0,0};
@ -170,7 +170,7 @@ class RscTitles {
class SelectText: RscInteractionText{
idc = 1000;
y = 17 * GUI_GRID_H;
text = $STR_ACE_Interaction_MakeSelection;
text = CSTRING(MakeSelection);
};
class GoBackIcon: RscInteractionHelperIcon{
idc = 1201;
@ -180,7 +180,7 @@ class RscTitles {
class GoBackText: RscInteractionText{
idc = 1001;
y = 19 * GUI_GRID_H;
text = $STR_ACE_Interaction_Back;
text = CSTRING(Back);
};
class ScrollIcon: RscInteractionHelperIcon{
idc = 1202;
@ -190,7 +190,7 @@ class RscTitles {
class ScrollText: RscInteractionText{
idc = 1002;
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 ACE_Kestrel4500: ACE_ItemCore {
author[] = {$STR_ACE_Common_ACETeam, "Ruthberg"};
author[] = {ECSTRING(common,ACETeam), "Ruthberg"};
scope = 2;
displayName = CSTRING(Name);
descriptionShort = CSTRING(Description);

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -103,7 +103,7 @@ class GVAR(triageCard) {
y = 0;
w = 0;
h = 0;
text = $STR_ACE_Medical_Triage_Status_None;
text = CSTRING(Triage_Status_None);
style = 0x02;
size = "(((((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;
w = 0;
h = 0;
text = $STR_ACE_Medical_Triage_Status_Minor;
text = CSTRING(Triage_Status_Minor);
style = 0x02;
size = "(((((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;
w = 0;
h = 0;
text = $STR_ACE_Medical_Triage_Status_Delayed;
text = CSTRING(Triage_Status_Delayed);
style = 0x02;
size = "(((((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;
w = 0;
h = 0;
text = $STR_ACE_Medical_Triage_Status_Immediate;
text = CSTRING(Triage_Status_Immediate);
style = 0x02;
size = "(((((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;
w = 0;
h = 0;
text = $STR_ACE_Medical_Triage_Status_Deceased;
text = CSTRING(Triage_Status_Deceased);
style = 0x02;
size = "(((((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"};
scope = 2;
scopeCurator = 2;
displayName = "$STR_ACE_MX2A_DisplayName";
displayName = CSTRING(DisplayName);
vehicleClass = "Items";
class TransportWeapons {
MACRO_ADDWEAPON(ACE_MX2A,1);

View File

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

View File

@ -250,10 +250,10 @@ class ACE_settingsMenu {
};
class action_debug: actionClose {
idc = 1102;
text = "$STR_ACE_OptionsMenu_DumpDebug";
text = CSTRING(DumpDebug);
x = X_PART(26.5);
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_Weapon {
class GVAR(copyRangeCard) {
displayName = "$STR_ACE_RangeCard_CopyRangeCard";
displayName = CSTRING(CopyRangeCard);
distance = 2.0;
condition = QUOTE(_target call FUNC(canCopy));
statement = QUOTE(_target call FUNC(updateClassNames));
@ -15,7 +15,7 @@ class CfgVehicles {
class ACE_SelfActions {
class ACE_Equipment {
class GVAR(open) {
displayName = "$STR_ACE_RangeCard_OpenRangeCard";
displayName = CSTRING(OpenRangeCard);
condition = QUOTE(call FUNC(canShow) && !GVAR(RangeCardOpened));
statement = QUOTE(false call FUNC(openRangeCard));
showDisabled = 0;
@ -24,7 +24,7 @@ class CfgVehicles {
exceptions[] = {"notOnMap"};
};
class GVAR(openCopy) {
displayName = "$STR_ACE_RangeCard_OpenRangeCardCopy";
displayName = CSTRING(OpenRangeCardCopy);
condition = QUOTE(call FUNC(canShowCopy) && !GVAR(RangeCardOpened));
statement = QUOTE(true call FUNC(openRangeCard));
showDisabled = 0;

View File

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

View File

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

View File

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

View File

@ -32,7 +32,7 @@ GVAR(deployPFH) = [{
GVAR(sandBag) setDir (GVAR(deployDirection) + getDir ACE_player);
}, 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), "DefaultAction",

View File

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

View File

@ -2,45 +2,45 @@ class ACE_Settings {
class GVAR(enabled) {
typeName = "BOOL";
value = 1;
displayName = "$STR_ACE_ViewDistance_enabled_DisplayName";
description = "$STR_ACE_ViewDistance_enabled_Description";
displayName = CSTRING(enabled_DisplayName);
description = CSTRING(enabled_Description);
};
class GVAR(viewDistanceOnFoot) {
typeName = "SCALAR";
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).
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
displayName = "$STR_ACE_ViewDistance_onFoot_DisplayName";
description = "$STR_ACE_ViewDistance_onFoot_Description";
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 = CSTRING(onFoot_DisplayName);
description = CSTRING(onFoot_Description);
};
class GVAR(viewDistanceLandVehicle) {
typeName = "SCALAR";
isClientSettable = 1;
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
displayName = "$STR_ACE_ViewDistance_landVehicle_DisplayName";
description = "$STR_ACE_ViewDistance_landVehicle_Description";
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 = CSTRING(landVehicle_DisplayName);
description = CSTRING(landVehicle_Description);
};
class GVAR(viewDistanceAirVehicle) {
typeName = "SCALAR";
isClientSettable = 1;
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
displayName = "$STR_ACE_ViewDistance_airVehicle_DisplayName";
description = "$STR_ACE_ViewDistance_airVehicle_Description";
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 = CSTRING(airVehicle_DisplayName);
description = CSTRING(airVehicle_Description);
};
class GVAR(limitViewDistance) {
typeName = "SCALAR";
value = 10000; // Value, NOT index. 10000 is the maximum in A3
displayName = "$STR_ACE_ViewDistance_limit_DisplayName";
description = "$STR_ACE_ViewDistance_limit_setting";
displayName = CSTRING(limit_DisplayName);
description = CSTRING(limit_setting);
};
class GVAR(objectViewDistanceCoeff) {
typeName = "SCALAR";
isClientSettable = 1;
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"};
displayName = "$STR_ACE_ViewDistance_object_DisplayName";
description = "$STR_ACE_ViewDistance_object_Description";
values[] = {CSTRING(object_off),CSTRING(object_verylow),CSTRING(object_low),CSTRING(object_medium),CSTRING(object_high),CSTRING(object_veryhigh)};
displayName = CSTRING(object_DisplayName);
description = CSTRING(object_Description);
};
};

View File

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

View File

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

View File

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

View File

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