Search the Community
Showing results for tags 'custom pistol config'.
Found 1 result
-
Getting a config error "some input after end of file" error. Indicates to me there is a bracket issue but I don't see it. Hoping you guys can look this over and let me know how to fix this. Thx a bunch for your help. 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, }; class CfgPatches { authors[] = {"Project Genesis Team"}; author = "SWTX"; name="Rhino .357 Magnum"; requiredAddons[]={"A3_Weapons_F", "A3_Sounds_F"}; requiredVersion=0.1; units[]={}; ammo[]={"B_357_JHP"}; magazines[]={"6Rnd_357magnum_Cylinder"}; weapons[] = {"hgun_Pistol_heavy_02_357_F", "hgun_Pistol_heavy_02_357_Yorris_F"}; }; }; class CfgAmmo { class B_762x51_Ball; class B_357_JHP: B_762x51_Ball { hit=12; caliber=1.6 deflecting=15; audibleFire=50; cost=1.2; typicalSpeed=825; }; }; class CfgMagazines { class 6Rnd_45ACP_Cylinder; class 6Rnd_357magnum_Cylinder: 6Rnd_45ACP_Cylinder { ammo="B_357_JHP"; author="Project Genesis Team"; author = "SWTX"; picture="\A3\Weapons_F_EPA\Data\ui\M_6Rnd_revolver_CA.paa"; displayName=".357 Magnum 6Rnd Speed Loader"; descriptionShort=".357 Speed Loader"; initSpeed=825; count=6; mass=6; }; }; class Mode_SemiAuto; // External class reference class SlotInfo; // External class reference class CowsSlot; // External class reference class PointerSlot; // External class reference class CfgWeapons { class hgun_Pistol_heavy_02_F; class hgun_357_Magnum : hgun_Pistol_heavy_02_F { class WeaponSlotsInfo; }; class hgun_Pistol_heavy_02_357_F: hgun_357_Magnum { authors[] = {"Project Genesis Team"}; author = "SWTX"; _generalMacro = "hgun_Pistol_heavy_02_357_F"; baseWeapon = "hgun_Pistol_heavy_02_357_F"; scope = 2; model = "\A3\Weapons_F_EPA\Pistols\Pistol_heavy_02\Pistol_heavy_02_F.p3d"; picture = "\A3\Weapons_F_EPA\Pistols\Pistol_Heavy_02\data\UI\gear_Pistol_heavy_02_X_CA.paa"; magazines[]={"6Rnd_357magnum_Cylinder"}; displayname = "Rhino .357 Magnum"; descriptionShort = ".357 Magnum"; class Library { libTextDesc = "$STR_A3_CfgWeapons_hgun_Pistol_heavy_02_357_F_Library0"; }; reloadAction = "GestureReloadPistolHeavy02"; recoil = "recoil_pistol_zubr"; drySound[] = {"A3\Sounds_F\arsenal\weapons\Pistols\Zubr\dry_Zubr", 0.398107, 1, 20}; reloadMagazineSound[] = {"A3\Sounds_F\arsenal\weapons\Pistols\Zubr\reload_Zubr", 0.562341, 1, 10}; modes[] = {"Single"}; class Single : Mode_SemiAuto { sounds[] = {"StandardSound", "SilencedSound"}; class BaseSoundModeType { closure1[] = {"A3\Sounds_F\arsenal\weapons\Pistols\Zubr\Closure_Zubr_01", 0.199526, 1, 10}; closure2[] = {"A3\Sounds_F\arsenal\weapons\Pistols\Zubr\Closure_Zubr_02", 0.199526, 1, 10}; soundClosure[] = {"closure1", 0.5, "closure2", 0.5}; }; class StandardSound : BaseSoundModeType { begin1[] = {"\PG_Zubr\sounds\Zubr_short_01", 3.16228, 1, 1600}; begin2[] = {"\PG_Zubr\sounds\Zubr_short_02", 3.16228, 1, 1600}; begin3[] = {"\PG_Zubr\sounds\Zubr_short_03", 3.16228, 1, 1600}; soundBegin[] = {"begin1", 0.33, "begin2", 0.33, "begin3", 0.34}; class SoundTails { class TailInterior { sound[] = {"A3\Sounds_F\arsenal\weapons\Pistols\Zubr\Zubr_tail_interior", 1.41254, 1, 1600}; frequency = 1; volume = "interior"; }; class TailTrees { sound[] = {"A3\Sounds_F\arsenal\weapons\Pistols\Zubr\Zubr_tail_trees", 1.0, 1, 1600}; frequency = 1; volume = "(1-interior/1.4)*trees"; }; class TailForest { sound[] = {"A3\Sounds_F\arsenal\weapons\Pistols\Zubr\Zubr_tail_forest", 1.0, 1, 1600}; frequency = 1; volume = "(1-interior/1.4)*forest"; }; class TailMeadows { sound[] = {"A3\Sounds_F\arsenal\weapons\Pistols\Zubr\Zubr_tail_meadows", 1.0, 1, 1600}; frequency = 1; volume = "(1-interior/1.4)*(meadows/2 max sea/2)"; }; class TailHouses { sound[] = {"A3\Sounds_F\arsenal\weapons\Pistols\Zubr\Zubr_tail_houses", 1.0, 1, 1600}; frequency = 1; volume = "(1-interior/1.4)*houses"; }; }; class SilencedSound : BaseSoundModeType {}; recoil = "recoil_pistol_heavy"; recoilProne = "recoil_prone_pistol_heavy"; reloadTime = 0.25; dispersion = 0.00145; minRange = 5; minRangeProbab = 0.3; midRange = 25; midRangeProbab = 0.6; maxRange = 50; maxRangeProbab = 0.1; aiRateOfFire = 2; aiRateOfFireDistance = 25; }; bullet1[] = {"A3\sounds_f\dummysound", 1.0, 1, 15}; bullet2[] = {"A3\sounds_f\dummysound", 1.0, 1, 15}; bullet3[] = {"A3\sounds_f\dummysound", 1.0, 1, 15}; bullet4[] = {"A3\sounds_f\dummysound", 1.0, 1, 15}; bullet5[] = {"A3\sounds_f\dummysound", 1.0, 1, 15}; bullet6[] = {"A3\sounds_f\dummysound", 1.0, 1, 15}; bullet7[] = {"A3\sounds_f\dummysound", 1.0, 1, 15}; bullet8[] = {"A3\sounds_f\dummysound", 1.0, 1, 15}; bullet9[] = {"A3\sounds_f\dummysound", 1.0, 1, 15}; bullet10[] = {"A3\sounds_f\dummysound", 1.0, 1, 15}; bullet11[] = {"A3\sounds_f\dummysound", 1.0, 1, 15}; bullet12[] = {"A3\sounds_f\dummysound", 1.0, 1, 15}; soundBullet[] = {"bullet1", 0.083, "bullet2", 0.083, "bullet3", 0.083, "bullet4", 0.083, "bullet5", 0.083, "bullet6", 0.083, "bullet7", 0.083, "bullet8", 0.083, "bullet9", 0.083, "bullet10", 0.083, "bullet11", 0.083, "bullet12", 0.083}; inertia = 0.3; aimTransitionSpeed = 1.5; dexterity = 1.7; initSpeed = 480; maxZeroing = 100; class WeaponSlotsInfo : WeaponSlotsInfo { mass = 30; holsterScale = 0.85; class CowsSlot : CowsSlot { compatibleItems[] = {"optic_Yorris"}; iconPosition[] = {0.4, 0.3}; iconScale = 0.15; }; class MuzzleSlot {}; class PointerSlot : PointerSlot { linkProxy = "\A3\data_f\proxies\weapon_slots\SIDE"; compatibleItems[] = {"acc_flashlight_pistol"}; iconPosition[] = {0.35, 0.6}; iconScale = 0.3; }; }; class hgun_Pistol_heavy_02_357_F; // External class reference class hgun_Pistol_heavy_02_357_Yorris_F: hgun_Pistol_heavy_02_357_F { authors[] = {"Project Genesis Team"}; author = "SWTX"; _generalMacro = "hgun_Pistol_heavy_02_Yorris_F"; class LinkedItems { class LinkedItemsOptic { slot = "CowsSlot"; item = "optic_Yorris"; }; }; }; };