Graphics Tutorial (Almost Finished)

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

User avatar
Petae
Tycoon
Tycoon
Posts: 1076
Joined: 15 Jun 2003 15:26

Post by Petae »

NICE!

again a typo
Part 5: Rules to add Tricks
To add your trick to the aboce part 3 or 4
Decoding tips

When using i.mage, you'le notice
should be you'll
Everything is relative
ChrisCF
Transport Empire Developer
Transport Empire Developer
Posts: 3608
Joined: 26 Dec 2002 16:39
Location: Over there --->

Post by ChrisCF »

Should there be mention here of palette breakage? e.g.

full blue (0,0,255) = not part of sprite
black (0,0,0) = transparent
magic pink (255,0,255) = black

Plus a few others, probably
Bugzilla available for use - PM for details.
nilsi
Transport Coordinator
Transport Coordinator
Posts: 268
Joined: 20 Nov 2002 16:20
Location: Dresden, Germany

Post by nilsi »

Yes, I would love to have a list :-)
broodje
Director
Director
Posts: 615
Joined: 13 Jul 2003 12:47
Location: Alphen aan den Rijn
Contact:

Post by broodje »

hmm I have some sort of colour list, you can find it here:
http://home.tiscali.nl/broodje/colour_codes.txt
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

Can you add information on how to do the TTDAlter information and build it into the GRF file (speed, years, name etc.)? Also how to use the fancy livery-override, tender-override, and now the contagious-power like the new ICE has?
User avatar
George
Tycoon
Tycoon
Posts: 4364
Joined: 16 Apr 2003 16:09
Skype: george-vb
Location: Varna, Bulgaria
Contact:

Post by George »

User avatar
Dinges
Tycoon
Tycoon
Posts: 2865
Joined: 07 Jan 2003 18:00
Location: Fryslân Boppe!
Contact:

Post by Dinges »

krtaylor wrote:Can you add information on how to do the TTDAlter information and build it into the GRF file (speed, years, name etc.)? Also how to use the fancy livery-override, tender-override, and now the contagious-power like the new ICE has?
I could write something like that. "Making GRF files for Dummies"
Dinges

Who is the other person in me?

my Blog (dutch) - my Last.fm profile

Owner of http://ttdgraphics.cjb.net/ ! Temp addr: http://ttdgraphics.owenrudge.com/
User avatar
Dinges
Tycoon
Tycoon
Posts: 2865
Joined: 07 Jan 2003 18:00
Location: Fryslân Boppe!
Contact:

Post by Dinges »

George wrote:have a look at http://ttd.cernun.net/graphicstutorial/
I put it in the tutorial
Dinges

Who is the other person in me?

my Blog (dutch) - my Last.fm profile

Owner of http://ttdgraphics.cjb.net/ ! Temp addr: http://ttdgraphics.owenrudge.com/
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

I looked at that page, and it's really good - "How to draw Sprites for Dummies." Now you need a "How to get those sprites into the game." Although it might be better to wait until the GRF-maker is ready.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
Turtle
Engineer
Engineer
Posts: 15
Joined: 06 Mar 2004 17:38
Location: Calif., USA

Post by Turtle »

Hi Dinges,

As I was reading your tutorial, I found some things that need some fixing :)

----------------------------------------------------------------------------
...how do you wan't to do it and what do you need to draw it :?:
...how do you want to do it, and what do you need to draw it in.


3. Click the files you wan't to decode, next
3. Click the files you want to decode, next


The right pallete should be selected, if not do so.
The pallete on the right should be selected. If not, do so.
('right' can be taken as 'correct' and might confuse some people. Never assume people will know what you're talking about when writing guides/tutorials... lots of dumb people out there :wink:)


1. Start up DOSpromt (winkey -> run, type: command)
1. Start up DOS prompt (winkey -> run, type: command)


This should now decode the file, wait till it is finished and close it.
This should now decode the file, wait till it is finished and then close it.


1. When using i.mage, you'le notice you have 2 windows,
1. When using i.mage, you'll notice you have 2 windows,


fill 500 in for width and 2000 for height and you'le get them
fill in 500 for the width and 2000 for the height and you'll get them


Reccomandation for this doing manualy:
Reccomandation for doing this manually:


Next up after the decoding is editing the graphics, I presume you use either I.mage or PSP for this. The first thing you need to do it find the sprite, PCX files are decoded in /sprites, so go there now. You'le see a .NFO file and one or more .PCX files which have the same name as the GRF file you decoded. Open up the PCX file(s) to find the sprite(s) you wan't to change.
[Made lots of changes on this one]
After the decoding process, you'll need to edit the graphics. I presume you'll be using either (i.mage or I.mage, keep it not sure which is correct, but it should be consistent) i.mage or PSP for this. The first thing you need to do is find the sprite, the PCX files are decoded in the \sprites directory. You'll see a .NFO file and one or more .PCX files which have the same name as the .GRF file you've decoded. Open the .PCX file(s) to find the sprite(s) you want to change.


Very Important: Write down the numbers off the sprites you are changing, it'll be handy later on.
Very Important: Write down the numbers off the sprites you are changing, you WILL need them later on.


George made an exelent tutorial for this:
George made an excellent tutorial for this:


After you edited the sprites, you must encode them again, this can be done in the following ways
After you've edited the sprites, you must encode them again. This can be done as follows:


Start up DOSpromt (winkey -> run, type: command)
Start up DOS prompt (winkey -> run, type: command)


Remember that this doesn't delete the NFO and PCX file, which you can still edit after the encoding.
Remember that this doesn't delete the .NFO or .PCX file, which you can still edit after the encoding.


You should now try to test it in TTD, do the colors look good:?: Is the scale allright etc. etc. When this is not okay, edit the files again (no need to decode again) to make them the way you wan't.
You should now try to test it in TTD. Do the colors look good:?: Is the scale alright:?: etc, etc... If something isn't right, edit the files again (no need to decode again) and make the necessary corrections.
----------------------------------------------------------------------------

Hope you don't mind me correcting you :roll:
Thanks for writing up this tutorial! :D
He who dies with the most toys wins! :D
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Turtle wrote:1. Start up DOS prompt (winkey -> run, type: command)
*blink, blink*
<WinKey-R> or Start -> Run.
And on WinXP (NT? 2k?) cmd is preferable to command.
New Graphics
Engineer
Engineer
Posts: 112
Joined: 10 Apr 2004 09:48
Location: Norway

Post by New Graphics »

Dinges I enjoyed your graphics tutorial and
i have created my first graphic.
:P
http://www.tt-forums.net/viewtopic.php? ... highlight=
:D

But I wonder have i make new graphics without draw over
old graphics :?:

Thanks :!:
Image Joint Operations Is a king game! Probely the best game ever =) Only 34.99$

----www.jointopsthegame.com----
User avatar
Dinges
Tycoon
Tycoon
Posts: 2865
Joined: 07 Jan 2003 18:00
Location: Fryslân Boppe!
Contact:

Post by Dinges »

Turtle wrote:Hi Dinges,

As I was reading your tutorial, I found some things that need some fixing :)

----------------------------------------------------------------------------
Big bunch of gramatical errors and enhancing comments.
----------------------------------------------------------------------------

Hope you don't mind me correcting you :roll:
Thanks for writing up this tutorial! :D
Thangks :!: I have fixed all of them I hope :wink:
Dinges

Who is the other person in me?

my Blog (dutch) - my Last.fm profile

Owner of http://ttdgraphics.cjb.net/ ! Temp addr: http://ttdgraphics.owenrudge.com/
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno »

As you might know Purno's Drawing Tutorials is online since some days. (at http://users.tt-forums.net/purno/PDT/index.php ). I wonder if it might be useful to mention this site somewhere in the tutorial?
Last edited by Purno on 26 Aug 2004 18:10, edited 1 time in total.
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
User avatar
fire87
Tycoon
Tycoon
Posts: 1381
Joined: 28 Jul 2004 14:58
Location: Skedsmokorset, Norway

Post by fire87 »

Purno.. The link you gave them is wrong, you added two letters that shouldn't be there..

http://users.tt-forums.net/purno/PDT/index.php

Just in case :wink:
Currently working on:

Norwegian (NSB) Trainset
Topic | Website
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno »

Thx, I changed it.
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
User avatar
Dinges
Tycoon
Tycoon
Posts: 2865
Joined: 07 Jan 2003 18:00
Location: Fryslân Boppe!
Contact:

Post by Dinges »

I have added a link to purno's site :wink:
Dinges

Who is the other person in me?

my Blog (dutch) - my Last.fm profile

Owner of http://ttdgraphics.cjb.net/ ! Temp addr: http://ttdgraphics.owenrudge.com/
maley123
Route Supervisor
Route Supervisor
Posts: 491
Joined: 29 Oct 2005 12:47

Post by maley123 »

ow sorry but i can't open the .pcx file
leader of a Maley's Deluxe Railset
User avatar
SpComb
Tycoon
Tycoon
Posts: 1109
Joined: 13 Nov 2003 20:26
Location: Finland
Contact:

Post by SpComb »

You can use Irfanview to view pcx files, and convert to PNG to edit them, if thats what you want to do.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 18 guests