From Worms Knowledge Base
(Up to WormKit)
|Latest version:||v2 / 24 Sep 2020|
|Supported W:A version:||3.8|
|Supported W:A editions:|
|Download:||wkFlamingHealthBars-v2.zip (215 kB)|
This WormKit module brings back the famous flaming team health bars to WA 3.8.
Version 2 later added the ability to use your own custom animations as shown in the details window screenshot.
How to use it
- Ensure that you have the "Load WormKit modules" option from Advanced settings enabled.
- Extract wkFlamingHealthBars.dll, wkFlamingHealthBars.ini and healthbars/ to your WA installation directory.
- Edit wkFlamingHealthBars.ini config to match your team names. More teams can be added by copy & pasting [team#] section. Up to 128 teams can be configured.
- Launch the game. If the configured team name is matched and the game was able to load the specified IMG file, the flame should be visible.
How to create your own animations
Health bar animations are regular IMG files with all animation frames stacked on top of each other. One frame is 128px wide and 13px tall. For example, if your animation has 10 frames, then the file dimensions must be 128x130px. The module will automatically determine animation type (flame/custom) based on image dimensions.
- Create a 128x13px movie with your animation
- Download ImageMagick and ffmpeg binaries. ImageMagick, ffmpeg
- Extract all frames from your movie to png files:
- ffmpeg.exe -i movie.mp4 img%04d.png
- Merge all frames vertically:
- magick.exe img*.png -append animation.png
- Convert your animation.png to compatible IMG format, as explained here
- If animation plays too fast, add AnimationDelay=1 or AnimationDelay=2 to your team in wkFlamingHealthBars.ini
Template pack: healthbars template v2.zip
- If you are using colorblind settings, then use files with "gfx1" suffix. Otherwise use "gfx0" suffix.
- Custom healthbars can be created with sprite editor - make sure you use exactly the same palette colors.
- The animated bars are only visible locally and other players do not see the flames (unless you agree to use the same .ini file settings and files).
- Teams that do not match any name in .ini file will use a default file specified for alliance color .ini or display normal health bar if filename is empty
- %COLOR% macro in filename will automatically match the alliance color of the team