Ports A2 Envelope Small & Envelope Big.

Adds entrenching tool for use in building trenches (Requires Script to be made)
This commit is contained in:
Grey-Soldierman 2015-06-17 18:17:57 +01:00
parent d78caf9255
commit 7e5859f6f8
17 changed files with 173 additions and 0 deletions

View File

@ -0,0 +1 @@
z\ace\addons\trenches

View File

@ -0,0 +1,17 @@
class CfgVehicles {
class BagFence_base_F;
class ACE_envelope_small: BagFence_base_F {
author = ECSTRING(common,ACETeam);
displayName = CSTRING(EnvelopeSmallName);
descriptionShort = CSTRING(EnevlopeSmallDescription);
model = QUOTE(PATHTOF(data\ace_envelope_small.p3d));
scope = 2;
};
class ACE_envelope_big: BagFence_base_F {
author = ECSTRING(common,ACETeam);
displayName = CSTRING(EnvelopeBigName);
descriptionShort = CSTRING(EnevlopeBigDescription);
model = QUOTE(PATHTOF(data\ace_envelope_big.p3d));
scope = 2;
};
};

View 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;
};
};
};

12
addons/trenches/README.md Normal file
View File

@ -0,0 +1,12 @@
ace_trenches
=================
Adds item 'ACE_entrenchingtool'
Adds 2 trenches; Envelope - Small & Envelop - Big
## Maintainers
The people responsible for merging changes to this component or answering potential questions.
- [Grey](https://github.com/Grey-Soldierman)

Binary file not shown.

View File

@ -0,0 +1,15 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
units[] = {"ACE_envelope_small","ACE_envelope_big"};
weapons[] = {"ACE_entrenchingtool"};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"};
author[] = {"Grey"};
authorUrl = "";
VERSION_CONFIG;
};
};
#include "CfgWeapons.hpp"
#include "CfgVehicles.hpp"

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,75 @@
ambient[]={1,1,1,1};
diffuse[]={2,2,2,0};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.054000214,0.054000214,0.058000047,0};
specularPower=50.700001;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="z\ace\addons\trenches\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[]={4,0,0};
up[]={0,6,0};
dir[]={0,0,2};
pos[]={0,0,0};
};
Filter="Anizotropic";
};
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};
};
Filter="Anizotropic";
};
class Stage4
{
texture="z\ace\addons\trenches\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\trenches\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="none";
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,12 @@
#define COMPONENT trenches
#include "\z\ace\addons\main\script_mod.hpp"
#ifdef DEBUG_ENABLED_TRENCHES
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_SETTINGS_TRENCHES
#define DEBUG_SETTINGS DEBUG_SETTINGS_TRENCHES
#endif
#include "\z\ace\addons\main\script_macros.hpp"

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<Project name="ACE">
<Package name="trenches">
<Key ID="STR_ACE_trenches_EntrenchingToolName">
<English>Entrenching Tool</English>
<Polish>Saperka</Polish>
</Key>
<Key ID="STR_ACE_trenches_EntrenchingToolDescription">
<English>Entrenching Tool</English>
<Polish>Saperka, używana do budowy okopów</Polish>
</Key>
<Key ID="STR_ACE_trenches_EnvelopeSmallName">
<English>Envelope - Small</English>
</Key>
<Key ID="STR_ACE_trenches_EnevlopeSmallDescription">
<English>Small Personal Trench</English>
</Key>
<Key ID="STR_ACE_trenches_EnvelopeBigName">
<English>Envelope - Big</English>
</Key>
<Key ID="STR_ACE_trenches_EnevlopeBigDescription">
<English>Large Personal Trench</English>
</Key>
</Package>
</Project>