Sprite templates

From PikkaWiki
Revision as of 08:16, 30 December 2012 by PikkaWiki (Talk | contribs)

Jump to: navigation, search

Contents

These are sprite templates and offsets for each of the available train vehicle lengths, from 3/8 through to 8/8.

3/8

333.png

forwards

1 SPRITES\x.pcx 0 0 01 18 8 -3 -18
2 SPRITES\x.pcx 16 0 09 16 20 -9 -11
3 SPRITES\x.pcx 48 0 01 12 28 -4 -8
4 SPRITES\x.pcx 96 0 09 16 20 1 -6
5 SPRITES\x.pcx 128 0 01 18 8 -3 -8
6 SPRITES\x.pcx 144 0 09 16 20 -19 -6
7 SPRITES\x.pcx 176 0 01 12 28 -24 -8
8 SPRITES\x.pcx 224 0 09 16 20 -9 -11

4/8

444.png

forwards

1 SPRITES\x.pcx 0 0 01 18 8 -3 -14
2 SPRITES\x.pcx 16 0 09 16 20 -9 -11
3 SPRITES\x.pcx 48 0 01 12 28 -6 -8
4 SPRITES\x.pcx 96 0 09 16 20 -1 -7
5 SPRITES\x.pcx 128 0 01 18 8 -3 -6
6 SPRITES\x.pcx 144 0 09 16 20 -17 -7
7 SPRITES\x.pcx 176 0 01 12 28 -22 -8
8 SPRITES\x.pcx 224 0 09 16 20 -9 -11

5/8

555.png

forwards

1 SPRITES\x.pcx 0 0 01 18 8 -3 -12
2 SPRITES\x.pcx 16 0 09 16 20 -11 -10
3 SPRITES\x.pcx 48 0 01 12 28 -8 -8
4 SPRITES\x.pcx 96 0 09 16 20 -1 -7
5 SPRITES\x.pcx 128 0 01 18 8 -3 -6
6 SPRITES\x.pcx 144 0 09 16 20 -17 -7
7 SPRITES\x.pcx 176 0 01 12 28 -20 -8
8 SPRITES\x.pcx 224 0 09 16 20 -7 -10

6/8

666.png

forwards

1 SPRITES\x.pcx 0 0 01 20 8 -3 -12
2 SPRITES\x.pcx 16 0 09 16 20 -11 -10
3 SPRITES\x.pcx 48 0 01 12 28 -10 -8
4 SPRITES\x.pcx 96 0 09 16 20 -3 -8
5 SPRITES\x.pcx 128 0 01 20 8 -3 -8
6 SPRITES\x.pcx 144 0 09 16 20 -15 -8
7 SPRITES\x.pcx 176 0 01 12 28 -18 -8
8 SPRITES\x.pcx 224 0 09 16 20 -7 -10

reversed

"Reversed" sprites (to make the vehicle display correctly when reversed; check vehicle variable C8) keep the same sprite order, but swap the first four offset blocks with the second four.

1 SPRITES\x.pcx 0 0 01 20 8 -3 -8
2 SPRITES\x.pcx 16 0 09 16 20 -15 -8
3 SPRITES\x.pcx 48 0 01 12 28 -18 -8
4 SPRITES\x.pcx 96 0 09 16 20 -7 -10
5 SPRITES\x.pcx 128 0 01 20 8 -3 -12
6 SPRITES\x.pcx 144 0 09 16 20 -11 -10
7 SPRITES\x.pcx 176 0 01 12 28 -10 -8
8 SPRITES\x.pcx 224 0 09 16 20 -3 -8

backwards

"Backwards" sprites (to display the vehicle backwards) keep the same offsets, but swap the first four sprites with the second four.

1 SPRITES\x.pcx 128 0 01 20 8 -3 -12
2 SPRITES\x.pcx 144 0 09 16 20 -11 -10
3 SPRITES\x.pcx 176 0 01 12 28 -10 -8
4 SPRITES\x.pcx 224 0 09 16 20 -3 -8
5 SPRITES\x.pcx 0 0 01 20 8 -3 -8
6 SPRITES\x.pcx 16 0 09 16 20 -15 -8
7 SPRITES\x.pcx 48 0 01 12 28 -18 -8
8 SPRITES\x.pcx 96 0 09 16 20 -7 -10

7/8

777.png

forwards

1 SPRITES\x.pcx 0 0 01 22 8 -3 -12
2 SPRITES\x.pcx 16 0 09 16 20 -12 -9
3 SPRITES\x.pcx 48 0 01 12 28 -12 -8
4 SPRITES\x.pcx 96 0 09 16 20 -4 -8
5 SPRITES\x.pcx 128 0 01 22 8 -3 -10
6 SPRITES\x.pcx 144 0 09 16 20 -14 -8
7 SPRITES\x.pcx 176 0 01 12 28 -16 -8
8 SPRITES\x.pcx 224 0 09 16 20 -6 -9

reversed

"Reversed" sprites (to make the vehicle display correctly when reversed; check vehicle variable C8) keep the same sprite order, but swap the first four offset blocks with the second four.

1 SPRITES\x.pcx 0 0 01 22 8 -3 -10
2 SPRITES\x.pcx 16 0 09 16 20 -14 -8
3 SPRITES\x.pcx 48 0 01 12 28 -16 -8
4 SPRITES\x.pcx 96 0 09 16 20 -6 -9
5 SPRITES\x.pcx 128 0 01 22 8 -3 -12
6 SPRITES\x.pcx 144 0 09 16 20 -12 -9
7 SPRITES\x.pcx 176 0 01 12 28 -12 -8
8 SPRITES\x.pcx 224 0 09 16 20 -4 -8

backwards

"Backwards" sprites (to display the vehicle backwards) keep the same offsets, but swap the first four sprites with the second four.

1 SPRITES\x.pcx 128 0 01 22 8 -3 -12
2 SPRITES\x.pcx 144 0 09 16 20 -12 -9
3 SPRITES\x.pcx 176 0 01 12 28 -12 -8
4 SPRITES\x.pcx 224 0 09 16 20 -4 -8
5 SPRITES\x.pcx 0 0 01 22 8 -3 -10
6 SPRITES\x.pcx 16 0 09 16 20 -14 -8
7 SPRITES\x.pcx 48 0 01 12 28 -16 -8
8 SPRITES\x.pcx 96 0 09 16 20 -6 -9

7 tall.png

4 extra pixel height (for pantographs etc)

1 SPRITES\x.pcx 0   0 01 26 8 -3 -16
2 SPRITES\x.pcx 16  0 09 20 20 -12 -13
3 SPRITES\x.pcx 48  0 01 16 28 -12 -12
4 SPRITES\x.pcx 96  0 09 20 20 -4 -12
5 SPRITES\x.pcx 128 0 01 26 8 -3 -14
6 SPRITES\x.pcx 144 0 09 20 20 -14 -12
7 SPRITES\x.pcx 176 0 01 16 28 -16 -12
8 SPRITES\x.pcx 224 0 09 20 20 -6 -13

8/8

888.png

forwards

1 SPRITES\x.pcx 0 0 01 24 8 -3 -12
2 SPRITES\x.pcx 16 0 09 17 22 -14 -9
3 SPRITES\x.pcx 48 0 01 12 32 -16 -8
4 SPRITES\x.pcx 96 0 09 17 22 -6 -9
5 SPRITES\x.pcx 128 0 01 24 8 -3 -12
6 SPRITES\x.pcx 144 0 09 17 22 -14 -9
7 SPRITES\x.pcx 176 0 01 12 32 -16 -8
8 SPRITES\x.pcx 224 0 09 17 22 -6 -9

8 tall.png

8/8 vehicles have symmetrical offsets so do not need seperate reversed sprites.

4 extra pixel height (for pantographs etc)

1 SPRITES\x.pcx 0   0 01 28 8 -3 -16
2 SPRITES\x.pcx 16  0 09 21 22 -14 -13
3 SPRITES\x.pcx 48  0 01 16 32 -16 -12
4 SPRITES\x.pcx 96  0 09 21 22 -6 -13
5 SPRITES\x.pcx 128 0 01 28 8 -3 -16
6 SPRITES\x.pcx 144 0 09 21 22 -14 -13
7 SPRITES\x.pcx 176 0 01 16 32 -16 -12
8 SPRITES\x.pcx 224 0 09 21 22 -6 -13

9/8

This is an 8/8 coded vehicle, with a 1/8 overhang at the back. Intended for large steam locomotives with a tender with a 1/8 gap at the front.

999.png

forwards

1 SPRITES\x.pcx 0 0 01 26 8 -3 -12
2 SPRITES\x.pcx 16 0 09 19 24 -16 -10
3 SPRITES\x.pcx 48 0 01 12 36 -20 -8
4 SPRITES\x.pcx 96 0 09 19 24 -8 -11
5 SPRITES\x.pcx 128 0 01 26 8 -3 -14
6 SPRITES\x.pcx 144 0 09 19 24 -14 -11
7 SPRITES\x.pcx 176 0 01 12 36 -16 -8
8 SPRITES\x.pcx 224 0 09 19 24 -6 -10

PJ1K gauging template

Pj1k gauging.png

PJ1K uses standard dimensions, except;

  • The roof is 1 pixel lower in the vertical and horizontal views, and half a pixel lower in the diagonals
  • One pixel is chopped off the outer edges of the diagonal sprites (which makes the vehicle look thinner)
Personal tools