warzone2100
warzone2100 copied to clipboard
Animate propulsion texture
This PR implements texture animated propulsion, and modified PIE files for tracks. The animation speed is relative to the unit speed. Acceleration doesn't seem to be working though.
Must be merged after the texpages PR, or else there'll be nasty flashing because of the TC (team color) mask.
Video: https://youtu.be/7hswHHVjlPo Video 2: https://youtu.be/rjeezPryyCg
Fixes https://github.com/Warzone2100/warzone2100/issues/864
@past-due @MaNGusT- @Cyp @AlexTheDacian @berserkingyadis would you care to try this out?
I slowed the animations down a little bit, but other than that it should look like the videos.
Could I get windows build of this pr pls? :-)
@MaNGusT- https://github.com/Warzone2100/warzone2100/suites/730269995/artifacts/7316253
https://github.com/Warzone2100/warzone2100/suites/730269995/artifacts/7316253
thx, man
This PR should be reworked to use animation events that already exist:
- add left-right propulsions to list of models that can use event-driven animation (in code)
- prepare models you want to animate. No matter what type of animation you want to use.