mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add ACE Flags (#6394)
This commit is contained in:
parent
c0b9a31deb
commit
fdf6100fb6
@ -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)));
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -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"};
|
||||
|
BIN
addons/common/data/ace_flag_black_ca.paa
Normal file
BIN
addons/common/data/ace_flag_black_ca.paa
Normal file
Binary file not shown.
BIN
addons/common/data/ace_flag_black_preview.jpg
Normal file
BIN
addons/common/data/ace_flag_black_preview.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.3 KiB |
BIN
addons/common/data/ace_flag_white_ca.paa
Normal file
BIN
addons/common/data/ace_flag_white_ca.paa
Normal file
Binary file not shown.
BIN
addons/common/data/ace_flag_white_preview.jpg
Normal file
BIN
addons/common/data/ace_flag_white_preview.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user