My coding trials. [REL] = Class 180(PAX WAGONS)

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
SkeedR
Tycoon
Tycoon
Posts: 2244
Joined: 11 Jul 2004 14:55
Location: West Midlands
Contact:

My coding trials. [REL] = Class 180(PAX WAGONS)

Post by SkeedR » 23 Jun 2006 15:16

i have been tring to learn how to code _again_. Difference is i have till september to do nothing. so, i got an image of a train, got the specs, and when it came to decoding it first time, this is what happened.
Any help would be greatly appreciated.

Woo! I have just finished the basics of the Class 180.
Windows ONLY!

[EDIT] Thanks to pikka it now comes with a passenger wagon!
W00T!!!
Attachments
train2.grf
With Thanks to Pikka!
(2.33 KiB) Downloaded 316 times
train2.png
train2.png (2 KiB) Viewed 4694 times
train2.grf
(1.66 KiB) Downloaded 192 times
Last edited by SkeedR on 26 Jun 2006 13:27, edited 4 times in total.
Last known as: Weirdy

User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5388
Joined: 13 Sep 2004 13:21
Location: The Moon
Contact:

Post by PikkaBird » 23 Jun 2006 15:23

Well, obviously your positions and sizes you're using for your real sprites are wrong...

User avatar
SkeedR
Tycoon
Tycoon
Posts: 2244
Joined: 11 Jul 2004 14:55
Location: West Midlands
Contact:

Post by SkeedR » 23 Jun 2006 15:24

brilliant, so how do i fix it?
Last known as: Weirdy

User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5388
Joined: 13 Sep 2004 13:21
Location: The Moon
Contact:

Post by PikkaBird » 23 Jun 2006 15:27

http://wiki.ttdpatch.net/tiki-index.php ... ealSprites

Specifically, read up about xpos, ypos, ysize, and xsize.

User avatar
SkeedR
Tycoon
Tycoon
Posts: 2244
Joined: 11 Jul 2004 14:55
Location: West Midlands
Contact:

Post by SkeedR » 23 Jun 2006 15:46

now i get this!
Attachments
train2.pcx
(2.21 KiB) Downloaded 184 times
Last known as: Weirdy

User avatar
Purno
Tycoon
Tycoon
Posts: 16663
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno » 23 Jun 2006 15:50

Not really related to your problem, but weirdy, why don't you PM Szappy and ask for a copy of GRFMaker? It saves you a lot of time compared to manually adjusting xpos/ypos and such.
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
SkeedR
Tycoon
Tycoon
Posts: 2244
Joined: 11 Jul 2004 14:55
Location: West Midlands
Contact:

Post by SkeedR » 23 Jun 2006 16:06

heres my nfo!
Attachments
train2.nfo.txt
(920 Bytes) Downloaded 162 times
Last known as: Weirdy

User avatar
SkeedR
Tycoon
Tycoon
Posts: 2244
Joined: 11 Jul 2004 14:55
Location: West Midlands
Contact:

Post by SkeedR » 24 Jun 2006 17:00

Screeny!
Attachments
SCR2.jpg
SCR2.jpg (2.74 KiB) Viewed 4617 times
Last known as: Weirdy

User avatar
StopRightThere
Chief Executive
Chief Executive
Posts: 761
Joined: 18 Dec 2005 20:10
Location: United Kingdom

Post by StopRightThere » 24 Jun 2006 17:09

Nice! Is this going to be part of the BR Set?
Bye Bye OpenBVE :(
Official TT-Hot young ginger Doctor Who assistant FanClub
Formerly known as AdditionalData

User avatar
SkeedR
Tycoon
Tycoon
Posts: 2244
Joined: 11 Jul 2004 14:55
Location: West Midlands
Contact:

Post by SkeedR » 24 Jun 2006 17:23

depends what Dave Worley says, BTW, i won't be back till tomorrow.
Please post comments and suggestions and i'll see them then!
Have fun! :P
Last known as: Weirdy

User avatar
Dave
Moderator
Moderator
Posts: 17203
Joined: 26 Dec 2005 20:19
Location: Harringay, North London
Contact:

Post by Dave » 24 Jun 2006 18:54

It certainly looks nice. What information d'you have on it?
Official TT-Dave Fan Club

Dave's Screenshot Thread! - Albion: A fictional Britain
Flickr


Why be a song when you can be a symphony? r is a...

User avatar
SkeedR
Tycoon
Tycoon
Posts: 2244
Joined: 11 Jul 2004 14:55
Location: West Midlands
Contact:

Post by SkeedR » 25 Jun 2006 08:56

everything.
Last known as: Weirdy

User avatar
Dave
Moderator
Moderator
Posts: 17203
Joined: 26 Dec 2005 20:19
Location: Harringay, North London
Contact:

Post by Dave » 25 Jun 2006 09:27

Where does the 180 operate specifically?
Official TT-Dave Fan Club

Dave's Screenshot Thread! - Albion: A fictional Britain
Flickr


Why be a song when you can be a symphony? r is a...

User avatar
jvassie
Tycoon
Tycoon
Posts: 3420
Joined: 18 Dec 2002 18:00
Location: High Wycombe, England
Contact:

Post by jvassie » 25 Jun 2006 14:55

Between London Paddington and Bristol Temple Meads as far as i know, they are owned and operated by First Great Western Ltd.

Operated in 5-car sets normally, which can be couple in to a 10-car train to provide extra capacity.

James
(British) Modular Stations Set - Thread: | Website:
Swiss Set - Thread: | Website:
Route Map Creator
Image

User avatar
Dave
Moderator
Moderator
Posts: 17203
Joined: 26 Dec 2005 20:19
Location: Harringay, North London
Contact:

Post by Dave » 25 Jun 2006 17:33

Well, Weirdy, add me a passenger carriage and it's in!

Are there any objections to that?
Official TT-Dave Fan Club

Dave's Screenshot Thread! - Albion: A fictional Britain
Flickr


Why be a song when you can be a symphony? r is a...

User avatar
Dave
Moderator
Moderator
Posts: 17203
Joined: 26 Dec 2005 20:19
Location: Harringay, North London
Contact:

Post by Dave » 25 Jun 2006 17:48

Double post... sorry.

The single suggestion I would make is that the front of the End cars are a little too pointed.

I'm not trying to say it's crap - Because you've really nailed the colour scheme, but d'you think there's anyway you could shorten the pointed ends?

http://en.wikipedia.org/wiki/British_Rail_Class_180

There's the link for those who want info on it.

EDIT: I think I might have been a little hasty with the pointiness issue, but I'm of the humble opinion (which of course is to be disagreed with) that the real thing looks a little more rounded.

Looks awesome though, as I said! It's in!
Official TT-Dave Fan Club

Dave's Screenshot Thread! - Albion: A fictional Britain
Flickr


Why be a song when you can be a symphony? r is a...

User avatar
SkeedR
Tycoon
Tycoon
Posts: 2244
Joined: 11 Jul 2004 14:55
Location: West Midlands
Contact:

Post by SkeedR » 26 Jun 2006 08:03

i'll try and add the pax car at some point (going away till friday, tommorrow)
Only, i didnt draw it dave. It's one from Prof.Frinks site. :D
Last known as: Weirdy

User avatar
Dave
Moderator
Moderator
Posts: 17203
Joined: 26 Dec 2005 20:19
Location: Harringay, North London
Contact:

Post by Dave » 26 Jun 2006 10:31

Oh... yeah! I see now :P.

Well, it's up to you if you want to draw the passenger carriage - otherwise it'd be nice if the owner of those sprites would step forward.
Official TT-Dave Fan Club

Dave's Screenshot Thread! - Albion: A fictional Britain
Flickr


Why be a song when you can be a symphony? r is a...

User avatar
SkeedR
Tycoon
Tycoon
Posts: 2244
Joined: 11 Jul 2004 14:55
Location: West Midlands
Contact:

Post by SkeedR » 26 Jun 2006 11:36

Eh Hmm?

It's the whole thing, pax wagons included.
Last known as: Weirdy

User avatar
SkeedR
Tycoon
Tycoon
Posts: 2244
Joined: 11 Jul 2004 14:55
Location: West Midlands
Contact:

Post by SkeedR » 26 Jun 2006 13:28

Here you go Dave, passenger wagon as livery overide.
Last known as: Weirdy

Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 5 guests