Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes A-10/A-164 Cannon Values #7118

Merged
merged 25 commits into from
Jan 3, 2020
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
41c89aa
Fixes A-10 Cannon Dispersion
LorenLuke Aug 1, 2019
b485078
Adds Missing Close Brace
LorenLuke Aug 1, 2019
09b6629
Adjusts 30mm cannon projectiles
LorenLuke Aug 1, 2019
539c4a7
Adds Combat Mix Magazine
LorenLuke Aug 1, 2019
a41640d
Added missing semicolon
LorenLuke Aug 1, 2019
d5146a9
Removes Whitespace from CfgWeapons
LorenLuke Aug 1, 2019
0eee72e
Removes Whitespace from CfgAmmo
LorenLuke Aug 1, 2019
135643d
Adds Combat Mix Magazine to cannon Magazines
LorenLuke Aug 1, 2019
113eb70
Progress commit
LorenLuke Aug 4, 2019
5183d11
Merge branch 'patch-1' of github.com:LorenLuke/ACE3 into patch-1
LorenLuke Aug 4, 2019
06fded2
Removes Tabs
LorenLuke Aug 4, 2019
8e46e0d
Fixes accidental late-night reversion
LorenLuke Aug 4, 2019
cc1dff2
Merge branch 'master' of github.com:acemod/ACE3 into patch-1
LorenLuke Aug 4, 2019
e2c6dee
Fixes deafness issue
LorenLuke Aug 4, 2019
6b67c5e
Adds stringtable entries
LorenLuke Aug 5, 2019
344662e
Adds stringtable magazine values
LorenLuke Aug 5, 2019
92e0d55
Add caliber and deflecting values for AP rounds
LorenLuke Aug 5, 2019
e6b843f
Fixes double deflecting definition
LorenLuke Aug 5, 2019
7d9c7d5
Merge branch 'patch-1' of github.com:LorenLuke/ACE3 into patch-1
LorenLuke Aug 8, 2019
15c65c5
Adds HEI magazine.
LorenLuke Aug 8, 2019
6f96ca1
Added missing magazine and ammunition definitions.
LorenLuke Aug 31, 2019
2487d6c
Removes tabs in CfgAmmo
LorenLuke Sep 5, 2019
153805a
Fixes Typo
LorenLuke Jan 3, 2020
602341b
Added missing magazine and ammunition definitions.
LorenLuke Aug 31, 2019
a3ab0a0
Fix typo
LorenLuke Jan 3, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 25 additions & 4 deletions addons/aircraft/CfgAmmo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ class CfgAmmo {

// also adjust tracer, "muh lightshow"; also adjust splash damage radius
class Gatling_30mm_HE_Plane_CAS_01_F: BulletBase {
hit = 80; // default: 180
hit = 40; // default: 180
indirectHit = 12; // default: 4
indirectHitRange = 3; // default: 3
indirectHitRange = 4; // default: 3
caliber = 1.4; // default: 5
deflecting = 3; // default: 5
fuseDistance = 3; // default: 10
Expand All @@ -51,8 +51,29 @@ class CfgAmmo {

// adjust damage and splash damage, closer to bluefor gatling with same caliber
class Cannon_30mm_HE_Plane_CAS_02_F: Gatling_30mm_HE_Plane_CAS_01_F {
hit = 70; // default: 150
indirectHit = 11; // default: 4
hit = 65; // default: 150
indirectHit = 10; // default: 4
indirectHitRange = 3; // default: 3
};

// adjust damage and splash damage, AP Rounds
class Cannon_30mm_HE_Plane_CAS_03_F: Gatling_30mm_HE_Plane_CAS_01_F {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new classname created by ACE. Classnames are in global space, so it needs to be tagged.

hit = 75; // default: 150
indirectHit = 1; // default: 4
indirectHitRange = 0.25; // default: 3
deflecting = 5;
};


class SubmunitionBase;
class ACE_30mm_mix : SubmunitionBase {
simulation = "shotSubmunitions";
commy2 marked this conversation as resolved.
Show resolved Hide resolved
submunitionAmmo[] = {"Gatling_30mm_HE_Plane_CAS_03_F",0.8,"Cannon_30mm_HE_Plane_CAS_01_F",0.2};
weaponType = "cannon";
model = "\A3\Weapons_f\empty";
triggerTime = 0.005;
commy2 marked this conversation as resolved.
Show resolved Hide resolved
};



};
5 changes: 5 additions & 0 deletions addons/aircraft/CfgMagazines.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ class CfgMagazines {
class 1000Rnd_Gatling_30mm_Plane_CAS_01_F: VehicleMagazine {
count = 1170;
};

class ACE_1000Rnd_Gatling_30mm_Plane_CAS_CM: VehicleMagazine {
commy2 marked this conversation as resolved.
Show resolved Hide resolved
count = 1170;
ammo = "ACE_30mm_mix";
};

// an extended magazine for the comanche
class 300Rnd_20mm_shells;
Expand Down
10 changes: 9 additions & 1 deletion addons/aircraft/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,16 @@ class CfgWeapons {
magazineReloadTime = 0.1;
};

// bigger mag for comanche
class CannonCore;
// Fix attrocious A-10 Cannon Dispersion
class Gatling_30mm_Plane_CAS_01_F : CannonCore {
commy2 marked this conversation as resolved.
Show resolved Hide resolved
class LowROF : Mode_FullAuto {
burst = 1;
reloadtime = 0.015;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need over 60 FPS to fire at this rate. This is impossible in multiplayer, the fire rate will vary depending on your FPS. This is not desirable.
Vanilla has 0.03, which is just about 34 FPS for constant fire rate.

dispersion = 0.0028; //0.279508497 = 0.25 * sqrt(0.8^-1); (80%, 5mil. https://en.wikipedia.org/wiki/GAU-8_Avenger#Accuracy) - Luke
commy2 marked this conversation as resolved.
Show resolved Hide resolved
};
};
// bigger mag for comanche
class gatling_20mm: CannonCore {
magazines[] += {"ACE_500Rnd_20mm_shells_Comanche"};

Expand Down