-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added HEI to stryker dragoon autocannon (#224)
* Project Update * Added HEI and changed magazine sizes * Fix string table * Update project.toml * Tabs to Spaces * Replace project.toml with old one * Remove all redundant values * Add ace fragmentation to HEI * Change initSpeed of HEI * Use modified turret to avoid overwriting base objects. * Add MFD label to APFSDS-T * Further weapons updates as well as convention update * Remove all magazines from commander turret as well * Damage reduction and remove missile launcher. * Damage adjustments * Remove AT Launchers from dragoons. To be added back in future branch.
- Loading branch information
Showing
6 changed files
with
227 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
class CfgAmmo { | ||
class B_30mm_HE; | ||
class B_30mm_HE_Tracer_Red; | ||
class cav_B_30mm_HEI_Tracer_Red: B_30mm_HE_Tracer_Red { | ||
ace_frag_enabled = 1; // Enable fragmentation (0-disabled, 1-enabled) | ||
ace_frag_metal = 378; // Amount of metal being fragmented (grams) - information below | ||
ace_frag_charge = 181; // Amount of explosive filler (grams) - information below | ||
ace_frag_gurney_c = 2830; // Gurney velocity constant for explosive type - information below | ||
ace_frag_gurney_k = 1/2; // Gurney shape factor - information below | ||
ace_frag_classes[] = {"ACE_frag_medium"}; // Type of fragments - information below | ||
ace_frag_skip = 0; // (Optional) Skip fragmentation for this ammo type (0-disabled, 1-enabled) - information below | ||
ace_frag_force = 0; // (Optional) Force fragmentation system (0-disabled, 1-enabled) - information below | ||
ace_vehicle_damage_incendiary = 0.3; | ||
indirectHitRange = 4; | ||
indirectHit = 8; | ||
}; | ||
// TODO: FCS Air Burst | ||
class cav_B_30mm_HEAB_Tracer_Red: B_30mm_HE_Tracer_Red { | ||
ace_frag_enabled = 1; // Enable fragmentation (0-disabled, 1-enabled) | ||
ace_frag_metal = 363; // Amount of metal being fragmented (grams) - information below | ||
ace_frag_charge = 185; // Amount of explosive filler (grams) - information below | ||
ace_frag_gurney_c = 2830; // Gurney velocity constant for explosive type - information below | ||
ace_frag_gurney_k = 1/2; // Gurney shape factor - information below | ||
ace_frag_classes[] = {"ACE_frag_medium"}; // Type of fragments - information below | ||
ace_frag_skip = 0; // (Optional) Skip fragmentation for this ammo type (0-disabled, 1-enabled) - information below | ||
ace_frag_force = 0; // (Optional) Force fragmentation system (0-disabled, 1-enabled) - information below | ||
deflecting = 0; | ||
indirectHitRange = 2; | ||
indirectHit = 6; | ||
airbursting = 1; | ||
ABSubmun = "cav_B_30mm_HEAB_Helper"; | ||
}; | ||
class cav_B_30mm_HEAB_Helper: B_30mm_HE { | ||
ace_frag_enabled = 1; // Enable fragmentation (0-disabled, 1-enabled) | ||
ace_frag_metal = 363; // Amount of metal being fragmented (grams) - information below | ||
ace_frag_charge = 185; // Amount of explosive filler (grams) - information below | ||
ace_frag_gurney_c = 2843; // Gurney velocity constant for explosive type - information below | ||
ace_frag_gurney_k = 1/2; // Gurney shape factor - information below | ||
ace_frag_classes[] = {"ACE_frag_medium"}; // Type of fragments - information below | ||
ace_frag_skip = 0; // (Optional) Skip fragmentation for this ammo type (0-disabled, 1-enabled) - information below | ||
ace_frag_force = 0; // (Optional) Force fragmentation system (0-disabled, 1-enabled) - information below | ||
indirectHitRange = 2; | ||
indirectHit = 6; | ||
simulation = "shotRocket"; | ||
timeToLive = 0; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
class CfgMagazines { | ||
class 140Rnd_30mm_MP_shells_Tracer_Red; | ||
class cav_78Rnd_30mm_MP_shells_Tracer_Red: 140Rnd_30mm_MP_shells_Tracer_Red { | ||
displayName = CSTRING(cav_78Rnd_30mm_MP_shells_Tracer_Red); | ||
displayNameShort = CSTRING(cav_78Rnd_30mm_MP_shells_Tracer_Red_dispShort); | ||
displayNameMFDFormat = "MP-T"; | ||
count=78; | ||
}; | ||
class 60Rnd_30mm_APFSDS_shells_Tracer_Red; | ||
class cav_78Rnd_30mm_APFSDS_shells_Tracer_Red: 60Rnd_30mm_APFSDS_shells_Tracer_Red { | ||
displayName = CSTRING(cav_78Rnd_30mm_APFSDS_shells_Tracer_Red); | ||
displayNameShort = CSTRING(cav_78Rnd_30mm_APFSDS_shells_Tracer_Red_dispShort); | ||
displayNameMFDFormat = "APFSDS-T"; | ||
count=78; | ||
}; | ||
class cav_78Rnd_30mm_HEI_shells_Tracer_Red: cav_78Rnd_30mm_MP_shells_Tracer_Red { | ||
ammo = "cav_B_30mm_HEI_Tracer_Red"; | ||
displayNameMFDFormat = "HEI-T"; | ||
displayName = CSTRING(cav_78Rnd_30mm_HEI_shells_Tracer_Red); | ||
displayNameShort = CSTRING(cav_78Rnd_30mm_HEI_shells_Tracer_Red_dispShort); | ||
initSpeed=1100; | ||
}; | ||
class 4Rnd_Titan_long_missiles; | ||
class cav_2Rnd_fim92_missiles: 4Rnd_Titan_long_missiles { | ||
displayName = CSTRING(cav_2Rnd_fim92_missiles); | ||
displayNameShort = CSTRING(cav_2Rnd_fim92_missiles_dispShort); | ||
ammo = "rhs_ammo_fim92_missile"; | ||
count=2; | ||
}; | ||
// TODO: ACE FCS Air Burst Mags | ||
class cav_78Rnd_30mm_HEABT_shells_Tracer_Red: cav_78Rnd_30mm_MP_shells_Tracer_Red { | ||
ammo="cav_B_30mm_HEAB_Tracer_Red"; | ||
displayNameMFDFormat="HEAB-T"; | ||
displayName=CSTRING(cav_78Rnd_30mm_HEAB_shells_Tracer_Red); | ||
displayNameShort=CSTRING(cav_78Rnd_30mm_HEAB_shells_Tracer_Red_dispShort); | ||
}; | ||
class 200Rnd_762x51_Belt_Red; | ||
class cav_mag_300Rnd_762x51_Belt_Red: 200Rnd_762x51_Belt_Red { | ||
ammo="B_762x51_Tracer_Red"; | ||
displayName=CSTRING(cav_mag_300Rnd_762x51_Belt_Red); | ||
count=300; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
class CfgWeapons { | ||
class CannonCore; | ||
class autocannon_Base_F: CannonCore { | ||
class player; | ||
}; | ||
class autocannon_30mm_CTWS: autocannon_Base_F | ||
{ | ||
class HE: autocannon_Base_F {}; | ||
class AP: autocannon_Base_F {}; | ||
}; | ||
class cav_autocannon_30mm_CTWS: autocannon_30mm_CTWS | ||
{ | ||
class HE: HE | ||
{ | ||
magazines[] = {"cav_78Rnd_30mm_MP_shells_Tracer_Red","cav_78Rnd_30mm_HEI_shells_Tracer_Red"}; | ||
}; | ||
class AP: AP | ||
{ | ||
magazines[] = {"cav_78Rnd_30mm_APFSDS_shells_Tracer_Red"}; | ||
}; | ||
}; | ||
class LMG_coax_ext; | ||
class cav_dragoon_coax_m240: LMG_coax_ext { | ||
displayName = CSTRING(cav_dragoon_coax_m240); | ||
magazines[] += {"cav_mag_300Rnd_762x51_Belt_Red"}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters