warzone2100 icon indicating copy to clipboard operation
warzone2100 copied to clipboard

Animate propulsion texture

Open bjorn-ali-goransson opened this issue 4 years ago • 5 comments

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

bjorn-ali-goransson avatar May 23 '20 13:05 bjorn-ali-goransson

@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.

bjorn-ali-goransson avatar May 28 '20 19:05 bjorn-ali-goransson

Could I get windows build of this pr pls? :-)

MaNGusT- avatar Jun 15 '20 15:06 MaNGusT-

@MaNGusT- https://github.com/Warzone2100/warzone2100/suites/730269995/artifacts/7316253

vaut avatar Jun 15 '20 15:06 vaut

https://github.com/Warzone2100/warzone2100/suites/730269995/artifacts/7316253

thx, man

MaNGusT- avatar Jun 15 '20 15:06 MaNGusT-

This PR should be reworked to use animation events that already exist:

  1. add left-right propulsions to list of models that can use event-driven animation (in code)
  2. prepare models you want to animate. No matter what type of animation you want to use.

MaNGusT- avatar Jun 26 '20 05:06 MaNGusT-