Building turret animations#2170
Open
Starkku wants to merge 2 commits intoPhobos-developers:developfrom
Open
Conversation
920a086 to
19404ea
Compare
|
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. |
TaranDahl
approved these changes
Apr 12, 2026
Fryone
approved these changes
Apr 14, 2026
Contributor
|
Actually, there may be a bug, but I can't properly recreate it. It's like AI trying to shoot when lowpowered, despite |
Contributor
19404ea to
cd0089c
Compare
- Fix issues with frame calcs by verifying frame counts - Add animation playback rate customization
Contributor
Author
|
Potentially fixed the issues with frame calcs, added customization for frame playback rates. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Building turret animations
TurretAnim(Damaged)withTurretAnimIsVoxel=falseonly displays one frame per each of the 32 facings. This can now be increased and there are additional animations available for low power state and firing weapons.IdleFrames,LowPowerIdleFrames,FiringFrames,LowPowerFiringFrames, animations with frame count set to 0 will be skipped / ignored.FiringFramesstarts playing when attacking and weapon can fire, it will not stop firing of weapon until it has finished playing nor will anything prevent it from looping multiple times if weapon firing is blocked by delayed firing for longer than there are frames for. Matching delayed firing duration with firing frame count can be used to make pre-firing animation.TurretAnim.IdleRateandTurretAnim.FiringRatecan be used to customize animation frame playback rate for idle and firing frames respectively.In
rulesmd.ini: