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 feature for animations to spawn additional animations. #753

Merged
merged 11 commits into from
Nov 28, 2024

Conversation

CCHyper
Copy link
Contributor

@CCHyper CCHyper commented Mar 24, 2022

Closes #752, Closes #883

This pull request implements a new system for AnimTypes, allowing them to spawn additional animations at the start, middle and end of their sequence stages. All animations spawned will be from the center coordinate of the animation spawning these additional animations.

NOTE: The <stage> keyword used below can be replaced with; Start, Middle, End.

[AnimType]
<stage>Anims=<comma delimited list of AnimTypes>
List of animations to spawn at the designated stage of the animation sequence. Defaults to <none>.

<stage>AnimsMinimum=<comma delimited list of integers>
The minimum number of animations that can spawn when choosing the random amount for each of the respective entries on the animations list. This list must have the same number of entries as the animations list. Defaults to 1 for each entry.

<stage>AnimsMaximum=<comma delimited list of integers>
The maximum number of animations that can spawn when choosing the random amount for each of the respective entries on the animations list. This list must have the same number of entries as the animations list. Defaults to 1 for each entry.

<stage>AnimsCount=<comma delimited list of integers>
Number of animations to spawn for each of the respective entries on the animations list. This list must have the same number of entries as the animations list. Defaults to 1 for each entry, and takes priority over the Minimum and Maximum entries.

In addition to this new system, a new key for setting the logical middle frame (the frame in which the craters etc, are spawned) can now be set.

MiddleFrame=<integer>
The frame number in which the animation system will spawn various logics (e.g. craters, scorch marks, fires). Defaults to auto-detect based on the largest frame of the shape file. A special value of -1 can be used to tell the animation system to use the exact middle frame of the shape file (shape file has 30 frames, frame 15 will be used).

@CCHyper CCHyper added the new-feature New feature or request. label Mar 24, 2022
@CCHyper CCHyper requested a review from a team March 24, 2022 19:33
@github-actions
Copy link

github-actions bot commented Mar 24, 2022

This comment is automatically 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 feature/anim-spawn branch 2 times, most recently from 16caecd to 39d9627 Compare March 25, 2022 01:05
@CCHyper CCHyper force-pushed the develop branch 3 times, most recently from c8c194d to e92b5e8 Compare March 28, 2022 15:34
@CCHyper CCHyper force-pushed the feature/anim-spawn branch from 39d9627 to a5fe429 Compare March 28, 2022 18:01
@CCHyper CCHyper force-pushed the develop branch 12 times, most recently from 7ddd745 to 388e448 Compare April 1, 2022 01:16
@CCHyper CCHyper force-pushed the feature/anim-spawn branch 4 times, most recently from a3a13b0 to dc48d32 Compare April 4, 2022 21:36
@CCHyper CCHyper force-pushed the feature/anim-spawn branch from dc48d32 to a9202de Compare August 13, 2022 10:39
@ZivDero ZivDero force-pushed the develop branch 2 times, most recently from 65abfa3 to 5be9542 Compare September 26, 2024 13:00
@CCHyper CCHyper removed their assignment Oct 7, 2024
@ZivDero ZivDero force-pushed the develop branch 5 times, most recently from a307ea7 to 735e008 Compare October 17, 2024 22:42
@ZivDero ZivDero force-pushed the develop branch 2 times, most recently from f40cd5a to ce12b49 Compare October 22, 2024 15:52
@ZivDero ZivDero force-pushed the feature/anim-spawn branch 2 times, most recently from 25c7cb5 to 7e497e1 Compare October 27, 2024 18:49
@ZivDero ZivDero force-pushed the develop branch 2 times, most recently from c3e7349 to 0a8e674 Compare November 27, 2024 12:27
@ZivDero ZivDero merged commit e5193d0 into Vinifera-Developers:develop Nov 28, 2024
6 checks passed
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
2 participants