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

Correctly make Ythotha turn towards its target #5978

Merged
merged 2 commits into from Mar 15, 2024

Conversation

lL1l1
Copy link
Contributor

@lL1l1 lL1l1 commented Mar 14, 2024

Reverts #5916 because AttackAngle caused Ythotha to constantly rotate, which looked ugly. Instead, uses a reduced SlavedToBodyArcRange to turn towards the enemy for all weapons to fire, while not constantly turning to maintain an exact angle. 32 arc range instead of 45 to give weapons plenty of space to lead their target.
AttackAngle is more for weapons that can't all fire forwards, like Fatboy and battleships, so using it for Ythotha was incorrect in the first place.

@lL1l1
Copy link
Contributor Author

lL1l1 commented Mar 15, 2024

The constant walk animation triggering also makes the gun lose its aim and stop firing.

@Garanas Garanas added the area: balance related to units balance label Mar 15, 2024
@Garanas
Copy link
Member

Garanas commented Mar 15, 2024

@relent0r this may also be related to what you reported about the Ythotha in the AI Discord.

@lL1l1 Great work, this is a lot better and fixes the problem 😃 !

@Garanas Garanas merged commit d5f4973 into FAForever:deploy/fafdevelop Mar 15, 2024
@lL1l1 lL1l1 deleted the Fix/ythotha-ai-turning branch April 1, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: balance related to units balance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants