Added R3F compat pbo

This commit is contained in:
ulteq 2015-06-07 10:11:50 +02:00
parent c75ae71adf
commit afb2bb45fe
5 changed files with 311 additions and 0 deletions

View File

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

View File

@ -0,0 +1,100 @@
class CfgAmmo {
class Default;
class BulletBase;
class R3F_9x19_Ball: BulletBase {
ACE_caliber=9.017;
ACE_bulletLength=15.494;
ACE_bulletMass=8.0352;
ACE_ammoTempMuzzleVelocityShifts[]={-2.655, -2.547, -2.285, -2.012, -1.698, -1.280, -0.764, -0.153, 0.596, 1.517, 2.619};
ACE_ballisticCoefficients[]={0.165};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={340, 370, 400};
ACE_barrelLengths[]={101.6, 127.0, 228.6};
};
class R3F_556x45_Ball: BulletBase {
ACE_caliber=5.69;
ACE_bulletLength=23.012;
ACE_bulletMass=4.0176;
ACE_ammoTempMuzzleVelocityShifts[]={-27.20, -26.44, -23.76, -21.00, -17.54, -13.10, -7.95, -1.62, 6.24, 15.48, 27.75};
ACE_ballisticCoefficients[]={0.151};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=7;
ACE_muzzleVelocities[]={723, 764, 796, 825, 843, 866, 878, 892, 906, 915, 922, 900};
ACE_barrelLengths[]={210.82, 238.76, 269.24, 299.72, 330.2, 360.68, 391.16, 419.1, 449.58, 480.06, 508.0, 609.6};
};
class R3F_762x51_Ball: BulletBase {
ACE_caliber=7.823;
ACE_bulletLength=28.956;
ACE_bulletMass=9.4608;
ACE_ammoTempMuzzleVelocityShifts[]={-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[]={0.2};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ICAO";
ACE_dragModel=7;
ACE_muzzleVelocities[]={700, 800, 820, 833, 845};
ACE_barrelLengths[]={254.0, 406.4, 508.0, 609.6, 660.4};
};
class R3F_127x99_Ball: BulletBase {
ACE_caliber=12.954;
ACE_bulletLength=58.674;
ACE_bulletMass=41.9256;
ACE_ammoTempMuzzleVelocityShifts[]={-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[]={0.670};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={900};
ACE_barrelLengths[]={736.6};
};
class R3F_127x99_PEI: R3F_127x99_Ball {
ACE_caliber=12.954;
ACE_bulletLength=58.674;
ACE_bulletMass=41.9256;
ACE_ammoTempMuzzleVelocityShifts[]={-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[]={0.670};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={900};
ACE_barrelLengths[]={736.6};
};
class R3F_127x99_Ball2: BulletBase {
ACE_caliber=12.954;
ACE_bulletLength=58.674;
ACE_bulletMass=41.9256;
ACE_ammoTempMuzzleVelocityShifts[]={-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[]={0.670};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={900};
ACE_barrelLengths[]={736.6};
};
class R3F_127x99_PEI2: R3F_127x99_Ball2 {
ACE_caliber=12.954;
ACE_bulletLength=58.674;
ACE_bulletMass=41.9256;
ACE_ammoTempMuzzleVelocityShifts[]={-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[]={0.670};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={900};
ACE_barrelLengths[]={736.6};
};
class R3F_127x99_Ball3: BulletBase {
ACE_caliber=12.954;
ACE_bulletLength=58.674;
ACE_bulletMass=41.9256;
ACE_ammoTempMuzzleVelocityShifts[]={-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[]={0.670};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={900};
ACE_barrelLengths[]={736.6};
};
};

View File

@ -0,0 +1,190 @@
class CfgWeapons {
class Pistol_Base_F;
class Rifle_Base_F;
class R3F_Famas_F1: Rifle_Base_F {
ACE_barrelTwist=304.8;
ACE_barrelLength=488;
};
class R3F_Famas_surb: R3F_Famas_F1 {
ACE_barrelTwist=304.8;
ACE_barrelLength=403.86;
};
class R3F_FRF2: Rifle_Base_F {
ACE_barrelTwist=304.8;
ACE_barrelLength=650;
};
class R3F_PGM_Hecate_II: Rifle_Base_F {
ACE_barrelTwist=381.0;
ACE_barrelLength=700;
};
class R3F_M107: Rifle_Base_F {
ACE_barrelTwist=381.0;
ACE_barrelLength=736.6;
};
class R3F_TAC50: Rifle_Base_F
{
ACE_barrelTwist=381.0;
ACE_barrelLength=736.6;
};
class R3F_Minimi: Rifle_Base_F {
ACE_barrelTwist=177.8;
ACE_barrelLength=347.98;
};
class R3F_Minimi_HG: R3F_Minimi {
};
class R3F_Minimi_762: R3F_Minimi {
ACE_barrelTwist=304.8;
ACE_barrelLength=502.92;
};
class R3F_Minimi_762_HG: R3F_Minimi_762 {
};
class R3F_HK417M: Rifle_Base_F {
ACE_barrelTwist=279.4;
ACE_barrelLength=406;
};
class R3F_HK417S_HG: R3F_HK417M
{
ACE_barrelTwist=279.4;
ACE_barrelLength=305;
};
class R3F_HK417L: R3F_HK417M {
ACE_barrelTwist=279.4;
ACE_barrelLength=508;
};
class R3F_HK416M: Rifle_Base_F {
ACE_barrelTwist=177.8;
ACE_barrelLength=368.3;
};
class R3F_MP5SD: Rifle_Base_F {
ACE_barrelTwist=254.0;
ACE_barrelLength=144.78;
};
class R3F_MP5A5: R3F_MP5SD {
ACE_barrelTwist=254.0;
ACE_barrelLength=226.06;
};
class R3F_M4S90: Rifle_Base_F {
ACE_twistDirection=0;
ACE_barrelTwist=0;
ACE_barrelLength=144.78;
};
class R3F_PAMAS: Pistol_Base_F {
ACE_barrelTwist=248.92;
ACE_barrelLength=124.46;
};
class ItemCore;
class InventoryOpticsItem_Base_F;
class R3F_J4: ItemCore {
ACE_ScopeAdjust_Vertical[] = { -8, 8 };
ACE_ScopeAdjust_Horizontal[] = { -8, 8 };
ACE_ScopeAdjust_VerticalIncrement = 0.2;
ACE_ScopeAdjust_HorizontalIncrement = 0.2;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class J4 {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class R3F_J8: ItemCore {
ACE_ScopeAdjust_Vertical[] = { -10, 10 };
ACE_ScopeAdjust_Horizontal[] = { -10, 10 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class J8 {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class R3F_J8_MILDOT: R3F_J8 {
ACE_ScopeAdjust_Vertical[] = { -10, 10 };
ACE_ScopeAdjust_Horizontal[] = { -10, 10 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class J8_MILDOT {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class R3F_J10: ItemCore {
ACE_ScopeAdjust_Vertical[] = { -10, 10 };
ACE_ScopeAdjust_Horizontal[] = { -10, 10 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class J10 {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class R3F_J10_MILDOT: R3F_J10 {
ACE_ScopeAdjust_Vertical[] = { -10, 10 };
ACE_ScopeAdjust_Horizontal[] = { -10, 10 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class J10_MILDOT {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class R3F_ZEISS: ItemCore {
ACE_ScopeAdjust_Vertical[] = { 0, 23 };
ACE_ScopeAdjust_Horizontal[] = { -7, 7 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class ZEISS_MILDOT {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class R3F_NF: ItemCore {
ACE_ScopeAdjust_Vertical[] = { -0.9, 34 };
ACE_ScopeAdjust_Horizontal[] = { -11, 11 };
ACE_ScopeAdjust_VerticalIncrement = 0.2;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class NF_MILDOT {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
class R3F_NF42: ItemCore {
ACE_ScopeAdjust_Vertical[] = { -27.3, 27.3 };
ACE_ScopeAdjust_Horizontal[] = { -27.3, 27.3};
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class OpticsModes {
class NF42_MILDOT {
discreteDistance[] = { 100 };
discreteDistanceInitIndex = 0;
};
};
};
};
};

View File

@ -0,0 +1,15 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"R3F_Armes", "R3F_Acc"};
author[]={"Ruthberg"};
VERSION_CONFIG;
};
};
#include "CfgAmmo.hpp"
#include "CfgWeapons.hpp"

View File

@ -0,0 +1,5 @@
#define COMPONENT BWA3_Weapons_comp
#include "\z\ace\addons\main\script_mod.hpp"
#include "\z\ace\addons\main\script_macros.hpp"