Ace 3 weapons compat for cannons and tanks - proposition
Needs Review, Needs TriagePublic

Description

Hello. I wish for possible update of ace 3 cup compat with these values:

config.cpp / config.bin

requiredAddons[]=
{

		"CUP_Weapons_VehicleWeapons",    - adding this

skip to line 614 or something like that to add this

class CannonCore;
class cannon_105mm;
class cannon_125mm;
class cannon_120mm: CannonCore
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 60;
		ace_overpressure_damage = 0.9;

};
class CUP_Vcannon_rh120: cannon_120mm
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 60;
		ace_overpressure_damage = 0.9;

};
class CUP_Vcannon_M256_veh: CUP_Vcannon_rh120
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 60;
		ace_overpressure_damage = 0.9;

};
class CUP_Vcannon_M256_M1Abrams: CUP_Vcannon_M256_veh
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 60;
		ace_overpressure_damage = 0.9;

};
class CUP_Vcannon_L55_veh: CUP_Vcannon_rh120
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 60;
		ace_overpressure_damage = 0.9;

};
class CUP_Vacannon_SPG9_veh: CannonCore
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 30;
		ace_overpressure_damage = 0.8;

};
class CUP_Vcannon_2A46_Txx: cannon_125mm
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 70;
		ace_overpressure_damage = 0.9;

};
class CUP_Vacannon_D5_T34: cannon_125mm
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 70;
		ace_overpressure_damage = 0.9;

};
class CUP_Vacannon_D10: cannon_125mm
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 70;
		ace_overpressure_damage = 0.9;

};
class CUP_Vacannon_2A70_veh: CUP_Vacannon_D10
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 70;
		ace_overpressure_damage = 0.9;

};
class CUP_Vacannon_2A28: CUP_Vacannon_D10
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 70;
		ace_overpressure_damage = 0.9;

};
class CUP_Vcannon_L7_veh: cannon_105mm
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 50;
		ace_overpressure_damage = 0.9;

};
class CUP_Vcannon_M68_veh: CUP_Vcannon_L7_veh
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 50;
		ace_overpressure_damage = 0.9;

};
class CUP_Vcannon_M68A2_veh: CUP_Vcannon_M68_veh
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 50;
		ace_overpressure_damage = 0.9;

};

Removal of class class CUP_Vacannon_SPG9_veh:
above class CUP_proxy_SPG9: CUP_Vacannon_SPG9_veh


File:
cfgweapons.hpp: Replacement lines

//Ace Javelin :
class CUP_launch_Javelin: Launcher_Base_F
{

		ace_javelin_enabled = 1;
		weaponInfoType = "ACE_RscOptics_javelin";
		modelOptics = "\z\ace\addons\javelin\data\reticle_titan.p3d";
		canLock = 0;
		lockingTargetSound[] = {"",0,1};
		lockedTargetSound[] = {"",0,1};
		ace_overpressure_angle = 30;
		ace_overpressure_range = 2;
		ace_overpressure_damage = 0.5;

};

// Non Disposable launchers
class CUP_launch_M47: Launcher_Base_F
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 8;
		ace_overpressure_damage = 0.5;

};
class CUP_launch_MAAWS: Launcher_Base_F
{

		ace_overpressure_angle = 60;
		ace_overpressure_range = 15;
		ace_overpressure_damage = 0.7;

};
class CUP_launch_MAAWS_Scope: CUP_launch_MAAWS {};
class CUP_launch_RPG7V: Launcher_Base_F
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 10;
		ace_overpressure_damage = 0.7;

};
class CUP_launch_Mk153Mod0: Launcher_Base_F
{

		ace_overpressure_angle = 30;
		ace_overpressure_range = 15;
		ace_overpressure_damage = 0.7;

};
class CUP_launch_Mk153Mod0_SMAWOptics: CUP_launch_Mk153Mod0 {};
class CUP_launch_NLAW_Loaded: Launcher_Base_F
{

		ace_overpressure_angle = 30;
		ace_overpressure_range = 2;
		ace_overpressure_damage = 0.5;
		ace_nlaw_enabled = 1;
		canLock = 1;

};

// Tanks in works
class CannonCore;
class cannon_105mm;
class cannon_125mm;
class cannon_120mm: CannonCore
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 60;
		ace_overpressure_damage = 0.9;

};
class CUP_Vcannon_rh120: cannon_120mm
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 60;
		ace_overpressure_damage = 0.9;

};
class CUP_Vcannon_M256_veh: CUP_Vcannon_rh120
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 60;
		ace_overpressure_damage = 0.9;

};
class CUP_Vcannon_M256_M1Abrams: CUP_Vcannon_M256_veh
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 60;
		ace_overpressure_damage = 0.9;

};
class CUP_Vcannon_L55_veh: CUP_Vcannon_rh120
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 60;
		ace_overpressure_damage = 0.9;

};
class CUP_Vcannon_M256_veh: CUP_Vcannon_rh120
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 60;
		ace_overpressure_damage = 0.9;

};

class CUP_Vcannon_M256_M1Abrams: CUP_Vcannon_M256_veh
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 60;
		ace_overpressure_damage = 0.9;

};
class CUP_Vacannon_SPG9_veh: CannonCore
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 30;
		ace_overpressure_damage = 0.8;

);
class CUP_Vcannon_2A46_Txx: cannon_125mm
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 70;
		ace_overpressure_damage = 0.9;

};
class CUP_Vacannon_D5_T34: cannon_125mm
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 70;
		ace_overpressure_damage = 0.9;

};
class CUP_Vacannon_D10: cannon_125mm
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 70;
		ace_overpressure_damage = 0.9;

};
class CUP_Vacannon_2A70_veh: CUP_Vacannon_D10
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 70;
		ace_overpressure_damage = 0.9;

};
class CUP_Vacannon_2A28: CUP_Vacannon_D10
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 70;
		ace_overpressure_damage = 0.9;

};
class CUP_Vcannon_L7_veh: cannon_105mm
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 50;
		ace_overpressure_damage = 0.9;

};
class CUP_Vcannon_M68_veh: CUP_Vcannon_L7_veh
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 50;
		ace_overpressure_damage = 0.9;

};
class CUP_Vcannon_M68A2_veh: CUP_Vcannon_M68_veh
{

		ace_overpressure_angle = 45;
		ace_overpressure_range = 50;
		ace_overpressure_damage = 0.9;

};


line 527

    class CUP_launch_Metis: Launcher_Base_F {
		ace_overpressure_angle = 45;
		ace_overpressure_range = 15;
		ace_overpressure_damage = 0.7;
        class ace_csw {
            type = "mount";
            deployTime = 4;
            pickupTime = 4;
            deploy = "CUP_O_Metis_RU";
        };

Details

Branch
Release/Stable
Radek created this task.Mar 3 2022, 9:38 PM
Radek added a comment.Mar 4 2022, 2:32 PM

I think it will be much better than current 50x50x50 meters range from left, forward and right side of barrel damage zone, which makes tanks annoying during gameplay.
Official abrams sheet on a blast area are:
90 degrees area [45 degrees left, 45 degrees right from place where barrel points, 70m range sides, 1000m range forward]
For gameplay purposes i pulled proper degrees, but set it on 60m [10m less], 125mm - 70m [stronger cannon] and 105mm - 50m [lighter cannon]]

Radek added a comment.Mar 13 2022, 5:46 PM

That how it would look like in my limited coding skills.