Page 1 of 1
How to code new .grf's?
Posted: 12 Jan 2007 05:19
by tigerface
Hello all, this is my first post but I've been reading these forums for months.
Anyway, are there any better tutorials anywhere, than the wiki on making new grfs? I'd like to code from scratch because every time I try copying something already done I end up ruining all the graphics installed in my TTD

. If anyone could give me some hints or point me in the right direction I'd be very grateful. And when I can code I'd like to get involved in some of the cool projects you got going on here!
Heres a pic of a southeastern networker I knocked up earlier with help from Purnos drawing tutorial hope you like it!
Jr.

Re: How to code new .grf's?
Posted: 12 Jan 2007 06:33
by DaleStan
thanet-bomber wrote:Anyway, are there any better tutorials anywhere, than the wiki on making new grfs?
Not to my knowledge. Have you gotten to the point where the tutorial mentions NFORenum? If not, jump ahead, and read
that section, and then go back to where you were.
Re: How to code new .grf's?
Posted: 12 Jan 2007 10:57
by Purno
thanet-bomber wrote:
Heres a pic of a southeastern networker I knocked up earlier with help from Purnos drawing tutorial hope you like it!
Jr.

FYI, the image does not show up...
Re: How to code new .grf's?
Posted: 12 Jan 2007 10:59
by ISA
Purno wrote:thanet-bomber wrote:
Heres a pic of a southeastern networker I knocked up earlier with help from Purnos drawing tutorial hope you like it!
Jr.

FYI, the image does not show up...
FireFox show when You make right click on image and take show/view image

Posted: 12 Jan 2007 11:15
by Purno
Aye, strange, it works now.
Anyways, looks very good, but the front looks a bit weird in _ view. But I'd need a pic of the real thing to see if that's supposed to be.
Re: How to code new .grf's?
Posted: 12 Jan 2007 13:41
by GameR
ISA wrote:Purno wrote:thanet-bomber wrote:
Heres a pic of a southeastern networker I knocked up earlier with help from Purnos drawing tutorial hope you like it!
Jr.

FYI, the image does not show up...
FireFox show when You make right click on image and take show/view image

about this: just doawnload the latest version... there are no ploblems like this with that one
Posted: 12 Jan 2007 13:53
by tigerface
Yeah it does look a bit odd in _ view and also in the \ and / views I think I didnt really know what to do with it. I tried copying the EMU's in PikkaBirds UKRS set but theyre all squarer than this one. Here's a pic which has a fairly good angle:
http://www.freewebs.com/norwoodpark/nor ... den466.JPG
Anyway I'm not particuarly interested in being an artist I just drew this cos it's the horrible train I have to get to work every day

anyone got any tips on where to start with coding?
Jr.
Posted: 12 Jan 2007 13:57
by Purno
My suggestion;
Posted: 12 Jan 2007 14:02
by tigerface
did you edit that sprite? it's different to what I have on my computer!!
Posted: 12 Jan 2007 14:05
by Purno
Yeah, I edited the front, only a few pixels.
Posted: 12 Jan 2007 14:08
by tigerface
oh right thought so looks much better cheers! you're drawin tutorials are awesome that only took me about an hour to draw! if only there were tuts like that for coding I still can't get it in my game

Posted: 12 Jan 2007 14:10
by Purno
You *could* take a look at GRF Maker, it still requires you to know how NFO is put together, but makes things a little clear, and saves time on allignment...
Posted: 12 Jan 2007 14:11
by tigerface
Oh that sounds interesting I'll have a look for that and give it a go. Cheers mate!
Posted: 13 Jan 2007 02:30
by tigerface
GRFcodec says can't read truecolour PCX files. What does that mean? I only used the colours from the palette!?!
Posted: 13 Jan 2007 03:31
by Patchman
You need to save it as 256-color file.