Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CfgPatches {
- class tf47_m3maaws {
- units[] = {};
- weapons[] = {"tf47_m3maaws", "tf47_beret", "tf47_optic_m3maaws"};
- magazines[] = {"tf47_m3maaws_HEAT", "tf47_m3maaws_HEDP", "tf47_m3maaws_HE"};
- requiredVersion = 0.100000;
- requiredAddons[] = {"A3_Weapons_F", "A3_Weapons_F_Items", "A3_Characters_F_BLUFOR", "CBA_MAIN"};
- ammo[] = {"tf47_m3maaws_HEAT", "tf47_m3maaws_HEDP", "tf47_m3maaws_HE"};
- };
- class Disable_XEH_Logging {
- units[] = {};
- weapons[] = {};
- requiredVersion = 0.100000;
- requiredAddons[] = {"CBA_MAIN"};
- };
- };
- class CfgWeapons {
- /*extern*/ class HeadgearItem;
- /*extern*/ class H_Beret_blk;
- class tf47_beret: H_Beret_blk {
- scope = 2;
- displayName = "TF47 Beret";
- picture = "\A3\characters_f_epb\BLUFOR\Data\UI\icon_h_beret02_ca.paa";
- model = "\A3\characters_f_epb\BLUFOR\headgear_beret02.p3d";
- hiddenSelections[] = {"camo"};
- hiddenSelectionsTextures[] = {"\tf47_launchers\m3maaws\data\tf47_beret.paa"};
- descriptionShort = "Super-Mega-Elite-Beret";
- class ItemInfo: HeadgearItem {
- mass = 3;
- uniformModel = "\A3\characters_f_epb\BLUFOR\headgear_beret02.p3d";
- allowedSlots[] = {"UNIFORM_SLOT", "BACKPACK_SLOT", "VEST_SLOT", "HEADGEAR_SLOT"};
- modelSides[] = {6};
- armor = 1;
- passThrough = 1;
- hiddenSelections[] = {"camo"};
- };
- };
- /*extern*/ class ItemCore;
- /*extern*/ class InventoryOpticsItem_Base_F;
- class tf47_optic_m3maaws: ItemCore {
- author = "[TaskForce 47] BlackPixxel";
- _generalMacro = "tf47_optic_m3maaws";
- scope = 2;
- displayName = "M3 MAAWS sight";
- picture = "\tf47_launchers\m3maaws\UI\gear_scope_CA.paa";
- model = "tf47_launchers\m3maaws\optic_m3maaws.p3d";
- descriptionShort = "Optical Sight for the M3 MAAWS";
- weaponInfoType = "RscWeaponZeroing";
- class ItemInfo: InventoryOpticsItem_Base_F {
- mass = 8;
- opticType = 1;
- optics = 1;
- modelOptics = "tf47_launchers\m3maaws\optic_m3maaws.p3d";
- class OpticsModes {
- class optic {
- distanceZoomMin = 100;
- distanceZoomMax = 900;
- opticsID = 1;
- opticType = 2;
- useModelOptics = 0;
- opticsZoomMin = 0.108300;
- opticsZoomMax = 0.108300;
- opticsZoomInit = 0.108300;
- discreteDistance[] = {100, 200, 300, 400, 500, 600, 700, 800, 900};
- discreteDistanceInitIndex = 0;
- memoryPointCamera = "eye";
- opticsFlare = 1;
- opticsDisablePeripherialVision = 1;
- cameraDir = "look";
- visionMode[] = {"Normal"};
- opticsPPEffects[] = {"OpticsCHAbera1", "OpticsBlur1"};
- };
- };
- };
- inertia = 0.100000;
- };
- /*extern*/ class Launcher;
- class Launcher_Base_F: Launcher {
- /*extern*/ class WeaponSlotsInfo;
- };
- class tf47_m3maaws: Launcher_Base_F {
- author = "[TaskForce 47] BlackPixxel";
- _generalMacro = "tf47_m3maaws";
- scope = 2;
- displayName = "M3 MAAWS";
- model = "tf47_launchers\m3maaws\m3maaws.p3d";
- picture = "\tf47_launchers\m3maaws\UI\gear_m3maaws_X_CA.paa";
- handAnim[] = {"OFP2_ManSkeleton", "tf47_launchers\m3maaws\anim\handanim_m3maaws.rtm"};
- reloadAction = "ReloadRPG";
- modelOptics = "-";
- maxZeroing = 900;
- weaponInfoType = "RscWeaponZeroing";
- distanceZoomMin = 100;
- distanceZoomMax = 900;
- discreteDistance[] = {100, 200, 300, 400, 500, 600, 700, 800, 900};
- discreteDistanceInitIndex = 2;
- optics = 1;
- opticsdisableperipherialvision = 0.670000;
- opticsflare = 0;
- opticsid = 0;
- opticsppeffects[] = {};
- opticszoominit = 0.750000;
- opticszoommax = 1.100000;
- memorypointcamera = "eye";
- class GunParticles {
- class effect1 {
- positionName = "BackBlast2";
- directionName = "BackBlast1";
- effectName = "RocketBackEffectsNLAW";
- };
- class effect2 {
- positionName = "BackBlast2";
- directionName = "BackBlast1";
- effectName = "MortarFired";
- };
- class effect3 {
- effectName = "SniperCloud";
- positionName = "BackBlast2";
- directionName = "BackBlast1";
- };
- class effect4 {
- positionName = "BackBlast2";
- directionName = "BackBlast1";
- effectName = "RocketBackEffectsRPGNT";
- };
- class effect5 {
- positionName = "BackBlast2";
- directionName = "BackBlast1";
- effectName = "MortarFired";
- };
- };
- magazines[] = {"tf47_m3maaws_HEAT", "tf47_m3maaws_HEDP", "tf47_m3maaws_HE"};
- sounds[] = {"StandardSound"};
- class BaseSoundModeType {
- weaponSoundEffect = "DefaultRifle";
- };
- class StandardSound: BaseSoundModeType {
- begin1[] = {"tf47_launchers\m3maaws\sound\m3_fire.ogg", "db18", 1, 900};
- soundBegin[] = {"begin1", 1};
- };
- drySound[] = {"A3\sounds_f\weapons\other\dry6", 0.446684, 1, 20};
- reloadMagazineSound[] = {"tf47_launchers\m3maaws\sound\m3_reload.ogg", 1.000000, 1, 10};
- soundFly[] = {"A3\sounds_f\weapons\rockets\rocket_fly_1", 0.316228, 1.500000, 900};
- recoil = "recoil_single_law";
- aiRateOfFire = 7.000000;
- aiRateOfFireDistance = 600;
- minRange = 10;
- minRangeProbab = 0.300000;
- midRange = 400;
- midRangeProbab = 0.800000;
- maxRange = 600;
- maxRangeProbab = 0.100000;
- canLock = 0;
- weaponLockDelay = 3.000000;
- lockAcquire = 0;
- inertia = 0.400000;
- class WeaponSlotsInfo: WeaponSlotsInfo {
- allowedslots[] = {901};
- mass = 4;
- class CowsSlot {
- access = 1;
- compatibleitems[] = {"tf47_optic_m3maaws"};
- displayname = "Optics Slot";
- linkproxy = "\A3\data_f\proxies\weapon_slots\TOP";
- scope = 2;
- };
- };
- descriptionShort = "84mm Anti Tank Rifle";
- class Library {
- libTextDesc = "The Carl Gustav M3 is a very effective recoilles rifle produced by Saab";
- };
- };
- };
- class CfgMagazines {
- /*extern*/ class CA_LauncherMagazine;
- class tf47_m3maaws_HEAT: CA_LauncherMagazine {
- author = "[TaskForce 47] BlackPixxel";
- scope = 2;
- displayName = "FFV751 HEAT";
- model = "tf47_launchers\m3maaws\mag_m3maaws.p3d";
- picture = "\tf47_launchers\m3maaws\UI\gear_small_CA.paa";
- initSpeed = 290;
- descriptionShort = "High Explosive Anti tank";
- displaynameshort = "751 HEAT";
- ammo = "tf47_m3maaws_HEAT";
- type = "2* 256";
- mass = 60;
- };
- class tf47_m3maaws_HEDP: CA_LauncherMagazine {
- author = "[TaskForce 47] BlackPixxel";
- scope = 2;
- displayName = "FFV502 HEDP";
- model = "tf47_launchers\m3maaws\mag_m3maaws.p3d";
- picture = "\tf47_launchers\m3maaws\UI\gear_small_CA.paa";
- initSpeed = 230;
- descriptionShort = "High Explosive Dual Purpose";
- displaynameshort = "502 HEDP";
- ammo = "tf47_m3maaws_HEDP";
- type = "2* 256";
- mass = 45;
- };
- class tf47_m3maaws_HE: CA_LauncherMagazine {
- author = "[TaskForce 47] BlackPixxel";
- scope = 2;
- displayName = "FFV441 HE";
- model = "tf47_launchers\m3maaws\mag_m3maaws.p3d";
- picture = "\tf47_launchers\m3maaws\UI\gear_small_CA.paa";
- initSpeed = 255;
- descriptionShort = "High Explosive";
- displaynameshort = "441 HE";
- ammo = "tf47_m3maaws_HE";
- type = "2* 256";
- mass = 35;
- };
- };
- class CfgAmmo {
- /*extern*/ class RocketBase;
- class tf47_m3maaws_HEAT: RocketBase {
- EffectFly = "ArtilleryTrails";
- soundHit[] = {"A3\Sounds_F\weapons\Rockets\explosion_missile_05", "db25", 1, 1800};
- soundFly[] = {"A3\Sounds_F\weapons\Rockets\new_rocket_6", "db25", 1, 400};
- model = "tf47_launchers\m3maaws\ammo_m3maaws.p3d";
- hit = 1050;
- indirectHit = 9;
- indirectHitRange = 4;
- cost = 800;
- airFriction = 0.010000;
- sideAirFriction = 0.000000;
- maxSpeed = 290;
- initTime = 0;
- thrustTime = 0.100000;
- thrust = 0.100000;
- fuseDistance = 15;
- CraterEffects = "ATMissileCrater";
- explosionEffects = "ATMissileExplosion";
- effectsMissileInit = "";
- effectsMissile = "ExhaustsEffectJet";
- simulationStep = 0.020000;
- airLock = 0;
- irLock = 0;
- timeToLive = 10;
- maneuvrability = 0;
- allowAgainstInfantry = 0;
- class CamShakeExplode {
- power = "(55*0.2)";
- duration = "((round (55^0.5))*0.2 max 0.2)";
- frequency = 20;
- distance = "((5 + 55^0.5)*8)";
- };
- class CamShakeHit {
- power = 110;
- duration = "((round (110^0.25))*0.2 max 0.2)";
- frequency = 20;
- distance = 1;
- };
- class CamShakeFire {
- power = "(20^0.25)";
- duration = "((round (20^0.5))*0.2 max 0.2)";
- frequency = 20;
- distance = "((20^0.5)*8)";
- };
- class CamShakePlayerFire {
- power = 1;
- duration = 0.100000;
- frequency = 5;
- distance = 1;
- };
- };
- class tf47_m3maaws_HEDP: RocketBase {
- EffectFly = "ArtilleryTrails";
- soundHit[] = {"A3\Sounds_F\weapons\Rockets\explosion_missile_04", "db25", 1, 1800};
- soundFly[] = {"A3\Sounds_F\weapons\Rockets\new_rocket_6", "db25", 1, 400};
- model = "tf47_launchers\m3maaws\ammo_m3maaws.p3d";
- hit = 300;
- indirectHit = 100;
- indirectHitRange = 6;
- cost = 500;
- airFriction = 0.010000;
- sideAirFriction = 0.000000;
- maxSpeed = 230;
- initTime = 0;
- thrustTime = 0.100000;
- thrust = 0.100000;
- fuseDistance = 15;
- CraterEffects = "ATMissileCrater";
- explosionEffects = "ATMissileExplosion";
- effectsMissileInit = "";
- effectsMissile = "ExhaustsEffectJet";
- simulationStep = 0.020000;
- airLock = 0;
- irLock = 0;
- timeToLive = 10;
- maneuvrability = 0;
- allowAgainstInfantry = 1;
- class CamShakeExplode {
- power = "(55*0.2)";
- duration = "((round (55^0.5))*0.2 max 0.2)";
- frequency = 20;
- distance = "((5 + 55^0.5)*8)";
- };
- class CamShakeHit {
- power = 110;
- duration = "((round (110^0.25))*0.2 max 0.2)";
- frequency = 20;
- distance = 1;
- };
- class CamShakeFire {
- power = "(20^0.25)";
- duration = "((round (20^0.5))*0.2 max 0.2)";
- frequency = 20;
- distance = "((20^0.5)*8)";
- };
- class CamShakePlayerFire {
- power = 1;
- duration = 0.100000;
- frequency = 5;
- distance = 1;
- };
- };
- class tf47_m3maaws_HE: RocketBase {
- EffectFly = "ArtilleryTrails";
- soundHit[] = {"A3\Sounds_F\weapons\Rockets\explosion_missile_01", "db25", 1, 1800};
- soundFly[] = {"A3\Sounds_F\weapons\Rockets\new_rocket_6", "db25", 1, 400};
- model = "tf47_launchers\m3maaws\ammo_m3maaws.p3d";
- hit = 75;
- indirectHit = 180;
- indirectHitRange = 8;
- cost = 300;
- airFriction = 0.010000;
- sideAirFriction = 0.000000;
- maxSpeed = 255;
- initTime = 0;
- thrustTime = 0.100000;
- thrust = 0.100000;
- fuseDistance = 15;
- CraterEffects = "ArtyShellCrater";
- explosionEffects = "MortarExplosion";
- effectsMissileInit = "";
- effectsMissile = "ExhaustsEffectJet";
- simulationStep = 0.020000;
- airLock = 0;
- irLock = 0;
- timeToLive = 10;
- maneuvrability = 0;
- allowAgainstInfantry = 1;
- class CamShakeExplode {
- power = "(55*0.2)";
- duration = "((round (55^0.5))*0.2 max 0.2)";
- frequency = 20;
- distance = "((5 + 55^0.5)*8)";
- };
- class CamShakeHit {
- power = 110;
- duration = "((round (110^0.25))*0.2 max 0.2)";
- frequency = 20;
- distance = 1;
- };
- class CamShakeFire {
- power = "(20^0.25)";
- duration = "((round (20^0.5))*0.2 max 0.2)";
- frequency = 20;
- distance = "((20^0.5)*8)";
- };
- class CamShakePlayerFire {
- power = 1;
- duration = 0.100000;
- frequency = 5;
- distance = 1;
- };
- };
- };
- class Extended_Fired_Eventhandlers {
- class CAManBase {
- class tf47_m3maaws_Fired {
- onRespawn = 1;
- fired = "_this execVM '\tf47_launchers\m3maaws\scripts\m3maaws_zeroing.sqf'";
- };
- };
- };
- enum {
- destructengine = 2,
- destructdefault = 6,
- destructwreck = 7,
- destructtree = 3,
- destructtent = 4,
- stabilizedinaxisx = 1,
- stabilizedinaxesxyz = 4,
- stabilizedinaxisy = 2,
- stabilizedinaxesboth = 3,
- destructno = 0,
- stabilizedinaxesnone = 0,
- destructman = 5,
- destructbuilding = 1
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement