diff --git a/addons/entrenchingtool/$PBOPREFIX$ b/addons/entrenchingtool/$PBOPREFIX$ new file mode 100644 index 0000000000..564a2fcf8e --- /dev/null +++ b/addons/entrenchingtool/$PBOPREFIX$ @@ -0,0 +1 @@ +z\ace\addons\entrenchingtool \ No newline at end of file diff --git a/addons/entrenchingtool/CfgWeapons.hpp b/addons/entrenchingtool/CfgWeapons.hpp new file mode 100644 index 0000000000..39016cf7e6 --- /dev/null +++ b/addons/entrenchingtool/CfgWeapons.hpp @@ -0,0 +1,16 @@ +class CfgWeapons { + class InventoryItem_Base_F; + class ACE_ItemCore; + + class ACE_entrenchingtool: ACE_ItemCore { + author = ECSTRING(common,ACETeam); + displayName = CSTRING(EntrenchingToolName); + descriptionShort = CSTRING(EntrenchingToolDescription); + model = QUOTE(PATHTOF(data\ace_entrchtool.p3d)); + picture = QUOTE(PATHTOF(ui\w_entrchtool_ca.paa)); + scope = 2; + class ItemInfo: InventoryItem_Base_F { + mass = 10; + }; + }; +}; \ No newline at end of file diff --git a/addons/entrenchingtool/README.md b/addons/entrenchingtool/README.md new file mode 100644 index 0000000000..052cc0d285 --- /dev/null +++ b/addons/entrenchingtool/README.md @@ -0,0 +1,11 @@ +ace_entrenchingtool +================= + +Adds item 'ACE_entrenchingtool' + + +## Maintainers + +The people responsible for merging changes to this component or answering potential questions. + +- [Grey](https://github.com/Grey-Soldierman) diff --git a/addons/entrenchingtool/UI/w_entrchtool_ca.paa b/addons/entrenchingtool/UI/w_entrchtool_ca.paa new file mode 100644 index 0000000000..3dcc524b02 Binary files /dev/null and b/addons/entrenchingtool/UI/w_entrchtool_ca.paa differ diff --git a/addons/entrenchingtool/config.cpp b/addons/entrenchingtool/config.cpp new file mode 100644 index 0000000000..b34c6df929 --- /dev/null +++ b/addons/entrenchingtool/config.cpp @@ -0,0 +1,14 @@ +#include "script_component.hpp" + +class CfgPatches { + class ADDON { + units[] = {}; + weapons[] = {"ACE_entrenchingtool"}; + requiredVersion = REQUIRED_VERSION; + requiredAddons[] = {"ace_interaction"}; + author[] = {"Grey"}; + authorUrl = ""; + VERSION_CONFIG; + }; +}; +#include "CfgWeapons.hpp" \ No newline at end of file diff --git a/addons/entrenchingtool/data/ace_entrchtool.p3d b/addons/entrenchingtool/data/ace_entrchtool.p3d new file mode 100644 index 0000000000..9652b16c10 Binary files /dev/null and b/addons/entrenchingtool/data/ace_entrchtool.p3d differ diff --git a/addons/entrenchingtool/data/entrchtool.rvmat b/addons/entrenchingtool/data/entrchtool.rvmat new file mode 100644 index 0000000000..0ed3384fa9 --- /dev/null +++ b/addons/entrenchingtool/data/entrchtool.rvmat @@ -0,0 +1,80 @@ +ambient[]={1,1,1,1}; +diffuse[]={1,1,1,1}; +forcedDiffuse[]={0,0,0,0}; +emmisive[]={0,0,0,1}; +specular[]={1,1,1,1}; +specularPower=100; +PixelShaderID="Super"; +VertexShaderID="Super"; +class Stage1 +{ + texture="z\ace\addons\entrenchingtool\data\entrchtool_nohq.paa"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage2 +{ + texture="#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage3 +{ + texture="#(argb,8,8,3)color(0,0,0,0,MC)"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage4 +{ + texture="z\ace\addons\entrenchingtool\data\entrchtool_as.paa"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage5 +{ + texture="z\ace\addons\entrenchingtool\data\entrchtool_smdi.paa"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; +class Stage6 +{ + texture="a3\data_f\env_co.paa"; + uvSource="tex"; + class uvTransform + { + aside[]={1,0,0}; + up[]={0,1,0}; + dir[]={0,0,0}; + pos[]={0,0,0}; + }; +}; diff --git a/addons/entrenchingtool/data/entrchtool_as.paa b/addons/entrenchingtool/data/entrchtool_as.paa new file mode 100644 index 0000000000..4d7b99b49c Binary files /dev/null and b/addons/entrenchingtool/data/entrchtool_as.paa differ diff --git a/addons/entrenchingtool/data/entrchtool_co.paa b/addons/entrenchingtool/data/entrchtool_co.paa new file mode 100644 index 0000000000..716aca9a90 Binary files /dev/null and b/addons/entrenchingtool/data/entrchtool_co.paa differ diff --git a/addons/entrenchingtool/data/entrchtool_nohq.paa b/addons/entrenchingtool/data/entrchtool_nohq.paa new file mode 100644 index 0000000000..a9f354d77c Binary files /dev/null and b/addons/entrenchingtool/data/entrchtool_nohq.paa differ diff --git a/addons/entrenchingtool/data/entrchtool_smdi.paa b/addons/entrenchingtool/data/entrchtool_smdi.paa new file mode 100644 index 0000000000..cebf184c54 Binary files /dev/null and b/addons/entrenchingtool/data/entrchtool_smdi.paa differ diff --git a/addons/entrenchingtool/script_component.hpp b/addons/entrenchingtool/script_component.hpp new file mode 100644 index 0000000000..7741cf4424 --- /dev/null +++ b/addons/entrenchingtool/script_component.hpp @@ -0,0 +1,4 @@ +#define COMPONENT entrenchingtool +#include "\z\ace\addons\main\script_mod.hpp" + +#include "\z\ace\addons\main\script_macros.hpp" \ No newline at end of file diff --git a/addons/entrenchingtool/stringtable.xml b/addons/entrenchingtool/stringtable.xml new file mode 100644 index 0000000000..131965a5fc --- /dev/null +++ b/addons/entrenchingtool/stringtable.xml @@ -0,0 +1,29 @@ + + + + + Entrenching Tool + + + + + + + + + + + + Entrenching Tool + + + + + + + + + + + +