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

Torpedo Bombers have +750 extra range #3860

Open
SethDGamre opened this issue Oct 19, 2024 · 2 comments
Open

Torpedo Bombers have +750 extra range #3860

SethDGamre opened this issue Oct 19, 2024 · 2 comments
Labels
Approved Approved for implementation by the Game Design Team Bug Something isn't working Good First Issue Good for newcomers Unit Def Issues with unit definition files

Comments

@SethDGamre
Copy link
Collaborator

SethDGamre commented Oct 19, 2024

Description

The range of the torpedo as defined in its unitdef seems not to start until the "bomb" phase of the torpedo hits the water. Then it continues from that collision point until it reaches its intended target.

Here is a quote from Rippsy https://discord.com/channels/549281623154229250/1295107209583263785/1297286384461025333
"It takes 50 frames @ 30fps - so 1.66r seconds for a bomb to land in the water after being loosed or there abouts, they hit the water slightly behind the plane, so deduct some for that.

So say about 1.25 x unit.Speed travelled due to ballistics.

The outer pink line is 1500, the inner pink line is 1400; Arm torp bomber drops about half way between the two, giving an effective range of around ~1450, by the time the 3rd torp is dropped its just around 1300range and then you can begin its turn if 100% micro'ed it will just fall inside 1150 and get shot at by an Eradad or Chainsaw if naval ones existed

Tweakunits of the modified Erad / Chain with ranges as reference points:
ew0KCWFybWNpciA9IHsNCgkJd2VhcG9uZGVmcyA9IHsNCgkJCWFybV9jaXIgPSB7DQoJCQkJcmFuZ2UgPSAxNTAwLA0KCQkJfSwNCgkJfSwNCgl9LA0KCWNvcmVyYWQgPSB7DQoJCXdlYXBvbmRlZnMgPSB7DQoJCQljb3JfZXJhZCA9IHsNCgkJCQlyYW5nZSA9IDE0MDAsDQoJCQl9LA0KCQl9LA0KCX0sDQp9"
image-17

Here is a demonstration of its abuse in game.
https://www.youtube.com/watch?v=RKwuwdWxSrs

Expected Behaviour

Zecrus approved on 10/19/24 calibrating the behavior until the effective torpedo range is slightly below all sea AA options. He also cautioned this abusable range is a compromise to make the unit consistent and prevent overshooting.

There are some suggested approaches here:
https://discord.com/channels/549281623154229250/549282166543089674/1297256712776192115

Uploading Screenshot_2024-10-19-17-08-00-68_572064f74bd5f9fa804b05334aa4f912.jpg…

Actual Behaviour

See the above

Reproduction steps

Give attack orders to sea units with torpedo Bombers, as soon as they let loose their torpedos turn them away. They will outrange all sea AA options despite their 650 range.

Other

No response

@SethDGamre SethDGamre added Bug Something isn't working Good First Issue Good for newcomers Approved Approved for implementation by the Game Design Team Unit Def Issues with unit definition files labels Oct 19, 2024
@MeSaber
Copy link

MeSaber commented Oct 20, 2024

You also have extreme range increase based on elevation:
image

Comin from sea you get shorter range:
image

Images shows torps being dropped from different ranges. You can start your dodging process (turning) just as first torp is being dropped.

This is also true for torp gunships where their acceleration (just like torp bomber) has huge impact on the range at which torp is launched, elevation is also a factor but torp gunships torpedo has a shorter lifetime until it self-explode so elevation could cause duds.

Its possible to avoid sea AA with both these units with perfect micro. Less so needed for torp bomber seeing how elevation can be abused and the unit already flies at max speed at all times compared to torp gunship. You need more of an acceleration strip with torp gunship.

In any case this is what makes torp bombers so strong, while torp gunships can also be strong if used correctly but its more experimental stage rather than 'this is how you should use torp bombers' which by default should be release torps then turn.

The attack range indicator of both these units are completely wrong cause of this. You could say the same for regular bombers where it shows 1000+ range which isnt really true. Corhurc for example 1280 range.
This is where bombs are released compared to its attack range:
image

@SethDGamre
Copy link
Collaborator Author

SethDGamre commented Oct 20, 2024

I think I have an idea for a solution.

  • Give it a dummy weapon (steal from legvcarry.lua),
  • give it the 650 range same as torpedo launcher,
  • make torpedo launcher slaveto dummy weapon
  • in animation script, do some wizardry probably by blocking weapon query? To prevent torpedo fire until dummy fires

I didn't see any promising gadget options so far.
Best guess is dynamically adjusting altitude down to an "attack" altitude to reduce the drop time of the torpedo projectiles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Approved for implementation by the Game Design Team Bug Something isn't working Good First Issue Good for newcomers Unit Def Issues with unit definition files
Projects
None yet
Development

No branches or pull requests

2 participants