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

Pillbox hits moving targets inconsistently #16038

Open
Punsho opened this Issue Jan 8, 2019 · 7 comments

Comments

Projects
None yet
5 participants
@Punsho
Copy link

Punsho commented Jan 8, 2019

The closer to a pillbox the moving target is the more hits it will take, atliest in the majority of times. I think that it is not intentional so I'm creating this issue. I made many tests and here's one of them

pillboxtests

This is not a big problem for RA because most fast units have enough health to ignore this but rather for other mods which also use this weapon type

@pchote

This comment has been minimized.

Copy link
Member

pchote commented Jan 8, 2019

Weapons are more accurate at shorter distances, so the burst will be tighter and therefore do more damage on the closer targets.

@Punsho

This comment has been minimized.

Copy link

Punsho commented Jan 8, 2019

Shouldn't the accuracy be perfect for a pillbox? It is in yaml.

@Punsho Punsho changed the title Pillbox hits moving targets inconsistently Giving Pillboxes perfect accuracy Jan 8, 2019

@Punsho Punsho changed the title Giving Pillboxes perfect accuracy Pillbox hits moving targets inconsistently Jan 8, 2019

@GraionDilach

This comment has been minimized.

Copy link
Contributor

GraionDilach commented Jan 8, 2019

This has nothing to do with accuracy. The Pillbox is using a fast Bullet projectile (which does not track) and delivers half of it's damage through delayed warheads (which doesn't track either).

@Punsho

This comment has been minimized.

Copy link

Punsho commented Jan 8, 2019

Shouldn't the fast projectile hit the target the same frame it was fired?

@GraionDilach

This comment has been minimized.

Copy link
Contributor

GraionDilach commented Jan 8, 2019

It's not that fast - https://github.com/OpenRA/OpenRA/blob/bleed/mods/ra/weapons/smallcaliber.yaml#L65.

OpenRA got such a projectile though, but it's called InstantHit.

@Punsho

This comment has been minimized.

Copy link

Punsho commented Jan 9, 2019

When I increase the projectile speed up to 6c0 then the pillbox hits the target more consistently and doesn't depend on the distance anymore. Is there any reason in particular for making the projectile slow?ezgif-2-6cf838107677

@rautamiekka

This comment has been minimized.

Copy link

rautamiekka commented Jan 9, 2019

There's a better name for an instantly hitting projectile: hitscan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment