Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CfgPatches {
- class DZ_Items_Misc {
- units = {"CookerItem_PrimusCooker", "ItemCompass", "ItemGPS", "ItemMap", "ItemRadio", "ItemWatch", "MiscItem_Tent", "MiscItem_HeatPack", "MiscItem_Matchbox", "MiscItem_Toolbox", "MiscItem_WoodPile", "MiscItem_BatteryD", "ItemTransmitter"};
- weapons = {};
- requiredVersion = 0.100000;
- requiredAddons = {"DZ_Items"};
- };
- };
- class CfgRecipes {
- class Craft_Fire {
- name = "Fire %TOOL2";
- tools = {"MiscItem_Matchbox", "= burnable > 0.5"};
- action = "statusChat ['You have fire ' + (displayName _tool2),'colorAction'];";
- };
- class Craft_WoodStickChopping {
- name = "Chop wood";
- tools = {"WeaponItem_Hatchet"};
- material = {"MiscItem_WoodenStick"};
- results = {"MiscItem_Firewood"};
- action = "statusChat ['You have chopped some wood','colorAction'];";
- };
- class Craft_WoodPlankChopping {
- name = "Chop wood";
- tools = {"WeaponItem_Hatchet"};
- material = {"MiscItem_WoodenPlank"};
- results = {"MiscItem_Firewood"};
- action = "statusChat ['You have chopped some wood','colorAction'];";
- };
- class Craft_WoodPlankToStick {
- name = "Create sticks";
- tools = {"WeaponItem_Knife"};
- material = {"MiscItem_WoodenPlank"};
- results = {"MiscItem_WoodenStick", "MiscItem_WoodenStick"};
- action = "statusChat ['You have made two sticks','colorAction'];";
- };
- class Craft_TyreCutting {
- name = "Tear to rubber";
- tools = {"WeaponItem_Knife"};
- material = {"VehiclePartsItem_CarWheel"};
- results = {"MiscItem_RubberStrap", "MiscItem_RubberStrap", "MiscItem_RubberStrap", "MiscItem_RubberStrap"};
- action = "statusChat ['You have torn the Tyre into scraps','colorAction'];";
- };
- class Craft_WaterPurificationCanteen {
- name = "Purify water";
- material = {"Medical_PurificationTablets"};
- tools = {"BottleBase"};
- action = "statusChat ['You have purified the water','colorAction'];";
- };
- class Craft_ImprovisedSpear {
- name = "Create weapon";
- material = {"MiscItem_WoodenStick", "WeaponItem_Knife"};
- results = {"WeaponItem_ImprovisedSpear"};
- action = "statusChat ['You have made a Spear','colorAction'];";
- };
- class Craft_ImprovisedClub {
- name = "Create weapon";
- material = {"MiscItem_WoodenStick", "MiscItem_Nails"};
- results = {"WeaponItem_ImprovisedClub"};
- action = "statusChat ['','colorAction'];";
- };
- class Craft_AttachGL_AK74 {
- name = "Attach grenade launcher";
- material = {"xxx_AK74", "xxx_GP25_GL"};
- results = {"xxx_AK74GL"};
- action = "statusChat ['','colorAction'];";
- };
- class Craft_AttachGL_M4 {
- name = "Attach grenade launcher";
- material = {"xxx_M4", "xxx_M203_GL"};
- results = {"xxx_M4GL"};
- action = "statusChat ['','colorAction'];";
- };
- class Craft_ImprovisedSilencer {
- name = "Attach grenade launcher";
- material = {"MiscItem_DuctTape", "MiscItem_MetalPipe"};
- results = {"xxx_ImprovisedSilencer"};
- action = "statusChat ['','colorAction'];";
- };
- class Craft_ImprovisedCooker {
- name = "Create shabby cooker";
- material = {"TinCan", "TinCan"};
- results = {"CookerItem_ImprovisedCooker"};
- action = "statusChat ['','colorAction'];";
- };
- class Craft_ImprovisedPack {
- name = "Create backpack";
- material = {"MiscItem_PlasticBag", "MiscItem_Twine"};
- results = {"Bag_ImprovisedPack"};
- action = "statusChat ['You have made a Sack','colorAction'];";
- };
- class Craft_ExplosiveTripwire_Grenade {
- name = "Create tripwire trap";
- material = {"MiscItem_String", "HandGrenade"};
- results = {"xxx_ExplosiveTripwire"};
- action = "statusChat ['You have made a Tripwire','colorAction'];";
- };
- class Craft_ExplosiveTripwire_Improvised {
- name = "Create tripwire trap";
- material = {"MiscItem_String", "xxx_ImprovisedGrenade"};
- results = {"xxx_ExplosiveTripwire"};
- action = "statusChat ['You have made a Tripwire','colorAction'];";
- };
- class Decraft_ExplosiveTripwire_Improvised {
- name = "Decompose";
- material = {"xxx_ExplosiveTripwire"};
- results = {"MiscItem_String", "xxx_ImprovisedGrenade"};
- action = "statusChat ['You have decomposed a Tripwire','colorAction'];";
- };
- class Craft_FlareTripwire {
- name = "Create tripwire trap";
- material = {"MiscItem_String", "xxx_EmergencyFlare_Red"};
- results = {"xxx_FlareTripwire"};
- action = "statusChat ['You have made a Flare Tripwire','colorAction'];";
- };
- class Decraft_FlareTripwire {
- name = "Decompose";
- material = {"xxx_FlareTripwire"};
- results = {"MiscItem_String", "xxx_EmergencyFlare_Red"};
- action = "statusChat ['You have decomposed a Flare Tripwire','colorAction'];";
- };
- class Craft_RoadFlareTripwire {
- name = "Create tripwire trap";
- material = {"MiscItem_String", "MiscItem_RoadFlare"};
- results = {"xxx_RoadFlareTripwire"};
- action = "statusChat ['You have made a Road Flare Tripwire','colorAction'];";
- };
- class Decraft_RoadFlareTripwire {
- name = "Decompose";
- material = {"xxx_RoadFlareTripwire"};
- results = {"MiscItem_String", "MiscItem_RoadFlare"};
- action = "statusChat ['You have decomposed a Road Flare Tripwire','colorAction'];";
- };
- class Craft_ImprovisedGrenade {
- name = "Create explosive";
- material = {"MiscItem_SprayCan_Tan", "MiscItem_RoadFlare"};
- results = {"xxx_ImprovisedGrenade"};
- action = "statusChat ['You have made an Improvised Grenade','colorAction'];";
- };
- class Decraft_ImprovisedGrenade {
- name = "Decompose";
- material = {"xxx_ImprovisedGrenade"};
- results = {"MiscItem_SprayCan_Tan", "MiscItem_RoadFlare"};
- action = "statusChat ['You have decomposed an Improvised Grenade','colorAction'];";
- };
- class Craft_ImprovisedTimeGrenade {
- name = "Create explosive";
- material = {"MiscItem_CookingClock", "xxx_ImprovisedGrenade"};
- results = {" xxx_ImprovisedTimeGrenade"};
- action = "statusChat ['You have made an Improvised Explosive Device','colorAction'];";
- };
- class Decraft_ImprovisedTimeGrenade {
- name = "Decompose";
- material = {" xxx_ImprovisedTimeGrenade"};
- results = {"MiscItem_CookingClock", "xxx_ImprovisedGrenade"};
- action = "statusChat ['You have decomposed an Improvised Explosive Device','colorAction'];";
- };
- class CombineMoney {
- name = "Combine Money";
- tools = {"MiscItem_Money", "MiscItem_Money"};
- action = "[_owner,_tool1,_tool2] call player_combineMoney;";
- };
- };
- class CfgVehicles {
- /*extern*/ class InventoryBase;
- class MiscItemBase: InventoryBase {
- tooltip = "_text = _this call fnc_generateTooltip;_text";
- };
- class PoweredItem: MiscItemBase {
- attachments = {"BatteryD"};
- };
- class ItemCompass: MiscItemBase {
- scope = 2;
- displayName = "$STR_ItemCompass";
- descriptionShort = "A trekking compass that uses the magnetic field of Earth to function. Shows not only N, S, E and W, but also the exact bearing.";
- model = "\DZ\items\map\compass\compass.p3d";
- selectionArrow = "arrow";
- simulation = "ItemCompass";
- rotateDropped = 1;
- rotateAlways = 1;
- };
- class ItemGPS: MiscItemBase {
- scope = 2;
- displayName = "$STR_ItemGPS";
- descriptionShort = "...";
- model = "\DZ\items\map\gps\gps.p3d";
- simulation = "ItemGPS";
- absorbency = 0.500000;
- };
- class ItemTransmitter: PoweredItem {
- scope = 2;
- displayName = "$STR_ItemTransmitter";
- descriptionShort = "...";
- model = "\dz\items\Misc\WalkieTalkie.p3d";
- absorbency = 0.500000;
- itemSize = {1, 2};
- simulation = "ItemTransmitter";
- rotateDropped = 1;
- rotateAlways = 1;
- range = 1000;
- attachments = {"BatteryD"};
- energyResources = {{"power", 4.000000}};
- };
- class ItemRadio: PoweredItem {
- scope = 2;
- displayName = "$STR_ItemRadio";
- descriptionShort = "...";
- model = "\dz\structures\Furniture\Eletrical_appliances\radio_b\radio_b.p3d";
- itemSize = {2, 2};
- absorbency = 0.500000;
- attachments = {"BatteryD"};
- energyResources = {{"power", 0.400000}};
- simulation = "ItemRadio";
- class Channels {
- class Cro1 {
- name = "Cro1";
- url = "http://amp.cesnet.cz:8000/cro1.ogg";
- };
- class Cro2 {
- name = "Cro2";
- url = "http://amp.cesnet.cz:8000/cro2.ogg";
- };
- class Beat {
- name = "Beat";
- url = "http://icecast2.play.cz:8000/radiobeat128.ogg";
- };
- class Classic {
- name = "Classic";
- url = "http://audio-ogg.ibiblio.org:8000/wcpe.ogg";
- };
- class Absolute60s {
- name = "Absolute 60s";
- url = "http://icecast.as34763.net:80/a632.ogg";
- };
- class Absolute70s {
- name = "Absolute 70s";
- url = "http://icecast.as34763.net:80/a732.ogg";
- };
- class Absolute80s {
- name = "Absolute 80s";
- url = "http://icecast.timlradio.co.uk/a832.ogg";
- };
- class Absolute90s {
- name = "Absolute 90s";
- url = "http://icecast.timlradio.co.uk/a932.ogg";
- };
- class Absolute00s {
- name = "Absolute 00s";
- url = "http://icecast.timlradio.co.uk/a032.ogg";
- };
- };
- };
- class ItemWatch: MiscItemBase {
- scope = 2;
- displayName = "$STR_ItemWatch";
- descriptionShort = "...";
- model = "\DZ\items\map\Watch\Watch.p3d";
- reversed = 0;
- selectionDate1 = "date1";
- selectionDate2 = "date2";
- selectionDay = "day";
- simulation = "ItemWatch";
- rotateDropped = 1;
- rotateAlways = 1;
- };
- class TrashItem_TinCan: MiscItemBase {
- scope = 2;
- displayName = "$STR_EQUIP_NAME_33";
- descriptionShort = "An empty tin can with the label torn off. Hard to say what it used to contain.";
- model = "\dz\Items\Misc\EmptyTinCan.p3d";
- ammo = "TinCan";
- itemSize = {1, 2};
- };
- class MiscItem_Tent: MiscItemBase {
- scope = 2;
- displayName = "$STR_EQUIP_NAME_20";
- descriptionShort = "A camping tent that can be pitched, allowing you to extent storage safe from others.";
- model = "\dz\Items\Misc\CampingTent.p3d";
- itemSize = {3, 2};
- rotateDropped = 1;
- rotateAlways = 1;
- absorbency = 0.100000;
- class ItemActions {
- class Pitch {
- text = "$STR_PITCH_TENT";
- script = "spawn player_tentPitch;";
- };
- };
- };
- class MiscItem_HeatPack: MiscItemBase {
- scope = 2;
- displayName = "$STR_EQUIP_NAME_42";
- descriptionShort = "A heating pack that heats when you start the crystallization process. Used to provide quick warmth to your body.";
- model = "\dz\Items\Misc\Heatpack.p3d";
- class UserActions {
- class Drink {
- displayNameDefault = "Use Heatpack";
- displayName = "Use";
- position = "action";
- radius = 2;
- onlyForPlayer = 0;
- condition = "true";
- statement = "[this,_name,_person] spawn player_useItem;";
- soundEffects = {""};
- playerAction = "playerBandage";
- statusText = "You have used a %1";
- trashItem = "";
- };
- };
- };
- class MiscItem_WoodPile: MiscItemBase {
- scope = 2;
- displayName = "$STR_EQUIP_NAME_40";
- descriptionShort = "A small pile of freshly chopped wood that can be used for making a fireplace and various other things.";
- model = "\dz\Items\Misc\WoodPile.p3d";
- itemSize = {2, 2};
- rotateDropped = 1;
- rotateAlways = 1;
- absorbency = 0.300000;
- };
- class MiscItem_WoodenPlank: MiscItemBase {
- scope = 2;
- displayName = "Wooden Plank";
- descriptionShort = "A solid wooden plank. Commonly used as a base construction material.";
- model = "\dz\Items\Misc\WoodenPlank.p3d";
- itemSize = {1, 4};
- rotateDropped = 1;
- rotateAlways = 1;
- absorbency = 0.200000;
- };
- class MiscItem_BirchBark: MiscItemBase {
- scope = 2;
- displayName = "Birch bark";
- descriptionShort = "Dry bark from a birch tree. It comes in handy as a base for starting a fire, if paper is scarce.";
- model = "\dz\Items\Misc\WoodenPlank.p3d";
- absorbency = 1;
- rotateDropped = 1;
- rotateAlways = 1;
- };
- class MiscItem_Stone: MiscItemBase {
- scope = 2;
- displayName = "Stone";
- descriptionShort = "A big chunk of a common mineral, shaped by the elements.";
- model = "\dz\gear\consumables\Stone.p3d";
- itemSize = {2, 1};
- };
- class MiscItem_DuctTape: MiscItemBase {
- scope = 2;
- displayName = "Duct Tape";
- descriptionShort = "Duct tape or duck tape is cloth- or scrim-backed pressure-sensitive tape often coated with polyethylene. It has many uses including protecting objects from humidity, sticking objects together or abduction.";
- model = "\dz\Items\Misc\DuctTape.p3d";
- itemSize = {1, 1};
- };
- class MiscItem_Firewood: MiscItemBase {
- scope = 2;
- displayName = "Firewood";
- descriptionShort = "Dry wood chopped into convenient pieces. Ready for setting up a fireplace.";
- model = "\dz\items\Misc\Firewood.p3d";
- absorbency = 0.300000;
- itemSize = {2, 2};
- class EventHandlers {
- init = "(_this select 0) setVariable ["burnable", 0.7]";
- };
- };
- class MiscItem_SheetMetal: MiscItemBase {
- scope = 2;
- displayName = "Sheet metal";
- descriptionShort = "Sheet metal is metal formed by an industrial process into thin, flat pieces. It is one of the fundamental forms used in metalworking and it can be cut and bent into a variety of shapes. Countless everyday objects are constructed with sheet metal.";
- model = "dz\items\Misc\WoodPile.p3d";
- rotateDropped = 1;
- rotateAlways = 1;
- itemSize = {4, 4};
- };
- class MiscItem_LeadRod: MiscItemBase {
- scope = 2;
- displayName = "lead rod";
- descriptionShort = "...";
- model = "\dz\items\Misc\Wooden_stick.p3d";
- rotateDropped = 1;
- rotateAlways = 1;
- itemSize = {1, 3};
- };
- class MiscItem_Shard: MiscItemBase {
- scope = 2;
- displayName = "Shard";
- descriptionShort = "A shard of glass. Looks pretty sharp around the edges.";
- model = "\dz\items\Misc\Wooden_stick.p3d";
- };
- class MiscItem_ButaneTorch: MiscItemBase {
- scope = 2;
- displayName = "Butane Torch";
- descriptionShort = "...";
- model = "\dz\items\Misc\ButaneTorch.p3d";
- attachments = {"ButaneTorchCanister"};
- rotateDropped = 1;
- class UserActions {
- class RemoveCanister {
- displayNameDefault = "Remove Canister";
- displayName = "Remove Canister";
- position = "action";
- radius = 2;
- onlyForPlayer = 0;
- condition = "!isNull (this itemInSlot 'ButaneTorchCanister')";
- statement = "player moveToInventory (this itemInSlot 'ButaneTorchCanister');";
- };
- };
- itemSize = {1, 2};
- };
- class MiscItem_RoadFlare: MiscItemBase {
- scope = 2;
- displayName = "Road flare";
- descriptionShort = "Road flares are commonly used in traffic or emergency situations for signalisation. They burn with bright red light.";
- model = "\dz\items\Misc\Road_flare.p3d";
- };
- class MiscItem_CookingClock: MiscItemBase {
- scope = 2;
- displayName = "Cooking clock";
- descriptionShort = "Plastic cooking clock that allows you to set it to up to 1 hour.";
- model = "\dz\items\Misc\Cooking_clock.p3d";
- absorbency = 0.500000;
- };
- class MiscItem_WalkieTalkie: MiscItemBase {
- scope = 2;
- displayName = "WalkieTalkie";
- descriptionShort = "...";
- model = "\dz\items\Misc\WalkieTalkie.p3d";
- rotateDropped = 1;
- rotateAlways = 1;
- itemSize = {1, 2};
- absorbency = 0.500000;
- };
- class MiscItem_Money: MiscItemBase {
- scope = 2;
- displayName = "Banknotes";
- descriptionShort = "Chernarussian money, the Korunas.";
- model = "\dz\items\Misc\Money_100.p3d";
- absorbency = 0.900000;
- rotateDropped = 1;
- rotateAlways = 1;
- maxAmmo = 100000;
- storeVariables = {"note", "quantity", "modifiers"};
- quantity = "format ['%1', _this getVariable ['quantity',0]]";
- };
- class WeaponItem_ImprovisedSpear: MiscItemBase {
- scope = 2;
- displayName = "Improvised spear";
- descriptionShort = "...";
- model = "\dz\weapons\Infantry\Meele\Hatchet\Hatchet.p3d";
- itemSize = {1, 3};
- absorbency = 0.200000;
- };
- class WeaponItem_ImprovisedClub: MiscItemBase {
- scope = 2;
- displayName = "Improvised club";
- descriptionShort = "...";
- model = "\dz\weapons\Infantry\Meele\Hatchet\Hatchet.p3d";
- itemSize = {1, 3};
- absorbency = 0.200000;
- };
- class xxx_ImprovisedSilencer: MiscItemBase {
- scope = 2;
- displayName = "Improvised silencer";
- descriptionShort = "...";
- model = "\dz\weapons\Infantry\AssaultRifles\AK\AKSuppressor.p3d";
- itemSize = {1, 2};
- };
- class xxx_ImprovisedGrenade: MiscItemBase {
- scope = 2;
- displayName = "Improvised grenade";
- descriptionShort = "...";
- model = "\dz\items\Weapons\Improvised_spray_grenade.p3d";
- itemSize = {1, 2};
- rotateDropped = 1;
- };
- class xxx_ImprovisedTimeGrenade: MiscItemBase {
- scope = 2;
- displayName = "Improvised timed grenade";
- descriptionShort = "...";
- model = "\dz\items\Weapons\Improvised_timed_spray_grenade.p3d";
- itemSize = {1, 2};
- rotateDropped = 1;
- absorbency = 0.500000;
- };
- class xxx_EmergencyFlare_Red: MiscItemBase {
- scope = 2;
- displayName = "Emergency flare (red)";
- descriptionShort = "...";
- model = "\dz\weapons\arma2\frag_RGD5.p3d";
- };
- class xxx_ExplosiveTripwire: MiscItemBase {
- scope = 2;
- displayName = "Tripwire";
- descriptionShort = "...";
- model = "\dz\weapons\Infantry\Meele\Hatchet\Hatchet.p3d";
- itemSize = {2, 1};
- absorbency = 0.100000;
- };
- class xxx_FlareTripwire: MiscItemBase {
- scope = 2;
- displayName = "Flare tripwire";
- descriptionShort = "...";
- model = "\dz\weapons\Infantry\Meele\Hatchet\Hatchet.p3d";
- };
- class xxx_RoadFlareTripwire: MiscItemBase {
- scope = 2;
- displayName = "Road flare tripwire";
- descriptionShort = "...";
- model = "\dz\weapons\Infantry\Meele\Hatchet\Hatchet.p3d";
- };
- class MiscItem_WoodenStick: MiscItemBase {
- scope = 2;
- displayName = "Wooden stick";
- descriptionShort = "...";
- model = "\dz\items\Misc\Wooden_stick.p3d";
- itemSize = {1, 3};
- rotateDropped = 1;
- rotateAlways = 1;
- absorbency = 0.200000;
- };
- class MiscItem_RubberStrap: MiscItemBase {
- scope = 2;
- displayName = "Rubber strap";
- descriptionShort = "...";
- model = "\dz\items\Misc\Rubber_straps.p3d";
- itemSize = {2, 1};
- };
- class MiscItem_Nails: MiscItemBase {
- scope = 2;
- displayName = "Nails";
- descriptionShort = "...";
- model = "\dz\Items\Misc\WoodenPlank.p3d";
- rotateDropped = 1;
- rotateAlways = 1;
- };
- class MiscItem_SprayCan_Tan: MiscItemBase {
- scope = 2;
- displayName = "Spraypaint (tan)";
- descriptionShort = "...";
- model = "\dz\items\Misc\SprayCanister.p3d";
- itemSize = {1, 2};
- rotateDropped = 1;
- };
- class MiscItem_MetalPipe: MiscItemBase {
- scope = 2;
- displayName = "Metal pipe";
- descriptionShort = "...";
- model = "\dz\items\Drinks\Canteen.p3d";
- itemSize = {1, 3};
- };
- class MiscItem_Twine: MiscItemBase {
- scope = 2;
- displayName = "Twine";
- descriptionShort = "...";
- model = "\dz\items\Drinks\Canteen.p3d";
- };
- class MiscItem_PlasticBag: MiscItemBase {
- scope = 2;
- displayName = "Plastic bag";
- descriptionShort = "A plastic bag that one usually gets in a grocery store. Has a “Samoshka” logo on it.";
- model = "\dz\items\Drinks\Canteen.p3d";
- };
- class MiscItem_String: MiscItemBase {
- scope = 2;
- displayName = "String";
- descriptionShort = "Brand new acoustic guitar B string. Strength 11.";
- model = "\dz\items\Misc\String_MetalWire.p3d";
- };
- class MiscItem_PurificationTablets: MiscItemBase {
- scope = 2;
- displayName = "Purification tablets";
- model = "\dz\items\Medical\Water_purification_tablets.p3d";
- };
- /*extern*/ class BagBase;
- class Bag_ImprovisedPack: BagBase {
- scope = 2;
- displayName = "Scavenger Backpack";
- model = "\dz\characters\backpacks\alice.p3d";
- itemsCargoSize = {3, 2};
- };
- };
- enum {
- destructengine = 2,
- destructdefault = 6,
- destructwreck = 7,
- destructtree = 3,
- destructtent = 4,
- stabilizedinaxisx = 1,
- stabilizedinaxisy = 2,
- destructno = 0,
- stabilizedinaxesboth = 3,
- stabilizedinaxesnone = 0,
- destructman = 5,
- destructbuilding = 1
- }
- class CfgPatches {
- class DZ_Weapons_Shotguns {
- units = {};
- weapons = {};
- requiredVersion = 0.100000;
- requiredAddons = {"DZ_Data", "DZ_Sounds_Weapons"};
- };
- };
- class cfgRecoils {
- pistolBase = {0, 0, 0, 0.080000, 0.003000, 0.020000, 0.050000, -0.003000, -0.033000, 0.050000, 0, 0};
- subMachineGunBase = {0, 0, 0, 0.060000, 0.005000, 0.005000, 0.050000, 0, -0.020000, 0.060000, -0.005000, 0.005000, 0.050000, 0, 0};
- assaultRifleBase = {0, 0, 0, 0.060000, 0.010000, 0.010000, 0.100000, 0, -0.020000, 0.100000, -0.010000, 0.010000, 0.050000, 0, 0};
- machinegunBase = {0, 0, 0, 0.080000, 0.010000, 0.040000, 0.050000, -0.003000, -0.010000, 0.200000, 0, 0};
- launcherBase = {0, 0, 0, 0.010000, 0, 0.050000, 0.025000, 0, 0};
- AK74Recoil = {0, 0, 0, 0.060000, 0.010000, 0.012000, 0.100000, 0, -0.020000, 0.100000, -0.010000, 0.010000, 0.050000, 0, 0};
- M249Recoil = {0, 0, 0, 0.070000, 0.002000, 0.010000, 0.035000, -0.002000, -0.020000, 0.050000, 0, 0};
- M249RecoilProne = {0, 0, 0, 0.100000, 0.003000, 0.004000, 0.050000, -0.003000, -0.008000, 0.050000, 0, 0};
- M4Recoil = {0, 0, 0, 0.060000, 0.010000, 0.010000, 0.100000, 0, -0.018000, 0.100000, -0.010000, 0.010000, 0.050000, 0, 0};
- PKMRecoil = {0, 0, 0, 0.100000, 0.030000, 0.040000, 0.050000, -0.030000, -0.080000, 0.050000, 0, 0};
- PKMRecoilProne = {0, 0, 0, 0.100000, 0.003000, 0.005000, 0.050000, -0.003000, -0.010000, 0.050000, 0, 0};
- recoil_single_primary_1outof10 = {0.040000, "0.006*( (1/7))", "0.05*.5*( (1/7))", 0.010000, "0.009*( (1/7))", 0, 0.045000, 0, "-0.025*.5*( (1/7))"};
- recoil_single_primary_2outof10 = {0.040000, "0.006*( (2/7))", "0.05*.5*( (2/7))", 0.010000, "0.009*( (2/7))", 0, 0.045000, 0, "-0.025*.5*( (2/7))"};
- recoil_single_primary_3outof10 = {0.040000, "0.006*( (3/7))", "0.05*.5*( (3/7))", 0.010000, "0.009*( (3/7))", 0, 0.045000, 0, "-0.025*.5*( (3/7))"};
- recoil_single_primary_4outof10 = {0.040000, "0.006*( (4/7))", "0.05*.5*( (4/7))", 0.010000, "0.009*( (4/7))", 0, 0.045000, 0, "-0.025*.5*( (4/7))"};
- recoil_single_primary_5outof10 = {0.040000, "0.006*( (5/7))", "0.05*.5*( (5/7))", 0.010000, "0.009*( (5/7))", 0, 0.045000, 0, "-0.025*.5*( (5/7))"};
- recoil_single_primary_6outof10 = {0.040000, "0.006*( (6/7))", "0.05*.5*( (6/7))", 0.010000, "0.009*( (6/7))", 0, 0.045000, 0, "-0.025*.5*( (6/7))"};
- recoil_single_primary_7outof10 = {0.040000, "0.006*( (7/7))", "0.05*.5*( (7/7))", 0.010000, "0.009*( (7/7))", 0, 0.045000, 0, "-0.025*.5*( (7/7))"};
- recoil_single_primary_8outof10 = {0.040000, "0.006*( (8/7))", "0.05*.5*( (8/7))", 0.010000, "0.009*( (8/7))", 0, 0.045000, 0, "-0.025*.5*( (8/7))"};
- recoil_single_primary_9outof10 = {0.040000, "0.006*( (9/7))", "0.05*.5*( (9/7))", 0.010000, "0.009*( (9/7))", 0, 0.045000, 0, "-0.025*.5*( (9/7))"};
- recoil_single_primary_10outof10 = {0.040000, "0.006*( (10/7))", "0.05*.5*( (10/7))", 0.010000, "0.009*( (10/7))", 0, 0.045000, 0, "-0.025*.5*( (10/7))"};
- recoil_single_primary_prone_1outof10 = {0.035000, "0.004*( (1/7))", "0.035*.5*( (1/7))", 0.010000, "0.006*( (1/7))", 0, 0.045000, 0, "-0.025*.25*( (1/7))", 0.010000, 0, "-0.025*.25*( (1/7))"};
- recoil_single_primary_prone_2outof10 = {0.035000, "0.004*( (2/7))", "0.035*.5*( (2/7))", 0.010000, "0.006*( (2/7))", 0, 0.045000, 0, "-0.025*.25*( (2/7))", 0.010000, 0, "-0.025*.25*( (2/7))"};
- recoil_single_primary_prone_3outof10 = {0.035000, "0.004*( (3/7))", "0.035*.5*( (3/7))", 0.010000, "0.006*( (3/7))", 0, 0.045000, 0, "-0.025*.25*( (3/7))", 0.010000, 0, "-0.025*.25*( (3/7))"};
- recoil_single_primary_prone_4outof10 = {0.035000, "0.004*( (4/7))", "0.035*.5*( (4/7))", 0.010000, "0.006*( (4/7))", 0, 0.045000, 0, "-0.025*.25*( (4/7))", 0.010000, 0, "-0.025*.25*( (4/7))"};
- recoil_single_primary_prone_5outof10 = {0.035000, "0.004*( (5/7))", "0.035*.5*( (5/7))", 0.010000, "0.006*( (5/7))", 0, 0.045000, 0, "-0.025*.25*( (5/7))", 0.010000, 0, "-0.025*.25*( (5/7))"};
- recoil_single_primary_prone_6outof10 = {0.035000, "0.004*( (6/7))", "0.035*.5*( (6/7))", 0.010000, "0.006*( (6/7))", 0, 0.045000, 0, "-0.025*.25*( (6/7))", 0.010000, 0, "-0.025*.25*( (6/7))"};
- recoil_single_primary_prone_7outof10 = {0.035000, "0.004*( (7/7))", "0.035*.5*( (7/7))", 0.010000, "0.006*( (7/7))", 0, 0.045000, 0, "-0.025*.25*( (7/7))", 0.010000, 0, "-0.025*.25*( (7/7))"};
- recoil_single_primary_prone_8outof10 = {0.035000, "0.004*( (8/7))", "0.035*.5*( (8/7))", 0.010000, "0.006*( (8/7))", 0, 0.045000, 0, "-0.025*.25*( (8/7))", 0.010000, 0, "-0.025*.25*( (8/7))"};
- recoil_single_primary_prone_9outof10 = {0.035000, "0.004*( (9/7))", "0.035*.5*( (9/7))", 0.010000, "0.006*( (9/7))", 0, 0.045000, 0, "-0.025*.25*( (9/7))", 0.010000, 0, "-0.025*.25*( (9/7))"};
- recoil_single_primary_prone_10outof10 = {0.035000, "0.004*( (10/7))", "0.035*.5*( (10/7))", 0.010000, "0.006*( (10/7))", 0, 0.045000, 0, "-0.025*.25*( (10/7))", 0.010000, 0, "-0.025*.25*( (10/7))"};
- recoil_auto_primary_1outof10 = {0, "0.006*( (1/7))", "0.035*.5*( (1/7))", 0.040000, "0.009*( (1/7))", "0.015*( (1/7))", 0.025000, 0, "0.0125*( (1/7))"};
- recoil_auto_primary_2outof10 = {0, "0.006*( (2/7))", "0.035*.5*( (2/7))", 0.040000, "0.009*( (2/7))", "0.015*( (2/7))", 0.025000, 0, "0.0125*( (2/7))"};
- recoil_auto_primary_3outof10 = {0, "0.006*( (3/7))", "0.035*.5*( (3/7))", 0.040000, "0.009*( (3/7))", "0.015*( (3/7))", 0.025000, 0, "0.0125*( (3/7))"};
- recoil_auto_primary_4outof10 = {0, "0.006*( (4/7))", "0.035*.5*( (4/7))", 0.040000, "0.009*( (4/7))", "0.015*( (4/7))", 0.025000, 0, "0.0125*( (4/7))"};
- recoil_auto_primary_5outof10 = {0, "0.006*( (5/7))", "0.035*.5*( (5/7))", 0.040000, "0.009*( (5/7))", "0.015*( (5/7))", 0.025000, 0, "0.0125*( (5/7))"};
- recoil_auto_primary_6outof10 = {0, "0.006*( (6/7))", "0.035*.5*( (6/7))", 0.040000, "0.009*( (6/7))", "0.015*( (6/7))", 0.025000, 0, "0.0125*( (6/7))"};
- recoil_auto_primary_7outof10 = {0, "0.006*( (7/7))", "0.035*.5*( (7/7))", 0.040000, "0.009*( (7/7))", "0.015*( (7/7))", 0.025000, 0, "0.0125*( (7/7))"};
- recoil_auto_primary_8outof10 = {0, "0.006*( (8/7))", "0.035*.5*( (8/7))", 0.040000, "0.009*( (8/7))", "0.015*( (8/7))", 0.025000, 0, "0.0125*( (8/7))"};
- recoil_auto_primary_9outof10 = {0, "0.006*( (9/7))", "0.035*.5*( (9/7))", 0.040000, "0.009*( (9/7))", "0.015*( (9/7))", 0.025000, 0, "0.0125*( (9/7))"};
- recoil_auto_primary_10outof10 = {0, "0.006*( (10/7))", "0.035*.5*( (10/7))", 0.040000, "0.009*( (10/7))", "0.015*( (10/7))", 0.025000, 0, "0.0125*( (10/7))"};
- recoil_auto_primary_prone_1outof10 = {0, "0.004*( (1/7))", "0.035*.25*( (1/7))", 0.035000, "0.006*( (1/7))", "0.035*( (1/7))", 0.010000, "0.006*( (1/7))", 0, 0.012000, 0, "-0.0125*( (1/7))", 0.010000, 0, "-0.0025*( (1/7))"};
- recoil_auto_primary_prone_2outof10 = {0, "0.004*( (2/7))", "0.035*.25*( (2/7))", 0.035000, "0.006*( (2/7))", "0.035*( (2/7))", 0.010000, "0.006*( (2/7))", 0, 0.012000, 0, "-0.0125*( (2/7))", 0.010000, 0, "-0.0025*( (2/7))"};
- recoil_auto_primary_prone_3outof10 = {0, "0.004*( (3/7))", "0.035*.25*( (3/7))", 0.035000, "0.006*( (3/7))", "0.035*( (3/7))", 0.010000, "0.006*( (3/7))", 0, 0.012000, 0, "-0.0125*( (3/7))", 0.010000, 0, "-0.0025*( (3/7))"};
- recoil_auto_primary_prone_4outof10 = {0, "0.004*( (4/7))", "0.035*.25*( (4/7))", 0.035000, "0.006*( (4/7))", "0.035*( (4/7))", 0.010000, "0.006*( (4/7))", 0, 0.012000, 0, "-0.0125*( (4/7))", 0.010000, 0, "-0.0025*( (4/7))"};
- recoil_auto_primary_prone_5outof10 = {0, "0.004*( (5/7))", "0.035*.25*( (5/7))", 0.035000, "0.006*( (5/7))", "0.035*( (5/7))", 0.010000, "0.006*( (5/7))", 0, 0.012000, 0, "-0.0125*( (5/7))", 0.010000, 0, "-0.0025*( (5/7))"};
- recoil_auto_primary_prone_6outof10 = {0, "0.004*( (6/7))", "0.035*.25*( (6/7))", 0.035000, "0.006*( (6/7))", "0.035*( (6/7))", 0.010000, "0.006*( (6/7))", 0, 0.012000, 0, "-0.0125*( (6/7))", 0.010000, 0, "-0.0025*( (6/7))"};
- recoil_auto_primary_prone_7outof10 = {0, "0.004*( (7/7))", "0.035*.25*( (7/7))", 0.035000, "0.006*( (7/7))", "0.035*( (7/7))", 0.010000, "0.006*( (7/7))", 0, 0.012000, 0, "-0.0125*( (7/7))", 0.010000, 0, "-0.0025*( (7/7))"};
- recoil_auto_primary_prone_8outof10 = {0, "0.004*( (8/7))", "0.035*.25*( (8/7))", 0.035000, "0.006*( (8/7))", "0.035*( (8/7))", 0.010000, "0.006*( (8/7))", 0, 0.012000, 0, "-0.0125*( (8/7))", 0.010000, 0, "-0.0025*( (8/7))"};
- recoil_auto_primary_prone_9outof10 = {0, "0.004*( (9/7))", "0.035*.25*( (9/7))", 0.035000, "0.006*( (9/7))", "0.035*( (9/7))", 0.010000, "0.006*( (9/7))", 0, 0.012000, 0, "-0.0125*( (9/7))", 0.010000, 0, "-0.0025*( (9/7))"};
- recoil_auto_primary_prone_10outof10 = {0, "0.004*( (10/7))", "0.035*.25*( (10/7))", 0.035000, "0.006*( (10/7))", "0.035*( (10/7))", 0.010000, "0.006*( (10/7))", 0, 0.012000, 0, "-0.0125*( (10/7))", 0.010000, 0, "-0.0025*( (10/7))"};
- recoil_auto_machinegun_1outof10 = {0, "0.006*.5*( (1/7))", "0.0005*2*( (1/7))", 0.030000, "0.009*.5*( (1/7))", "0.001*2*( (1/7))", 0.040000, 0, "0.01*2*( (1/7))"};
- recoil_auto_machinegun_2outof10 = {0, "0.006*.5*( (2/7))", "0.0005*2*( (2/7))", 0.030000, "0.009*.5*( (2/7))", "0.001*2*( (2/7))", 0.040000, 0, "0.01*2*( (2/7))"};
- recoil_auto_machinegun_3outof10 = {0, "0.006*.5*( (3/7))", "0.0005*2*( (3/7))", 0.030000, "0.009*.5*( (3/7))", "0.001*2*( (3/7))", 0.040000, 0, "0.01*2*( (3/7))"};
- recoil_auto_machinegun_4outof10 = {0, "0.006*.5*( (4/7))", "0.0005*2*( (4/7))", 0.030000, "0.009*.5*( (4/7))", "0.001*2*( (4/7))", 0.040000, 0, "0.01*2*( (4/7))"};
- recoil_auto_machinegun_5outof10 = {0, "0.006*.5*( (5/7))", "0.0005*2*( (5/7))", 0.030000, "0.009*.5*( (5/7))", "0.001*2*( (5/7))", 0.040000, 0, "0.01*2*( (5/7))"};
- recoil_auto_machinegun_6outof10 = {0, "0.006*.5*( (6/7))", "0.0005*2*( (6/7))", 0.030000, "0.009*.5*( (6/7))", "0.001*2*( (6/7))", 0.040000, 0, "0.01*2*( (6/7))"};
- recoil_auto_machinegun_7outof10 = {0, "0.006*.5*( (7/7))", "0.0005*2*( (7/7))", 0.030000, "0.009*.5*( (7/7))", "0.001*2*( (7/7))", 0.040000, 0, "0.01*2*( (7/7))"};
- recoil_auto_machinegun_8outof10 = {0, "0.006*.5*( (8/7))", "0.0005*2*( (8/7))", 0.030000, "0.009*.5*( (8/7))", "0.001*2*( (8/7))", 0.040000, 0, "0.01*2*( (8/7))"};
- recoil_auto_machinegun_9outof10 = {0, "0.006*.5*( (9/7))", "0.0005*2*( (9/7))", 0.030000, "0.009*.5*( (9/7))", "0.001*2*( (9/7))", 0.040000, 0, "0.01*2*( (9/7))"};
- recoil_auto_machinegun_10outof10 = {0, "0.006*.5*( (10/7))", "0.0005*2*( (10/7))", 0.030000, "0.009*.5*( (10/7))", "0.001*2*( (10/7))", 0.040000, 0, "0.01*2*( (10/7))"};
- recoil_auto_machinegun_prone_1outof10 = {0, "0.004*.5*( (1/7))", "0.0035*.25*( (1/7))", 0.030000, "0.006*.5*( (1/7))", "0.007*( (1/7))", 0.010000, "0.006*.5*( (1/7))", 0, 0.084000, 0, "-0.0025*( (1/7))", 0.084000, 0, "-0.0025*( (1/7))"};
- recoil_auto_machinegun_prone_2outof10 = {0, "0.004*.5*( (2/7))", "0.0035*.25*( (2/7))", 0.030000, "0.006*.5*( (2/7))", "0.007*( (2/7))", 0.010000, "0.006*.5*( (2/7))", 0, 0.084000, 0, "-0.0025*( (2/7))", 0.084000, 0, "-0.0025*( (2/7))"};
- recoil_auto_machinegun_prone_3outof10 = {0, "0.004*.5*( (3/7))", "0.0035*.25*( (3/7))", 0.030000, "0.006*.5*( (3/7))", "0.007*( (3/7))", 0.010000, "0.006*.5*( (3/7))", 0, 0.084000, 0, "-0.0025*( (3/7))", 0.084000, 0, "-0.0025*( (3/7))"};
- recoil_auto_machinegun_prone_4outof10 = {0, "0.004*.5*( (4/7))", "0.0035*.25*( (4/7))", 0.030000, "0.006*.5*( (4/7))", "0.007*( (4/7))", 0.010000, "0.006*.5*( (4/7))", 0, 0.084000, 0, "-0.0025*( (4/7))", 0.084000, 0, "-0.0025*( (4/7))"};
- recoil_auto_machinegun_prone_5outof10 = {0, "0.004*.5*( (5/7))", "0.0035*.25*( (5/7))", 0.030000, "0.006*.5*( (5/7))", "0.007*( (5/7))", 0.010000, "0.006*.5*( (5/7))", 0, 0.084000, 0, "-0.0025*( (5/7))", 0.084000, 0, "-0.0025*( (5/7))"};
- recoil_auto_machinegun_prone_6outof10 = {0, "0.004*.5*( (6/7))", "0.0035*.25*( (6/7))", 0.030000, "0.006*.5*( (6/7))", "0.007*( (6/7))", 0.010000, "0.006*.5*( (6/7))", 0, 0.084000, 0, "-0.0025*( (6/7))", 0.084000, 0, "-0.0025*( (6/7))"};
- recoil_auto_machinegun_prone_7outof10 = {0, "0.004*.5*( (7/7))", "0.0035*.25*( (7/7))", 0.030000, "0.006*.5*( (7/7))", "0.007*( (7/7))", 0.010000, "0.006*.5*( (7/7))", 0, 0.084000, 0, "-0.0025*( (7/7))", 0.084000, 0, "-0.0025*( (7/7))"};
- recoil_auto_machinegun_prone_8outof10 = {0, "0.004*.5*( (8/7))", "0.0035*.25*( (8/7))", 0.030000, "0.006*.5*( (8/7))", "0.007*( (8/7))", 0.010000, "0.006*.5*( (8/7))", 0, 0.084000, 0, "-0.0025*( (8/7))", 0.084000, 0, "-0.0025*( (8/7))"};
- recoil_auto_machinegun_prone_9outof10 = {0, "0.004*.5*( (9/7))", "0.0035*.25*( (9/7))", 0.030000, "0.006*.5*( (9/7))", "0.007*( (9/7))", 0.010000, "0.006*.5*( (9/7))", 0, 0.084000, 0, "-0.0025*( (9/7))", 0.084000, 0, "-0.0025*( (9/7))"};
- recoil_auto_machinegun_prone_10outof10 = {0, "0.004*.5*( (10/7))", "0.0035*.25*( (10/7))", 0.030000, "0.006*.5*( (10/7))", "0.007*( (10/7))", 0.010000, "0.006*.5*( (10/7))", 0, 0.084000, 0, "-0.0025*( (10/7))", 0.084000, 0, "-0.0025*( (10/7))"};
- recoil_single_pistol_1outof3 = {0.040000, "0.006*( (3/7))", "0.05*.5*( (3/7))", 0.010000, "0.009*( (3/7))", 0, 0.045000, 0, "-0.025*.5*( (3/7))"};
- recoil_single_pistol_2outof3 = {0.040000, "0.006*( (5/7))", "0.05*.5*( (5/7))", 0.010000, "0.009*( (5/7))", 0, 0.045000, 0, "-0.025*.5*( (5/7))"};
- recoil_single_pistol_3outof3 = {0.040000, "0.006*( (7/7))", "0.05*.5*( (7/7))", 0.010000, "0.009*( (7/7))", 0, 0.045000, 0, "-0.025*.5*( (7/7))"};
- recoil_single_pistol_prone_1outof3 = {0.035000, "0.004*( (4/7))", "0.035*.5*( (4/7))", 0.010000, "0.006*( (4/7))", 0, 0.045000, 0, "-0.025*.25*( (4/7))", 0.010000, 0, "-0.025*.25*( (4/7))"};
- recoil_single_pistol_prone_2outof3 = {0.035000, "0.004*( (6/7))", "0.035*.5*( (6/7))", 0.010000, "0.006*( (6/7))", 0, 0.045000, 0, "-0.025*.25*( (6/7))", 0.010000, 0, "-0.025*.25*( (6/7))"};
- recoil_single_pistol_prone_3outof3 = {0.035000, "0.004*( (8/7))", "0.035*.5*( (8/7))", 0.010000, "0.006*( (8/7))", 0, 0.045000, 0, "-0.025*.25*( (8/7))", 0.010000, 0, "-0.025*.25*( (8/7))"};
- recoil_recoiless_weapon = {0.500000, 0, 0.040000};
- recoil_empty = {0, 0, 0};
- };
- /*extern*/ class DefaultWeapon;
- /*extern*/ class Mode_SemiAuto;
- class CfgWeapons {
- /*extern*/ class RifleCore;
- class ShotgunBase: RifleCore {
- rotateDropped = 1;
- rotateAlways = 1;
- rotateY = 1;
- bullet1 = {"", 0.100000, 1, 15};
- bullet2 = {"", 0.100000, 1, 15};
- bullet3 = {"", 0.177828, 1, 15};
- bullet4 = {"", 0.177828, 1, 15};
- bullet5 = {"", 0.100000, 1, 15};
- bullet6 = {"", 0.100000, 1, 15};
- bullet7 = {"", 0.100000, 1, 15};
- bullet8 = {"", 0.100000, 1, 15};
- bullet9 = {"", 0.010000, 1, 15};
- bullet10 = {"", 0.010000, 1, 15};
- bullet11 = {"", 0.010000, 1, 15};
- bullet12 = {"", 0.010000, 1, 15};
- soundBullet = {"bullet1", 0.083000, "bullet2", 0.083000, "bullet3", 0.083000, "bullet4", 0.083000, "bullet5", 0.083000, "bullet6", 0.083000, "bullet7", 0.083000, "bullet8", 0.083000, "bullet9", 0.083000, "bullet10", 0.083000, "bullet11", 0.083000, "bullet12", 0.083000};
- drySound = {"", 0.031623, 1, 10};
- reloadMagazineSound = {"", 0.316228, 1, 20};
- scope = 2;
- model = "";
- cursor = "";
- cursorAim = "";
- reloadAction = "ReloadShotgunIZH43";
- attachments = {};
- chamberedRound = "ShotgunBase";
- magazines = {"B_12Gauge_Pellets_Double", "B_12Gauge_Slug_Double"};
- dexterity = 1.600000;
- opticsZoomMin = 0.375000;
- opticsZoomMax = 1.100000;
- opticsZoomInit = 0.750000;
- magazineSlot = "magazine";
- distanceZoomMin = 50;
- distanceZoomMax = 50;
- displayname = "Shotgun";
- modes = {"Single"};
- dispersion = 3;
- firespreadangle = 2;
- class Single: Mode_SemiAuto {
- fireSpreadAngle = 0.800000;
- soundContinuous = 0;
- reloadTime = 0.500000;
- minRange = 0;
- minRangeProbab = 0.500000;
- midRange = 60;
- midRangeProbab = 0.200000;
- maxRange = 100;
- maxRangeProbab = 0.030000;
- recoil = "recoil_single_m4";
- recoilProne = "recoil_single_prone_m4";
- begin1 = {"", 1.778279, 1, 1200};
- begin2 = {"", 1.778279, 1, 1200};
- soundBegin = {"begin1", 0.500000, "begin2", 0.500000};
- closure1 = {"", 1.778279, 1, 300};
- closure2 = {"", 1.778279, 1, 300};
- soundClosure = {"closure1", 0.500000, "closure2", 0.500000};
- magazineSlot = "magazine";
- };
- };
- class ShotgunIzh43: ShotgunBase {
- scope = 2;
- displayName = "Izh43 Shotgun";
- descriptionShort = "";
- model = "\dz\weapons\shotguns\izh43.p3d";
- handAnim = {"OFP2_ManSkeleton", "\DZ\anims\data\anim\sdr\ik\weapons\izh43.rtm"};
- itemSize = {7, 3};
- modelOptics = "-";
- distanceZoomMin = 100;
- distanceZoomMax = 100;
- class Damage {
- tex = {};
- mat = {"DZ\weapons\shotguns\data\izh43.rvmat", "DZ\weapons\shotguns\data\izh43_damage.rvmat", "DZ\weapons\shotguns\data\izh43_destruct.rvmat"};
- };
- };
- class ShotgunIzh43_Sawedoff: ShotgunIzh43 {
- displayName = "Sawed-off Izh43 Shotgun";
- descriptionShort = "";
- model = "\dz\weapons\shotguns\izh43_sawedoff.p3d";
- handAnim = {"OFP2_ManSkeleton", "\DZ\anims\data\anim\sdr\ik\weapons\izh43.rtm"};
- itemSize = {4, 2};
- modelOptics = "-";
- };
- };
- enum {
- destructengine = 2,
- destructdefault = 6,
- destructwreck = 7,
- destructtree = 3,
- destructtent = 4,
- stabilizedinaxisx = 1,
- stabilizedinaxisy = 2,
- destructno = 0,
- stabilizedinaxesboth = 3,
- stabilizedinaxesnone = 0,
- destructman = 5,
- destructbuilding = 1
- }
- class CfgPatches {
- class DZ_Weapons_Projectiles {
- units = {};
- weapons = {};
- requiredVersion = 0.100000;
- requiredAddons = {};
- };
- };
- class CfgAmmo {
- /*extern*/ class DefaultAmmo;
- class FuelExplosion: DefaultAmmo {
- hit = 100;
- indirectHit = 80;
- indirectHitRange = 2.500000;
- model = "";
- simulation = "";
- cost = 1;
- soundHit = {"DZ\sounds\arma2\Weapons\explosions\explosion_small_11", 6.309574, 1, 1600};
- soundFly = {"", 1, 1};
- soundEngine = {"", 1, 4};
- explosionEffects = "VehicleExplosionEffects";
- };
- /*extern*/ class TimeBombCore;
- /*extern*/ class BulletCore;
- class BulletBase: BulletCore {
- hit = 8;
- indirectHit = 0;
- indirectHitRange = 0;
- hitShockHead = 20000;
- hitShock = 500;
- hitBlood = -500;
- hitHealth = -200;
- bleedChance = 2;
- model = "";
- soundFly = {"", 0.000000, 1};
- soundDefault1 = {"dz\sounds\weapons\hits\concrete_1", 1.122018, 1, 60};
- soundDefault2 = {"dz\sounds\weapons\hits\concrete_2", 1.122018, 1, 60};
- soundDefault3 = {"dz\sounds\weapons\hits\concrete_3", 1.122018, 1, 60};
- soundDefault4 = {"dz\sounds\weapons\hits\concrete_4", 1.122018, 1, 60};
- soundDefault5 = {"dz\sounds\weapons\hits\concrete_5", 1.122018, 1, 60};
- soundDefault6 = {"dz\sounds\weapons\hits\concrete_6", 1.122018, 1, 60};
- soundDefault7 = {"dz\sounds\weapons\hits\concrete_7", 1.122018, 1, 60};
- soundDefault8 = {"dz\sounds\weapons\hits\concrete_8", 1.122018, 1, 60};
- soundGroundSoft1 = {"dz\sounds\weapons\hits\soft_ground_1", 1.258925, 1, 60};
- soundGroundSoft2 = {"dz\sounds\weapons\hits\soft_ground_2", 1.258925, 1, 60};
- soundGroundSoft3 = {"dz\sounds\weapons\hits\soft_ground_3", 1.258925, 1, 60};
- soundGroundSoft4 = {"dz\sounds\weapons\hits\soft_ground_4", 1.258925, 1, 60};
- soundGroundSoft5 = {"dz\sounds\weapons\hits\soft_ground_5", 1.258925, 1, 60};
- soundGroundSoft6 = {"dz\sounds\weapons\hits\soft_ground_6", 1.258925, 1, 60};
- soundGroundSoft7 = {"dz\sounds\weapons\hits\soft_ground_7", 1.258925, 1, 60};
- soundGroundSoft8 = {"dz\sounds\weapons\hits\soft_ground_8", 1.258925, 1, 60};
- soundGroundHard1 = {"dz\sounds\weapons\hits\hard_ground_1", 1.412538, 1, 80};
- soundGroundHard2 = {"dz\sounds\weapons\hits\hard_ground_2", 1.412538, 1, 80};
- soundGroundHard3 = {"dz\sounds\weapons\hits\hard_ground_3", 1.412538, 1, 80};
- soundGroundHard4 = {"dz\sounds\weapons\hits\hard_ground_4", 1.412538, 1, 80};
- soundGroundHard5 = {"dz\sounds\weapons\hits\hard_ground_5", 1.412538, 1, 80};
- soundGroundHard6 = {"dz\sounds\weapons\hits\hard_ground_6", 1.412538, 1, 80};
- soundGroundHard7 = {"dz\sounds\weapons\hits\hard_ground_7", 1.412538, 1, 80};
- soundGroundHard8 = {"dz\sounds\weapons\hits\hard_ground_8", 1.412538, 1, 80};
- soundMetal1 = {"dz\sounds\weapons\hits\metal_1", 1.995262, 1, 150};
- soundMetal2 = {"dz\sounds\weapons\hits\metal_2", 1.995262, 1, 150};
- soundMetal3 = {"dz\sounds\weapons\hits\metal_3", 1.995262, 1, 150};
- soundMetal4 = {"dz\sounds\weapons\hits\metal_4", 1.995262, 1, 150};
- soundMetal5 = {"dz\sounds\weapons\hits\metal_5", 1.995262, 1, 150};
- soundMetal6 = {"dz\sounds\weapons\hits\metal_6", 1.995262, 1, 150};
- soundMetal7 = {"dz\sounds\weapons\hits\metal_7", 1.995262, 1, 150};
- soundMetal8 = {"dz\sounds\weapons\hits\metal_8", 1.995262, 1, 150};
- soundGlass1 = {"dz\sounds\weapons\hits\glass_1", 1.412538, 1, 100};
- soundGlass2 = {"dz\sounds\weapons\hits\glass_2", 1.412538, 1, 100};
- soundGlass3 = {"dz\sounds\weapons\hits\glass_3", 1.412538, 1, 100};
- soundGlass4 = {"dz\sounds\weapons\hits\glass_4", 1.412538, 1, 100};
- soundGlass5 = {"dz\sounds\weapons\hits\glass_5", 1.412538, 1, 100};
- soundGlass6 = {"dz\sounds\weapons\hits\glass_6", 1.412538, 1, 100};
- soundGlass7 = {"dz\sounds\weapons\hits\glass_7", 1.412538, 1, 100};
- soundGlass8 = {"dz\sounds\weapons\hits\glass_8", 1.412538, 1, 100};
- soundGlassArmored1 = {"dz\sounds\weapons\hits\glass_arm_1", 1.258925, 1, 60};
- soundGlassArmored2 = {"dz\sounds\weapons\hits\glass_arm_2", 1.258925, 1, 60};
- soundGlassArmored3 = {"dz\sounds\weapons\hits\glass_arm_3", 1.258925, 1, 60};
- soundGlassArmored4 = {"dz\sounds\weapons\hits\glass_arm_4", 1.258925, 1, 60};
- soundGlassArmored5 = {"dz\sounds\weapons\hits\glass_arm_5", 1.258925, 1, 60};
- soundGlassArmored6 = {"dz\sounds\weapons\hits\glass_arm_6", 1.258925, 1, 60};
- soundGlassArmored7 = {"dz\sounds\weapons\hits\glass_arm_7", 1.258925, 1, 60};
- soundGlassArmored8 = {"dz\sounds\weapons\hits\glass_arm_8", 1.258925, 1, 60};
- soundVehiclePlate1 = {"dz\sounds\weapons\hits\metal_plate_1", 1.995262, 1, 150};
- soundVehiclePlate2 = {"dz\sounds\weapons\hits\metal_plate_2", 1.995262, 1, 150};
- soundVehiclePlate3 = {"dz\sounds\weapons\hits\metal_plate_3", 1.995262, 1, 150};
- soundVehiclePlate4 = {"dz\sounds\weapons\hits\metal_plate_4", 1.995262, 1, 150};
- soundVehiclePlate5 = {"dz\sounds\weapons\hits\metal_plate_5", 1.995262, 1, 150};
- soundVehiclePlate6 = {"dz\sounds\weapons\hits\metal_plate_6", 1.995262, 1, 150};
- soundVehiclePlate7 = {"dz\sounds\weapons\hits\metal_plate_7", 1.995262, 1, 150};
- soundVehiclePlate8 = {"dz\sounds\weapons\hits\metal_plate_8", 1.995262, 1, 150};
- soundWood1 = {"dz\sounds\weapons\hits\wood_1", 1.412538, 1, 80};
- soundWood2 = {"dz\sounds\weapons\hits\wood_2", 1.412538, 1, 80};
- soundWood3 = {"dz\sounds\weapons\hits\wood_3", 1.412538, 1, 80};
- soundWood4 = {"dz\sounds\weapons\hits\wood_4", 1.412538, 1, 80};
- soundWood5 = {"dz\sounds\weapons\hits\wood_5", 1.412538, 1, 80};
- soundWood6 = {"dz\sounds\weapons\hits\wood_6", 1.412538, 1, 80};
- soundWood7 = {"dz\sounds\weapons\hits\wood_7", 1.412538, 1, 80};
- soundWood8 = {"dz\sounds\weapons\hits\wood_8", 1.412538, 1, 80};
- soundHitBody1 = {"dz\sounds\weapons\hits\body_1", 1.584893, 1, 10};
- soundHitBody2 = {"dz\sounds\weapons\hits\body_2", 1.584893, 1, 10};
- soundHitBody3 = {"dz\sounds\weapons\hits\body_3", 1.584893, 1, 10};
- soundHitBody4 = {"dz\sounds\weapons\hits\body_4", 1.584893, 1, 10};
- soundHitBody5 = {"dz\sounds\weapons\hits\body_5", 1.584893, 1, 10};
- soundHitBody6 = {"dz\sounds\weapons\hits\body_6", 1.584893, 1, 10};
- soundHitBody7 = {"dz\sounds\weapons\hits\body_7", 1.584893, 1, 10};
- soundHitBody8 = {"dz\sounds\weapons\hits\body_8", 1.584893, 1, 10};
- soundHitBuilding1 = {"dz\sounds\weapons\hits\building_1", 1.000000, 1, 60};
- soundHitBuilding2 = {"dz\sounds\weapons\hits\building_2", 1.000000, 1, 60};
- soundHitBuilding3 = {"dz\sounds\weapons\hits\building_3", 1.000000, 1, 60};
- soundHitBuilding4 = {"dz\sounds\weapons\hits\building_4", 1.000000, 1, 60};
- soundHitBuilding5 = {"dz\sounds\weapons\hits\building_5", 1.000000, 1, 60};
- soundHitBuilding6 = {"dz\sounds\weapons\hits\building_6", 1.000000, 1, 60};
- soundHitBuilding7 = {"dz\sounds\weapons\hits\building_7", 1.000000, 1, 60};
- soundHitBuilding8 = {"dz\sounds\weapons\hits\building_8", 1.000000, 1, 60};
- soundHitFoliage1 = {"dz\sounds\weapons\hits\foliage_1", 0.707946, 1, 20};
- soundHitFoliage2 = {"dz\sounds\weapons\hits\foliage_2", 0.707946, 1, 20};
- soundHitFoliage3 = {"dz\sounds\weapons\hits\foliage_3", 0.707946, 1, 20};
- soundHitFoliage4 = {"dz\sounds\weapons\hits\foliage_4", 0.707946, 1, 20};
- soundHitFoliage5 = {"dz\sounds\weapons\hits\foliage_5", 0.707946, 1, 20};
- soundHitFoliage6 = {"dz\sounds\weapons\hits\foliage_6", 0.707946, 1, 20};
- soundHitFoliage7 = {"dz\sounds\weapons\hits\foliage_7", 0.707946, 1, 20};
- soundHitFoliage8 = {"dz\sounds\weapons\hits\foliage_8", 0.707946, 1, 20};
- soundPlastic1 = {"dz\sounds\weapons\hits\plastic_1", 1.000000, 1, 70};
- soundPlastic2 = {"dz\sounds\weapons\hits\plastic_2", 1.000000, 1, 70};
- soundPlastic3 = {"dz\sounds\weapons\hits\plastic_3", 1.000000, 1, 70};
- soundPlastic4 = {"dz\sounds\weapons\hits\plastic_4", 1.000000, 1, 70};
- soundPlastic5 = {"dz\sounds\weapons\hits\plastic_5", 1.000000, 1, 70};
- soundPlastic6 = {"dz\sounds\weapons\hits\plastic_6", 1.000000, 1, 70};
- soundPlastic7 = {"dz\sounds\weapons\hits\plastic_7", 1.000000, 1, 70};
- soundPlastic8 = {"dz\sounds\weapons\hits\plastic_8", 1.000000, 1, 70};
- soundConcrete1 = {"dz\sounds\weapons\hits\concrete_1", 1.000000, 1, 70};
- soundConcrete2 = {"dz\sounds\weapons\hits\concrete_2", 1.000000, 1, 70};
- soundConcrete3 = {"dz\sounds\weapons\hits\concrete_3", 1.000000, 1, 70};
- soundConcrete4 = {"dz\sounds\weapons\hits\concrete_4", 1.000000, 1, 70};
- soundConcrete5 = {"dz\sounds\weapons\hits\concrete_5", 1.000000, 1, 70};
- soundConcrete6 = {"dz\sounds\weapons\hits\concrete_6", 1.000000, 1, 70};
- soundConcrete7 = {"dz\sounds\weapons\hits\concrete_7", 1.000000, 1, 70};
- soundConcrete8 = {"dz\sounds\weapons\hits\concrete_8", 1.000000, 1, 70};
- soundRubber1 = {"dz\sounds\weapons\hits\tyre_1", 0.891251, 1, 50};
- soundRubber2 = {"dz\sounds\weapons\hits\tyre_2", 0.891251, 1, 50};
- soundRubber3 = {"dz\sounds\weapons\hits\tyre_3", 0.891251, 1, 50};
- soundRubber4 = {"dz\sounds\weapons\hits\tyre_4", 0.891251, 1, 50};
- soundRubber5 = {"dz\sounds\weapons\hits\tyre_5", 0.891251, 1, 50};
- soundRubber6 = {"dz\sounds\weapons\hits\tyre_6", 0.891251, 1, 50};
- soundRubber7 = {"dz\sounds\weapons\hits\tyre_7", 0.891251, 1, 50};
- soundRubber8 = {"dz\sounds\weapons\hits\tyre_8", 0.891251, 1, 50};
- soundWater1 = {"dz\sounds\weapons\hits\water_01", 1.000000, 1, 40};
- soundWater2 = {"dz\sounds\weapons\hits\water_02", 1.000000, 1, 40};
- soundWater3 = {"dz\sounds\weapons\hits\water_03", 1.000000, 1, 40};
- soundWater4 = {"dz\sounds\weapons\hits\water_04", 1.000000, 1, 40};
- soundWater5 = {"dz\sounds\weapons\hits\water_05", 1.000000, 1, 40};
- soundWater6 = {"dz\sounds\weapons\hits\water_06", 1.000000, 1, 40};
- soundWater7 = {"dz\sounds\weapons\hits\water_07", 1.000000, 1, 40};
- soundWater8 = {"dz\sounds\weapons\hits\water_08", 1.000000, 1, 40};
- hitGroundSoft = {"soundGroundSoft1", 0.200000, "soundGroundSoft2", 0.200000, "soundGroundSoft3", 0.100000, "soundGroundSoft4", 0.100000, "soundGroundSoft5", 0.100000, "soundGroundSoft6", 0.100000, "soundGroundSoft7", 0.100000, "soundGroundSoft8", 0.100000};
- hitGroundHard = {"soundGroundHard1", 0.200000, "soundGroundHard2", 0.200000, "soundGroundHard3", 0.100000, "soundGroundHard4", 0.100000, "soundGroundHard5", 0.100000, "soundGroundHard6", 0.100000, "soundGroundHard7", 0.100000, "soundGroundHard8", 0.100000};
- hitMan = {"soundHitBody1", 0.125000, "soundHitBody2", 0.125000, "soundHitBody3", 0.125000, "soundHitBody4", 0.125000, "soundHitBody5", 0.125000, "soundHitBody6", 0.125000, "soundHitBody7", 0.125000, "soundHitBody8", 0.125000};
- hitArmor = {"soundVehiclePlate1", 0.125000, "soundVehiclePlate2", 0.125000, "soundVehiclePlate3", 0.125000, "soundVehiclePlate4", 0.125000, "soundVehiclePlate5", 0.125000, "soundVehiclePlate6", 0.125000, "soundVehiclePlate7", 0.125000, "soundVehiclePlate8", 0.125000};
- hitBuilding = {"soundHitBuilding1", 0.200000, "soundHitBuilding2", 0.200000, "soundHitBuilding3", 0.100000, "soundHitBuilding4", 0.100000, "soundHitBuilding5", 0.100000, "soundHitBuilding6", 0.100000, "soundHitBuilding7", 0.100000, "soundHitBuilding8", 0.100000};
- hitFoliage = {"soundHitFoliage1", 0.125000, "soundHitFoliage2", 0.125000, "soundHitFoliage3", 0.125000, "soundHitFoliage4", 0.125000, "soundHitFoliage5", 0.125000, "soundHitFoliage6", 0.125000, "soundHitFoliage7", 0.125000, "soundHitFoliage8", 0.125000};
- hitWood = {"soundWood1", 0.125000, "soundWood2", 0.125000, "soundWood3", 0.125000, "soundWood4", 0.125000, "soundWood5", 0.125000, "soundWood6", 0.125000, "soundWood7", 0.125000, "soundWood8", 0.125000};
- hitGlass = {"soundGlass1", 0.125000, "soundGlass2", 0.125000, "soundGlass3", 0.125000, "soundGlass4", 0.125000, "soundGlass5", 0.125000, "soundGlass6", 0.125000, "soundGlass7", 0.125000, "soundGlass8", 0.125000};
- hitGlassArmored = {"soundGlassArmored1", 0.125000, "soundGlassArmored2", 0.125000, "soundGlassArmored3", 0.125000, "soundGlassArmored4", 0.125000, "soundGlassArmored5", 0.125000, "soundGlassArmored6", 0.125000, "soundGlassArmored7", 0.125000, "soundGlassArmored8", 0.125000};
- hitConcrete = {"soundConcrete1", 0.125000, "soundConcrete2", 0.125000, "soundConcrete3", 0.125000, "soundConcrete4", 0.125000, "soundConcrete5", 0.125000, "soundConcrete6", 0.125000, "soundConcrete7", 0.125000, "soundConcrete8", 0.125000};
- hitRubber = {"soundRubber1", 0.125000, "soundRubber2", 0.125000, "soundRubber3", 0.125000, "soundRubber4", 0.125000, "soundRubber5", 0.125000, "soundRubber6", 0.125000, "soundRubber7", 0.125000, "soundRubber8", 0.125000};
- hitPlastic = {"soundPlastic1", 0.125000, "soundPlastic2", 0.125000, "soundPlastic3", 0.125000, "soundPlastic4", 0.125000, "soundPlastic5", 0.125000, "soundPlastic6", 0.125000, "soundPlastic7", 0.125000, "soundPlastic8", 0.125000};
- hitDefault = {"soundDefault1", 0.200000, "soundDefault2", 0.200000, "soundDefault3", 0.100000, "soundDefault4", 0.100000, "soundDefault5", 0.100000, "soundDefault6", 0.100000, "soundDefault7", 0.100000, "soundDefault8", 0.100000};
- hitMetal = {"soundMetal1", 0.125000, "soundMetal2", 0.125000, "soundMetal3", 0.125000, "soundMetal4", 0.125000, "soundMetal5", 0.125000, "soundMetal6", 0.125000, "soundMetal7", 0.125000, "soundMetal8", 0.125000};
- hitMetalplate = {"soundVehiclePlate1", 0.125000, "soundVehiclePlate2", 0.125000, "soundVehiclePlate3", 0.125000, "soundVehiclePlate4", 0.125000, "soundVehiclePlate5", 0.125000, "soundVehiclePlate6", 0.125000, "soundVehiclePlate7", 0.125000, "soundVehiclePlate8", 0.125000};
- hitWater = {"soundWater1", 0.125000, "soundWater2", 0.125000, "soundWater3", 0.125000, "soundWater4", 0.125000, "soundWater5", 0.125000, "soundWater6", 0.125000, "soundWater7", 0.125000, "soundWater8", 0.125000};
- bulletFly1 = {"dz\sounds\weapons\effects\bullet_by_1", 1.000000, 1, 50};
- bulletFly2 = {"dz\sounds\weapons\effects\bullet_by_2", 1.000000, 1, 50};
- bulletFly3 = {"dz\sounds\weapons\effects\bullet_by_3", 1.000000, 1, 50};
- bulletFly4 = {"dz\sounds\weapons\effects\bullet_by_4", 1.000000, 1, 50};
- bulletFly5 = {"dz\sounds\weapons\effects\bullet_by_5", 1.000000, 1, 50};
- bulletFly6 = {"dz\sounds\weapons\effects\bullet_by_6", 1.000000, 1, 50};
- bulletFly7 = {"dz\sounds\weapons\effects\bullet_by_7", 1.000000, 1, 50};
- bulletFly8 = {"dz\sounds\weapons\effects\bullet_by_8", 1.000000, 1, 50};
- bulletFly = {"bulletFly1", 0.125000, "bulletFly2", 0.125000, "bulletFly3", 0.125000, "bulletFly4", 0.125000, "bulletFly5", 0.125000, "bulletFly6", 0.125000, "bulletFly7", 0.125000, "bulletFly8", 0.125000};
- supersonicCrackNear = {"dz\sounds\weapons\effects\bullet_crack_mid", 1, 1, 150};
- supersonicCrackFar = {"dz\sounds\weapons\effects\bullet_crack_far", 1, 1, 250};
- cartridge = "FxCartridge_556";
- cost = 0.700000;
- timeToLive = 6;
- deflecting = 10;
- tracerStartTime = -1;
- class HitEffects {
- Hit_Foliage = "ImpactLeaves";
- Hit_Glass = "ImpactGlass";
- Hit_Glass_Thin = "ImpactGlassThin";
- Hit_Wood = "ImpactWood";
- Hit_Metal = "ImpactMetal";
- Hit_Plaster = "ImpactPlaster";
- Hit_Rubber = "ImpactRubber";
- Hit_Concrete = "ImpactConcrete";
- Hit_Blood = "ImpactBlood";
- };
- muzzleEffect = "BIS_Effects_Rifle";
- };
- /*extern*/ class ShotgunCore;
- class ShotgunBase: ShotgunCore {
- waterEffectOffset = -0.800000;
- class HitEffects {
- Hit_Foliage = "ImpactLeaves";
- Hit_Glass = "ImpactGlass";
- Hit_Glass_Thin = "ImpactGlassThin";
- Hit_Wood = "ImpactWood";
- Hit_Metal = "ImpactMetal";
- Hit_Plaster = "ImpactPlaster";
- Hit_Rubber = "ImpactRubber";
- Hit_Concrete = "ImpactConcrete";
- Hit_Blood = "ImpactBlood";
- };
- };
- class B_12Gauge_Pellets: ShotgunBase {
- hit = 8;
- indirectHit = 0;
- indirectHitRange = 0;
- cartridge = "FxCartridge_12Pellet";
- cost = 5;
- typicalSpeed = 900;
- visibleFire = 18;
- audibleFire = 18;
- airFriction = -0.005000;
- caliber = 0.500000;
- };
- class B_12Gauge_Slug: BulletBase {
- hit = 11;
- indirectHit = 0;
- indirectHitRange = 0;
- cartridge = "FxCartridge_12Slug";
- cost = 5;
- typicalSpeed = 400;
- visibleFire = 18;
- audibleFire = 18;
- airFriction = -0.005000;
- caliber = 0.500000;
- };
- class B_556x45_Ball: BulletBase {
- hit = 8;
- indirectHit = 0;
- indirectHitRange = 0;
- cost = 1;
- airFriction = -0.001425;
- caliber = 0.500000;
- audibleFire = 16;
- visibleFire = 16;
- visibleFireTime = 3;
- deflecting = 10;
- model = "\dz\weapons\projectiles\tracer_red.p3d";
- tracerScale = 1;
- tracerStartTime = 0.050000;
- tracerEndTime = 1;
- nvgOnly = 1;
- };
- class B_762x51_Ball: BulletBase {
- hit = 12;
- indirectHit = 0;
- indirectHitRange = 0;
- cartridge = "FxCartridge_762";
- visibleFire = 22;
- audibleFire = 18;
- visibleFireTime = 3;
- cost = 1.200000;
- airLock = 1;
- model = "\dz\weapons\projectiles\tracer_red.p3d";
- tracerScale = 1.200000;
- tracerStartTime = 0.075000;
- tracerEndTime = 1;
- caliber = 1;
- airFriction = -0.000932;
- };
- class B_45ACP_Ball: BulletBase {
- hit = 9;
- indirectHit = 0;
- indirectHitRange = 0;
- cartridge = "FxCartridge_9mm";
- model = "\dz\weapons\projectiles\tracer_red.p3d";
- tracerScale = 1;
- deflecting = 45;
- visibleFire = 5;
- audibleFire = 9;
- typicalSpeed = 280;
- airFriction = -0.001800;
- };
- class B_357: BulletBase {
- hit = 9;
- indirectHit = 0;
- indirectHitRange = 0;
- cartridge = "";
- model = "\dz\weapons\projectiles\tracer_red.p3d";
- tracerScale = 1;
- deflecting = 45;
- visibleFire = 20;
- audibleFire = 13;
- typicalSpeed = 280;
- airFriction = -0.001800;
- };
- class B_556x45_EXP: BulletBase {
- hit = 0;
- indirectHit = 8;
- indirectHitRange = 3;
- cost = 1;
- airFriction = -0.001425;
- caliber = 0.500000;
- model = "\dz\weapons\projectiles\tracer_red.p3d";
- tracerScale = 1;
- tracerStartTime = 0.050000;
- tracerEndTime = 1;
- nvgOnly = 1;
- };
- };
- class CfgVehicles {
- /*extern*/ class All;
- /*extern*/ class Strategic;
- /*extern*/ class ThingEffect;
- class FxCartridge: ThingEffect {
- model = "\dz\weapons\projectiles\nabojnice_556.p3d";
- displayName = "$STR_DN_FX_CARTRIDGE";
- submerged = 0;
- submergeSpeed = 0;
- timeToLive = 5;
- disappearAtContact = 1;
- airRotation = 1.500000;
- };
- class FxCartridge_Small: ThingEffect {
- model = "\dz\weapons\projectiles\nabojnice_small.p3d";
- displayName = "$STR_DN_FX_CARTRIDGE";
- submerged = 0;
- submergeSpeed = 0;
- timeToLive = 5;
- disappearAtContact = 1;
- airRotation = 1.500000;
- };
- class FxCartridge_9mm: FxCartridge_Small {
- };
- class FxCartridge_556: FxCartridge {
- };
- class FxCartridge_762: FxCartridge {
- model = "\dz\weapons\projectiles\nabojnice_762.p3d";
- };
- class FxCartridge_12Pellet: FxCartridge {
- model = "\dz\weapons\projectiles\shotgunshell_pellets.p3d";
- };
- class FxCartridge_12Slug: FxCartridge {
- model = "\dz\weapons\projectiles\shotgunshell_slug.p3d";
- };
- };
- enum {
- destructengine = 2,
- destructdefault = 6,
- destructwreck = 7,
- destructtree = 3,
- destructtent = 4,
- stabilizedinaxisx = 1,
- stabilizedinaxisy = 2,
- destructno = 0,
- stabilizedinaxesboth = 3,
- stabilizedinaxesnone = 0,
- destructman = 5,
- destructbuilding = 1
- }
- class cfgRecoils {
- pistolBase = {0, 0, 0, 0.080000, 0.003000, 0.020000, 0.050000, -0.003000, -0.033000, 0.050000, 0, 0};
- subMachineGunBase = {0, 0, 0, 0.060000, 0.005000, 0.005000, 0.050000, 0, -0.020000, 0.060000, -0.005000, 0.005000, 0.050000, 0, 0};
- assaultRifleBase = {0, 0, 0, 0.060000, 0.010000, 0.010000, 0.100000, 0, -0.020000, 0.100000, -0.010000, 0.010000, 0.050000, 0, 0};
- machinegunBase = {0, 0, 0, 0.080000, 0.010000, 0.040000, 0.050000, -0.003000, -0.010000, 0.200000, 0, 0};
- launcherBase = {0, 0, 0, 0.010000, 0, 0.050000, 0.025000, 0, 0};
- AK74Recoil = {0, 0, 0, 0.060000, 0.010000, 0.012000, 0.100000, 0, -0.020000, 0.100000, -0.010000, 0.010000, 0.050000, 0, 0};
- M249Recoil = {0, 0, 0, 0.070000, 0.002000, 0.010000, 0.035000, -0.002000, -0.020000, 0.050000, 0, 0};
- M249RecoilProne = {0, 0, 0, 0.100000, 0.003000, 0.004000, 0.050000, -0.003000, -0.008000, 0.050000, 0, 0};
- M4Recoil = {0, 0, 0, 0.060000, 0.010000, 0.010000, 0.100000, 0, -0.018000, 0.100000, -0.010000, 0.010000, 0.050000, 0, 0};
- PKMRecoil = {0, 0, 0, 0.100000, 0.030000, 0.040000, 0.050000, -0.030000, -0.080000, 0.050000, 0, 0};
- PKMRecoilProne = {0, 0, 0, 0.100000, 0.003000, 0.005000, 0.050000, -0.003000, -0.010000, 0.050000, 0, 0};
- }
- class CfgPatches {
- class DZ_Weapons_Firearms_SKS {
- units = {};
- weapons = {};
- requiredVersion = 0.100000;
- requiredAddons = {"DZ_Data", "DZ_Weapons_Firearms"};
- };
- };
- /*extern*/ class Mode_Safe;
- /*extern*/ class Mode_SemiAuto;
- /*extern*/ class Mode_Burst;
- /*extern*/ class Mode_FullAuto;
- class cfgWeapons {
- /*extern*/ class Rifle;
- class SKSBase: Rifle {
- absorbency = 0.100000;
- scope = 0;
- displayName = "SKS";
- descriptionShort = ".";
- model = "\dz\weapons\firearms\SKS\SKS.p3d";
- itemSize = {7, 3};
- modelOptics = "-";
- distanceZoomMin = 100;
- distanceZoomMax = 100;
- value = 0;
- dexterity = 1.800000;
- optics = 1;
- opticsFlare = 0;
- chamberedRound = "B_762x51_Ball";
- magazines = {"CLIP_762_5Rnd", "B_762x51_Ball_Single"};
- modes = {"Single"};
- drySound = {"dz\sounds\weapons\firearms\mosin9130\mosin_dry", 0.005623, 1};
- reloadMagazineSound = {"dz\sounds\weapons\firearms\mosin9130\mosin_reloading", 0.056234, 1, 20};
- reloadSound = {"dz\sounds\weapons\firearms\mosin9130\mosin_reloading", 0.056234, 1, 20};
- handAnim = {"OFP2_ManSkeleton", "\DZ\anims\data\anim\sdr\ik\weapons\SKS.rtm"};
- baseAttachments = {};
- class Single: Mode_SemiAuto {
- begin1 = {"dz\sounds\weapons\firearms\mosin9130\mosin_close_0", 1.778279, 1, 1000};
- begin2 = {"dz\sounds\weapons\firearms\mosin9130\mosin_close_1", 1.778279, 1, 1000};
- begin3 = {"dz\sounds\weapons\firearms\mosin9130\mosin_close_2", 1.778279, 1, 1000};
- soundBegin = {"begin1", 0.333330, "begin2", 0.333330, "begin2", 0.333330};
- reloadTime = 2;
- recoil = "recoil_single_primary_8outof10";
- recoilProne = "recoil_single_primary_prone_8outof10";
- dispersion = 0.002500;
- magazineSlot = "magazine";
- ejectType = 2;
- };
- ejectType = 2;
- cursor = "";
- cursorAim = "";
- reloadAction = "ReloadMosinFull";
- attachments = {"weaponMuzzleMosin", "weaponBayonetMosin", "weaponOpticsMosin", "weaponBipod"};
- hiddenSelections = {"camo"};
- hiddenSelectionsTextures = {"dz\weapons\firearms\SKS\data\sks_co.paa"};
- hiddenSelectionsMaterials = {"dz\weapons\firearms\SKS\data\sks.rvmat"};
- };
- class SKS: SKSBase {
- scope = 2;
- class Damage {
- tex = {};
- mat = {"DZ\weapons\firearms\SKS\Data\sks.rvmat", "DZ\weapons\firearms\SKS\Data\sks_damage.rvmat", "DZ\weapons\firearms\SKS\Data\sks_destruct.rvmat"};
- };
- };
- };
- enum {
- destructengine = 2,
- destructdefault = 6,
- destructwreck = 7,
- destructtree = 3,
- destructtent = 4,
- stabilizedinaxisx = 1,
- stabilizedinaxisy = 2,
- destructno = 0,
- stabilizedinaxesboth = 3,
- stabilizedinaxesnone = 0,
- destructman = 5,
- destructbuilding = 1
- }
- class CfgPatches {
- class DZ_Weapons_Ammunition {
- units = {};
- weapons = {};
- requiredVersion = 0.100000;
- requiredAddons = {"DZ_Weapons_Magazines"};
- };
- };
- class CfgRecipes {
- class CombineAmmo {
- name = "Combine %tool1";
- tools = {"AmmunitionItemBase", "AmmunitionItemBase"};
- condition = "quantity _tool2 < maxQuantity _tool2";
- action = "call player_combineQuantity;";
- };
- class SplitAmmo {
- name = "Split %tool1";
- tools = {"AmmunitionItemBase"};
- condition = "true";
- action = "call player_splitQuantity;";
- };
- class ChamberRound {
- name = "Chamber %tool2";
- tools = {"AmmunitionItemBase", "Rifle"};
- condition = "true";
- action = "'single' call player_chamberRound;";
- };
- class LoadMagazineless {
- name = "Load %tool2";
- tools = {"AmmunitionItemBase", "ShotgunBase"};
- condition = "true";
- action = "'double' call player_chamberRound;";
- };
- };
- /*extern*/ class ActionOnSelf;
- class CfgMagazines {
- /*extern*/ class MagazineBase;
- class ChamberedRound: MagazineBase {
- spawnDamageMax = 0;
- destroyOnEmpty = 1;
- conditionDetach = "false";
- quantity = "";
- inventorySlot = "magazine";
- magazineSlot = "magazine";
- class UserActions {
- class Eject {
- displayNameDefault = "Eject";
- displayName = "Eject";
- position = "action";
- onlyForPlayer = 1;
- radius = 2;
- condition = "true";
- statement = "[this,_person] spawn player_stripMagazine;";
- };
- };
- };
- class B_556x45_Ball_Single: ChamberedRound {
- scope = 2;
- displayName = "5.56mm Round";
- descriptionShort = "A single 5.56mm round.";
- model = "\DZ\weapons\ammunition\556_SingleRound.p3d";
- itemSize = {1, 1};
- ammo = "B_556x45_Ball";
- ammoItem = "Ammo_556";
- count = 1;
- initSpeed = 930;
- tracersEvery = 0;
- };
- class B_762x51_Ball_Single: ChamberedRound {
- scope = 2;
- displayName = "7.62mm Round";
- descriptionShort = "A single 7.62mm round.";
- model = "\DZ\weapons\ammunition\762_SingleRound.p3d";
- itemSize = {1, 1};
- ammo = "B_762x51_Ball";
- ammoItem = "Ammo_762";
- count = 1;
- initSpeed = 930;
- tracersEvery = 0;
- };
- class B_762x51_Ball_Five: ChamberedRound {
- scope = 2;
- displayName = "7.62mm Round";
- descriptionShort = "7.62mm rounds";
- model = "\DZ\weapons\ammunition\762_LooseRounds.p3d";
- itemSize = {1, 1};
- ammo = "B_762x51_Ball";
- ammoItem = "Ammo_762";
- count = 5;
- initSpeed = 930;
- tracersEvery = 0;
- quantity = "magazineAmmo _this";
- };
- class DoubleBarrelledRound: MagazineBase {
- destroyOnEmpty = 1;
- conditionDetach = "false";
- quantity = "str(magazineAmmo _this)";
- inventorySlot = "magazine";
- magazineSlot = "magazine";
- count = 2;
- tracersEvery = 0;
- itemSize = {1, 1};
- };
- class B_12Gauge_Pellets_Double: DoubleBarrelledRound {
- scope = 2;
- displayName = "12 Gauge Buckshot";
- descriptionShort = "A single 12 Gauge Buckshot.";
- model = "\DZ\weapons\ammunition\12ga_00buck.p3d";
- ammo = "B_12Gauge_Pellets";
- inventorySlot = "magazine";
- ammoItem = "Ammo_12ga_Pellets";
- };
- class B_12Gauge_Slug_Double: DoubleBarrelledRound {
- scope = 2;
- displayName = "12 Gauge Slug";
- descriptionShort = "A single 12 Gauge Slu.";
- model = "\DZ\weapons\ammunition\12ga_rifled_slug.p3d";
- inventorySlot = "magazine";
- ammo = "B_12Gauge_Slug";
- ammoItem = "Ammo_12ga_Slug";
- };
- class B_357_Single: ChamberedRound {
- scope = 2;
- displayName = ".357 Round";
- descriptionShort = "A single .357 round.";
- model = "\DZ\weapons\ammunition\357_SingleRound.p3d";
- itemSize = {1, 1};
- ammo = "B_357";
- ammoItem = "Ammo_357";
- count = 1;
- initSpeed = 930;
- tracersEvery = 0;
- };
- class B_357_Six: ChamberedRound {
- scope = 2;
- displayName = ".357 Rounds";
- descriptionShort = ".357 Rounds";
- model = "\DZ\weapons\ammunition\357_LooseRounds.p3d";
- itemSize = {1, 1};
- ammo = "B_357";
- ammoItem = "Ammo_357";
- count = 6;
- initSpeed = 930;
- tracersEvery = 0;
- quantity = "magazineAmmo _this";
- };
- };
- class CfgVehicles {
- /*extern*/ class InventoryBase;
- class AmmunitionItemBase: InventoryBase {
- spawnDamageMax = 0;
- storeVariables = {"quantity"};
- quantity = "format ['%1', quantity _this]";
- synchronizedVariables = {"quantity", 1};
- chamberedRound = "";
- };
- class Ammo_45FMJ: AmmunitionItemBase {
- scope = 2;
- displayName = ".45ACP Rounds";
- model = "\dz\weapons\ammunition\45acp_LooseRounds.p3d";
- descriptionShort = "A pistol cartridge designed by John Browning in 1904, for use in his prototype Colt semi-automatic .45 pistol and eventually the M1911 pistol adopted by the United States Army.";
- itemSize = {1, 1};
- stackedMax = 40;
- chamberedRound = "";
- };
- class Ammo_556: AmmunitionItemBase {
- scope = 2;
- displayName = "5.56mm Rounds";
- model = "\dz\weapons\ammunition\556_LooseRounds.p3d";
- descriptionShort = "A rifle cartridge developed in the United States and originally used in the M16 rifle. It is derived from the .223 Remington cartridge.";
- itemSize = {1, 1};
- stackedMax = 30;
- chamberedRound = "B_556x45_Ball";
- };
- class Ammo_762: AmmunitionItemBase {
- scope = 2;
- displayName = "7.62mm Rounds";
- model = "\dz\weapons\ammunition\762_LooseRounds.p3d";
- descriptionShort = "High powered cartridge used in various firearms of Soviet origin";
- itemSize = {1, 1};
- stackedMax = 20;
- chamberedRound = "B_762x51_Ball";
- };
- class Ammo_12ga_Pellets: AmmunitionItemBase {
- scope = 2;
- displayName = "12 Gauge Buckshot";
- model = "\dz\weapons\ammunition\12ga_00buck.p3d";
- descriptionShort = "12 gauge, 00 buck shell that holds 9 pellets. The most commonly produced buckshot shell.";
- itemSize = {1, 1};
- stackedMax = 15;
- chamberedRound = "B_12Gauge_Pellets";
- };
- class Ammo_12ga_Slug: AmmunitionItemBase {
- scope = 2;
- displayName = "12 Gauge Slug";
- model = "\dz\weapons\ammunition\12ga_rifled_slug.p3d";
- descriptionShort = "A heavy lead projectile without a plastic tip, intended for use in a shotgun and often used for hunting large game.";
- itemSize = {1, 1};
- stackedMax = 15;
- chamberedRound = "B_12Gauge_Slug";
- };
- class Ammo_357: AmmunitionItemBase {
- scope = 2;
- displayName = ".357 Round";
- model = "\dz\weapons\ammunition\357_LooseRounds.p3d";
- descriptionShort = "A common revolver cartridge favourited for its stopping power.";
- itemSize = {1, 1};
- stackedMax = 30;
- chamberedRound = "B_357";
- };
- class Ammo_556_20Rnd: AmmunitionItemBase {
- scope = 2;
- displayName = "5.56mm 20 Rounds";
- model = "\dz\weapons\ammunition\556_20RoundBox.p3d";
- descriptionShort = "A cardbox box with 'Contains 20 5.56 rifle cartridges' written on it. Presumably contains 20 rounds in a disposable cardboard wrapper.";
- quantity = "";
- class Resources {
- class Ammo_556 {
- value = 20;
- variable = "quantity";
- };
- };
- class UserActions {
- class StripMagazine {
- displayNameDefault = "Empty Ammo";
- displayName = "Empty";
- position = "action";
- onlyForPlayer = 1;
- radius = 2;
- condition = "true";
- statement = "[this,_person] spawn player_stripMagazine;";
- };
- };
- };
- class Ammo_762_20Rnd: AmmunitionItemBase {
- scope = 2;
- displayName = "7.62mm 20 Rounds";
- model = "\dz\weapons\ammunition\556_20RoundBox.p3d";
- descriptionShort = "A cardbox box with 'Contains 20 7.62 rifle cartridges' written on it. Presumably contains 20 rounds in a disposable cardboard wrapper.";
- quantity = "";
- class Resources {
- class Ammo_762 {
- value = 20;
- variable = "quantity";
- };
- };
- class UserActions {
- class StripMagazine {
- displayNameDefault = "Empty Ammo";
- displayName = "Empty";
- position = "action";
- onlyForPlayer = 1;
- radius = 2;
- condition = "true";
- statement = "[this,_person] spawn player_stripMagazine;";
- };
- };
- };
- };
- enum {
- destructengine = 2,
- destructdefault = 6,
- destructwreck = 7,
- destructtree = 3,
- destructtent = 4,
- stabilizedinaxisx = 1,
- stabilizedinaxisy = 2,
- destructno = 0,
- stabilizedinaxesboth = 3,
- stabilizedinaxesnone = 0,
- destructman = 5,
- destructbuilding = 1
- }
Advertisement
Add Comment
Please, Sign In to add comment