Jonty's Graphics [Now Drawing and Coding! Feed me Sprites!]

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

csuke
Transport Coordinator
Transport Coordinator
Posts: 361
Joined: 05 Jun 2004 18:48
Location: London UK

Post by csuke »

if you post up the finished sprites then i can code it for you right now :D
Image
User avatar
jonty-comp
Tycoon
Tycoon
Posts: 2542
Joined: 22 Oct 2005 16:05
Location: Chesterfield, England
Contact:

Post by jonty-comp »

Sorry I didn't reply sooner, I came off straight after posting the 'A-HA!' message. I haven't got a program that saves PCX files, so I've just posted the one with the fixes you made. Hope you don't mind! :)
csuke
Transport Coordinator
Transport Coordinator
Posts: 361
Joined: 05 Jun 2004 18:48
Location: London UK

Post by csuke »

here it is:
Attachments
pacer.grf
(3.65 KiB) Downloaded 290 times
Image
User avatar
jonty-comp
Tycoon
Tycoon
Posts: 2542
Joined: 22 Oct 2005 16:05
Location: Chesterfield, England
Contact:

Post by jonty-comp »

Yay! :P Thanks csuke! My first train! In the game! I'm getting carried away!

I've not been on much recently, because I've broken and then fixed my PC a couple of times. It's fixed now though, so I'm back! :D
User avatar
jonty-comp
Tycoon
Tycoon
Posts: 2542
Joined: 22 Oct 2005 16:05
Location: Chesterfield, England
Contact:

Post by jonty-comp »

Looks great! :D Just a few questions though:

- It looks like it's a few pixels out of alignment with the track; is this because the blue boxes I put around the sprites is larger than the ones in the TTD GRFs?
- It was supposed to be in both company colours, but it isn't, only the blue shade it was coloured in. The page in the Wiki said I should colour the carriages this colour and TTD would replace it with the company colour. Same for the 2nd colour. Is this my error, i.e. choosing the wrong colour, or do you need some extra code in the NFO to make it company-colour compatible?

Still looks great, though! :wink:
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Bit 1 of the misc-flags property (27/1C/17/17) must be set for a vehicle to use 2CC.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
jonty-comp
Tycoon
Tycoon
Posts: 2542
Joined: 22 Oct 2005 16:05
Location: Chesterfield, England
Contact:

Post by jonty-comp »

Is that for the first company colour as well? I don't want to make any excess work for anyone. If it needs some coding, then I'll just recolour it back to yellow. :?

I've also got some initial ideas for different liveries from British railway companies that utilise the 2 company colours. For instance, if the player wanted an Arriva train, they would refit it to that livery and the patterns on the sides would be drawn in their colours. Just an idea, though.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

The main CC is applied by default, but the secondary CC needs that bit set so the second CC isn't unceremoniously dumped on vehicles that are not supposed to be CC. (eg those in USSet, DBSet[XL], &c.)
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
jonty-comp
Tycoon
Tycoon
Posts: 2542
Joined: 22 Oct 2005 16:05
Location: Chesterfield, England
Contact:

Post by jonty-comp »

So have I coloured the sprites wrong then, because I only get the blue they are, no matter which company colour I choose. :?
csuke
Transport Coordinator
Transport Coordinator
Posts: 361
Joined: 05 Jun 2004 18:48
Location: London UK

Post by csuke »

edit: yep, you've used the standard blues instead of the cc ones
Image
User avatar
jonty-comp
Tycoon
Tycoon
Posts: 2542
Joined: 22 Oct 2005 16:05
Location: Chesterfield, England
Contact:

Post by jonty-comp »

Oops! :oops: I'll try again. :?
User avatar
jonty-comp
Tycoon
Tycoon
Posts: 2542
Joined: 22 Oct 2005 16:05
Location: Chesterfield, England
Contact:

Post by jonty-comp »

Sorry, I've not done it yet, what with my PC problems, Christmas and everything. Watch this space, though! I'm also going to try and start a village station like the one in the picture a few pages ago. :D

Oh, and Merry Christmas everyone! :lol:
User avatar
jonty-comp
Tycoon
Tycoon
Posts: 2542
Joined: 22 Oct 2005 16:05
Location: Chesterfield, England
Contact:

Post by jonty-comp »

OK, I'm back!:mrgreen:

I've had a go at drawing one of the sprites for the station platform I posted a pic of a few pages ago, but my PC is completely buggered at the moment and FF crashes when I try and add an attachment, so you can't see it yet. I'm hoping to have fixed it by this time tomorrow, though! :D

P.S. I know everyone says that you should finish a train to perfection before starting a new one, but I can't modify the Pacer at the moment because I lost it from the backup and FF also crashes when I try to copy it into SpriteEdit.

Stupid computers :evil:...

EDIT: OK, I've kind of fixed it...
Attachments
The idea is that the hut goes in the middle of any station.  I'm also going to do ramps that go down to track level at each end.
The idea is that the hut goes in the middle of any station. I'm also going to do ramps that go down to track level at each end.
stations.png (1.42 KiB) Viewed 5165 times
User avatar
jonty-comp
Tycoon
Tycoon
Posts: 2542
Joined: 22 Oct 2005 16:05
Location: Chesterfield, England
Contact:

Post by jonty-comp »

UPDATE: Changed the red to Company Colour (I'm sure it's CC this time:- I used Szappy's SpriteEdit and it tells you which is CC:D)
Added some small bits of second company colour, but SpriteEdit doesn't say which 2CC is (understandably) so I don't know if it's right. Anyway, it looks OK without 2CC.
Did the first south ramp. Slopes are difficult! Also added a little dirt path going to a company-coloured gate. It looks so English! :lol:

When I'm done (all views:- might take a while!), I would be really happy if someone/some people would code it, as an English Country station. Then, perhaps I could work in collaberation with PikkaBird on his UKRS, or with the people who are making the BR set (if it's still going)!

:bow: Hooray for TTD Graphics! :bow:

P.S. I know there's no picture attached... PC's broken again :cry:
User avatar
jonty-comp
Tycoon
Tycoon
Posts: 2542
Joined: 22 Oct 2005 16:05
Location: Chesterfield, England
Contact:

Post by jonty-comp »

Bit quiet around here at the moment...
Five posts in a row! :?

Anyway, I've fixed my PC for now, and here's the south ramp:
Attachments
stations.PNG
stations.PNG (2.5 KiB) Viewed 5110 times
peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1728
Joined: 30 Mar 2005 09:43

Post by peter1138 »

Excellent. I was thinking of doing something similar myself, until I remembered that I can't draw...
He's like, some kind of OpenTTD developer.
User avatar
jonty-comp
Tycoon
Tycoon
Posts: 2542
Joined: 22 Oct 2005 16:05
Location: Chesterfield, England
Contact:

Post by jonty-comp »

Phew, updates thick and fast! I was talking to Aegir in IRC, and he told me the hut went outside sprite limits, so I've made all the platforms more compact:
Attachments
stations.PNG
stations.PNG (2.6 KiB) Viewed 5060 times
User avatar
lobster
Tycoon
Tycoon
Posts: 5667
Joined: 21 Dec 2003 23:30
Location: Atlantic Ocean
Contact:

Post by lobster »

that looks excellent!
"Your mother was a lobster, and your father... was also a lobster" -- The rascal formerly known as astath -- Last.fm -- Official TT-Dave Worley Fan Club

Image

<orudge> make love to me while I surf, dear lobster
User avatar
The Irish
Tycoon
Tycoon
Posts: 2092
Joined: 14 Apr 2004 16:06
Location: Bonn, Germany
Contact:

Post by The Irish »

Very nice, I like the ramps.

There is a problem however, with the trains. The trains won't be stopping at the end of the yellow lines, but rather drive all the way to the end, so they will stop on the ramp with the first two carriages. Or you code them as non accessible station tile, but that means that you can't use it as drivetrough stations, only for terminus, which would make no sense for such a layout.
*** Ce French Train Set ***
*** Visit my transport related pictures on Flickr ***
ImageImageImageImageImage
Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch
"A committee is a group of men who individually can do nothing but as a group decide that nothing can be done" (Fred Allen 1894-1956 US radio comic).
User avatar
jonty-comp
Tycoon
Tycoon
Posts: 2542
Joined: 22 Oct 2005 16:05
Location: Chesterfield, England
Contact:

Post by jonty-comp »

I know, but I'm going to suggest some new kind of handling, where the GRF chooses a tile to stop at, instead of just going to the end. That would also work for most NewStations, i.e. in MB's NewStations, the user could choose to make the train stop at the end of the glass hall, instead of the end of the platform.

Do you get what I mean? :roll:
I'll put it in 'Suggestions' soon...
Post Reply

Return to “Graphics Development”

Who is online

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