Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tagging - Add new colors to sprays and new tag and tweak stringtables. #9443

Merged
merged 2 commits into from
Oct 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 44 additions & 4 deletions addons/tagging/ACE_Tags.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,41 @@

class ACE_Tags {
class ACE_XBlack {
displayName = CSTRING(XBlack);
displayName = CSTRING(x);
requiredItem = "ACE_SpraypaintBlack";
textures[] = {QPATHTOF(UI\tags\black\0.paa), QPATHTOF(UI\tags\black\1.paa), QPATHTOF(UI\tags\black\2.paa)};
icon = QPATHTOF(UI\tags\black\0.paa);
};
class ACE_XRed {
displayName = CSTRING(XRed);
displayName = CSTRING(x);
requiredItem = "ACE_SpraypaintRed";
textures[] = {QPATHTOF(UI\tags\red\0.paa), QPATHTOF(UI\tags\red\1.paa), QPATHTOF(UI\tags\red\2.paa)};
icon = QPATHTOF(UI\tags\red\0.paa);
};
class ACE_XGreen {
displayName = CSTRING(XGreen);
displayName = CSTRING(x);
requiredItem = "ACE_SpraypaintGreen";
textures[] = {QPATHTOF(UI\tags\green\0.paa), QPATHTOF(UI\tags\green\1.paa), QPATHTOF(UI\tags\green\2.paa)};
icon = QPATHTOF(UI\tags\green\0.paa);
};
class ACE_XBlue {
displayName = CSTRING(XBlue);
displayName = CSTRING(x);
requiredItem = "ACE_SpraypaintBlue";
textures[] = {QPATHTOF(UI\tags\blue\0.paa), QPATHTOF(UI\tags\blue\1.paa), QPATHTOF(UI\tags\blue\2.paa)};
icon = QPATHTOF(UI\tags\blue\0.paa);
};
class ACE_XYellow {
displayName = CSTRING(x);
requiredItem = "ACE_SpraypaintYellow";
textures[] = {QPATHTOF(UI\tags\yellow\0.paa), QPATHTOF(UI\tags\yellow\1.paa), QPATHTOF(UI\tags\yellow\2.paa)};
icon = QPATHTOF(UI\tags\yellow\0.paa);
};
class ACE_XWhite {
displayName = CSTRING(x);
requiredItem = "ACE_SpraypaintWhite";
textures[] = {QPATHTOF(UI\tags\white\0.paa), QPATHTOF(UI\tags\white\1.paa), QPATHTOF(UI\tags\white\2.paa)};
icon = QPATHTOF(UI\tags\white\0.paa);
};

TAG(arrow_up,Black);
TAG(arrow_down,Black);
Expand All @@ -40,6 +52,7 @@ class ACE_Tags {
TAG(cross,Black);
TAG(diamond,Black);
TAG(square,Black);
TAG(square_filled,Black);
TAG(triangle,Black);
TAG(triangle_inverted,Black);

Expand All @@ -51,6 +64,7 @@ class ACE_Tags {
TAG(cross,Blue);
TAG(diamond,Blue);
TAG(square,Blue);
TAG(square_filled,Blue);
TAG(triangle,Blue);
TAG(triangle_inverted,Blue);

Expand All @@ -62,6 +76,7 @@ class ACE_Tags {
TAG(cross,Green);
TAG(diamond,Green);
TAG(square,Green);
TAG(square_filled,Green);
TAG(triangle,Green);
TAG(triangle_inverted,Green);

Expand All @@ -73,6 +88,31 @@ class ACE_Tags {
TAG(cross,Red);
TAG(diamond,Red);
TAG(square,Red);
TAG(square_filled,Red);
TAG(triangle,Red);
TAG(triangle_inverted,Red);

TAG(arrow_up,Yellow);
TAG(arrow_down,Yellow);
TAG(arrow_left,Yellow);
TAG(arrow_right,Yellow);
TAG(circle,Yellow);
TAG(cross,Yellow);
TAG(diamond,Yellow);
TAG(square,Yellow);
TAG(square_filled,Yellow);
TAG(triangle,Yellow);
TAG(triangle_inverted,Yellow);

TAG(arrow_up,White);
TAG(arrow_down,White);
TAG(arrow_left,White);
TAG(arrow_right,White);
TAG(circle,White);
TAG(cross,White);
TAG(diamond,White);
TAG(square,White);
TAG(square_filled,White);
TAG(triangle,White);
TAG(triangle_inverted,White);
};
14 changes: 14 additions & 0 deletions addons/tagging/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,18 @@ class CfgVehicles {
MACRO_ADDITEM(ACE_SpraypaintBlue,1);
};
};
class ACE_Item_SpraypaintYellow: ACE_Item_SpraypaintBlack {
displayName = CSTRING(SpraypaintYellow);
class TransportItems {
MACRO_ADDITEM(ACE_SpraypaintYellow,1);
};
};
class ACE_Item_SpraypaintWhite: ACE_Item_SpraypaintBlack {
displayName = CSTRING(SpraypaintWhite);
class TransportItems {
MACRO_ADDITEM(ACE_SpraypaintWhite,1);
};
};

class Box_NATO_Support_F;
class ACE_Box_Misc: Box_NATO_Support_F {
Expand All @@ -102,6 +114,8 @@ class CfgVehicles {
MACRO_ADDITEM(ACE_SpraypaintRed,5);
MACRO_ADDITEM(ACE_SpraypaintBlue,5);
MACRO_ADDITEM(ACE_SpraypaintGreen,5);
MACRO_ADDITEM(ACE_SpraypaintYellow,5);
MACRO_ADDITEM(ACE_SpraypaintWhite,5);
};
};
};
12 changes: 12 additions & 0 deletions addons/tagging/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,16 @@ class CfgWeapons {
hiddenSelectionsTextures[] = {QPATHTOF(data\spraycanBlue_co.paa)};
GVAR(textColor) = "0000FFFE";
};
class ACE_SpraypaintYellow: ACE_SpraypaintBlack {
displayname = CSTRING(spraypaintYellow);
picture = QPATHTOF(UI\items\itemSpraypaintYellow.paa);
hiddenSelectionsTextures[] = {QPATHTOF(data\spraycanYellow_co.paa)};
GVAR(textColor) = "FFFF00FE";
};
class ACE_SpraypaintWhite: ACE_SpraypaintBlack {
displayname = CSTRING(spraypaintWhite);
picture = QPATHTOF(UI\items\itemSpraypaintWhite.paa);
hiddenSelectionsTextures[] = {QPATHTOF(data\spraycanWhite_co.paa)};
GVAR(textColor) = "FFFFFFFE";
};
};
Binary file added addons/tagging/UI/icons/iconTaggingWhite.paa
Binary file not shown.
Binary file added addons/tagging/UI/icons/iconTaggingYellow.paa
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added addons/tagging/UI/tags/black/square_filled.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/blue/square_filled.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/green/square_filled.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/red/square_filled.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/white/0.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/white/1.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/white/2.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/white/arrow_down.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/white/arrow_left.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/white/arrow_right.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/white/arrow_up.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/white/circle.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/white/cross.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/white/diamond.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/white/square.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/white/square_filled.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/white/triangle.paa
Binary file not shown.
Binary file not shown.
Binary file added addons/tagging/UI/tags/yellow/0.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/yellow/1.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/yellow/2.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/yellow/arrow_down.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/yellow/arrow_left.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/yellow/arrow_right.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/yellow/arrow_up.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/yellow/circle.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/yellow/cross.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/yellow/diamond.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/yellow/square.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/yellow/square_filled.paa
Binary file not shown.
Binary file added addons/tagging/UI/tags/yellow/triangle.paa
Binary file not shown.
Binary file not shown.
Binary file added addons/tagging/data/spraycanWhite_co.paa
Binary file not shown.
Binary file added addons/tagging/data/spraycanYellow_co.paa
Binary file not shown.
Loading