Skip to content

Commit

Permalink
Improvements to the functionality of a number of anti-torpedo weapons (
Browse files Browse the repository at this point in the history
  • Loading branch information
Basilisk3 authored Feb 8, 2025
1 parent 58f8715 commit 42deab4
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 2 deletions.
23 changes: 23 additions & 0 deletions changelog/snippets/balance.6607.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
- (#6607) Improve the functionality of a number of anti-torpedo weapons by giving them a minimum range and altering their targeting. The addition of a `MinRadius` prevents the weapon from locking onto projectiles it cannot reasonably intercept anymore. In particular, the torpedo defense of the Aeon T3 Sonar should perform noticeably better with these changes. Additionally, audio queues are added to the torpedo defenses of the Seraphim Tech 1 and Tech 3 submarines.

- **Aeon T3 Sonar Platform (UAS0305):**
- Quasar Anti Torpedo
- FiringTolerance: 2 --> 180
- MinRadius: 0 --> 5
- `UseFiringSolutionInsteadOfAimBone`: `false` --> `true`

- **Sou-istle: T1 Attack Submarine (XSS0203):**
- Ajellu Anti-Torpedo Defense
- FiringTolerance: 0 --> 180
- MinRadius: 0 --> 5
- `UseFiringSolutionInsteadOfAimBone`: `false` --> `true`
- Audio queue added

- **Yathsou: T3 Submarine Hunter (XSS0304):**
- Ajellu Anti-Torpedo Defense (x2)
- MinRadius: 0 --> 10
- Audio queue added

- **Barracuda (XRS0204) and Megalith (XRL0403):**
- Anti-Torpedo Flare
- MinRadius: 0 --> 5
4 changes: 3 additions & 1 deletion units/UAS0305/UAS0305_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,10 @@ UnitBlueprint{
DisableWhileReloading = true,
DisplayName = "Quasar Anti Torpedo",
FireTargetLayerCapsTable = { Water = "Water" },
FiringTolerance = 2,
FiringTolerance = 180,
Label = "AntiTorpedo01",
MaxRadius = 32,
MinRadius = 5,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 30,
Expand Down Expand Up @@ -204,6 +205,7 @@ UnitBlueprint{
TurretYawRange = 180,
TurretYawSpeed = 360,
Turreted = true,
UseFiringSolutionInsteadOfAimBone = true,
WeaponCategory = "Defense",
},
},
Expand Down
1 change: 1 addition & 0 deletions units/XRL0403/XRL0403_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ UnitBlueprint{
FiringTolerance = 2,
Label = "AntiTorpedo",
MaxRadius = 25,
MinRadius = 5,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 5,
Expand Down
1 change: 1 addition & 0 deletions units/XRS0204/XRS0204_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ UnitBlueprint{
FiringTolerance = 2,
Label = "AntiTorpedo01",
MaxRadius = 25,
MinRadius = 5,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 5,
Expand Down
7 changes: 6 additions & 1 deletion units/XSS0203/XSS0203_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,9 @@ UnitBlueprint{
},
{
AlwaysRecheckTarget = false,
Audio = {
Fire = Sound { Bank = 'XSS_Weapon', Cue = 'XSS0201_Ajellu_Torpedo', LodCutoff = 'Weapon_LodCutoff' },
},
BallisticArc = "RULEUBA_None",
CollideFriendly = false,
Damage = 2,
Expand All @@ -280,10 +283,11 @@ UnitBlueprint{
Sub = "Water",
Water = "Water",
},
FiringTolerance = 0,
FiringTolerance = 180,
Label = "AntiTorpedo",
LeadTarget = false,
MaxRadius = 32,
MinRadius = 5,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 80,
Expand Down Expand Up @@ -320,6 +324,7 @@ UnitBlueprint{
TurretYawRange = 180,
TurretYawSpeed = 180,
Turreted = true,
UseFiringSolutionInsteadOfAimBone = true,
WeaponCategory = "Defense",
WeaponRepackTimeout = 0,
WeaponUnpacks = false,
Expand Down
5 changes: 5 additions & 0 deletions units/XSS0304/XSS0304_unit.bp
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ UnitBlueprint{
Label = "AntiTorpedoLeft",
LeadTarget = false,
MaxRadius = 32,
MinRadius = 10,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 80,
Expand Down Expand Up @@ -322,6 +323,9 @@ UnitBlueprint{
},
{
AlwaysRecheckTarget = false,
Audio = {
Fire = Sound { Bank = 'XSS_Weapon', Cue = 'XSS0304_Ajellu_Torpedo', LodCutoff = 'Weapon_LodCutoff' },
},
BallisticArc = "RULEUBA_None",
CollideFriendly = false,
Damage = 2,
Expand All @@ -336,6 +340,7 @@ UnitBlueprint{
Label = "AntiTorpedoRight",
LeadTarget = false,
MaxRadius = 32,
MinRadius = 10,
MuzzleSalvoDelay = 0,
MuzzleSalvoSize = 1,
MuzzleVelocity = 80,
Expand Down

0 comments on commit 42deab4

Please sign in to comment.