Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CfgAmmo
- {
- class RocketBase;
- class ShellBase;
- class vil_73mm_HE: RocketBase
- {
- model = "\A3\Weapons_F_Exp\Launchers\RPG7\rocket_rpg7.p3d";
- hit = 80;
- indirectHit = 50;
- indirectHitRange = 4;
- warheadName = "HE";
- cost = 200;
- airFriction = 0.65;
- sideAirFriction = 0.15;
- maxSpeed = 300;
- initTime = 0.1;
- thrustTime = 0.05;
- thrust = 4000;
- fuseDistance = 5;
- CraterEffects = "ATMissileCrater";
- explosionEffects = "ATMissileExplosion";
- effectsMissileInit = "";
- effectsMissile = "EmptyEffect";
- simulationStep = 0.02;
- airLock = 0;
- aiAmmoUsageFlags = "128 + 512";
- irLock = 0;
- timeToLive = 6.1;
- maneuvrability = 0;
- allowAgainstInfantry = 1;
- explosive = 1;
- };
- class vil_73mm_HEAT: vil_73mm_HE
- {
- hit = 250;
- indirectHit = 10;
- indirectHitRange = 0.2;
- warheadName = "HEAT";
- dangerRadiusHit = 100;
- suppressionRadiusHit = 20;
- typicalSpeed = 400;
- explosive = 1;
- allowAgainstInfantry = 0;
- };
- class M_Titan_AT;
- class M_vil_AT3_rocket: M_Titan_AT
- {
- proxyShape = "\vil_PL_veh\tank\at3_proxy";
- flightProfiles[] = {"Direct"};
- maxControlRange = 3000;
- initTime = 0.05;
- thrust = 50;
- thrust = 20;
- trackOversteer = 0;
- trackLead = 0;
- manualControl = 1;
- missileManualControlCone = 30;
- maxControlRange = 3000;
- };
- };
- class CfgMagazines
- {
- class VehicleMagazine;
- class 20Rnd_vil_OG15W: VehicleMagazine
- {
- scope = 2;
- count = 20;
- ammo = "vil_73mm_HE";
- initSpeed = 200;
- maxLeadSpeed = 20;
- tracersEvery = 5;
- nameSound = "mgun";
- displayName = "OG15W";
- descriptionShort = "OG15W";
- };
- class 20Rnd_vil_PG15W: VehicleMagazine
- {
- scope = 2;
- count = 20;
- ammo = "vil_73mm_HEAT";
- initSpeed = 400;
- maxLeadSpeed = 20;
- tracersEvery = 5;
- nameSound = "mgun";
- displayName = "PG15W";
- descriptionShort = "PG15W";
- };
- class 1Rnd_VIL_AT3_BMP1 : VehicleMagazine {
- scope = 2;
- displayName = "AT-3/9M14";
- descriptionShort = "AT-3/9M14";
- ammo = M_vil_AT3_rocket;
- count = 1;
- nameSound = "missiles";
- pylonWeapon = "vil_AT3_BMP_Launcher";
- maverickWeaponIndexOffset = 3;
- initSpeed = 50;
- maxLeadSpeed = 20;
- };
- };
- class Mode_SemiAuto;
- class CfgWeapons
- {
- class CannonCore;
- class vil_2A28_canon: CannonCore
- {
- scope = 1;
- displayName = "2A28";
- cursor = "EmptyCursor";
- cursorAim = "cannon";
- showAimCursorInternal = 0;
- nameSound = "cannon";
- reloadSound[] = {"A3\Sounds_F\arsenal\weapons_vehicles\cannon_105mm\Cannon_105mm_Reload_01",2.5118864,1,10};
- reloadMagazineSound[] = {"A3\Sounds_F\arsenal\weapons_vehicles\cannon_105mm\Cannon_105mm_Reload_01",2.5118864,1,10};
- magazines[] = {"20Rnd_vil_PG15W","20Rnd_vil_OG15W"};
- reloadTime = 6;
- magazineReloadTime = 5;
- autoReload = 1;
- canLock = 0;
- ballisticsComputer = "2 + 16";
- distanceZoomMin = 300;
- distanceZoomMax = 300;
- FCSMaxLeadSpeed = 25;
- FCSZeroingDelay = 1;
- aiDispersionCoefY = 2;
- aiDispersionCoefX = 2;
- autoFire = 0;
- modes[] = {"player","close","short","medium"};
- class GunParticles
- {
- class FirstEffect
- {
- effectName = "CannonFired";
- positionName = "Usti hlavne";
- directionName = "Konec hlavne";
- };
- };
- class player: Mode_SemiAuto
- {
- sounds[] = {"StandardSound"};
- class StandardSound
- {
- begin1[] = {"A3\Sounds_F\arsenal\weapons_vehicles\cannon_105mm\slammer_105mm_distant",2,1,800};
- soundBegin[] = {"begin1",1};
- };
- soundContinuous = 0;
- reloadTime = 5;
- magazineReloadTime = 5;
- autoReload = 1;
- autoFire = 0;
- dispersion = 0.0006;
- aiRateOfFire = 1;
- aiRateOfFireDistance = 10;
- minRange = 0;
- minRangeProbab = 0.01;
- midRange = 1;
- midRangeProbab = 0.01;
- maxRange = 2;
- maxRangeProbab = 0.01;
- };
- class close: player
- {
- showToPlayer = 0;
- burst = 1;
- burstRangeMax = 1;
- aiRateOfFire = 6;
- aiRateOfFireDispersion = 0.5;
- aiRateOfFireDistance = 500;
- minRange = 5;
- minRangeProbab = 0.1;
- midRange = 500;
- midRangeProbab = 0.8;
- maxRange = 1000;
- maxRangeProbab = 0.85;
- };
- class short: close
- {
- showToPlayer = 0;
- burst = 1;
- burstRangeMax = 1;
- aiRateOfFire = 6;
- aiRateOfFireDispersion = 1;
- aiRateOfFireDistance = 1000;
- minRange = 500;
- minRangeProbab = 0.3;
- midRange = 1000;
- midRangeProbab = 0.85;
- maxRange = 1500;
- maxRangeProbab = 0.85;
- };
- class medium: close
- {
- dispersion = 0.00075;
- showToPlayer = 0;
- burst = 1;
- burstRangeMax = 1;
- aiRateOfFire = 8;
- aiRateOfFireDispersion = 4;
- aiRateOfFireDistance = 1250;
- minRange = 1000;
- minRangeProbab = 0.6;
- midRange = 1500;
- midRangeProbab = 0.85;
- maxRange = 2000;
- maxRangeProbab = 0.8;
- };
- };
- class cannon_125mm;
- class vil_tank_2A46 : cannon_125mm
- {
- displayName = "2A46";
- displaynameshort = "2A46";
- };
- class LMG_coax;
- class vil_tank_PKT : LMG_coax
- {
- displayName = "PKT";
- displaynameshort = "PKT";
- magazines[] = {"1000Rnd_762x51_Belt"};
- class GunParticles
- {
- class FirstEffect
- {
- effectName = "MachineGun1";
- positionName = "kulas";
- directionName = "kulas_dir";
- };
- };
- };
- class HMG_NSVT;
- class vil_tank_NSV : HMG_NSVT
- {
- displayName = "NSV";
- displaynameshort = "NSV";
- magazines[] = {"50Rnd_127x108_Ball"};
- class GunParticles
- {
- class FirstEffect
- {
- effectName = "MachineGun1";
- positionName = "usti hlavne_2";
- directionName = "usti hlavne_2_dir";
- };
- class ejecteffect
- {
- effectName = "MachineGunCartridge2";
- positionName = "eject";
- directionName = "eject_dir";
- };
- };
- };
- class missiles_titan;
- class vil_AT3_BMP_Launcher : missiles_titan {
- displayName = "Launcher";
- reloadTime = 5;
- magazineReloadTime = 30;
- magazines[] = {"1Rnd_VIL_AT3_BMP1"};
- modes[] = {"Player"};
- distanceZoomMin = 500;
- distanceZoomMax = 500;
- };
- };
Add Comment
Please, Sign In to add comment