Phobos icon indicating copy to clipboard operation
Phobos copied to clipboard

Artillery projectile trajectory

Open FS-21 opened this issue 3 years ago • 3 comments

  • High altitude projctile capable to hit targets in high places.
  • Height determined by Trajectory.Artillery.MaxHeight.
  • Supported Inaccurate=yes and Ares costumization tags BallisticScatter.Max and BallisticScatter.Min.

In rulesmd.ini:

[SOMEPROJECTILE]                     ; Projectile
Trajectory=Artillery                 ; Trajectory type
Trajectory.Artillery.MaxHeight=2000  ; integer

Note: Re-used some code for Inaccurate projectiles from "arcing-fix" Phobos PR.

FS-21 avatar Jun 30 '22 08:06 FS-21

Nightly build for this pull request:

github-actions[bot] avatar Jun 30 '22 08:06 github-actions[bot]

VYZ}E_1O8ID2 @JLBHDB}E8

The impact point of bullet maybe have some problem, I don't know if it is caused by the vanilla game.

NetsuNegi avatar Jun 30 '22 13:06 NetsuNegi

The trail when bullet has been created is same as Trajectory=Straight, I think you should also adjust the Z velocity at the time of unlimbo. The faster Trajectory.Speed means the more serious situation.

NetsuNegi avatar Jun 30 '22 13:06 NetsuNegi

What's the difference between this and Lobber=yes on a weapon?

MortonPL avatar Oct 11 '22 21:10 MortonPL

Eh more so, I would say maybe there's more point in continuing the arcing fix?

Metadorius avatar Oct 11 '22 21:10 Metadorius

What's the difference between this and Lobber=yes on a weapon?

Can you set a projectile height with lobber=yes? No... I still need to fix some cases but I'm busy with another PR.

FS-21 avatar Oct 11 '22 21:10 FS-21

I want to remake it from scratch with a different approach so I close it and reopen it when I have free time for this idea.

FS-21 avatar Feb 24 '23 05:02 FS-21