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

Implements CanApproachTarget and CanRecalcApproachTarget for TechnoTypes and ApproachTargetResetMultiplier for Rules. #679

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

CCHyper
Copy link
Contributor

@CCHyper CCHyper commented Oct 20, 2021

Closes #595

This pull request implements CanApproachTarget and CanRecalcApproachTarget for TechnoTypes, and ApproachTargetResetMultiplier for the rules [General] section from Red Alert 2.

[TechnoType]
CanApproachTarget=<boolean>
Can this unit can continually move towards its intended target with the intention of gaining more accuracy? Defaults to yes

CanRecalcApproachTarget=<boolean>
Can this unit recalculate what its next target will be when conducting its threat scan if its current target is out of range? Defaults to yes

[General]
ApproachTargetResetMultiplier=<float>
The "approach target" position should be recalculated if the target is now more than weapon range times this value. Defaults to 1.0
NOTE: This value does not apply to units with CanRecalcApproachTarget=no.

@CCHyper CCHyper added the new-feature New feature or request. label Oct 20, 2021
@CCHyper CCHyper added this to the RA2/YR Features milestone Oct 20, 2021
@CCHyper CCHyper requested a review from a team October 20, 2021 02:03
@github-actions
Copy link

github-actions bot commented Oct 20, 2021

This comment is automaticly generated by Nightly.link and allows non-registered users to get download the artifacts for this pull request.

These links are also updated when the pull request is pushed to.

@CCHyper CCHyper force-pushed the ra2-can-approach branch 2 times, most recently from cc755ba to d75f9ef Compare October 20, 2021 19:30
@CCHyper CCHyper force-pushed the develop branch 2 times, most recently from eb03022 to 8ed42ec Compare January 21, 2022 22:45
@CCHyper CCHyper force-pushed the develop branch 22 times, most recently from 3546546 to fe172ec Compare February 24, 2022 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature New feature or request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[New Feature] Add CanApproachTarget and CanRecalcApproachTarget to TechnoTypes
1 participant