This is a tool I put together to create skill activation animations. Useful if you’re putting together a skills system of some sort.
Create a script and drag it onto SkillAnimCreator.exe. Then #include the resulting event file in your buildfile.
Script format is very simple:
There are no commands, only images and durations. You CAN change the sound it plays by editing the generated event file. By default the song ID is 0x3d1, the standard skill activation.
Images need to be 240x160 pixels, and 16 colours or less - but each image can have its own set of 16 colours. The images are cut up into tiles and processed using grit, which means you can have 256 unique tiles (8x8px squares) or around 40% of the screen. More than that will cause graphical errors.
Here’s a simple buildfile to let you test your animations.
#include "EAstdlib.event" #include "Extensions/Hack Installation.txt" ORG 0xb2a610 SkillAnim: #include "Skills/testscript.event" PUSH ORG $59064 SHORT 0 //always show anim ORG $6e310 jumpToHack(SkillAnim) POP MESSAGE Used free space ends at currentOffset