Sprite templating instructions
Below are instructions how to template sprites for this set.Template:
- The empty template to use is attached below.
- Each row of 8 boxes is for one vehicle/livery.
- Get the sprites from the big file: http://dev.openttdcoop.org/projects/dutchtrains/repository/raw/gfx/dutchtrainsw.png
- The sprites must be ordered in travelling direction: up, top right, right, bottom right, down, bottom left, left, top left.
- They already appear in the correct order in the big file, so that's easy enough.
- The first four sprites must be aligned in the bottom right of the blue boxes, the last four sprites in the bottom left of the boxes.
- There's an alignment template provided for short sprites, so you can see how they should be put it.
- Note that some MU sprites in _ views are 1px bigger than the templates provided. Everything that sticks out of the template will not be in the game:
- Make sure that the front of the MU is completely in the blue box.
- Let subsequent middle parts stick out of the blue box at the same side as the corresponding front part.
- Except the last part, of which the end should be completely in the blue box.
- No need to remove bits that stick out, as long as they don't protrude into other blue boxes. This way we can see that these sprites are indeed too long and fix them some point later.
- Important: do not move the blue boxes around. They are where they are for a reason ;)
- Put all sprites belonging to one vehicle in a single file.
- Extend the file as necessary. The y-coordinate of the top left corner of each row of blue boxes must be a multiple of 30.
- Tip: Copy a block of multiple rows and put the first copied row on top of the last existing row, then the distance between the boxes will be correct without having to count it.
- Put the name of the vehicle/wagon above the "License: GPLv2+".
- Put the nickname of the vehicle designer behind the (c). If more people worked on one vehicle, you can use more lines here.
- The font used is of no importance, as long as it's readable.
- Remove excess blue boxes (move the copyright up).
- Remove the excess white at the right. This is there as temporary holding for sprites from the big sprite sheet.
- Make sure the top left of the first row of sprites is exactly in the top left of the file.
- Choose a recognizable filename. Doesn't matter what, I'll probably be renaming it anyways.
- All files must be saved with the Windows palette. The template already has this palette applied, so as long as you (or your editor) don't remove that you'll be fine.
Do not use this issue for posting sprites you've templated. Make a new issue instead.
You may use this topic to indicate that you're working on something
- There's no need to include a purchase menu sprite in the templates. These must be supplied in separate files according to #3795.
- Please do also make the purchase menu sprites when templating a vehicle.
List of sprites to be templated:
- Steamers from attached png below
#4 Updated by Transportman about 3 years ago
TGV is done.
DM '90 is a nice small one to do, so I take that one now.
To make searching for sprites in the big spritesheet easier, take a look at the list of available trains on the wiki, the spritesheet has the same ordering of trains in their respective groups: MU's, post and passenger coaches, Diesel+Electric, steamers, cargo wagons.
#5 Updated by Transportman about 3 years ago
Scratch my comment about the DM '90. It needs the same graphical adjustments as the SM '90, because it also doesn't fit the template. So I think it is wiser to let that one to someone with a more artistic feeling. Instead I will take this one:
DH-1 Wadloper (Transportman)
#22 Updated by Transportman almost 3 years ago
Before I start on the NSset_open_goederenwagon2:
Shouldn't the fire cycle be applied for the cargo (as per issue #3347 http://dev.openttdcoop.org/issues/3347)? If that is true, why all the trouble of templating them all when it is easier to just do that? That would reduce the amount of sprites to put in the template to 4 for each livery, which is way less than 3 for every cargo for each livery. And with a replace colour on the original sprites, it shouldn't be too hard to get the fire cycle colour on the original cargo in the sprites.
#23 Updated by foobar almost 3 years ago
I'm fine either way. Currently some are coded with the fire cycle, some are coded with fixed cargoes. The goal is indeed to have everything with the fire cycle, but as I'm not doing that, I'm fine either way
So if you want to do that now, go right ahead. You can probably copy the cargo texture of one of the gen1_* wagons that Voyager drew.
#24 Updated by Transportman almost 3 years ago
It's done. Just one bad message that I didn't notice until now, because then it was all templating separate sprites, but now I could actually copy paste a lot because there are only 4 sprites for each stage. The bad message is:
The template contains an error. 1/3 of the blue boxes in the 7th column miss a row of pixels. Therefore the sprites get one pixel to high compared to the other sprites. I don't know if you are aware of it. I didn't fix it in this run. The problem is in the second+3*nth row.
#26 Updated by foobar almost 3 years ago
Crap. I've seen that issue a couple of times in the previously templated sprites, and fixed it there. Appearantly it hasn't occured often enough to make me think of an issue with the template.
Anyways, a new empty template is attached.
In other news, I also attached the steamers from v1 that also need some templating