Add ACE Flags (#6394)

This commit is contained in:
mharis001 2018-06-18 16:01:32 -04:00 committed by PabstMirror
parent c0b9a31deb
commit fdf6100fb6
7 changed files with 35 additions and 1 deletions

View File

@ -147,4 +147,32 @@ class CfgVehicles {
scope = 1;
maximumLoad = 1E6;
};
class FlagCarrier_Asym;
class ACE_Flag_Black: FlagCarrier_Asym {
author = CSTRING(ACETeam);
displayName = CSTRING(FlagBlack);
scope = 2;
scopeCurator = 2;
editorPreview = QPATHTOF(data\ace_flag_black_preview.jpg);
class EventHandlers {
init = QUOTE((_this select 0) setFlagTexture QUOTE(QPATHTOF(data\ace_flag_black_ca.paa)));
};
class ACE_Actions {
class ACE_MainActions {
displayName = ECSTRING(interaction,MainAction);
condition = "true";
position = "[-0.1, -0.35, -2.6]";
distance = 2;
};
};
};
class ACE_Flag_White: ACE_Flag_Black {
author = CSTRING(ACETeam);
displayName = CSTRING(FlagWhite);
editorPreview = QPATHTOF(data\ace_flag_white_preview.jpg);
class EventHandlers {
init = QUOTE((_this select 0) setFlagTexture QUOTE(QPATHTOF(data\ace_flag_white_ca.paa)));
};
};
};

View File

@ -3,7 +3,7 @@
class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {"ACE_Box_Misc", "ACE_bananaItem"};
units[] = {"ACE_Box_Misc", "ACE_bananaItem", "ACE_Flag_Black", "ACE_Flag_White"};
weapons[] = {"ACE_ItemCore","ACE_FakePrimaryWeapon", "ACE_Banana"};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_main","ace_modules"};

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@ -1179,5 +1179,11 @@
<Chinesesimp>允许ACE脚本去控制音乐的音量。</Chinesesimp>
<Japanese>ACE スプリントへ音量低下を許可します。</Japanese>
</Key>
<Key ID="STR_ACE_Common_FlagBlack">
<English>Flag (ACE - Black)</English>
</Key>
<Key ID="STR_ACE_Common_FlagWhite">
<English>Flag (ACE - White)</English>
</Key>
</Package>
</Project>