Drongo69 117 Posted January 5, 2015 (edited) I am attempting to configure new artillery shells with scripted effects for my artillery system. I am having several problems: HE rounds give a white phosphorus effect for some reason The new shell types I added have much higher velocities than the default shells and overshoot their targets The new magazines I have configured are not added to the vehicles to which I attempt to add them Here is my config. The only other mod I am running is CBA: //////////////////////////////////////////////////////////////////// //DeRap: Produced from mikero's Dos Tools Dll version 4.06 //Fri Jan 10 22:22:34 2014 //http://dev-heaven.net/projects/list_files/mikero-pbodll //////////////////////////////////////////////////////////////////// #define _ARMA_ //ndefs=13 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 { class dtaWeapons { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Weapons_F","A3_Weapons_F_gamma","A3_Armor_F","dta"}; }; }; class CfgAmmo { class ShellCore; class ShellBase: ShellCore{}; class Sh_155mm_AMOS: ShellBase { // hit = 340; // indirectHit = 125; hit = 340; indirectHit = 125; indirectHitRange = 30; // typicalSpeed = 800; explosive = 0.8; whistleDist = 60; }; class Sh_82mm_AMOS: Sh_155mm_AMOS { hit = 165; indirectHit = 52; indirectHitRange = 18; }; class DTA_Sh_155mm_wp: ShellBase { // hit = 340; // indirectHit = 125; hit = 0.1; indirectHit = 1; indirectHitRange = 1; typicalSpeed = 800; explosive = 0.8; whistleDist = 60; ExplosionEffects = "WPExplosion"; }; class DTA_Sh_155mm_chem: ShellBase { hit = 0.1; indirectHit = 1; indirectHitRange = 1; typicalSpeed = 800; explosive = 0.1; whistleDist = 60; }; class DTA_Sh_155mm_nuke: ShellBase { hit = 5000; indirectHit = 2000; indirectHitRange = 1000; typicalSpeed = 800; explosive = 0.8; whistleDist = 60; }; }; class Mode_SemiAuto; class Mode_Burst; class Mode_FullAuto; class cfgWeapons { class Default; class MGunCore; class CannonCore; class LauncherCore; class RocketPods: LauncherCore{}; class mortar_82mm: CannonCore { class Single1: Mode_SemiAuto { // artilleryDispersion = 1.9; artilleryDispersion = 0.00001; }; class Burst1: Mode_Burst { // artilleryDispersion = 2.2; artilleryDispersion = 0.00001; }; }; class mortar_155mm_AMOS: CannonCore { magazines[] = {"32Rnd_155mm_Mo_shells","2Rnd_155mm_Mo_guided","2Rnd_155mm_Mo_guided","6Rnd_155mm_Mo_mine","2Rnd_155mm_Mo_Cluster","6Rnd_155mm_Mo_smoke","2Rnd_155mm_Mo_LG","6Rnd_155mm_Mo_AT_mine","DTA_10Rnd_155mm_Mo_wp","DTA_1Rnd_155mm_Mo_chem","DTA_1Rnd_155mm_Mo_nuke"}; class Single1: Mode_SemiAuto { // artilleryDispersion = 3.2; artilleryDispersion = 0.00001; }; class Burst1: Mode_Burst { // artilleryDispersion = 5.3; artilleryDispersion = 0.00001; }; }; class rockets_230mm_GAT: RocketPods { class Close: RocketPods { // artilleryDispersion = 0.5; artilleryDispersion = 0.00001; }; class Medium: Close { // artilleryDispersion = 0.5; artilleryDispersion = 0.00001; }; class Far: Close { // artilleryDispersion = 0.5; artilleryDispersion = 0.00001; }; class Full: Close { // artilleryDispersion = 0.5; artilleryDispersion = 0.00001; }; }; }; class CfgMagazines { class 32Rnd_155mm_Mo_shells; class DTA_10Rnd_155mm_Mo_wp: 32Rnd_155mm_Mo_shells { scope = 2; displayName = "White Phosphorus"; displayNameShort = "WP"; ammo = "DTA_Sh_155mm_wp"; count = 10; }; class DTA_1Rnd_155mm_Mo_chem: 32Rnd_155mm_Mo_shells { scope = 2; displayName = "Chemical"; displayNameShort = "Chem"; ammo = "DTA_Sh_155mm_chem"; count = 1; }; class DTA_1Rnd_155mm_Mo_nuke: 32Rnd_155mm_Mo_shells { scope = 2; displayName = "Nuclear"; displayNameShort = "Nuke"; ammo = "DTA_Sh_155mm_nuke"; count = 1; }; }; class CfgVehicles { class B_MBT_01_arty_base_F; class B_MBT_01_arty_F: B_MBT_01_arty_base_F { author = "$STR_A3_Bohemia_Interactive"; _generalMacro = "B_MBT_01_arty_F"; scope = 2; displayname = "155mm SPA (DTA)"; hiddenSelectionsTextures[] = {"A3\armor_f_gamma\MBT_01\Data\MBT_01_body_CO.paa","A3\armor_f_gamma\MBT_01\data\MBT_01_scorcher_co.paa","A3\Data_F\Vehicles\Turret_CO.paa"}; availableForSupportTypes[] = {"Artillery"}; magazines[] = {"32Rnd_155mm_Mo_shells","2Rnd_155mm_Mo_guided","6Rnd_155mm_Mo_mine","2Rnd_155mm_Mo_Cluster","6Rnd_155mm_Mo_smoke","2Rnd_155mm_Mo_LG","6Rnd_155mm_Mo_AT_mine","DTA_10Rnd_155mm_Mo_wp","DTA_1Rnd_155mm_Mo_chem","DTA_1Rnd_155mm_Mo_nuke"}; }; class I_MBT_01_arty_F: B_MBT_01_arty_F { author = "Drongo"; _generalMacro = "I_MBT_01_arty_F"; crew = "I_crew_F"; typicalCargo[] = {"I_Soldier_F"}; side = 2; faction = "IND_F"; }; }; Edited January 5, 2015 by Drongo69 Share this post Link to post Share on other sites