max1944 16 Posted January 9, 2016 Hello I have made a damage mod that works fine for the regular/vanilla cfgAmmo but those from the marksman DLC won't work. I think the requiredAddons[] = {}; for the marksman DLC is missing, but how could I find out? EDIT: SOLVED regular/vanilla cfgAmmo = "A3_Weapons_F" marksman DLC cfgAmmo = "A3_Weapons_F_Mark" Example: class CfgPatches { class Damage_Mod { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Weapons_F", "A3_Weapons_F_Mark}; }; }; class CfgAmmo { class Bulletbase; class B_556x45_Ball : BulletBase { hit = 12; }; class B_338_Ball : BulletBase { hit = 24; }; }; Share this post Link to post Share on other sites
HammerShield 19 Posted January 9, 2016 Hi, Try with : "A3_Weapons_F_Mark" That should do the work ;) I used this and some others for my rename and muzzle config' files. You should see to correct this : class Damage_Mod { units[] = { }; weapons[] = { }; requiredVersion = 0.1; requiredAddons[] = { "A3_Weapons_F" }; }; By : class Damage_Mod { units[] = { }; weapons[] = { }; requiredVersion = 0.1; requiredAddons[] = {"A3_Weapons_F","A3_Weapons_F_Mark"}; }; And all should be right :) You can add your nickname for the author line : class Damage_Mod { units[] = { }; weapons[] = { }; requiredVersion = 0.1; requiredAddons[] = {"A3_Weapons_F","A3_Weapons_F_Mark"}; author = "max1944"; }; If I can give my opinion, you should do a file for each version. First of all, to permit to those who don't own the Marksmen DLC to use the ArmA III version, and secondly, to those who just want one of the two versions to don't be obligated to use the two of them. You just have to create a mod file and a config.cpp for each version. But it's your mod, you make it like you want it of course. Hope this help ! :D 1 Share this post Link to post Share on other sites
max1944 16 Posted January 9, 2016 I'm such a fool. I already tried "A3_Weapons_F_Mark" but I made a mistake. I used "A3_Weapons_F, A3_Weapons_F_Mark" without the proper quotation marks. Now it works. Thank you very much! You can add your nickname for the author line I hadn't planned to make it public, but here is the code if someone likes to see/use it. If there are further errors, please let me know. Pistol damage x2 Rifle damage x1.5 (exept some of the powerful sniper rounds) Grenades are more leathal to keep up with the bullets Helicopters will go down with one Titan AA (like tanks do with one Titan AT) class CfgPatches { class Damage_Mod { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Weapons_F", "A3_Weapons_F_Mark"}; }; }; class CfgAmmo { class BulletBase; class B_556x45_Ball : BulletBase { hit = 12; }; class B_556x45_Ball_Tracer_Red : B_556x45_Ball { hit = 12; }; class B_556x45_Ball_Tracer_Green : B_556x45_Ball { hit = 12; }; class B_556x45_Ball_Tracer_Yellow : B_556x45_Ball { hit = 12; }; class B_556x45_dual : B_556x45_Ball { hit = 12; }; class B_56x15_dual : BulletBase { hit = 12; }; class B_65x39_Caseless : BulletBase { hit = 15; }; class B_65x39_Caseless_green : B_65x39_Caseless { hit = 15; }; class B_65x39_Caseless_yellow : B_65x39_Caseless { hit = 15; }; class B_65x39_Case : B_65x39_Caseless { hit = 15; }; class B_65x39_Case_green : B_65x39_Case { hit = 15; }; class B_65x39_Case_yellow : B_65x39_Case { hit = 15; }; class B_65x39_Minigun_Caseless : B_65x39_Caseless { hit = 15; }; class B_65x39_Minigun_Caseless_Red_splash : B_65x39_Caseless { hit = 15; }; class B_65x39_Minigun_Caseless_Yellow_splash : B_65x39_Minigun_Caseless_Red_splash { hit = 15; }; class B_65x39_Minigun_Caseless_Green_splash : B_65x39_Minigun_Caseless_Red_splash { hit = 15; }; class B_762x51_Ball : BulletBase { hit = 18; }; class B_762x51_Tracer_Red : B_762x51_Ball { hit = 18; }; class B_762x51_Tracer_Green : B_762x51_Ball { hit = 18; }; class B_762x51_Tracer_Yellow : B_762x51_Ball { hit = 18; }; class B_762x54_Ball : B_762x51_Ball { hit = 18; }; class B_762x54_Tracer_Red : B_762x54_Ball { hit = 18; }; class B_762x54_Tracer_Green : B_762x54_Ball { hit = 18; }; class B_762x54_Tracer_Yellow : B_762x54_Ball { hit = 18; }; class B_762x51_Minigun_Tracer_Red : B_762x51_Ball { hit = 18; }; class B_762x51_Minigun_Tracer_Red_splash : B_762x51_Ball { hit = 18; }; class B_762x51_Minigun_Tracer_Yellow : B_762x51_Minigun_Tracer_Red { hit = 18; }; class B_762x51_Minigun_Tracer_Yellow_splash : B_762x51_Minigun_Tracer_Red_splash { hit = 18; }; class B_127x108_Ball : BulletBase { hit = 50; }; class B_127x108_APDS : B_127x108_Ball { hit = 60; }; class B_127x33_Ball : BulletBase { hit = 9; }; class B_127x54_Ball : BulletBase { hit = 20; }; class B_127x99_Ball : BulletBase { hit = 45; }; class B_127x99_Ball_Tracer_Green : B_127x99_Ball { hit = 45; }; class B_127x99_Ball_Tracer_Red : B_127x99_Ball { hit = 45; }; class B_127x99_Ball_Tracer_Yellow : B_127x99_Ball { hit = 45; }; class B_127x99_SLAP : B_127x99_Ball { hit = 50; }; class B_127x99_SLAP_Tracer_Green : B_127x99_SLAP { hit = 50; }; class B_127x99_SLAP_Tracer_Red : B_127x99_SLAP { hit = 50; }; class B_127x99_SLAP_Tracer_Yellow : B_127x99_SLAP { hit = 50; }; class B_338_Ball : BulletBase { hit = 24; }; class B_338_NM_Ball : BulletBase { hit = 21; }; class B_408_Ball : BulletBase { hit = 36; }; class B_45ACP_Ball : BulletBase { hit = 8; }; class B_45ACP_Ball_Green : B_45ACP_Ball { hit = 8; }; class B_45ACP_Ball_Yellow : B_45ACP_Ball { hit = 8; }; class B_93x64_Ball : BulletBase { hit = 27; }; class B_9x21_Ball : BulletBase { hit = 6; }; class B_9x21_Ball_Tracer_Green : B_9x21_Ball { hit = 6; }; class B_9x21_Ball_Tracer_Red : B_9x21_Ball_Tracer_Green { hit = 6; }; class B_9x21_Ball_Tracer_Yellow : B_9x21_Ball_Tracer_Green { hit = 6; }; class GrenadeBase; class G_20mm_HE : GrenadeBase { indirectHit = 8; indirectHitRange = 5; }; class G_40mm_HE : GrenadeBase { indirectHit = 16; indirectHitRange = 7.5; }; class G_40mm_HEDP : GrenadeBase { deflecting = 5; indirectHit = 12; indirectHitRange = 5; }; class Grenade; class mini_Grenade : Grenade { hit = 12; indirectHit = 12; indirectHitRange = 5; }; class GrenadeHand : Grenade { hit = 16; indirectHit = 16; indirectHitRange = 7.5; }; class MissileBase; class M_Titan_AA : MissileBase { hit = 400; }; class RocketBase; class R_TBG32V_F : RocketBase { indirectHitRange = 10; }; }; Share this post Link to post Share on other sites
Jackal326 1181 Posted January 9, 2016 I'm surprised you don't get RPT errors with having the {}'s open in the cfgpatches. class CfgPatches { class Damage_Mod { units[] = { }; weapons[] = { }; requiredVersion = 0.1; requiredAddons[] = {"A3_Weapons_F", "A3_Weapons_F_Mark"}; }; }; Maybe close them up: class CfgPatches { class Damage_Mod { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Weapons_F", "A3_Weapons_F_Mark"}; }; }; Edit: In retrospect, its probably only arrays within specific classes that give errors (such as weapons/magazines etc carried by a unit) when you have a space and an otherwise empty field. Share this post Link to post Share on other sites
HammerShield 19 Posted January 9, 2016 Hey, I'm such a fool. I already tried "A3_Weapons_F_Mark" but I made a mistake. No, it's like all things, we must try and test, and we learn from our mistakes. I learned to do this by extracting BI *.pbo files. I used "A3_Weapons_F, A3_Weapons_F_Mark" without the proper quotation marks. Now it works. Thank you very much! No problem ! I don't plan to make it public, but here is the code if someone likes to see it. It's your mod and your idea, I think you should add your nickname and keep the file content private ;) We never know, for my part, one of the administrator of a site don't respect my term of distribution and add one of my mod on his site by simple childishness. If there are further errors, please let me know. The better way to know this is to test it on the field ;) Good continuation ! Share this post Link to post Share on other sites
max1944 16 Posted January 9, 2016 The better way to know this is to test it on the field ;) It works fine. But as seen with the open {} there might be a few things. Thanks to everyone Share this post Link to post Share on other sites
HammerShield 19 Posted January 9, 2016 the open {} there might be a few things. I sometimes have this since I started. That never cause any issue. I just correct it because I'm a perfectionnist, but without that, opened "{}" never get me any issues ;) Thanks to everyone No problem, it's the purpose of a community, helping each others :) 1 Share this post Link to post Share on other sites