Skip to content

[Customized] Projectile subject to ground check before firing #1291

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

Merged
merged 28 commits into from
Mar 20, 2025

Conversation

CrimRecya
Copy link
Contributor

This is a feature split from #1261 .
It may have similarities with other parts.

If set SubjectToGround to true ,it will predict will predict the height of the connecting straight line from the bullet's source coordinates to target coordinates. If the predicted height is lower than the ground height of the current predicted position, the firer will also consider targets blocked by such obstacles as out of range and will attempt to reposition themselves.

In rulesmd.ini:

[SOMEPROJECTILE]              ; Projectile
SubjectToGround=false         ; boolean

Copy link

github-actions bot commented Jul 7, 2024

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

@CrimRecya CrimRecya changed the title Projectile subject to ground check before firing [Customized] Projectile subject to ground check before firing Dec 26, 2024
@Coronia Coronia added Needs testing ⚙️T1 T1 maintainer review is sufficient labels Mar 17, 2025
Copy link
Contributor

@Coronia Coronia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

worked properly in testing
updated the doc to indicate that it can't work for buildings and air, and we're all good

@CrimRecya CrimRecya merged commit 1d24ff8 into Phobos-developers:develop Mar 20, 2025
6 checks passed
@CrimRecya CrimRecya deleted the develop-subjecttoground branch March 22, 2025 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚙️T1 T1 maintainer review is sufficient Tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants