[Texture pack] Saw blade not animating properly

If you're having problems with your installation of Better Than Wolves, or if you've woken up in the future and are beginning to doubt the nature of reality, here's the place to post about it.
Post Reply
The great randomo
Posts: 596
Joined: Fri Sep 30, 2011 2:25 pm
Location: In the ether...

[Texture pack] Saw blade not animating properly

Post by The great randomo »

I recently made this 128x animated texture for the saw blade:
Spoiler
Show
Image
The .txt code:

Code: Select all

0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
I put it in a texture pack and got this:
Spoiler
Show
Only the front part of the saw moves, and the sides stay the same, even though the texture itself is different:
Image
Image
Is it to do with the rendering of the saw or am I doing something wrong.
Also, is there a way to only get the texture to apply to a powered saw - currently it plays regardless of its state?
Chris Martin wrote:The morning is for sleeping.
jecowa
Posts: 192
Joined: Mon Sep 10, 2012 10:13 pm

Re: [Texture pack] Saw blade not animating properly

Post by jecowa »

You've animated some invisible portions of the saw blade texture. If you look at the saw in-game, you will see that the blade 10 pixels wide while the saw blade texture is 16 pixels wide.
Spoiler
Show
Image
The black areas are not visible in-game. The blue areas are the sides of the blade. The red area is the sharp edge of the blade. The sharp edge texture overlaps the side blade texture a little.

Edit: Updated info to include the texture for the sharp edge of the blade.
The great randomo
Posts: 596
Joined: Fri Sep 30, 2011 2:25 pm
Location: In the ether...

Re: [Texture pack] Saw blade not animating properly

Post by The great randomo »

Ah! Thanks, I'll get to work fixing it then!
Chris Martin wrote:The morning is for sleeping.
Post Reply