This commit is the equivalent of a atomic bomb
This commit is contained in:
154
braf_weapons_muzzle/config.cpp
Normal file
154
braf_weapons_muzzle/config.cpp
Normal file
@@ -0,0 +1,154 @@
|
||||
class CfgPatches
|
||||
{
|
||||
class braf_weapons_muzzle
|
||||
{
|
||||
name = "braf_weapons_muzzle";
|
||||
units[] = {};
|
||||
weapons[] = {
|
||||
"braf_msr_silencer",
|
||||
"braf_fal_bayonet",
|
||||
};
|
||||
requiredVersion = 2.10;
|
||||
requiredAddons[] = {"braf_main","braf_weapons_core"};
|
||||
author = "BRAF Team";
|
||||
authors[] = {"BRAF Team"};
|
||||
url = "https://www.brafmod.com.br";
|
||||
};
|
||||
};
|
||||
|
||||
class SlotInfo;
|
||||
class MuzzleSlot : SlotInfo
|
||||
{
|
||||
compatibleItems[] = {"braf_msr_silencer", "braf_fal_bayonet"};
|
||||
};
|
||||
|
||||
class MuzzleSlot_MSR_Remington : MuzzleSlot
|
||||
{
|
||||
class compatibleItems
|
||||
{
|
||||
braf_msr_silencer = 1;
|
||||
};
|
||||
};
|
||||
|
||||
class MuzzleSlot_FAL : MuzzleSlot
|
||||
{
|
||||
class compatibleItems
|
||||
{
|
||||
braf_fal_bayonet = 1;
|
||||
};
|
||||
};
|
||||
|
||||
class cfgWeapons
|
||||
{
|
||||
class ItemCore;
|
||||
class InventoryMuzzleItem_Base_F;
|
||||
class muzzle_snds_H;
|
||||
class MuzzleCoef;
|
||||
|
||||
class braf_fal_bayonet : ItemCore
|
||||
{
|
||||
author = "BRAF Team";
|
||||
_generalMacro = "braf_fal_bayonet";
|
||||
scope = 2;
|
||||
inertia = 0.1;
|
||||
displayName = "$STR_braf_weapons_attach_fal_bayonet_displayname";
|
||||
picture = "\braf\braf_weapons_muzzle\fal_bayonet\data\ui\fal_bayonet_ui.paa";
|
||||
model = "\braf\braf_weapons_muzzle\fal_bayonet\braf_fal_bayonet.p3d";
|
||||
descriptionShort = "$STR_braf_weapons_attach_fal_bayonet_desc";
|
||||
HiddenSelections[] = {};
|
||||
class Library
|
||||
{
|
||||
libTextDesc = "$STR_braf_weapons_attach_fal_bayonet_desc";
|
||||
};
|
||||
HiddenSelectionTextures[] = {};
|
||||
dlc = "BRAF";
|
||||
htMin = 1;
|
||||
htMax = 600;
|
||||
afMax = 0;
|
||||
mfMax = 0;
|
||||
mFact = 1;
|
||||
tBody = 100;
|
||||
class ItemInfo : InventoryMuzzleItem_Base_F
|
||||
{
|
||||
mass = 5;
|
||||
class AmmoCoef
|
||||
{
|
||||
hit = 1;
|
||||
visibleFire = 0;
|
||||
audibleFire = 1;
|
||||
visibleFireTime = 0;
|
||||
audibleFireTime = 0.5;
|
||||
cost = 1;
|
||||
typicalSpeed = 1;
|
||||
airFriction = 1;
|
||||
};
|
||||
soundTypeIndex = 0;
|
||||
muzzleEnd = "zaslehPoint";
|
||||
alternativeFire = "Zasleh2";
|
||||
class MuzzleCoef
|
||||
{
|
||||
dispersionCoef = "1.0f";
|
||||
artilleryDispersionCoef = "1.0f";
|
||||
fireLightCoef = "1.0f";
|
||||
recoilCoef = "1.0f";
|
||||
recoilProneCoef = "1.0f";
|
||||
minRangeCoef = "1.0f";
|
||||
minRangeProbabCoef = "1.0f";
|
||||
midRangeCoef = "1.0f";
|
||||
midRangeProbabCoef = "1.0f";
|
||||
maxRangeCoef = "1.0f";
|
||||
maxRangeProbabCoef = "1.0f";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class braf_msr_silencer : ItemCore
|
||||
{
|
||||
author = "BRAF Team";
|
||||
_generalMacro = "braf_msr_silencer";
|
||||
scope = 2;
|
||||
inertia = 0.1;
|
||||
displayName = "AAC Titan";
|
||||
picture = "\braf\braf_weapons_muzzle\msr_silencer\AAC_TITAN_UI.paa";
|
||||
model = "\braf\braf_weapons_muzzle\msr_silencer\msr_silencer.p3d";
|
||||
descriptionShort = "AAC Titan silencer for the Modular Sniper Rifle(MSR)";
|
||||
HiddenSelections[] = {"camo"};
|
||||
HiddenSelectionTextures[] = {"\braf\braf_weapons_muzzle\msr_silencer\AAC_TITAN_CO.paa"};
|
||||
class ItemInfo : InventoryMuzzleItem_Base_F
|
||||
{
|
||||
mass = 5;
|
||||
class MagazineCoef
|
||||
{
|
||||
initSpeed = 1.05;
|
||||
};
|
||||
class AmmoCoef
|
||||
{
|
||||
hit = 1;
|
||||
visibleFire = 0.5;
|
||||
audibleFire = 0.3;
|
||||
visibleFireTime = 0.5;
|
||||
audibleFireTime = 0.5;
|
||||
cost = 1;
|
||||
typicalSpeed = 1;
|
||||
airFriction = 1;
|
||||
};
|
||||
soundTypeIndex = 1;
|
||||
muzzleEnd = "zaslehPoint";
|
||||
alternativeFire = "Zasleh2";
|
||||
class MuzzleCoef
|
||||
{
|
||||
dispersionCoef = "0.8f";
|
||||
artilleryDispersionCoef = "1.0f";
|
||||
fireLightCoef = "0.1f";
|
||||
recoilCoef = "1.0f";
|
||||
recoilProneCoef = "1.0f";
|
||||
minRangeCoef = "1.0f";
|
||||
minRangeProbabCoef = "1.0f";
|
||||
midRangeCoef = "1.0f";
|
||||
midRangeProbabCoef = "1.0f";
|
||||
maxRangeCoef = "1.0f";
|
||||
maxRangeProbabCoef = "1.0f";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
BIN
braf_weapons_muzzle/fal_bayonet/braf_bainote(FAL).fbx
LFS
Normal file
BIN
braf_weapons_muzzle/fal_bayonet/braf_bainote(FAL).fbx
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_muzzle/fal_bayonet/braf_fal_bayonet.p3d
LFS
Normal file
BIN
braf_weapons_muzzle/fal_bayonet/braf_fal_bayonet.p3d
LFS
Normal file
Binary file not shown.
92
braf_weapons_muzzle/fal_bayonet/data/fal_bayonet.rvmat
Normal file
92
braf_weapons_muzzle/fal_bayonet/data/fal_bayonet.rvmat
Normal file
@@ -0,0 +1,92 @@
|
||||
ambient[]={1,1,1,1};
|
||||
diffuse[]={1,1,1,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,0};
|
||||
specular[]={0.22,0.22,0.22,1};
|
||||
specularPower=5;
|
||||
PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="braf\braf_weapons_muzzle\fal_bayonet\data\fal_bayonet_nohq.tga";
|
||||
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[]={8,0,0};
|
||||
up[]={0,8,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="braf\braf_weapons_muzzle\fal_bayonet\data\fal_bayonet_as.tga";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage5
|
||||
{
|
||||
texture="braf\braf_weapons_muzzle\fal_bayonet\data\fal_bayonet_smdi.tga";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage6
|
||||
{
|
||||
texture="#(ai,16,2,2)fresnel(10.4,8.3)";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage7
|
||||
{
|
||||
texture="a3\Data\env_land_co.tga";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
BIN
braf_weapons_muzzle/fal_bayonet/data/fal_bayonet_as.paa
LFS
Normal file
BIN
braf_weapons_muzzle/fal_bayonet/data/fal_bayonet_as.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_muzzle/fal_bayonet/data/fal_bayonet_as.png
LFS
Normal file
BIN
braf_weapons_muzzle/fal_bayonet/data/fal_bayonet_as.png
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_muzzle/fal_bayonet/data/fal_bayonet_co.paa
LFS
Normal file
BIN
braf_weapons_muzzle/fal_bayonet/data/fal_bayonet_co.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_muzzle/fal_bayonet/data/fal_bayonet_co.png
LFS
Normal file
BIN
braf_weapons_muzzle/fal_bayonet/data/fal_bayonet_co.png
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_muzzle/fal_bayonet/data/fal_bayonet_nohq.paa
LFS
Normal file
BIN
braf_weapons_muzzle/fal_bayonet/data/fal_bayonet_nohq.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_muzzle/fal_bayonet/data/fal_bayonet_nohq.png
LFS
Normal file
BIN
braf_weapons_muzzle/fal_bayonet/data/fal_bayonet_nohq.png
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_muzzle/fal_bayonet/data/fal_bayonet_smdi.paa
LFS
Normal file
BIN
braf_weapons_muzzle/fal_bayonet/data/fal_bayonet_smdi.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_muzzle/fal_bayonet/data/fal_bayonet_smdi.png
LFS
Normal file
BIN
braf_weapons_muzzle/fal_bayonet/data/fal_bayonet_smdi.png
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_muzzle/fal_bayonet/data/ui/fal_bayonet_ui.paa
LFS
Normal file
BIN
braf_weapons_muzzle/fal_bayonet/data/ui/fal_bayonet_ui.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_muzzle/fal_bayonet/data/ui/fal_bayonet_ui.png
LFS
Normal file
BIN
braf_weapons_muzzle/fal_bayonet/data/ui/fal_bayonet_ui.png
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_muzzle/msr_silencer/AAC_TITAN_AS.paa
LFS
Normal file
BIN
braf_weapons_muzzle/msr_silencer/AAC_TITAN_AS.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_muzzle/msr_silencer/AAC_TITAN_CO.paa
LFS
Normal file
BIN
braf_weapons_muzzle/msr_silencer/AAC_TITAN_CO.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_muzzle/msr_silencer/AAC_TITAN_NOHQ.paa
LFS
Normal file
BIN
braf_weapons_muzzle/msr_silencer/AAC_TITAN_NOHQ.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_muzzle/msr_silencer/AAC_TITAN_SMDI.paa
LFS
Normal file
BIN
braf_weapons_muzzle/msr_silencer/AAC_TITAN_SMDI.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_muzzle/msr_silencer/AAC_TITAN_UI.paa
LFS
Normal file
BIN
braf_weapons_muzzle/msr_silencer/AAC_TITAN_UI.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_muzzle/msr_silencer/AAC_TITAN_UI.png
LFS
Normal file
BIN
braf_weapons_muzzle/msr_silencer/AAC_TITAN_UI.png
LFS
Normal file
Binary file not shown.
94
braf_weapons_muzzle/msr_silencer/msr.rvmat
Normal file
94
braf_weapons_muzzle/msr_silencer/msr.rvmat
Normal file
@@ -0,0 +1,94 @@
|
||||
ambient[] = {1.0,1.0,1.0,1};
|
||||
diffuse[] = {1.0,1.0,1.0,1};
|
||||
forcedDiffuse[] = {0,0,0,0};
|
||||
emmisive[] = {0,0,0,1};
|
||||
specular[] = {0.128,0.127,0.125,1};
|
||||
specularPower = 30;
|
||||
PixelShaderID = "Super";
|
||||
VertexShaderID = "Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="braf\braf_weapons_muzzle\msr_silencer\AAC_TITAN_NOHQ.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,1};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
Filter="Anizotropic";
|
||||
};
|
||||
class Stage2
|
||||
{
|
||||
texture = "#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)";
|
||||
uvSource = "tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[] = {10,0,0};
|
||||
up[] = {0,10,0};
|
||||
dir[] = {0,0,0};
|
||||
pos[] = {0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage3
|
||||
{
|
||||
texture = "#(argb,8,8,3)color(0.5,0.5,0.5,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="braf\braf_weapons_muzzle\msr_silencer\AAC_TITAN_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="braf\braf_weapons_muzzle\msr_silencer\AAC_TITAN_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 = "#(ai,16,2,2)fresnel(0.45,0.25)";
|
||||
uvSource = "tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[] = {1,0,0};
|
||||
up[] = {0,1,0};
|
||||
dir[] = {0,0,1};
|
||||
pos[] = {0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage7
|
||||
{
|
||||
texture = "a3\data_f\env_land_co.paa";
|
||||
useWorldEnvMap = "true";
|
||||
uvSource = "tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[] = {1.0,0.0,0.0};
|
||||
up[] = {0.0,1.0,0.0};
|
||||
dir[] = {0.0,0.0,0.0};
|
||||
pos[] = {0.0,0.0,0.0};
|
||||
};
|
||||
};
|
||||
BIN
braf_weapons_muzzle/msr_silencer/msr_silencer.p3d
LFS
Normal file
BIN
braf_weapons_muzzle/msr_silencer/msr_silencer.p3d
LFS
Normal file
Binary file not shown.
51
braf_weapons_muzzle/stringtable.xml
Normal file
51
braf_weapons_muzzle/stringtable.xml
Normal file
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project name="BRAF">
|
||||
<Package name="Units">
|
||||
<Container name="braf_structures">
|
||||
<Key ID="STR_braf_weapons_attach_anpeq15_displayname">
|
||||
<English>AN/PEQ-15 (black)</English>
|
||||
<Portuguese>MIPIM (preto)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_braf_weapons_attach_fal_bayonet_displayname">
|
||||
<English>Bayonet (FAL)</English>
|
||||
<Portuguese>Baioneta de FAL</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_braf_weapons_attach_anpeq15_green_displayname">
|
||||
<English>AN/PEQ-15 (green)</English>
|
||||
<Portuguese>MIPIM (verde)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_braf_weapons_attach_anpeq15_tan_displayname">
|
||||
<English>AN/PEQ-15 (tan)</English>
|
||||
<Portuguese>MIPIM (bege)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_braf_weapons_attach_anpeq15_painted_displayname">
|
||||
<English>AN/PEQ-15 (painted)</English>
|
||||
<Portuguese>MIPIM (pintado)</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_braf_weapons_attach_anpeq15_desc">
|
||||
<English>AN/PEQ-15 is a target aquisition IR laser and flashlight</English>
|
||||
<Portuguese>MIPIM é um designador de alvos laser IV e uma lanterna</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_braf_weapons_attach_fal_bayonet_desc">
|
||||
<English>Bayonet (FAL)</English>
|
||||
<Portuguese>Baioneta de FAL</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_braf_weapons_attach_anpeq15_descUser">
|
||||
<English>AN/PEQ-15 is a target aquisition IR laser and flashlight</English>
|
||||
<Portuguese>MIPIM é um designador de alvos laser IV e uma lanterna</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_braf_weapons_attach_anpeq15_descShort">
|
||||
<English>Target aquisition IR laser and flashlight</English>
|
||||
<Portuguese>Designador de alvos laser IV e uma lanterna</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_braf_weapons_attach_anpeq15_laserHint">
|
||||
<English>IR Laser</English>
|
||||
<Portuguese>Laser IV</Portuguese>
|
||||
</Key>
|
||||
<Key ID="STR_braf_weapons_attach_anpeq15_flashlightHint">
|
||||
<English>Flashlight</English>
|
||||
<Portuguese>Lanterna</Portuguese>
|
||||
</Key>
|
||||
</Container>
|
||||
</Package>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user