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

Add support for limited traverse rate guns #95

Open
wants to merge 49 commits into
base: master
Choose a base branch
from

Conversation

exinfinitum
Copy link
Contributor

This is done via a new xml attribute MAX_SWIVEL_PER_TICK_ATTRIB in CWeaponClass which allows us to specify the max number of degrees a gun can aim while firing in a single tick. This limits the ability of guns to track targets. The traverse rate only applies when the gun is firing (during charging or a repeating burst).

exinfinitum and others added 30 commits November 9, 2020 01:55
This enables ships with multiple primary weapons installed to fire all of
them simultaneously. This is not the same as linked fire because each
weapon is fired individually by the AI.

The main use case of this is to enable ships with multiple primary weapons
to be able to aim them properly while accounting for range, which cannot
be done using secondary weapons, while not being forced to only fire one
gun at a time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant