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

Upgrade head ani handling #6338

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

Conversation

MjnMixael
Copy link
Contributor

@MjnMixael MjnMixael commented Sep 4, 2024

This adds two new features to head anis to simplify and expand their handling.

First it adds $Always loop head anis: option to messages.tbl. This will cause all heads to loop until the message audio is finished. It doesn't look great with the retail anims because they aren't meant to loop so your mileage may vary. It's meant to be used with the new feature below but was simple enough to make it be its own flag for better customization.

Second it adds $Use newer head ani suffix features: which abandons the old a, b, c method of selecting heads in favor of -reg and -death. In this mode all heads will have -reg appended to the filename unless they are a death scream and not command. (This explicitly allows large ship personas to have death screams, btw) in which case -death will be appended to the filename. In this mode -reg messages will start at a random frame which will provide the same level of variance as the a, b, method provided that the anim itself is sufficiently long enough. -death messages will always start at frame 0 and will not loop.

The idea here is that instead of having 3 versions of a head animation that play until the animation ends, there are only 2 versions; one that plays until the audio is completed (and can loop seamlessly if the audio is longer than the anim) and one that plays on death from start to end.

@MjnMixael MjnMixael added Waiting for Stable Marks a pull request that is to be merged after the next stable release, due to a release cycle feature A totally new sort of functionality labels Sep 4, 2024
@Goober5000 Goober5000 removed the Waiting for Stable Marks a pull request that is to be merged after the next stable release, due to a release cycle label Oct 28, 2024
@MjnMixael MjnMixael added the Requested by Active Mod A feature request that has been requested by a mod that is actively in development. label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A totally new sort of functionality Requested by Active Mod A feature request that has been requested by a mod that is actively in development.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants