• Hello and welcome to MSFC. We are a small and close knitted community who specialises in modding the game Star Trek Armada 2 and the Fleet Operations modification, however we have an open field for discussing a number of topics including movies, real life events and everything in-between.

    Being such a close community, we do have some restrictions, including all users required to be registered before being able to post as well as all members requiring to have participated in the community for sometime before being able to download our modding files to name the main ones. This is done for both the protection of our members and to encourage new members to get involved with the community. We also require all new registrations to first be authorised by an Administrator and to also have an active and confirmed email account.

    We have a policy of fairness and a non harassment environment, with the staff quick to act on the rare occasion of when this policy is breached. Feel free to register and join our community.

[Help] Flipbook Animation Problems

dvatreknerd314

Lieutenant, Junior Grade
Clone Force 99
Joined
31 Jul 2012
Messages
1,363
Age
32
Over on FF, someone posted a pretty neat weapons pack recently. However, its color range was limited. I'm wanting to recreate the I-Mod/U-Mod phaser for use in my game, but I'm wanting to improve on the original texture idea by including a wider color range. The idea is to use the primary, secondary, and tertiary colors of the color wheel for this, with a total of twelve colors.

The problem I'm having is I can't get a flipbook animation to work for this. I've been trying to make it do twelve rows but for some reason it isn't working, and I don't know how to manually specify keyframes for flipbook animations. I've tried square and rectangular textures, I've tried shrinking the texture down to a power of 2, and I've tried adding some blank space on the end of the texture to make the animation go through rows that are a power of 2, but so far nothing seems to work.

I know I could try to create the same effect with a sprite node, but I'd prefer to keep the coloration in the texture. Does anyone know what I might be doing wrong?

This is my code:
# 12 row animation
@animation tex1x16
offset 16 3.0 step
@auto=row
@keyframes
 
Top