mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added Entrenching Tool
This commit is contained in:
parent
b6ce169170
commit
d78caf9255
1
addons/entrenchingtool/$PBOPREFIX$
Normal file
1
addons/entrenchingtool/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
z\ace\addons\entrenchingtool
|
16
addons/entrenchingtool/CfgWeapons.hpp
Normal file
16
addons/entrenchingtool/CfgWeapons.hpp
Normal file
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
11
addons/entrenchingtool/README.md
Normal file
11
addons/entrenchingtool/README.md
Normal file
@ -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)
|
BIN
addons/entrenchingtool/UI/w_entrchtool_ca.paa
Normal file
BIN
addons/entrenchingtool/UI/w_entrchtool_ca.paa
Normal file
Binary file not shown.
14
addons/entrenchingtool/config.cpp
Normal file
14
addons/entrenchingtool/config.cpp
Normal file
@ -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"
|
BIN
addons/entrenchingtool/data/ace_entrchtool.p3d
Normal file
BIN
addons/entrenchingtool/data/ace_entrchtool.p3d
Normal file
Binary file not shown.
80
addons/entrenchingtool/data/entrchtool.rvmat
Normal file
80
addons/entrenchingtool/data/entrchtool.rvmat
Normal file
@ -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};
|
||||
};
|
||||
};
|
BIN
addons/entrenchingtool/data/entrchtool_as.paa
Normal file
BIN
addons/entrenchingtool/data/entrchtool_as.paa
Normal file
Binary file not shown.
BIN
addons/entrenchingtool/data/entrchtool_co.paa
Normal file
BIN
addons/entrenchingtool/data/entrchtool_co.paa
Normal file
Binary file not shown.
BIN
addons/entrenchingtool/data/entrchtool_nohq.paa
Normal file
BIN
addons/entrenchingtool/data/entrchtool_nohq.paa
Normal file
Binary file not shown.
BIN
addons/entrenchingtool/data/entrchtool_smdi.paa
Normal file
BIN
addons/entrenchingtool/data/entrchtool_smdi.paa
Normal file
Binary file not shown.
4
addons/entrenchingtool/script_component.hpp
Normal file
4
addons/entrenchingtool/script_component.hpp
Normal file
@ -0,0 +1,4 @@
|
||||
#define COMPONENT entrenchingtool
|
||||
#include "\z\ace\addons\main\script_mod.hpp"
|
||||
|
||||
#include "\z\ace\addons\main\script_macros.hpp"
|
29
addons/entrenchingtool/stringtable.xml
Normal file
29
addons/entrenchingtool/stringtable.xml
Normal file
@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project name="ACE">
|
||||
<Package name="entrenchingtool">
|
||||
<Key ID="STR_ACE_entrenchingtool_EntrenchingToolName">
|
||||
<English>Entrenching Tool</English>
|
||||
<German></German>
|
||||
<Spanish></Spanish>
|
||||
<Russian></Russian>
|
||||
<Czech></Czech>
|
||||
<Polish></Polish>
|
||||
<French></French>
|
||||
<Hungarian></Hungarian>
|
||||
<Italian></Italian>
|
||||
<Portuguese></Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_entrenchingtool_EntrenchingToolDescription">
|
||||
<English>Entrenching Tool</English>
|
||||
<German></German>
|
||||
<Spanish></Spanish>
|
||||
<Russian></Russian>
|
||||
<Czech></Czech>
|
||||
<Polish></Polish>
|
||||
<French></French>
|
||||
<Hungarian></Hungarian>
|
||||
<Italian></Italian>
|
||||
<Portuguese></Portuguese>
|
||||
</Key>
|
||||
</Package>
|
||||
</Project>
|
Loading…
Reference in New Issue
Block a user