This commit is the equivalent of a atomic bomb

This commit is contained in:
2026-02-15 08:08:56 -03:00
commit e4ac56b038
6934 changed files with 916278 additions and 0 deletions

View File

@@ -0,0 +1,838 @@
//-----------Base-----------//
class Braf_colt_weapon : Rifle_Base_F {
_generalMacro = "Braf_colt_weapon";
scope=1;
author = "BRAF Team";
magazines[] = {
"braf_30Rnd_556x45",
"braf_20Rnd_556x45",
"braf_30Rnd_556x45_red",
"braf_30Rnd_556x45_green",
"braf_30Rnd_556x45_yellow",
"braf_30Rnd_556x45_Blank",
"30Rnd_556x45_Stanag",
"30Rnd_556x45_Stanag_green",
"30Rnd_556x45_Stanag_red",
"30Rnd_556x45_Stanag_Tracer_Red",
"30Rnd_556x45_Stanag_Tracer_Green",
"30Rnd_556x45_Stanag_Tracer_Yellow"
};
magazineWell[] = { "BRAF_Stanag_556", "STANAG_556x45", "STANAG_556x45_Large" };
reloadAction = "GestureReloadSPAR_01";
maxZeroing = 1600;
magazineReloadSwitchPhase = 0.47999999;
htMin = 8;
htMax = 920;
inertia = 0.5;
aimTransitionSpeed = 1.1;
dexterity = 1.5;
initSpeed = 800;
recoil = "recoil_spar";
cursor = "smg";
descriptionShort = "The Colt variations of the famous western assault rifle";
handAnim[] = { "OFP2_ManSkeleton","\A3\Weapons_F_Exp\Rifles\SPAR_01\Data\Anim\SPAR_01.rtm" };
overviewPicture = "\A3\Data_F_Mark\Images\watermarkInfo_page07_ca.paa";
discreteDistanceInitIndex = 2;
discreteDistance[] = { 200, 300, 400, 500, 600 };
discreteDistanceCameraPoint[] = { "eye" };
cameraDir = "eye_look";
class Library {
libTextDesc = "The Colt variations of the famous western assault rifle";
};
distanceZoomMin = 300;
distanceZoomMax = 300;
class WeaponSlotsInfo : WeaponSlotsInfo {
mass = 76.059479;
};
ace_overheating_mrbs = 2000;
ace_overheating_slowdownFactor = 1;
ace_overheating_allowSwapBarrel = 1;
ace_overheating_dispersion = 0.75;
ACE_barrelTwist = 254;
ACE_barrelLength = 365;
ACE_twistDirection = 1;
ACE_clearJamAction = "braf_GestureClear_barrel_FAL";
class ItemInfo {
priority = 1;
};
// Sounds
changeFiremodeSound[] = { "braf\braf_weapons_sound\weapons\weap_fireselctor.ogg", 5,
1, 5 };
drySound[] = { "braf\braf_weapons_sound\weapons\weap_trigger_empty.ogg", 3, 1, 10 };
reloadMagazineSound[] = {
"A3\Sounds_F_exp\arsenal\weapons\Rifles\SPAR01\SPAR01_reload", 0.630957,
1, 35
};
modes[] = { "Single", "FullAuto", "single_close",
"single_medium", "single_far", "fullauto_medium" };
bullet1[] = { "A3\sounds_f\weapons\shells\5_56\metal_556_01", 0.63095737, 1,
15 };
bullet2[] = { "A3\sounds_f\weapons\shells\5_56\metal_556_02", 0.63095737, 1,
15 };
bullet3[] = { "A3\sounds_f\weapons\shells\5_56\metal_556_03", 0.63095737, 1,
15 };
bullet4[] = { "A3\sounds_f\weapons\shells\5_56\metal_556_04", 0.63095737, 1,
15 };
bullet5[] = { "A3\sounds_f\weapons\shells\5_56\dirt_556_01", 0.63095737, 1,
15 };
bullet6[] = { "A3\sounds_f\weapons\shells\5_56\dirt_556_02", 0.63095737, 1,
15 };
bullet7[] = { "A3\sounds_f\weapons\shells\5_56\dirt_556_03", 0.63095737, 1,
15 };
bullet8[] = { "A3\sounds_f\weapons\shells\5_56\dirt_556_04", 0.63095737, 1,
15 };
bullet9[] = { "A3\sounds_f\weapons\shells\5_56\grass_556_01", 0.63095737, 1,
15 };
bullet10[] = { "A3\sounds_f\weapons\shells\5_56\grass_556_02", 0.63095737, 1,
15 };
bullet11[] = { "A3\sounds_f\weapons\shells\5_56\grass_556_03", 0.63095737, 1,
15 };
bullet12[] = { "A3\sounds_f\weapons\shells\5_56\grass_556_04", 0.63095737, 1,
15 };
soundBullet[] = { "bullet1", 0.082999997, "bullet2", 0.082999997,
"bullet3", 0.082999997, "bullet4", 0.082999997,
"bullet5", 0.082999997, "bullet6", 0.082999997,
"bullet7", 0.082999997, "bullet8", 0.082999997,
"bullet9", 0.082999997, "bullet10", 0.082999997,
"bullet11", 0.082999997, "bullet12", 0.082999997 };
};
//-----------Base Guns-----------//
class Braf_colt_auto_base_F : braf_colt_weapon {
_generalMacro = "Braf_colt_auto_base_F";
scope = 1;
displayName = "Auto Base";
modes[] = { "Single", "FullAuto" };
class WeaponSlotsInfo : WeaponSlotsInfo {
class MuzzleSlot : MuzzleSlot {
linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
compatibleItems[] = { "muzzle_snds_M" };
iconPosition[] = { 0.12, 0.43099999 };
iconScale = 0.15000001;
};
class CowsSlot : asdg_OpticRail1913_short {
iconPosition[] = { 0.5, 0.36000001 };
iconScale = 0.15000001;
};
class PointerSlot {
};
class UnderBarrelSlot {
};
};
class Single : Mode_SemiAuto {
class BaseSoundModeType;
class StandardSound : BaseSoundModeType {
soundSetShot[] = { "SPAR01_Shot_SoundSet", "SPAR01_Tail_SoundSet",
"SPAR01_InteriorTail_SoundSet" };
};
class SilencedSound : BaseSoundModeType {
soundsetshot[] = { "SPAR01_silencerShot_SoundSet",
"SPAR01_silencerTail_SoundSet",
"SPAR01_silencerInteriorTail_SoundSet" };
};
reloadTime = 0.1;
dispersion = 0.00057999999;
initSpeed = 940;
recoil = "recoil_single_ebr";
recoilProne = "recoil_single_prone_ebr";
minRange = 2;
minRangeProbab = 0.30000001;
midRange = 350;
midRangeProbab = 0.69999999;
maxRange = 500;
maxRangeProbab = 0.050000001;
};
class FullAuto : Mode_FullAuto {
class BaseSoundModeType;
class StandardSound : BaseSoundModeType {
soundSetShot[] = { "SPAR01_Shot_SoundSet", "SPAR01_Tail_SoundSet",
"SPAR01_InteriorTail_SoundSet" };
};
class SilencedSound : BaseSoundModeType {
soundsetshot[] = { "SPAR01_silencerShot_SoundSet",
"SPAR01_silencerTail_SoundSet",
"SPAR01_silencerInteriorTail_SoundSet" };
};
reloadTime = 0.1;
dispersion = 0.00057999999;
recoil = "recoil_auto_ebr";
recoilProne = "recoil_auto_prone_ebr";
minRange = 0;
minRangeProbab = 0.89999998;
midRange = 15;
midRangeProbab = 0.69999999;
maxRange = 30;
maxRangeProbab = 0.050000001;
aiRateOfFire = 1e-006;
};
class single_close : Single {
// requiredOpticType=1;
showToPlayer = 0;
minRange = 2;
minRangeProbab = 0.050000001;
midRange = 300;
midRangeProbab = 0.80000001;
maxRange = 500;
maxRangeProbab = 0.0099999998;
aiRateOfFire = 2;
aiRateOfFireDistance = 300;
};
class single_medium : single_close {
minRange = 300;
minRangeProbab = 0.050000001;
midRange = 500;
midRangeProbab = 0.69999999;
maxRange = 700;
maxRangeProbab = 0.050000001;
aiRateOfFire = 2;
aiRateOfFireDistance = 500;
};
class single_far : single_medium {
// requiredOpticType=2;
minRange = 300;
minRangeProbab = 0.050000001;
midRange = 700;
midRangeProbab = 0.5;
maxRange = 2000;
maxRangeProbab = 0.050000001;
aiRateOfFire = 4;
aiRateOfFireDistance = 600;
};
class fullauto_medium : FullAuto {
showToPlayer = 0;
burst = 3;
minRange = 2;
minRangeProbab = 0.5;
midRange = 50;
midRangeProbab = 0.69999999;
maxRange = 100;
maxRangeProbab = 0.050000001;
aiRateOfFire = 2;
};
aiDispersionCoefY = 3;
aiDispersionCoefX = 2;
};
class Braf_colt_burst_base_F : Braf_colt_weapon {
author = "BRAF Team";
_generalMacro = "Braf_colt_burst_base_F";
scope = 1;
displayName = "Burst Base";
modes[] = { "Single", "Burst" };
class WeaponSlotsInfo : WeaponSlotsInfo {
class MuzzleSlot : MuzzleSlot {
linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
compatibleItems[] = { "muzzle_snds_M" };
iconPosition[] = { 0.12, 0.43099999 };
iconScale = 0.15000001;
};
class CowsSlot : asdg_OpticRail1913_short {
iconPosition[] = { 0.5, 0.36000001 };
iconScale = 0.15000001;
};
class PointerSlot {
};
class UnderBarrelSlot {
};
};
class Single : Mode_SemiAuto {
class BaseSoundModeType;
class StandardSound : BaseSoundModeType {
soundSetShot[] = { "SPAR01_Shot_SoundSet", "SPAR01_Tail_SoundSet",
"SPAR01_InteriorTail_SoundSet" };
};
class SilencedSound : BaseSoundModeType {
soundsetshot[] = { "SPAR01_silencerShot_SoundSet",
"SPAR01_silencerTail_SoundSet",
"SPAR01_silencerInteriorTail_SoundSet" };
};
reloadTime = 0.1;
dispersion = 0.00057999999;
initSpeed = 940;
recoil = "recoil_single_ebr";
recoilProne = "recoil_single_prone_ebr";
minRange = 2;
minRangeProbab = 0.30000001;
midRange = 350;
midRangeProbab = 0.69999999;
maxRange = 500;
maxRangeProbab = 0.050000001;
};
class Burst : Mode_Burst {
class BaseSoundModeType;
class StandardSound : BaseSoundModeType {
soundSetShot[] = { "SPAR01_Shot_SoundSet", "SPAR01_Tail_SoundSet",
"SPAR01_InteriorTail_SoundSet" };
};
class SilencedSound : BaseSoundModeType {
soundsetshot[] = { "SPAR01_silencerShot_SoundSet",
"SPAR01_silencerTail_SoundSet",
"SPAR01_silencerInteriorTail_SoundSet" };
};
reloadTime = 0.1;
dispersion = 0.00057999999;
recoil = "recoil_auto_ebr";
recoilProne = "recoil_auto_prone_ebr";
minRange = 0;
minRangeProbab = 0.89999998;
midRange = 15;
midRangeProbab = 0.69999999;
maxRange = 30;
maxRangeProbab = 0.050000001;
aiRateOfFire = 1e-006;
};
class single_close : Single {
// requiredOpticType=1;
showToPlayer = 0;
minRange = 2;
minRangeProbab = 0.050000001;
midRange = 300;
midRangeProbab = 0.80000001;
maxRange = 500;
maxRangeProbab = 0.0099999998;
aiRateOfFire = 2;
aiRateOfFireDistance = 300;
};
class single_medium : single_close {
minRange = 300;
minRangeProbab = 0.050000001;
midRange = 500;
midRangeProbab = 0.69999999;
maxRange = 700;
maxRangeProbab = 0.050000001;
aiRateOfFire = 2;
aiRateOfFireDistance = 500;
};
class single_far : single_medium {
// requiredOpticType=2;
minRange = 300;
minRangeProbab = 0.050000001;
midRange = 700;
midRangeProbab = 0.5;
maxRange = 2000;
maxRangeProbab = 0.050000001;
aiRateOfFire = 4;
aiRateOfFireDistance = 600;
};
class fullauto_medium : Burst {
showToPlayer = 0;
burst = 3;
minRange = 2;
minRangeProbab = 0.5;
midRange = 50;
midRangeProbab = 0.69999999;
maxRange = 100;
maxRangeProbab = 0.050000001;
aiRateOfFire = 2;
};
aiDispersionCoefY = 3;
aiDispersionCoefX = 2;
};
class Braf_colt_lmg_base_F : Braf_colt_weapon {
author = "BRAF Team";
_generalMacro = "Braf_lmgbase_F";
scope = 1;
displayName = "LMG Base";
class WeaponSlotsInfo : WeaponSlotsInfo {
class MuzzleSlot : MuzzleSlot {
linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
compatibleItems[] = { "muzzle_snds_M" };
iconPosition[] = { 0.12, 0.43099999 };
iconScale = 0.15000001;
};
class CowsSlot : asdg_OpticRail1913_short {
iconPosition[] = { 0.5, 0.36000001 };
iconScale = 0.15000001;
};
class PointerSlot {
};
class UnderBarrelSlot {
};
};
modes[] = { "Single", "FullAuto", "close", "short", "medium", "far", "far2" };
bullet1[] = { "A3\sounds_f\weapons\shells\5_56\metal_556_01", 0.63095737, 1,
15 };
bullet2[] = { "A3\sounds_f\weapons\shells\5_56\metal_556_02", 0.63095737, 1,
15 };
bullet3[] = { "A3\sounds_f\weapons\shells\5_56\metal_556_03", 0.63095737, 1,
15 };
bullet4[] = { "A3\sounds_f\weapons\shells\5_56\metal_556_04", 0.63095737, 1,
15 };
bullet5[] = { "A3\sounds_f\weapons\shells\5_56\dirt_556_01", 0.63095737, 1,
15 };
bullet6[] = { "A3\sounds_f\weapons\shells\5_56\dirt_556_02", 0.63095737, 1,
15 };
bullet7[] = { "A3\sounds_f\weapons\shells\5_56\dirt_556_03", 0.63095737, 1,
15 };
bullet8[] = { "A3\sounds_f\weapons\shells\5_56\dirt_556_04", 0.63095737, 1,
15 };
bullet9[] = { "A3\sounds_f\weapons\shells\5_56\grass_556_01", 0.63095737, 1,
15 };
bullet10[] = { "A3\sounds_f\weapons\shells\5_56\grass_556_02", 0.63095737, 1,
15 };
bullet11[] = { "A3\sounds_f\weapons\shells\5_56\grass_556_03", 0.63095737, 1,
15 };
bullet12[] = { "A3\sounds_f\weapons\shells\5_56\grass_556_04", 0.63095737, 1,
15 };
soundBullet[] = { "bullet1", 0.082999997, "bullet2", 0.082999997,
"bullet3", 0.082999997, "bullet4", 0.082999997,
"bullet5", 0.082999997, "bullet6", 0.082999997,
"bullet7", 0.082999997, "bullet8", 0.082999997,
"bullet9", 0.082999997, "bullet10", 0.082999997,
"bullet11", 0.082999997, "bullet12", 0.082999997 };
class Single : Mode_SemiAuto {
class BaseSoundModeType;
class StandardSound : BaseSoundModeType {
soundSetShot[] = { "SPAR01_Shot_SoundSet", "SPAR01_Tail_SoundSet",
"SPAR01_InteriorTail_SoundSet" };
};
class SilencedSound : BaseSoundModeType {
soundsetshot[] = { "SPAR01_silencerShot_SoundSet",
"SPAR01_silencerTail_SoundSet",
"SPAR01_silencerInteriorTail_SoundSet" };
};
reloadTime = 0.1;
dispersion = 0.00057999999;
initSpeed = 940;
recoil = "recoil_single_ebr";
recoilProne = "recoil_single_prone_ebr";
minRange = 2;
minRangeProbab = 0.30000001;
midRange = 350;
midRangeProbab = 0.69999999;
maxRange = 500;
maxRangeProbab = 0.050000001;
};
class FullAuto : Mode_FullAuto {
class BaseSoundModeType;
class StandardSound : BaseSoundModeType {
soundSetShot[] = { "SPAR02_Shot_SoundSet", "SPAR02_Tail_SoundSet",
"SPAR02_InteriorTail_SoundSet" };
};
class SilencedSound : BaseSoundModeType {
soundsetshot[] = { "SPAR02_silencerShot_SoundSet",
"SPAR02_silencerTail_SoundSet",
"SPAR02_silencerInteriorTail_SoundSet" };
};
reloadTime = 0.1;
dispersion = 0.00057999999;
recoil = "recoil_auto_ebr";
recoilProne = "recoil_auto_prone_ebr";
minRange = 0;
minRangeProbab = 0.89999998;
midRange = 15;
midRangeProbab = 0.69999999;
maxRange = 30;
maxRangeProbab = 0.050000001;
aiRateOfFire = 1e-006;
};
class close : FullAuto {
burst = 5;
aiRateOfFire = 0.5;
aiRateOfFireDistance = 50;
minRange = 0;
minRangeProbab = 0.050000001;
midRange = 25;
midRangeProbab = 0.69999999;
maxRange = 50;
maxRangeProbab = 0.039999999;
showToPlayer = 0;
};
class short : close
{
burst = 5;
aiRateOfFire = 2;
aiRateOfFireDistance = 200;
minRange = 50;
minRangeProbab = 0.050000001;
midRange = 200;
midRangeProbab = 0.69999999;
maxRange = 400;
maxRangeProbab = 0.039999999;
};
class medium : close {
burst = 3;
aiRateOfFire = 4;
aiRateOfFireDistance = 600;
aiRateOfFireDispersion = 2;
minRange = 400;
minRangeProbab = 0.050000001;
midRange = 600;
midRangeProbab = 0.60000002;
maxRange = 800;
maxRangeProbab = 0.1;
};
class far : close {
// requiredOpticType=1;
burst = 3;
aiRateOfFire = 6;
aiRateOfFireDistance = 1000;
aiRateOfFireDispersion = 3;
minRange = 800;
minRangeProbab = 0.039999999;
midRange = 1000;
midRangeProbab = 0.5;
maxRange = 1200;
maxRangeProbab = 0.0099999998;
};
class far2 : far {
// requiredOpticType=2;
autoFire = 0;
burst = 2;
aiRateOfFire = 5;
aiRateOfFireDistance = 1600;
aiRateOfFireDispersion = 4;
minRange = 1200;
minRangeProbab = 0.050000001;
midRange = 1600;
midRangeProbab = 0.5;
maxRange = 2000;
maxRangeProbab = 0.0099999998;
};
aiDispersionCoefY = 20;
aiDispersionCoefX = 15;
handAnim[] = {
"OFP2_ManSkeleton",
"\A3\Weapons_F_Exp\Rifles\SPAR_02\Data\Anim\SPAR_02.rtm"
};
};
//-----------Open Bolt-----------//
//LMGA4
class Braf_lmga4 : Braf_colt_lmg_base_F {
_generalMacro = "Braf_lmga4";
author = "BRAF Team";
scope = 2;
model = "\braf\braf_weapons_assault_rifles\556mm_Colt\LMGA4.p3d";
displayName = "Colt LMGA4 5.56mm";
picture = "\braf\braf_weapons_assault_rifles\556mm_Colt\data\ui\autorifle_ui.paa";
UiPicture = "\A3\weapons_f\data\UI\icon_regular_CA.paa";
hiddenSelections[] = {};
hiddenSelectionsTextures[] = {};
};
//-----------Automatic-----------//
//M16A1
class Braf_m16a1 : Braf_colt_auto_base_F {
_generalMacro = "Braf_M16A1";
author = "BRAF Team";
scope = 2;
model = "\braf\braf_weapons_assault_rifles\556mm_Colt\m16a1.p3d";
displayName = "Colt M16A1 5.56mm";
picture = "\braf\braf_weapons_assault_rifles\556mm_Colt\data\ui\rifle_ui.paa";
UiPicture = "\A3\weapons_f\data\UI\icon_regular_CA.paa";
hiddenSelections[] = { "camo" };
hiddenSelectionsTextures[] = {
"braf\braf_weapons_assault_rifles\556mm_Colt\data\M16A1_CO.paa",
};
};
class Braf_m16a1e1 : Braf_m16a1 {
_generalMacro = "Braf_M16A1E1";
author = "BRAF Team";
displayName = "Colt M16A1E1 5.56mm";
model = "\braf\braf_weapons_assault_rifles\556mm_Colt\m16a1e1.p3d";
hiddenSelections[] = { "camo1" };
hiddenSelectionsTextures[] = {
"braf\braf_weapons_assault_rifles\556mm_Colt\data\M16A2_CO.paa"
};
};
//M16A1 Carbine
class Braf_m16a1_carbine : Braf_colt_auto_base_F {
_generalMacro = "Braf_m16a1_carbine";
author = "BRAF Team";
scope = 2;
model = "\braf\braf_weapons_assault_rifles\556mm_Colt\m16a1_carbine.p3d";
displayName = "Colt 733 5.56mm";
picture = "\braf\braf_weapons_assault_rifles\556mm_Colt\data\ui\carbine_ui.paa";
UiPicture = "\A3\weapons_f\data\UI\icon_regular_CA.paa";
hiddenSelections[] = {};
hiddenSelectionsTextures[] = {};
};
class Braf_m16a1_carbine_9mm : Braf_colt_auto_base_F {
_generalMacro = "Braf_m16a1_carbine_9mm";
author = "BRAF Team";
scope = 2;
model = "\braf\braf_weapons_assault_rifles\556mm_Colt\m16a1_carbine_9mm.p3d";
displayName = "Colt Carbine 9mm";
picture = "\braf\braf_weapons_assault_rifles\556mm_Colt\data\ui\carbine_ui.paa";
UiPicture = "\A3\weapons_f\data\UI\icon_regular_CA.paa";
magazineWell[] = { "" };
magazines[] = { "braf_30Rnd_9x19" };
hiddenSelections[] = {};
hiddenSelectionsTextures[] = {};
bullet1[]=
{
"A3\sounds_f\weapons\shells\9mm\metal_9mm_01",
0.50118703,
1,
15
};
bullet2[]=
{
"A3\sounds_f\weapons\shells\9mm\metal_9mm_02",
0.50118703,
1,
15
};
bullet3[]=
{
"A3\sounds_f\weapons\shells\9mm\metal_9mm_03",
0.50118703,
1,
15
};
bullet4[]=
{
"A3\sounds_f\weapons\shells\9mm\metal_9mm_04",
0.50118703,
1,
15
};
bullet5[]=
{
"A3\sounds_f\weapons\shells\9mm\dirt_9mm_01",
0.50118703,
1,
15
};
bullet6[]=
{
"A3\sounds_f\weapons\shells\9mm\dirt_9mm_02",
0.50118703,
1,
15
};
bullet7[]=
{
"A3\sounds_f\weapons\shells\9mm\dirt_9mm_03",
0.50118703,
1,
15
};
bullet8[]=
{
"A3\sounds_f\weapons\shells\9mm\dirt_9mm_04",
0.50118703,
1,
15
};
bullet9[]=
{
"A3\sounds_f\weapons\shells\9mm\grass_9mm_01",
0.39810699,
1,
15
};
bullet10[]=
{
"A3\sounds_f\weapons\shells\9mm\grass_9mm_02",
0.39810699,
1,
15
};
bullet11[]=
{
"A3\sounds_f\weapons\shells\9mm\grass_9mm_03",
0.39810699,
1,
15
};
bullet12[]=
{
"A3\sounds_f\weapons\shells\9mm\grass_9mm_04",
0.39810699,
1,
15
};
soundBullet[]=
{
"bullet1",
0.082999997,
"bullet2",
0.082999997,
"bullet3",
0.082999997,
"bullet4",
0.082999997,
"bullet5",
0.082999997,
"bullet6",
0.082999997,
"bullet7",
0.082999997,
"bullet8",
0.082999997,
"bullet9",
0.082999997,
"bullet10",
0.082999997,
"bullet11",
0.082999997,
"bullet12",
0.082999997
};
};
//M4A1
class Braf_m4a1 : Braf_colt_auto_base_F {
author = "BRAF Team";
_generalMacro = "Braf_m4a1";
scope = 2;
model = "\braf\braf_weapons_assault_rifles\556mm_Colt\m4a1.p3d";
displayName = "Colt M4A1 5.56mm";
picture = "\braf\braf_weapons_assault_rifles\556mm_Colt\data\ui\carbine_ui.paa";
UiPicture = "\A3\weapons_f\data\UI\icon_regular_CA.paa";
hiddenSelections[] = { "camo1" };
hiddenSelectionsTextures[] = { "braf\braf_weapons_assault_rifles\556mm_Colt\data\M4A1_CO.paa" };
};
class braf_m4a1_dot_magnifier : Braf_m4a1 {
scope=1;
author = "BRAF Team";
_generalMacro="braf_m4a1_dot_magnifier";
class LinkedItems
{
class LinkedItemsOptic
{
slot="CowsSlot";
item="braf_eotech_exps3_magnifier_up";
};
};
};
class Braf_m4a1_ris : Braf_m4a1 {
author = "BRAF Team";
_generalMacro = "Braf_m4a1_ris";
model = "\braf\braf_weapons_assault_rifles\556mm_Colt\m4a1_ris.p3d";
displayName = "Colt M4A1 5.56mm (RIS)";
hiddenSelections[] = { "camo" };
hiddenSelectionsTextures[] = { "braf\braf_weapons_assault_rifles\556mm_Colt\data\M16A4_CO.paa" };
class WeaponSlotsInfo {
class MuzzleSlot : MuzzleSlot {
linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
compatibleItems[] = { "muzzle_snds_M" };
iconPosition[] = { 0.12, 0.43099999 };
iconScale = 0.15000001;
};
class CowsSlot : asdg_OpticRail1913_short {
iconPosition[] = { 0.5, 0.36000001 };
iconScale = 0.15000001;
};
class PointerSlot : asdg_FrontSideRail {
iconPosition[] = { 0, 0 };
iconScale = 0.15000001;
};
class UnderBarrelSlot {
};
};
};
//-----------Burst-----------//
//M16A2
class Braf_m16a2 : Braf_colt_burst_base_F {
_generalMacro = "Braf_m16a2";
author = "BRAF Team";
scope = 2;
model = "\braf\braf_weapons_assault_rifles\556mm_Colt\m16a2.p3d";
displayName = "Colt M16A2 5.56mm";
picture = "\braf\braf_weapons_assault_rifles\556mm_Colt\data\ui\rifle_ui.paa";
UiPicture = "\A3\weapons_f\data\UI\icon_regular_CA.paa";
hiddenSelections[] = { "camo","camo4" };
hiddenSelectionsTextures[] = {
"braf\braf_weapons_assault_rifles\556mm_Colt\data\M16A2_CO.paa",
"braf\braf_weapons_assault_rifles\556mm_Colt\data\M16A2_CO.paa"
};
};
class braf_m16a2_mod : Braf_m16a2 {
_generalMacro = "braf_m16a2_ris_mod";
author = "BRAF Team";
displayName = "Colt M16A2 5.56mm (mod)";
model = "\braf\braf_weapons_assault_rifles\556mm_Colt\m16a2mod.p3d";
hiddenSelections[] = { "camo1", "camo2", "camo3" };
hiddenSelectionsTextures[] = {
"braf\braf_weapons_assault_rifles\556mm_Colt\data\733_CO.paa",
"braf\braf_weapons_assault_rifles\556mm_Colt\data\M16A4_CO.paa",
"braf\braf_weapons_assault_rifles\556mm_Colt\data\M4A1_CO.paa"
};
class WeaponSlotsInfo {
class MuzzleSlot : MuzzleSlot {
linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
compatibleItems[] = { "muzzle_snds_M" };
iconPosition[] = { 0.12, 0.43099999 };
iconScale = 0.15000001;
};
class CowsSlot : asdg_OpticRail1913_short {
iconPosition[] = { 0.5, 0.36000001 };
iconScale = 0.15000001;
};
class PointerSlot : asdg_FrontSideRail {
iconPosition[] = { 0, 0 };
iconScale = 0.15000001;
};
class UnderBarrelSlot {
};
};
};
class Braf_m16a2_scope : Braf_m16a2
{
author = "BRAF Team";
scope=1;
_generalMacro="Braf_m16a2_scope";
class LinkedItems
{
class LinkedItemsOptic //Attach Mira
{
slot = "CowsSlot";
item = "optic_SOS";
};
};
};
//M16A4
class braf_m16a4 : Braf_colt_burst_base_F {
_generalMacro = "braf_m16a2_ris_mod";
author = "BRAF Team";
scope = 2;
model = "\braf\braf_weapons_assault_rifles\556mm_Colt\m16a4.p3d";
displayName = "Colt M16A4 5.56mm";
picture = "\braf\braf_weapons_assault_rifles\556mm_Colt\data\ui\rifle_ui.paa";
UiPicture = "\A3\weapons_f\data\UI\icon_regular_CA.paa";
hiddenSelections[] = { "camo" };
hiddenSelectionsTextures[] = { "braf\braf_weapons_assault_rifles\556mm_Colt\data\M16A2_CO.paa" };
class WeaponSlotsInfo {
class MuzzleSlot : MuzzleSlot {
linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
compatibleItems[] = { "muzzle_snds_M" };
iconPosition[] = { 0.12, 0.43099999 };
iconScale = 0.15000001;
};
class CowsSlot : asdg_OpticRail1913_short {
iconPosition[] = { 0.5, 0.36000001 };
iconScale = 0.15000001;
};
class PointerSlot : asdg_FrontSideRail {
iconPosition[] = { 0, 0 };
iconScale = 0.15000001;
};
class UnderBarrelSlot {
};
};
};
class braf_m16a4_mod : braf_m16a4 {
_generalMacro = "braf_m16a4_mod";
author = "BRAF Team";
displayName = "Colt M16A4 5.56mm (mod)";
model = "\braf\braf_weapons_assault_rifles\556mm_Colt\m16a4mod.p3d";
hiddenSelections[] = { "camo1" };
hiddenSelectionsTextures[] = { "braf\braf_weapons_assault_rifles\556mm_Colt\data\733_CO.paa" };
class WeaponSlotsInfo {
class MuzzleSlot : MuzzleSlot {
linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
compatibleItems[] = { "muzzle_snds_M" };
iconPosition[] = { 0.12, 0.43099999 };
iconScale = 0.15000001;
};
class CowsSlot : asdg_OpticRail1913_short {
iconPosition[] = { 0.5, 0.36000001 };
iconScale = 0.15000001;
};
class PointerSlot : asdg_FrontSideRail {
iconPosition[] = { 0, 0 };
iconScale = 0.15000001;
};
class UnderBarrelSlot {
};
};
};

View File

@@ -0,0 +1,92 @@
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.22,0.22,0.22,1};
specularPower=30;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_assault_rifles\556mm_Colt\data\733_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[]={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_assault_rifles\556mm_Colt\data\733_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_assault_rifles\556mm_Colt\data\733_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(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.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,92 @@
ambient[] = {1,1,1,1};
diffuse[] = {0.7,0.7,0.7,1};
forcedDiffuse[] = {0,0,0,1};
emmisive[] = {0,0,0,0};
specular[] = {0.05,0.05,0.05,1};
specularPower = 60;
PixelShaderID = "Super";
VertexShaderID = "Super";
class Stage1
{
texture = "braf\braf_weapons_assault_rifles\556mm_Colt\data\9mm_mag\mt12_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,0.5,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,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_assault_rifles\556mm_Colt\data\9mm_mag\mt12_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_assault_rifles\556mm_Colt\data\9mm_mag\mt12_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,64,64,1)fresnel(5.4,1.4)";
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_f\env_land_ca.paa";
uvSource = "tex";
class uvTransform
{
aside[] = {1,0,0};
up[] = {0,1,0};
dir[] = {0,0,0};
pos[] = {0,0,0};
};
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

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,92 @@
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.22,0.22,0.22,1};
specularPower=30;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_assault_rifles\556mm_Colt\data\AR15_C7_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[]={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_assault_rifles\556mm_Colt\Data\AR15_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_assault_rifles\556mm_Colt\Data\AR15_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(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.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};

View File

@@ -0,0 +1,92 @@
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.22,0.22,0.22,1};
specularPower=30;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_assault_rifles\556mm_Colt\data\AR15_C7_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[]={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_assault_rifles\556mm_Colt\Data\AR15_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_assault_rifles\556mm_Colt\Data\AR15_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(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.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};

View File

@@ -0,0 +1,92 @@
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.22,0.22,0.22,1};
specularPower=30;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_assault_rifles\556mm_Colt\data\AR15_LMG_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[]={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_assault_rifles\556mm_Colt\Data\AR15_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_assault_rifles\556mm_Colt\Data\AR15_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(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.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};

View File

@@ -0,0 +1,92 @@
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.22,0.22,0.22,1};
specularPower=30;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_assault_rifles\556mm_Colt\data\AR15_M16A1_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[]={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_assault_rifles\556mm_Colt\Data\AR15_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_assault_rifles\556mm_Colt\Data\AR15_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(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.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};

View File

@@ -0,0 +1,92 @@
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.22,0.22,0.22,1};
specularPower=30;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_assault_rifles\556mm_Colt\data\AR15_M16A2_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[]={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_assault_rifles\556mm_Colt\Data\AR15_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_assault_rifles\556mm_Colt\Data\AR15_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(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.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};

View File

@@ -0,0 +1,92 @@
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.22,0.22,0.22,1};
specularPower=30;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_assault_rifles\556mm_Colt\data\AR15_M16A4_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[]={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_assault_rifles\556mm_Colt\Data\AR15_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_assault_rifles\556mm_Colt\Data\AR15_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(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.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};

View File

@@ -0,0 +1,92 @@
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.22,0.22,0.22,1};
specularPower=30;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_assault_rifles\556mm_Colt\data\AR15_M4A1_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[]={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_assault_rifles\556mm_Colt\Data\AR15_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_assault_rifles\556mm_Colt\Data\AR15_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(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.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};

View File

@@ -0,0 +1,92 @@
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.22,0.22,0.22,1};
specularPower=30;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_assault_rifles\556mm_Colt\data\lmg_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[]={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_assault_rifles\556mm_Colt\data\lmg_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_assault_rifles\556mm_Colt\data\lmg_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(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.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};

View File

@@ -0,0 +1,92 @@
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.22,0.22,0.22,1};
specularPower=30;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_assault_rifles\556mm_Colt\data\m16a1_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[]={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_assault_rifles\556mm_Colt\data\m16a1_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_assault_rifles\556mm_Colt\data\m16a1_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(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.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};

View File

@@ -0,0 +1,92 @@
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.22,0.22,0.22,1};
specularPower=30;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_assault_rifles\556mm_Colt\data\m16a2_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[]={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_assault_rifles\556mm_Colt\data\m16a2_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_assault_rifles\556mm_Colt\data\m16a2_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(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.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};

View File

@@ -0,0 +1,92 @@
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.22,0.22,0.22,1};
specularPower=30;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_assault_rifles\556mm_Colt\data\m16a4_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[]={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_assault_rifles\556mm_Colt\data\m16a4_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_assault_rifles\556mm_Colt\data\m16a4_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(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.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};

View File

@@ -0,0 +1,92 @@
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.22,0.22,0.22,1};
specularPower=30;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_assault_rifles\556mm_Colt\data\m203_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[]={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_assault_rifles\556mm_Colt\data\m203_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_assault_rifles\556mm_Colt\data\m203_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(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.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};

View File

@@ -0,0 +1,92 @@
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.22,0.22,0.22,1};
specularPower=30;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_assault_rifles\556mm_Colt\data\m4a1_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[]={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_assault_rifles\556mm_Colt\data\m4a1_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_assault_rifles\556mm_Colt\data\m4a1_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(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.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

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,603 @@
class CfgSkeletons
{
class Default
{
isDiscrete = 1;
skeletonInherit = "";
skeletonBones[] = {};
};
class ColtSkeleton : Default
{
skeletonBones[] =
{
"Magazine", "",
"topround", "Magazine",
"Aperture", "",
"Rear_adjust", "",
"Bolt", "",
"Bolt_lmg", "",
"laddersight", "",
"mount", "",
"magrelease", "",
"boltcatch", "",
"Trigger", "",
"Selector", "",
"zarelho", "",
"zarelho_2", "",
"alsa", "",
"upper", "",
"trilho_frontal", "",
"Break", "",
"zasleh", "",
"moyeu", "",
"optc", "",
"alca_transp", "",
"branch_l", "moyeu",
"branch_r", "moyeu"};
};
};
class CfgModels
{
class Default
{
selections[] = {};
selectionsInherit = "";
skeletonName = "";
};
class Colt : Default
{
sections[] =
{
"zasleh", "Magazine", "Bolt", "Trigger", "Break", "mount", "trilho_frontal", "upper", "lower", "Barrel", "Stock", "Camo", "Camo1", "Camo2", "Camo3","Camo4" };
skeletonName = "ColtSkeleton";
sectionsInherit = "";
class Animations
{
class toprail_hide
{
type = "hide";
source = "hasOptics";
selection = "mount";
minValue = 0;
maxvalue = 1;
hideValue = 0;
unhidevalue = 0.5;
};
class acessory_rail
{
type = "hide";
source = "hasAccessory";
selection = "trilho_frontal";
minValue = 0;
maxValue = 1;
hideValue = -1.0;
unhideValue = 0.5;
};
class muzzlebreak_hide
{
type = "hide";
source = "hasSuppressor";
selection = "Break";
minValue = 0.0;
maxvalue = 0.25;
hideValue = 0.01;
};
class magazine_hide
{
type = "hide";
source = "reloadMagazine";
selection = "Magazine";
minValue = 0.0;
maxValue = 1;
hideValue = 0.15;
unhideValue = 0.49;
};
class Aperture_knob_adjust
{
type = "rotation";
source = "zeroing1";
selection = "rear_adjust";
axis = "apadjust_axis";
minValue = 0.333;
maxValue = 1;
angle1 = rad 180;
angle0 = 0;
};
//All the angles in here are all Reyhards work
//#define RANGE_CH_100
// minValue = 0.166 - 0.01;
// maxValue = 0.166 * 1;
//#define RANGE_CH_200
// minValue = 0.166 * 2 - 0.01;
// maxValue = 0.166 * 2;
//#define RANGE_CH_300
// minValue = 0.166 * 3 - 0.01;
// maxValue = 0.166 * 3;
//#define RANGE_CH_400
// minValue = 0.166 * 4 - 0.01;
// maxValue = 0.166 * 4;
//#define RANGE_CH_500
// minValue = 0.166 * 5 - 0.01;
// maxValue = 0.166 * 5;
//#define RANGE_CH_600
// minValue = 0.166 * 6 - 0.01;
// maxValue = 0.166 * 6;
class Range_100_move : Aperture_knob_adjust
{
type = translation;
selection = "aperture";
axis = "aperture_axis";
minValue = 0.166 - 0.01;
maxValue = 0.166 * 1;
offset0 = 0.02;
offset1 = -0.005;
};
class Range_200_move : Range_100_move
{
minValue = 0.166 * 2 - 0.01;
maxValue = 0.166 * 2;
offset1 = 0.009;
};
class Range_300_move : Range_200_move
{
minValue = 0.166 * 3 - 0.01;
maxValue = 0.166 * 3;
offset1 = -0.012;
};
class Range_400_move : Range_200_move
{
minValue = 0.166 * 4 - 0.01;
maxValue = 0.166 * 4;
offset1 = -0.035;
};
class Range_500_move : Range_200_move
{
minValue = 0.166 * 5 - 0.01;
maxValue = 0.166 * 5;
offset1 = -0.055;
};
class Range_600_move : Range_400_move
{
minValue = 0.166 * 6 - 0.01;
maxValue = 0.166 * 6;
offset1 = -0.06;
};
class magazine_move1
{
type = "translation";
source = "reloadMagazine";
selection = "Magazine";
axis = "Magazine_axis";
minValue = 0.12;
maxValue = 0.15; //0.09; //"1";
offset0 = "0";
offset1 = "1";
};
class magazine_move2
{
type = "translation";
source = "reloadMagazine";
selection = "Magazine";
axis = "Magazine_axis";
minValue = 0.51666;
maxValue = 0.57; //0.09; //"1";
offset0 = "0";
offset1 = "-1";
};
class magrelease_move1
{
type = "translation";
source = "reloadMagazine";
selection = "Magrelease";
axis = "Magrelease_axis";
minValue = 0.1;
maxValue = 0.11; //0.09; //"1";
offset0 = "0";
offset1 = "1";
};
class magrelease_move2
{
type = "translation";
source = "reloadMagazine";
selection = "Magrelease";
axis = "Magrelease_axis";
minValue = 0.15;
maxValue = 0.17; //0.09; //"1";
offset0 = "0";
offset1 = "-1";
};
class bolt
{
type = "translation";
source = "reload";
selection = "Bolt";
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0;
maxValue = 0.5; //0.09; //"1";
offset0 = "0";
offset1 = "1";
};
class bolt2
{
type = "translation";
source = "reload";
selection = "Bolt";
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0.5;
maxValue = 1; //0.09; //"1";
offset0 = "0";
offset1 = "-1";
};
class bolt_reload1
{
type = "translation";
source = "reloadmagazine";
selection = "Bolt";
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0;
maxValue = 0.0001; //0.09; //"1";
offset0 = "0";
offset1 = "1";
};
class bolt2_reload
{
type = "translation";
source = "reloadmagazine";
selection = "Bolt";
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0.7333;
maxValue = 0.75;
offset0 = "0";
offset1 = "-1";
};
class bolt_empty
{
type = "translationx";
source = "isEmptyNoReload";
selection = "Bolt";
axis = "";
animPeriod = 0;
minValue = 0;
maxValue = 0.09; //10;
offset0 = "0";
offset1 = "1";
};
class boltlock_empty
{
type = "rotation";
source = "isEmpty";
selection = "Boltcatch";
axis = "boltcatch_axis";
animPeriod = 0;
minValue = 0;
maxValue = 1; //10;
angle1 = rad 12;
angle0 = 0;
};
class bolt_Lmg
{
type = "translation";
source = "reload";
selection = "Bolt_lmg";
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0;
maxValue = 0.5; //0.09; //"1";
offset0 = "1";
offset1 = "0";
//minValue = 0;
//maxValue = 0.5; //0.09; //"1";
//offset0 = "0";
//offset1 = "1";
};
class bolt2_Lmg
{
type = "translation";
source = "reload";
selection = "Bolt_lmg";
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0.5;
maxValue = 1; //0.09; //"1";
offset0 = "-1";
offset1 = "0";
//minValue = 0.5;
//maxValue = 1; //0.09; //"1";
//offset0 = "0";
//offset1 = "-1";
};
//class bolt_reload1_Lmg
//{
// type = "translation";
// source = "reloadmagazine";
// selection = "Bolt_lmg";
// axis = "bolt_axis";
// begin = "bolt_axis_end";
// end = "bolt_axis_begin";
// minValue = 0;
// maxValue = 0.0001; //0.09; //"1";
// offset0 = "1";
// offset1 = "0";
//};
//class bolt2_reload_Lmg
//{
// type = "translation";
// source = "reloadmagazine";
// selection = "Bolt_lmg";
// axis = "bolt_axis";
// begin = "bolt_axis_end";
// end = "bolt_axis_begin";
// minValue = 0.7333;
// maxValue = 0.75;
// offset0 = "-1";
// offset1 = "0";
//};
//class bolt_empty_Lmg
//{
// type="translationx";
// source = "isEmptyNoReload";
// selection="Bolt_lmg";
// axis="";
// animPeriod=0;
// minValue=-0.07;
// maxValue=0; //10;
// offset0 = "1";
// offset1 = "0";
//};
class bolt_empty_Lmg
{
type = "translation";
source = "isEmpty";
selection = "Bolt_lmg";
axis = "bolt_axis";
minValue = 0.5;
maxValue = 1; //0.09; //"1";
offset0 = "0";
offset1 = "-1";
//minValue=-0.07;
//maxValue=0; //10;
//offset0 = "1";
//offset1 = "0";
};
class backsight_hide
{
type = "rotationZ";
source = "weaponMuzzle";
selection = "laddersight";
axis = "ladder_axis";
animPeriod = 0;
minValue = 0.0;
maxValue = 1;
minPhase = 0.0;
maxPhase = 1;
angle0 = 0;
angle1 = rad 90;
};
class unloaded_magazine_hide
{
type = "hide";
source = "hasMagazine";
selection = "Magazine";
hideValue = 0.1;
};
class FireModeSwitch
{
type = "rotation";
source = "weaponMode";
memory = true;
selection = "Selector";
animPeriod = 0;
axis = "Selector_axis";
minValue = 0.0;
maxValue = 1;
minPhase = 0.0;
maxPhase = 1.0;
angle1 = rad 90;
angle0 = rad 0;
};
class mflash1
{
type = "hide";
source = "ammoRandom";
selection = "zasleh";
sourceAddress = "loop";
minValue = 0;
maxValue = 2; //10;
hideValue = 0.03;
};
class rounds_empty
{
type = "hide";
source = "isEmpty";
selection = "topround";
animPeriod = 0;
minValue = 0;
maxValue = 1; //10;
hideValue = 0.1;
};
class optic_rail
{
type = "hide";
source = "hasOptics";
selection = "optc";
minValue = 0;
maxValue = 1;
hideValue = -1.0;
unhideValue = 0.5;
};
class alca_transp_rail
{
type = "hide";
source = "hasOptics";
selection = "alca_transp";
minValue = 0;
maxValue = 1;
hideValue = 1.0;
unhideValue = -0.5;
};
class upper_shake
{
type = "rotationX";
source = "reload";
selection = "upper";
sourceAddress = "mirror";
axis = "upper_axis";
minPhase = 0;
maxPhase = 0.5;
minValue = 0;
maxValue = 0.5;
memory = 0;
angle0 = -0.008726646;
angle1 = 0.2;
};
class bipod_hide
{
type = "hide";
source = "hasUnderbarrel";
selection = "bipod";
minValue = 0;
maxValue = 1;
hideValue = 1;
// unHideValue = 0.5;
animPeriod = 0.0;
initPhase = 0.0;
};
class bipod_set
{
type = "rotation";
source = "bipod";
selection = "moyeu";
sourceAddress = "clamp";
axis = "axis_moyeu"; //*probably*
minValue = 0.0;
maxValue = 0.9;
angle0 = 0;
angle1 = "rad 90";
animPeriod = 0.0;
initPhase = 0.0;
memory = 0; //(default assumed)
};
class bipod_set2
{
type = "rotationy";
source = "bipod";
selection = "branch_l";
sourceAddress = "clamp";
axis = "branch_axis"; //*probably*
minValue = 0.9; //rad 0.0
maxValue = 1.0; //rad 57.29578
angle0 = 0;
angle1 = "rad -35";
animPeriod = 0.0;
initPhase = 0.0;
memory = 0; //(default assumed)
};
class bipod_set3
{
type = "rotationy";
source = "bipod";
selection = "branch_r";
sourceAddress = "clamp";
axis = "branch_axis";
minValue = 0.9;
maxValue = 1.0;
angle0 = 0;
angle1 = "rad 35";
animPeriod = 0.0;
initPhase = 0.0;
memory = 0; //(default assumed)
};
//class zarelho
//{
// type="rotation";
// source="reload";
// selection="zarelho";
// axis="zarelho_axis";
// minValue=-1;
// maxValue="1";
// angle0="rad -50";
// angle1="rad 50";
//};
class zarelho_2
{
type = "rotation";
source = "reload";
selection = "zarelho_2";
axis = "zarelho_2_axis";
minValue = -1;
maxValue = "1";
angle0 = "rad -50";
angle1 = "rad 50";
};
class alsa_shake
{
type = "rotationX";
source = "reload";
selection = "alsa";
sourceAddress = "mirror";
axis = "alsa_axis";
minPhase = 0;
maxPhase = 0.5;
minValue = 0;
maxValue = 0.5;
memory = 0;
angle0 = -0.05;
angle1 = 0.05;
};
};
};
class lmga2 : Colt
{
};
class lmga4 : Colt
{
};
class m4a1 : Colt
{
};
class m4a1_ris : Colt
{
};
class m16a1_carbine_9mm : Colt
{
};
class m16a1_carbine : Colt
{
};
class m16a1 : Colt
{
};
class m16a1e1 : Colt
{
};
class m16a2 : Colt
{
};
class m16a2mod : Colt
{
};
class m16a4 : Colt
{
};
class m16a4mod : Colt
{
};
};

View File

@@ -0,0 +1,331 @@
class braf_hk33 : Rifle_Base_F {
author = "NIArms Team";
displayName = "Heckler Koch HK33 5,56mm";
scope = public;
magazines[] = {"braf_30Rnd_556x45_HK"};
magazineWell[] = {BRAF_HK_556};
soundBipodDeploy[] = {"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_generic_deploy",0.70794576,1,20};
soundBipodFold[] = {"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_generic_fold",0.70794576,1,20};
soundBipodDown[] = {"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_generic_down",0.70794576,1,20};
soundBipodUp[] = {"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_generic_up",0.70794576,1,20};
deployedPivot = "bipod";
hasBipod = 0;
class Library {
libTextDesc = "Heckler Koch HK33";
};
model = "\braf\braf_weapons_assault_rifles\556mm_hk33\Hk33\hk33.p3d"; /// path to model
picture = "\braf\braf_weapons_assault_rifles\556mm_HK33\data\ui\hk33.paa";
reloadAction = "braf_GestureReloadHK33";
magazineReloadSwitchPhase = 0.3; // magazine will get replaced pretty early
handAnim[] = {"OFP2_ManSkeleton", "braf\braf_weapons_anim\animations\556mm_HK33\l1a1_hands.rtm"}; /// MX hand animation actually fits this rifle well
maxZeroing = 1600;
discreteDistanceInitIndex = 2;
maxRecoilSway = 0.0125;
swayDecaySpeed = 1.25;
hiddenSelections[] = {"camo1","camo2","camo3"};
hiddenSelectionsTextures[] = {"braf\braf_weapons_assault_rifles\556mm_HK33\data\m964_co.paa","braf\braf_weapons_assault_rifles\556mm_HK33\data\m964_co.paa","braf\braf_weapons_assault_rifles\556mm_HK33\data\trilho.paa"};
discreteDistance[] = { 100, 200, 300, 400 };
discreteDistanceCameraPoint[] = { "eye", "eye_200", "eye_300", "eye_400" }; /// the angle of gun changes with zeroing
cameraDir = "eye_look";
class GunParticles : GunParticles{
class EjectEffect {
positionName="Nabojnicestart";
directionName="Nabojniceend";
effectName="CaselessAmmoCloud";
};
class SecondEffect {
effectName = "ShotUnderwater";
positionName = "usti hlavne";
directionName = "konec hlavne";
};
class RifleAmmoCloud {
positionName="Nabojnicestart";
directionName="Nabojniceend";
effectName="CaselessAmmoCloud";
};
class SmokeEffect {
positionName="usti hlavne";
directionName="usti hlavne";
effectName="RifleAssaultCloud";
};
};
class WeaponSlotsInfo : WeaponSlotsInfo {
class MuzzleSlot : SlotInfo {
iconPicture = "\A3\Weapons_F\Data\UI\attachment_muzzle.paa";
iconScale = 0.2;
iconPinpoint = "Center";
iconPosition[] = {0, 0.45};
linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
compatibleItems[] = {"muzzle_snds_M","muzzle_snds_m_khk_F","muzzle_snds_m_snd_F"};
};
class CowsSlot : asdg_OpticRail1913_short {
iconPicture = "\A3\Weapons_F\Data\UI\attachment_top.paa";
iconPosition[] = {0.5, 0.36};
iconPinpoint = "Bottom";
iconScale = 0.2;
};
class PointerSlot : asdg_FrontSideRail {
iconPicture = "\A3\Weapons_F\Data\UI\attachment_side.paa";
iconPinpoint = "Center";
iconPosition[] = {0.3, 0.42};
iconScale = 0.25;
};
class UnderBarrelSlot : asdg_UnderSlot {
iconPicture = "\A3\Weapons_F_Mark\Data\UI\attachment_under.paa";
linkProxy = "\A3\Data_F_Mark\Proxies\Weapon_Slots\UNDERBARREL";
iconPosition[] = {0.32, 0.55};
iconScale = 0.2;
iconPinpoint = "Center";
};
};
distanceZoomMin = 100;
distanceZoomMax = 600;
changeFiremodeSound[]=
{
"braf\braf_weapons_assault_rifles\556mm_HK33\sounds\firemode",
0.6,
1,
5
};
drySound[]=
{
"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_Dry",
0.25118864,
1,
20
};
reloadMagazineSound[]=
{
"braf\braf_weapons_assault_rifles\556mm_HK33\sounds\Hk_reload",
0.630957,
1,
35
};
modes[]=
{
"Single",
"FullAuto",
"single_close_optics1",
"single_medium_optics1",
"single_far_optics1",
"fullauto_medium"
};
bullet1[]=
{
"A3\sounds_f\weapons\shells\5_56\metal_556_01",
0.63095737,
1,
15
};
bullet2[]=
{
"A3\sounds_f\weapons\shells\5_56\metal_556_02",
0.63095737,
1,
15
};
bullet3[]=
{
"A3\sounds_f\weapons\shells\5_56\metal_556_03",
0.63095737,
1,
15
};
bullet4[]=
{
"A3\sounds_f\weapons\shells\5_56\metal_556_04",
0.63095737,
1,
15
};
bullet5[]=
{
"A3\sounds_f\weapons\shells\5_56\dirt_556_01",
0.63095737,
1,
15
};
bullet6[]=
{
"A3\sounds_f\weapons\shells\5_56\dirt_556_02",
0.63095737,
1,
15
};
bullet7[]=
{
"A3\sounds_f\weapons\shells\5_56\dirt_556_03",
0.63095737,
1,
15
};
bullet8[]=
{
"A3\sounds_f\weapons\shells\5_56\dirt_556_04",
0.63095737,
1,
15
};
bullet9[]=
{
"A3\sounds_f\weapons\shells\5_56\grass_556_01",
0.63095737,
1,
15
};
bullet10[]=
{
"A3\sounds_f\weapons\shells\5_56\grass_556_02",
0.63095737,
1,
15
};
bullet11[]=
{
"A3\sounds_f\weapons\shells\5_56\grass_556_03",
0.63095737,
1,
15
};
bullet12[]=
{
"A3\sounds_f\weapons\shells\5_56\grass_556_04",
0.63095737,
1,
15
};
soundBullet[]=
{
"bullet1",
0.082999997,
"bullet2",
0.082999997,
"bullet3",
0.082999997,
"bullet4",
0.082999997,
"bullet5",
0.082999997,
"bullet6",
0.082999997,
"bullet7",
0.082999997,
"bullet8",
0.082999997,
"bullet9",
0.082999997,
"bullet10",
0.082999997,
"bullet11",
0.082999997,
"bullet12",
0.082999997
};
class Single : Mode_SemiAuto {
class BaseSoundModeType; // External class reference
class StandardSound : BaseSoundModeType {
soundSetShot[] = {"CAR_95_Shot_SoundSet", "CAR_95_Tail_SoundSet", "CAR_95_interiorTail_SoundSet"};
};
class SilencedSound : BaseSoundModeType {
soundsetshot[] = {"CAR_95_silencerShot_SoundSet", "CAR_95_silencerTail_SoundSet", "CAR_95_silencerInteriorTail_SoundSet"};
};
reloadTime = 0.096;
dispersion=0.00057999999;
mass = 130;
initSpeed = 850;
recoil="recoil_single_ebr";
recoilProne="recoil_single_prone_ebr";
minRange=2;
minRangeProbab=0.30000001;
midRange=350;
midRangeProbab=0.69999999;
maxRange=500;
maxRangeProbab=0.050000001;
};
class FullAuto : Mode_FullAuto {
class BaseSoundModeType; // External class reference
class StandardSound : BaseSoundModeType {
soundSetShot[] = {"CAR_95_Shot_SoundSet", "CAR_95_Tail_SoundSet", "CAR_95_interiorTail_SoundSet"};
};
class SilencedSound : BaseSoundModeType {
soundsetshot[] = {"CAR_95_silencerShot_SoundSet", "CAR_95_silencerTail_SoundSet", "CAR_95_silencerInteriorTail_SoundSet"};
};
reloadTime = 0.096;
dispersion=0.00057999999;
recoil="recoil_auto_ebr";
recoilProne="recoil_auto_prone_ebr";
minRange=0;
minRangeProbab=0.89999998;
midRange=15;
midRangeProbab=0.69999999;
maxRange=30;
maxRangeProbab=0.050000001;
aiRateOfFire=1e-006;
};
class single_close_optics1: Single
{
requiredOpticType=1;
showToPlayer=0;
minRange=2;
minRangeProbab=0.050000001;
midRange=300;
midRangeProbab=0.80000001;
maxRange=500;
maxRangeProbab=0.0099999998;
aiRateOfFire=2;
aiRateOfFireDistance=300;
};
class single_medium_optics1: single_close_optics1
{
minRange=300;
minRangeProbab=0.050000001;
midRange=500;
midRangeProbab=0.69999999;
maxRange=700;
maxRangeProbab=0.050000001;
aiRateOfFire=2;
aiRateOfFireDistance=500;
};
class single_far_optics1: single_medium_optics1
{
requiredOpticType=2;
minRange=300;
minRangeProbab=0.050000001;
midRange=700;
midRangeProbab=0.5;
maxRange=1000;
maxRangeProbab=0.050000001;
aiRateOfFire=4;
aiRateOfFireDistance=600;
};
class fullauto_medium: FullAuto
{
showToPlayer=0;
burst=3;
minRange=2;
minRangeProbab=0.5;
midRange=50;
midRangeProbab=0.69999999;
maxRange=100;
maxRangeProbab=0.050000001;
aiRateOfFire=2;
};
aiDispersionCoefY=3;
aiDispersionCoefX=2;
};
class braf_weapcc_muzzleFlash_SF: ItemCore
{
author = "BRAF Team";
scope = 2;
model = "a3\data_f\proxies\muzzle_flash\muzzle_flash_rifle_M4.p3d";
inertia = 0;
};

Binary file not shown.

View File

@@ -0,0 +1,430 @@
class CfgSkeletons
{
class Default {
isDiscrete = 1;
skeletonInherit = "";
skeletonBones[] = {};
};
class HK33Skeleton: Default
{
skeletonBones[]=
{
"Magazine", "",
"Diopter", "",
"bolt_oprod", "",
"Bolt", "bolt_oprod",
"Bolthandle", "bolt_oprod",
"magrelease", "",
"laddersight", "",
"M203_tube","",
"M203_round","M203_tube",
"M203_warhead","M203_round",
"Trigger", "",
"rail", "",
"Selector","",
"Break","",
"zasleh","",
"optic_rail", "",
"trilho_frontal", ""
};
};
};
class CfgModels
{
class Default {
selections[] = {};
selectionsInherit = "";
skeletonName = "";
};
class HK33M: Default
{
sections[]=
{
"zasleh","Magazine","Bolt","Trigger","Break","Diopter","Main","Stock","FCG","M203"
};
skeletonName="HK33Skeleton";
sectionsInherit = "";
class Animations
{
class optic_rail
{
type="hide";
source="hasOptics";
selection="optic_rail";
minValue=0;
maxValue=1;
hideValue=-1.0;
unhideValue = 0.5;
};
class acessory_rail
{
type="hide";
source="hasAccessory";
selection="trilho_frontal";
minValue=0;
maxValue=1;
hideValue=-1.0;
unhideValue = 0.5;
};
class muzzlebrake_hide
{
type="hide";
source="hasSuppressor";
selection="break";
minValue = 0.0;
maxvalue = 0.25;
hideValue = 0.01;
};
class Zeroing100m
{
type = "rotation";
source="zeroing1";
selection="Diopter";
axis = "drum_rot";
minValue = 0;
maxValue = 1;
angle0=rad 0;
angle1=rad -270;
};
class magazine_hide
{
type="hide";
source="reloadMagazine";
selection="Magazine";
minValue=0.0;
maxValue=1;
hideValue=0.23;
unhideValue=0.65;
};
class magazine_move1
{
type = "translation";
source="reloadMagazine";
selection="Magazine";
axis = "Magazine_axis";
minValue = 0.2138;
maxValue = 0.225; //0.09; //"1";
offset0 = "0";
offset1 = "1";
};
class magazine_move2
{
type = "translation";
source="reloadMagazine";
selection="Magazine";
axis = "Magazine_axis";
minValue = 0.664;
maxValue = 0.693; //0.09; //"1";
offset0 = "0";
offset1 = "-1";
};
class bolthandle_rot1
{
type = "rotation";
source="reloadMagazine";
selection="Bolthandle";
axis = "bhaxis";
minValue = 0.034;
maxValue = 0.046; //0.09; //"1";
angle1=rad 90;
angle0=rad 0;
};
class bolthandle_rot2
{
type = "rotation";
source="reloadMagazine";
selection="Bolthandle";
axis = "bhaxis";
minValue = 0.87;
maxValue = 0.895; //0.09; //"1";
angle1=rad -90;
angle0=rad 0;
};
class bolthandle_rot3
{
type = "rotation";
source="reloadMagazine";
selection="bolt_oprod";
axis = "bolt_axis";
minValue = 0.0924;
maxValue = 0.104; //0.09; //"1";
angle1=rad 45;
angle0=rad 0;
};
class bolthandle_rot4
{
type = "rotation";
source="reloadMagazine";
selection="bolt_oprod";
axis = "bolt_axis";
minValue = 0.821;
maxValue = 0.8497;
angle1=rad -45;
angle0=rad 0;
};
//moves charging handle back to rear
class bolthandle_move1
{
type = "translation";
source = "reloadMagazine";
selection = "bolt_oprod";
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0.052;
maxValue = 0.075; //0.09; //"1";
offset0 = "0";
offset1 = "1";
};
class bolthandle_move2
{
type = "translation";
source = "reloadMagazine";
selection = "bolt_oprod";
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0.867;
maxValue = 0.878;
offset0 = "0";
offset1 = "-1";
};
class magrelease_rot1
{
type = "rotation";
source="reloadMagazine";
selection="Magrelease";
axis = "Magrelease_axis";
minValue = 0.1888;
maxValue = 0.2; //0.09; //"1";
angle1=rad 10;
angle0=rad 0;
};
class magrelease_rot2
{
type ="rotation";
source="reloadMagazine";
selection="Magrelease";
axis = "Magrelease_axis";
minValue = 0.2111111;
maxValue = 0.22222222; //0.09; //"1";
angle1=rad -10;
angle0=rad 0;
};
class bolt
{
type = "translation";
source = "reload";
selection = "Bolt";
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0;
maxValue = 0.5; //0.09; //"1";
offset0 = "0";
offset1 = "1";
};
class bolt1
{
type = "translation";
source = "reload";
selection = "Bolt";
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0.5;
maxValue = 1; //0.09; //"1";
offset0 = "0";
offset1 = "-1";
};
class unloaded_magazine_hide {
type = "hide";
source = "hasMagazine";
selection = "Magazine";
hideValue = 0.1;
};
class FireModeSwitch {
type="rotationZ";
source="weaponMode";
memory=1;
selection="Selector";
animPeriod=0;
axis="Selector_axis";
minValue=0.0;
maxValue=0.42;
angle1=rad 45;
angle0=rad -60;
};
class MuzzleFlashROT
{
type="rotationX";
source="ammoRandom"; //use ammo count as phase for animation
sourceAddress="loop"; //loop when phase out of bounds
selection="zasleh"; //selection we want to rotate
axis="barrelaxis"; //no own axis - center of rotation is computed from selection
centerFirstVertex=true; //use first vertex of selection as center of rotation
minValue=0;
maxValue=4; //rotation angle will be 360/4 = 90 degrees
angle0="rad 7";
angle1="rad -7";
};
class mflash2
{
type="hide";
source="ammoRandom";
selection="zasleh";
sourceAddress="loop";
minValue=0;
maxValue=1;
hideValue=0.25;
};
class backsight_hide
{
type="rotationZ";
source="weaponMuzzle";
selection="Laddersight";
axis="ladder_axis";
animPeriod=0;
minValue=0.0;
maxValue=1;
minPhase=0.0;
maxPhase=1;
angle0=0;
angle1=rad 90;
};
class magazine_gl_reload_move_1
{
type="translation";
source="reloadMagazine.1";
selection="M203_TUBE";
axis = "bolt_axis";
minValue = 0.099291;//rad 5.688955
maxValue = 0.141844;//rad 8.127063
offset0 = 0.0;
offset1 = -1.0;
animPeriod = 0.0;
initPhase = 0.0;
};
class magazine_gl_reload_move_2: magazine_gl_reload_move_1
{
minValue = 0.758511;
maxValue = 0.786879;
offset1 = 1.0;
};
class grenade_reload_move_1_h
{
type="translation";
source="reloadMagazine.1";
selection="m203_round";
axis="bolt_axis";
minValue = 0.205674;//rad 11.784252
maxValue = 0.22695;//rad 13.003278
offset0 = -0.02;
offset1 = 2.0;
};
class grenade_reload_move_1_v: grenade_reload_move_1_h
{
type="translation";
axis="gl_vert_axis";
minValue = 0.212766;//rad 12.190595
maxValue = 0.22695;//rad 13.003278
offset0 = 0.0;
offset1 = 6.3;
};
class grenade_reload_move_2: grenade_reload_move_1_h
{
minValue = 0.333333;//rad 19.098574
maxValue = 0.496454;//rad 28.44472
offset0 = 0.0;
offset1 = -1.3;
};
class grenade_reload_move_3: grenade_reload_move_2
{
type="translation";
axis="gl_vert_axis";
minValue = 0.503546;//rad 28.85106
maxValue = 0.553191;//rad 31.69551
offset0 = 0.0;
offset1 = -6.3;
};
class grenade_reload_move_4: grenade_reload_move_2
{
minValue = 0.595745;//rad 34.133675
maxValue = 0.64539;//rad 36.978123
offset0 = 0.0;
offset1 = -0.68;
};
class magazine_gl_reload_hide
{
type="hide";
source="reloadMagazine.1";
selection="m203_round";
minValue = 0.0;//rad 0.0
maxValue = 1.0;//rad 57.29578
hideValue = 0.22695;
unHideValue = 0.496454;
};
class grenade_fired
{
type="hide";
source="revolving.1";
selection="m203_warhead";
minValue=0.0;
maxValue=1.0;
hideValue=-1.0;
unhideValue=0.5;
};
};
};
class hk33: HK33M {
class Animations: Animations
{
class FireModeSwitch {
type="rotationZ";
source="weaponMode";
memory=1;
selection="Selector";
animPeriod=0;
axis="Selector_axis";
minValue=0.0;
maxValue=0.33;
angle1=rad 100;
angle0=rad 30;
};
};
};
class hk33a2: HK33M {};
class hk33ka3: HK33M {
class Animations : Animations
{
class FireModeSwitch {
type="rotationZ";
source="weaponMode";
memory=1;
selection="Selector";
animPeriod=0;
axis="Selector_axis";
minValue=0.0;
maxValue=0.33;
angle1=rad 100;
angle0=rad 30;
};
};
};
class hk33_rails: HK33M {};
class hk33_rails_GL: HK33M {};
};

View File

@@ -0,0 +1,327 @@
class braf_hk33A3 : Rifle_Base_F
{
author = "NIArms Team";
displayName = "Heckler Koch HK33A3 5,56mm";
scope = public;
magazines[] = {"braf_30Rnd_556x45_HK"};
magazineWell[] = {BRAF_HK_556};
soundBipodDeploy[] = {"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_generic_deploy",0.70794576,1,20};
soundBipodFold[] = {"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_generic_fold",0.70794576,1,20};
soundBipodDown[] = {"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_generic_down",0.70794576,1,20};
soundBipodUp[] = {"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_generic_up",0.70794576,1,20};
deployedPivot = "bipod";
hasBipod = 0;
class Library {
libTextDesc = "Heckler Koch HK33A3";
};
model = "\braf\braf_weapons_assault_rifles\556mm_hk33\Hk33a3\hk33A3.p3d"; /// path to model
picture = "\braf\braf_weapons_assault_rifles\556mm_hk33\data\ui\hk33a3.paa";
reloadAction = "braf_GestureReloadHK33";
magazineReloadSwitchPhase = 0.3; // magazine will get replaced pretty early
handAnim[] = {"OFP2_ManSkeleton", "braf\braf_weapons_anim\animations\556mm_HK33\l1a1_hands.rtm"}; /// MX hand animation actually fits this rifle well
maxZeroing = 1600;
discreteDistanceInitIndex = 2;
maxRecoilSway = 0.0125;
swayDecaySpeed = 1.25;
discreteDistance[] = { 100, 200, 300, 400 };
discreteDistanceCameraPoint[] = { "eye", "eye_200", "eye_300", "eye_400" }; /// the angle of gun changes with zeroing
cameraDir = "eye_look";
class GunParticles : GunParticles{
class EjectEffect
{
positionName="Nabojnicestart";
directionName="Nabojniceend";
effectName="CaselessAmmoCloud";
};
class SecondEffect
{
effectName = "ShotUnderwater";
positionName = "usti hlavne";
directionName = "konec hlavne";
};
class RifleAmmoCloud
{
positionName="Nabojnicestart";
directionName="Nabojniceend";
effectName="CaselessAmmoCloud";
};
class SmokeEffect
{
positionName="usti hlavne";
directionName="usti hlavne";
effectName="RifleAssaultCloud";
};
};
class WeaponSlotsInfo : WeaponSlotsInfo {
class MuzzleSlot : SlotInfo {
iconPicture = "\A3\Weapons_F\Data\UI\attachment_muzzle.paa";
iconScale = 0.2;
iconPinpoint = "Center";
iconPosition[] = {0, 0.45};
linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
compatibleItems[] = {"muzzle_snds_M","muzzle_snds_m_khk_F","muzzle_snds_m_snd_F"};
};
class CowsSlot : asdg_OpticRail1913_short {
iconPicture = "\A3\Weapons_F\Data\UI\attachment_top.paa";
iconPosition[] = {0.5, 0.36};
iconPinpoint = "Bottom";
iconScale = 0.2;
};
class PointerSlot : asdg_FrontSideRail {
iconPicture = "\A3\Weapons_F\Data\UI\attachment_side.paa";
iconPinpoint = "Center";
iconPosition[] = {0.3, 0.42};
iconScale = 0.25;
};
class UnderBarrelSlot : asdg_UnderSlot {
iconPicture = "\A3\Weapons_F_Mark\Data\UI\attachment_under.paa";
linkProxy = "\A3\Data_F_Mark\Proxies\Weapon_Slots\UNDERBARREL";
iconPosition[] = {0.32, 0.55};
iconScale = 0.2;
iconPinpoint = "Center";
};
};
distanceZoomMin = 100;
distanceZoomMax = 600;
changeFiremodeSound[]=
{
"braf\braf_weapons_assault_rifles\556mm_HK33\sounds\firemode",
0.6,
1,
5
};
drySound[]=
{
"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_Dry",
0.25118864,
1,
20
};
reloadMagazineSound[]=
{
"braf\braf_weapons_assault_rifles\556mm_HK33\sounds\Hk_reload",
0.630957,
1,
35
};
modes[]=
{
"Single",
"FullAuto",
"single_close_optics1",
"single_medium_optics1",
"single_far_optics1",
"fullauto_medium"
};
bullet1[]=
{
"A3\sounds_f\weapons\shells\5_56\metal_556_01",
0.63095737,
1,
15
};
bullet2[]=
{
"A3\sounds_f\weapons\shells\5_56\metal_556_02",
0.63095737,
1,
15
};
bullet3[]=
{
"A3\sounds_f\weapons\shells\5_56\metal_556_03",
0.63095737,
1,
15
};
bullet4[]=
{
"A3\sounds_f\weapons\shells\5_56\metal_556_04",
0.63095737,
1,
15
};
bullet5[]=
{
"A3\sounds_f\weapons\shells\5_56\dirt_556_01",
0.63095737,
1,
15
};
bullet6[]=
{
"A3\sounds_f\weapons\shells\5_56\dirt_556_02",
0.63095737,
1,
15
};
bullet7[]=
{
"A3\sounds_f\weapons\shells\5_56\dirt_556_03",
0.63095737,
1,
15
};
bullet8[]=
{
"A3\sounds_f\weapons\shells\5_56\dirt_556_04",
0.63095737,
1,
15
};
bullet9[]=
{
"A3\sounds_f\weapons\shells\5_56\grass_556_01",
0.63095737,
1,
15
};
bullet10[]=
{
"A3\sounds_f\weapons\shells\5_56\grass_556_02",
0.63095737,
1,
15
};
bullet11[]=
{
"A3\sounds_f\weapons\shells\5_56\grass_556_03",
0.63095737,
1,
15
};
bullet12[]=
{
"A3\sounds_f\weapons\shells\5_56\grass_556_04",
0.63095737,
1,
15
};
soundBullet[]=
{
"bullet1",
0.082999997,
"bullet2",
0.082999997,
"bullet3",
0.082999997,
"bullet4",
0.082999997,
"bullet5",
0.082999997,
"bullet6",
0.082999997,
"bullet7",
0.082999997,
"bullet8",
0.082999997,
"bullet9",
0.082999997,
"bullet10",
0.082999997,
"bullet11",
0.082999997,
"bullet12",
0.082999997
};
class Single : Mode_SemiAuto {
class BaseSoundModeType; // External class reference
class StandardSound : BaseSoundModeType {
soundSetShot[] = {"CAR_95_Shot_SoundSet", "CAR_95_Tail_SoundSet", "CAR_95_interiorTail_SoundSet"};
};
class SilencedSound : BaseSoundModeType {
soundsetshot[] = {"CAR_95_silencerShot_SoundSet", "CAR_95_silencerTail_SoundSet", "CAR_95_silencerInteriorTail_SoundSet"};
};
reloadTime = 0.096;
dispersion=0.00057999999;
mass = 130;
initSpeed = 850;
recoil="recoil_single_ebr";
recoilProne="recoil_single_prone_ebr";
minRange=2;
minRangeProbab=0.30000001;
midRange=350;
midRangeProbab=0.69999999;
maxRange=500;
maxRangeProbab=0.050000001;
};
class FullAuto : Mode_FullAuto {
class BaseSoundModeType; // External class reference
class StandardSound : BaseSoundModeType {
soundSetShot[] = {"CAR_95_Shot_SoundSet", "CAR_95_Tail_SoundSet", "CAR_95_interiorTail_SoundSet"};
};
class SilencedSound : BaseSoundModeType {
soundsetshot[] = {"CAR_95_silencerShot_SoundSet", "CAR_95_silencerTail_SoundSet", "CAR_95_silencerInteriorTail_SoundSet"};
};
reloadTime = 0.096;
dispersion=0.00057999999;
recoil="recoil_auto_ebr";
recoilProne="recoil_auto_prone_ebr";
minRange=0;
minRangeProbab=0.89999998;
midRange=15;
midRangeProbab=0.69999999;
maxRange=30;
maxRangeProbab=0.050000001;
aiRateOfFire=1e-006;
};
class single_close_optics1: Single
{
requiredOpticType=1;
showToPlayer=0;
minRange=2;
minRangeProbab=0.050000001;
midRange=300;
midRangeProbab=0.80000001;
maxRange=500;
maxRangeProbab=0.0099999998;
aiRateOfFire=2;
aiRateOfFireDistance=300;
};
class single_medium_optics1: single_close_optics1
{
minRange=300;
minRangeProbab=0.050000001;
midRange=500;
midRangeProbab=0.69999999;
maxRange=700;
maxRangeProbab=0.050000001;
aiRateOfFire=2;
aiRateOfFireDistance=500;
};
class single_far_optics1: single_medium_optics1
{
requiredOpticType=2;
minRange=300;
minRangeProbab=0.050000001;
midRange=700;
midRangeProbab=0.5;
maxRange=1000;
maxRangeProbab=0.050000001;
aiRateOfFire=4;
aiRateOfFireDistance=600;
};
class fullauto_medium: FullAuto
{
showToPlayer=0;
burst=3;
minRange=2;
minRangeProbab=0.5;
midRange=50;
midRangeProbab=0.69999999;
maxRange=100;
maxRangeProbab=0.050000001;
aiRateOfFire=2;
};
aiDispersionCoefY=3;
aiDispersionCoefX=2;
};

Binary file not shown.

View File

@@ -0,0 +1,430 @@
class CfgSkeletons
{
class Default {
isDiscrete = 1;
skeletonInherit = "";
skeletonBones[] = {};
};
class HK33Skeleton: Default
{
skeletonBones[]=
{
"Magazine", "",
"Diopter", "",
"bolt_oprod", "",
"Bolt", "bolt_oprod",
"Bolthandle", "bolt_oprod",
"magrelease", "",
"laddersight", "",
"M203_tube","",
"M203_round","M203_tube",
"M203_warhead","M203_round",
"Trigger", "",
"rail", "",
"Selector","",
"Break","",
"zasleh","",
"optic_rail", "",
"trilho_frontal", ""
};
};
};
class CfgModels
{
class Default {
selections[] = {};
selectionsInherit = "";
skeletonName = "";
};
class HK33M: Default
{
sections[]=
{
"zasleh","Magazine","Bolt","Trigger","Break","Diopter","Main","Stock","FCG","M203"
};
skeletonName="HK33Skeleton";
sectionsInherit = "";
class Animations
{
class optic_rail
{
type="hide";
source="hasOptics";
selection="optic_rail";
minValue=0;
maxValue=1;
hideValue=-1.0;
unhideValue = 0.5;
};
class acessory_rail
{
type="hide";
source="hasAccessory";
selection="trilho_frontal";
minValue=0;
maxValue=1;
hideValue=-1.0;
unhideValue = 0.5;
};
class muzzlebrake_hide
{
type="hide";
source="hasSuppressor";
selection="break";
minValue = 0.0;
maxvalue = 0.25;
hideValue = 0.01;
};
class Zeroing100m
{
type = "rotation";
source="zeroing1";
selection="Diopter";
axis = "drum_rot";
minValue = 0;
maxValue = 1;
angle0=rad 0;
angle1=rad -270;
};
class magazine_hide
{
type="hide";
source="reloadMagazine";
selection="Magazine";
minValue=0.0;
maxValue=1;
hideValue=0.23;
unhideValue=0.65;
};
class magazine_move1
{
type = "translation";
source="reloadMagazine";
selection="Magazine";
axis = "Magazine_axis";
minValue = 0.2138;
maxValue = 0.225; //0.09; //"1";
offset0 = "0";
offset1 = "1";
};
class magazine_move2
{
type = "translation";
source="reloadMagazine";
selection="Magazine";
axis = "Magazine_axis";
minValue = 0.664;
maxValue = 0.693; //0.09; //"1";
offset0 = "0";
offset1 = "-1";
};
class bolthandle_rot1
{
type = "rotation";
source="reloadMagazine";
selection="Bolthandle";
axis = "bhaxis";
minValue = 0.034;
maxValue = 0.046; //0.09; //"1";
angle1=rad 90;
angle0=rad 0;
};
class bolthandle_rot2
{
type = "rotation";
source="reloadMagazine";
selection="Bolthandle";
axis = "bhaxis";
minValue = 0.87;
maxValue = 0.895; //0.09; //"1";
angle1=rad -90;
angle0=rad 0;
};
class bolthandle_rot3
{
type = "rotation";
source="reloadMagazine";
selection="bolt_oprod";
axis = "bolt_axis";
minValue = 0.0924;
maxValue = 0.104; //0.09; //"1";
angle1=rad 45;
angle0=rad 0;
};
class bolthandle_rot4
{
type = "rotation";
source="reloadMagazine";
selection="bolt_oprod";
axis = "bolt_axis";
minValue = 0.821;
maxValue = 0.8497;
angle1=rad -45;
angle0=rad 0;
};
//moves charging handle back to rear
class bolthandle_move1
{
type = "translation";
source = "reloadMagazine";
selection = "bolt_oprod";
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0.052;
maxValue = 0.075; //0.09; //"1";
offset0 = "0";
offset1 = "1";
};
class bolthandle_move2
{
type = "translation";
source = "reloadMagazine";
selection = "bolt_oprod";
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0.867;
maxValue = 0.878;
offset0 = "0";
offset1 = "-1";
};
class magrelease_rot1
{
type = "rotation";
source="reloadMagazine";
selection="Magrelease";
axis = "Magrelease_axis";
minValue = 0.1888;
maxValue = 0.2; //0.09; //"1";
angle1=rad 10;
angle0=rad 0;
};
class magrelease_rot2
{
type ="rotation";
source="reloadMagazine";
selection="Magrelease";
axis = "Magrelease_axis";
minValue = 0.2111111;
maxValue = 0.22222222; //0.09; //"1";
angle1=rad -10;
angle0=rad 0;
};
class bolt
{
type = "translation";
source = "reload";
selection = "Bolt";
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0;
maxValue = 0.5; //0.09; //"1";
offset0 = "0";
offset1 = "1";
};
class bolt1
{
type = "translation";
source = "reload";
selection = "Bolt";
axis = "bolt_axis";
begin = "bolt_axis_end";
end = "bolt_axis_begin";
minValue = 0.5;
maxValue = 1; //0.09; //"1";
offset0 = "0";
offset1 = "-1";
};
class unloaded_magazine_hide {
type = "hide";
source = "hasMagazine";
selection = "Magazine";
hideValue = 0.1;
};
class FireModeSwitch {
type="rotationZ";
source="weaponMode";
memory=1;
selection="Selector";
animPeriod=0;
axis="Selector_axis";
minValue=0.0;
maxValue=0.42;
angle1=rad 45;
angle0=rad -60;
};
class MuzzleFlashROT
{
type="rotationX";
source="ammoRandom"; //use ammo count as phase for animation
sourceAddress="loop"; //loop when phase out of bounds
selection="zasleh"; //selection we want to rotate
axis="barrelaxis"; //no own axis - center of rotation is computed from selection
centerFirstVertex=true; //use first vertex of selection as center of rotation
minValue=0;
maxValue=4; //rotation angle will be 360/4 = 90 degrees
angle0="rad 7";
angle1="rad -7";
};
class mflash2
{
type="hide";
source="ammoRandom";
selection="zasleh";
sourceAddress="loop";
minValue=0;
maxValue=1;
hideValue=0.25;
};
class backsight_hide
{
type="rotationZ";
source="weaponMuzzle";
selection="Laddersight";
axis="ladder_axis";
animPeriod=0;
minValue=0.0;
maxValue=1;
minPhase=0.0;
maxPhase=1;
angle0=0;
angle1=rad 90;
};
class magazine_gl_reload_move_1
{
type="translation";
source="reloadMagazine.1";
selection="M203_TUBE";
axis = "bolt_axis";
minValue = 0.099291;//rad 5.688955
maxValue = 0.141844;//rad 8.127063
offset0 = 0.0;
offset1 = -1.0;
animPeriod = 0.0;
initPhase = 0.0;
};
class magazine_gl_reload_move_2: magazine_gl_reload_move_1
{
minValue = 0.758511;
maxValue = 0.786879;
offset1 = 1.0;
};
class grenade_reload_move_1_h
{
type="translation";
source="reloadMagazine.1";
selection="m203_round";
axis="bolt_axis";
minValue = 0.205674;//rad 11.784252
maxValue = 0.22695;//rad 13.003278
offset0 = -0.02;
offset1 = 2.0;
};
class grenade_reload_move_1_v: grenade_reload_move_1_h
{
type="translation";
axis="gl_vert_axis";
minValue = 0.212766;//rad 12.190595
maxValue = 0.22695;//rad 13.003278
offset0 = 0.0;
offset1 = 6.3;
};
class grenade_reload_move_2: grenade_reload_move_1_h
{
minValue = 0.333333;//rad 19.098574
maxValue = 0.496454;//rad 28.44472
offset0 = 0.0;
offset1 = -1.3;
};
class grenade_reload_move_3: grenade_reload_move_2
{
type="translation";
axis="gl_vert_axis";
minValue = 0.503546;//rad 28.85106
maxValue = 0.553191;//rad 31.69551
offset0 = 0.0;
offset1 = -6.3;
};
class grenade_reload_move_4: grenade_reload_move_2
{
minValue = 0.595745;//rad 34.133675
maxValue = 0.64539;//rad 36.978123
offset0 = 0.0;
offset1 = -0.68;
};
class magazine_gl_reload_hide
{
type="hide";
source="reloadMagazine.1";
selection="m203_round";
minValue = 0.0;//rad 0.0
maxValue = 1.0;//rad 57.29578
hideValue = 0.22695;
unHideValue = 0.496454;
};
class grenade_fired
{
type="hide";
source="revolving.1";
selection="m203_warhead";
minValue=0.0;
maxValue=1.0;
hideValue=-1.0;
unhideValue=0.5;
};
};
};
class hk33A3: HK33M {
class Animations: Animations
{
class FireModeSwitch {
type="rotationZ";
source="weaponMode";
memory=1;
selection="Selector";
animPeriod=0;
axis="Selector_axis";
minValue=0.0;
maxValue=0.33;
angle1=rad 100;
angle0=rad 30;
};
};
};
class hk33a2: HK33M {};
class hk33ka3: HK33M {
class Animations : Animations
{
class FireModeSwitch {
type="rotationZ";
source="weaponMode";
memory=1;
selection="Selector";
animPeriod=0;
axis="Selector_axis";
minValue=0.0;
maxValue=0.33;
angle1=rad 100;
angle0=rad 30;
};
};
};
class hk33_rails: HK33M {};
class hk33_rails_GL: HK33M {};
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More