mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Ports A2 Envelope Small & Envelope Big.
Adds entrenching tool for use in building trenches (Requires Script to be made)
This commit is contained in:
parent
d78caf9255
commit
7e5859f6f8
1
addons/trenches/$PBOPREFIX$
Normal file
1
addons/trenches/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
z\ace\addons\trenches
|
17
addons/trenches/CfgVehicles.hpp
Normal file
17
addons/trenches/CfgVehicles.hpp
Normal 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;
|
||||
};
|
||||
};
|
16
addons/trenches/CfgWeapons.hpp
Normal file
16
addons/trenches/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;
|
||||
};
|
||||
};
|
||||
};
|
12
addons/trenches/README.md
Normal file
12
addons/trenches/README.md
Normal 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)
|
BIN
addons/trenches/UI/w_entrchtool_ca.paa
Normal file
BIN
addons/trenches/UI/w_entrchtool_ca.paa
Normal file
Binary file not shown.
15
addons/trenches/config.cpp
Normal file
15
addons/trenches/config.cpp
Normal 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"
|
BIN
addons/trenches/data/ace_entrchtool.p3d
Normal file
BIN
addons/trenches/data/ace_entrchtool.p3d
Normal file
Binary file not shown.
BIN
addons/trenches/data/ace_envelope_big.p3d
Normal file
BIN
addons/trenches/data/ace_envelope_big.p3d
Normal file
Binary file not shown.
BIN
addons/trenches/data/ace_envelope_small.p3d
Normal file
BIN
addons/trenches/data/ace_envelope_small.p3d
Normal file
Binary file not shown.
75
addons/trenches/data/entrchtool.rvmat
Normal file
75
addons/trenches/data/entrchtool.rvmat
Normal 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";
|
||||
};
|
BIN
addons/trenches/data/entrchtool_as.paa
Normal file
BIN
addons/trenches/data/entrchtool_as.paa
Normal file
Binary file not shown.
BIN
addons/trenches/data/entrchtool_co.paa
Normal file
BIN
addons/trenches/data/entrchtool_co.paa
Normal file
Binary file not shown.
BIN
addons/trenches/data/entrchtool_nohq.paa
Normal file
BIN
addons/trenches/data/entrchtool_nohq.paa
Normal file
Binary file not shown.
BIN
addons/trenches/data/entrchtool_smdi.paa
Normal file
BIN
addons/trenches/data/entrchtool_smdi.paa
Normal file
Binary file not shown.
BIN
addons/trenches/data/zr_plevel_co.paa
Normal file
BIN
addons/trenches/data/zr_plevel_co.paa
Normal file
Binary file not shown.
12
addons/trenches/script_component.hpp
Normal file
12
addons/trenches/script_component.hpp
Normal 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"
|
25
addons/trenches/stringtable.xml
Normal file
25
addons/trenches/stringtable.xml
Normal 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>
|
Loading…
Reference in New Issue
Block a user