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

Improvements to the functionality of a number of anti-torpedo weapons #6607

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
19 changes: 19 additions & 0 deletions changelog/snippets/balance.6607.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
- (#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
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
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
Loading