Posted: 20 Feb 2003 11:05
No problem.
I hope some1 can help me soon, i wanna learn to make new grfs!
I hope some1 can help me soon, i wanna learn to make new grfs!

The place to talk about Transport Tycoon
https://www.tt-forums.net/
Do you mean the new graphics tutorial from the first post in this thread? That's what you should read to learn how to make new graphics.troopper5 wrote:But one thing is still puzzling me, i'll show you:
This code line is from grfcodec tutorial
125 * 17 02 02 01 02 04 00 00 01 00 02 00 06 00 07 00 08 00
It's just the number of the entry in the file. Every sprite and pseudo-sprite gets a consecutive number starting from 0.- Allright, tell me if i'm wrong: First number before asterisk tells what sprite game uses in it's picture or someway like that.
The first special byte is "02". That means it's an "action 2" (definition of a cargo ID). So you go to the description of action 2 in newgrf.txt, and it'll explain what all the other bytes mean. Their meaning depends on which action it is.- Asterisk tells that is a pseudo-sprite (whatever it it).
- Seventeen tell the number of digits or bytes, how much there are them.
But i don't understand those last byte number, what are they? I tried to read it from readme, but didn't still understand.
What zero? Are you asking why is it 02 and not just 2? That's just how you have to specify the values, as a two-digit hexadecimal number.troopper5 wrote:125 * 17 02 02 01 02 04 00 00 01 00 02 00 06 00 07 00 08 00
Okay, i'll tell now what i know, i'm stuck again...
- 17, number of bytes
- 02, action 2
- second 02, tells that it is a ship, but why there's a zero before a vehicle type number?
No, it says that this is the definition of cargo ID number 1. This doesn't have anything to do with what the actual cargo is, that will come later in an action 3 entry.- 01, tells that ship carries coal
Well, that's what I did in the instructions. It can't be done "shortly" because there is too much that you need to know.I don't know anymore... If you could tell about all sprites shortly what they do, i thank you really much.
Which offset byte? "Offset" just means that something is not at the beginning of something else, but rather offset from the beginning, meaning that it is a number of entries after the beginning.BTW, what is off-set byte?
Code: Select all
// Automatically generated by GRFCODEC. Do not modify!
// (Info version 4)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
0 * 4 16 00 00 00
1 * 5 06 01 01 04 00
2 * 34 00 01 09 01 0D
00 63 15
03 0F
04 2D
06 07
08 50
09 3C
0E FF
0F 14
10 01
11 5B
12 17
13 0A
14 14
15 14
3 * 4 01 01 22 08
4 d:\vassal\ttdx\newgraph\trux-1st.pcx 006 2 01 18 08 -3 -10
5 d:\vassal\ttdx\newgraph\trux-1st.pcx 022 2 01 17 22 -14 -7
6 d:\vassal\ttdx\newgraph\trux-1st.pcx 054 2 01 12 28 -14 -6
7 d:\vassal\ttdx\newgraph\trux-1st.pcx 086 2 01 17 22 -4 -7
8 d:\vassal\ttdx\newgraph\trux-1st.pcx 118 2 01 18 08 -3 -10
9 d:\vassal\ttdx\newgraph\trux-1st.pcx 134 2 01 17 22 -14 -7
10 d:\vassal\ttdx\newgraph\trux-1st.pcx 166 2 01 12 28 -14 -6
11 d:\vassal\ttdx\newgraph\trux-1st.pcx 198 2 01 17 22 -4 -7
12 d:\vassal\ttdx\newgraph\trux-1st.pcx 226 2 01 18 08 -3 -10
13 d:\vassal\ttdx\newgraph\trux-1st.pcx 248 2 01 16 22 -14 -7
14 d:\vassal\ttdx\newgraph\trux-1st.pcx 274 2 01 12 28 -14 -6
15 d:\vassal\ttdx\newgraph\trux-1st.pcx 306 2 01 17 22 -4 -7
16 d:\vassal\ttdx\newgraph\trux-1st.pcx 338 2 01 18 08 -3 -10
17 d:\vassal\ttdx\newgraph\trux-1st.pcx 354 2 01 17 22 -14 -7
18 d:\vassal\ttdx\newgraph\trux-1st.pcx 386 2 01 12 28 -14 -6
19 d:\vassal\ttdx\newgraph\trux-1st.pcx 418 2 01 16 22 -4 -7
20 * 13 02 01 00 02 02 00 00 01 00 00 00 01 00
21 * 10 03 01 01 0D 01 07 00 00 00 00
22 * 20 04 01 01 0D 41 64 61 6D 20 77 6F 6F 64 20 74 72 75 63 6B 00
he can(probably) but it will .... 'destroy' game .... he explain everything at newgroup ...Chulio wrote:Pachtman> can you make ingame time go slower? maybe a parameter. Years pass too fast.
No, not hard at all, reads like a bookChulio wrote:for you, who think that these pseudo sprites are hard, I have a litle example