Page 1 of 1

PCX Developement

Posted: 12 Jul 2008 23:46
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 =)

Re: PCX Developement

Posted: 13 Jul 2008 01:27
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

Re: PCX Developement

Posted: 13 Jul 2008 08:43
by LordAzamath
And to the answer of your question, any decent drawing program has an ability to save as PCX or export as PCX.

Re: PCX Developement

Posted: 13 Jul 2008 19:22
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

Re: PCX Developement

Posted: 14 Jul 2008 02:01
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