PCX Developement

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

Post Reply
RedLobster
Engineer
Engineer
Posts: 5
Joined: 11 Jul 2008 12:05

PCX Developement

Post by RedLobster »

Hey there,

i wanna get into this grf coding but I am right now really on sub zero level ...
i found some of the tuts and read little of it ... kind of confusing ...

acctually a hard part will be the learning of the nfo coding but right now i am at the stage to try my graphic capability ...

i wanna design a new grf like a station ...

i know that a tile has a certain size ... and my station will use a certain nummer of tiles ...
i can draw all the single tiles as a png ... but how to get them into the pcx files ?
do they have to be single and a programm will combine them into one or do i have to collect them in one file ?

i hope i didnt miss any question ...

thanks for helping me ...

greetz

ps: may be in future i succedd the sub zero level =)
User avatar
Lakie
TTDPatch Developer
TTDPatch Developer
Posts: 1799
Joined: 26 May 2004 16:37
Location: Britain
Contact:

Re: PCX Developement

Post by Lakie »

I suggest for a starting point you design your station, knowing how many tiles wide and long it will be.
Next you draw and design the structure within that space, ultimately splitting it into tile groupings (the graphics that will be used for that tile in the station), with them sub-divided in 'infront' and 'behind' the trains sprites (graphics).

After doing all that, then I suggest looking at doing the coding or having someone help you by doing it for you. :)

~ Lakie
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
LordAzamath
Tycoon
Tycoon
Posts: 1656
Joined: 08 Jun 2007 08:00

Re: PCX Developement

Post by LordAzamath »

And to the answer of your question, any decent drawing program has an ability to save as PCX or export as PCX.
PS: And I stopped the propaganda to support Dave Worley since he got a nice new red hat now.[/color]
I know I have a BBCode error in my signature but I really cba to fix it.
RedLobster
Engineer
Engineer
Posts: 5
Joined: 11 Jul 2008 12:05

Re: PCX Developement

Post by RedLobster »

may be u missunderstood my question ... i got such paint progtramm like cs3 ...

but i wanted to know how it works with the pcx ...


cuz when i decode a grf and open the pcx ... there are the tile pics sorted by number ...
is that done by urself or do u have to use a programm ... and du u have to tell then pngcoder where that tile pic is on that pcx file z????

grteetz
User avatar
belugas
OpenTTD Developer
OpenTTD Developer
Posts: 1507
Joined: 05 Apr 2005 01:48
Location: Deep down the deepest blue
Contact:

Re: PCX Developement

Post by belugas »

RedLobster wrote:may be u missunderstood my question ... i got such paint progtramm like cs3 ...
May I point out that good english would be better than the one you are using?
wanna -> want to
tuts -> tutorials
u -> you
cuz -> because
urself -> yourself
This is not the street. So, please, be a bit more... "normal english"?
RedLobster wrote:cuz when i decode a grf and open the pcx ... there are the tile pics sorted by number ...
is that done by urself or do u have to use a programm ...
This is done by grfcodec itself. When you are encoding a file, you do not need to draw the numbers above the images. It's the order in which it appears in the nfo file that determines it.
RedLobster wrote: and du u have to tell then pngcoder where that tile pic is on that pcx file z????
Yes, exactly, by defining the said order, as I said earlier, in the nfo file.
So you need two files:
1) nfo : contains the definition of the images, as well as some more code, like properties of station, events and more
2) pcx : the graphics that you have created

Greetings to you too
If you are not ready to work a bit for your ideas, it means they don't count much for you.
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Ahrefs [Bot] and 10 guests