Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Thu Jan 24, 2019 1:29 am

All times are UTC




Post new topic  Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Mon May 25, 2015 8:39 pm 
Offline
Moderator
Moderator
User avatar

Joined: Mon Dec 26, 2005 8:19 pm
Posts: 17171
Location: Harringay, North London
G'day!

I've done a REAL thing - I've only coded a chuffing train! (it doesn't chuff, though).

After the various BR Set meltdowns over the years, I am in possession of a repository of sprites which are also available in a couple of places online.

I've taken my favourite Class 153 and used it to learn how to code with NML.

I attach an Alpha grf with:
A Class 153 in Regional Railways livery (its original colours)

I'm NOT going to put it on Bananas JUST YET. But it will go on.

Attachment:
class153-rr.png
class153-rr.png [ 99.27 KiB | Viewed 5455 times ]


Features:
- I have given it 36 passengers - 1/2 of the real life capacity. This is the only game balancing I have attempted (and will do the same for any further British stuff I do).
- Lights work correctly (white headlights, red tail lights)

There are the following issues:
- The purchase and running costs are NOT aligned with any set, including the default.

I would like to add:
- Livery refits to match the colours 153s have held since the end of British Rail.
- More balanced costs.

I have made the following assumptions about the sprites:
- As per all the work which was drawn for the BR Set, BROS, etc, I have assumed a GPL v2 License exists on the sprites.
- Even if it does not, I've taken the liberty of coding the sprites anyway - I imagine there'll be very few objections to this.
- I am not getting into a copyright argument - considering the number of sprites floating around the forum "awaiting a coder" I'd hope this was welcomed!

Most importantly:
The sprites in the repository were not identified by artist. As such I've used a pseudonym: Brian Robert Sett (B. R. Sett) as the graphical artist. I intend to do this for any of the BR Set stuff I eventually come round to code. If you can show me that you or someone else did the graphical work, I will change the credits to reflect that.

Attachment:
scuds.grf [2.45 KiB]
Downloaded 118 times

_________________
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...


Last edited by Dave on Sat May 30, 2015 11:18 am, edited 3 times in total.

Top
   
PostPosted: Mon May 25, 2015 9:01 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun Sep 10, 2006 7:12 pm
Posts: 7021
Location: Adwick-Le-Street.
Nice start Dave, now get cracking with the rest.......

_________________
|||| My OTTD/TTDP pics ||||Currently slighty obsessed with getting Platinum Trophies||||Retired moderator||||


Top
   
PostPosted: Mon May 25, 2015 9:07 pm 
Offline
General Forums Moderator
General Forums Moderator
User avatar

Joined: Wed Aug 04, 2010 3:48 pm
Posts: 7434
Location: Manchester
Looking good Dave! Hope to see more shortly :)

_________________
POTM August 2012 Joint Winner
My Screenshot Thread


Top
   
PostPosted: Mon May 25, 2015 9:11 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 31, 2007 2:23 pm
Posts: 4739
Location: Lost in Music
Do a Scooby-Doo next, then you can learn how to code pax / mail refits, also cargo loading states :twisted:


Attachments:
File comment: Shaggy-do
slammer_0.png
slammer_0.png [ 4.88 KiB | Viewed 5870 times ]

_________________
FIRS Industry Replacement Set (Released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (Finished)
Squid Ate FISH (ships) (Released) | CHIPS Has Improved Players' Stations (Finished)
Iron Horse (trains, released) | Termite (tracks for Iron Horse, released) | Busy Bee (game script, released)

Road Hog (road vehicles, released)
Top
   
PostPosted: Tue May 26, 2015 2:20 am 
Offline
Graphics Moderator
Graphics Moderator
User avatar

Joined: Mon Sep 13, 2004 1:21 pm
Posts: 5312
Location: The Moon
Dave wrote:
- Whoever drew the Regional Railways livery managed to use a company colour, so the light blue stripe goes the colour of your company.


Returning PALETTE_CC_DARK_BLUE for the colour_mapping callback should fix that. :)

_________________
Pikkarail.com blog | Patreon
Dev reference: NML Specs - NewGRF Specs - Savegame Internals - NoAi API - NoGo API


Top
   
PostPosted: Wed May 27, 2015 10:16 am 
Offline
Engineer
Engineer

Joined: Thu Jan 26, 2012 7:47 pm
Posts: 50
greetings.

it seems a little bit misaligned?! have you tested it with other grfs? but good work at all.


Top
   
PostPosted: Wed May 27, 2015 10:56 am 
Offline
Moderator
Moderator
User avatar

Joined: Mon Dec 26, 2005 8:19 pm
Posts: 17171
Location: Harringay, North London
kackofant wrote:
greetings.

it seems a little bit misaligned?! have you tested it with other grfs? but good work at all.


It almost certainly is. I'm going to look into it at the weekend - I'd like to get this one as close to right as I'm able before moving on.

Thanks for the comments, everyone.

_________________
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...


Top
   
PostPosted: Sat May 30, 2015 10:54 am 
Offline
Moderator
Moderator
User avatar

Joined: Mon Dec 26, 2005 8:19 pm
Posts: 17171
Location: Harringay, North London
I've corrected the issues I laid out above, I think. First post updated.

Pikka's kind advice has been implemented, I've compared the alignment with the passenger carriages of OpenGFX and corrected accordingly, and I've also shuffled the sprites now so the head and tail lights are all aligned (although still only number 1 end - I'm not convinced having asymmetrical views is all that worth it, but we'll see.

The costs are still off but I'm ITERATING MY WORK AND SHEEEEEEEY- well you know the rest.

There's an updated GRF and image in first post - also below with all units reversed so you can see the different lights!

Rather pleased :)

Attachment:
class153-rr-rev.png [105.65 KiB]
Downloaded 5 times


And here's an example of how you might use one. 43201 and 43204 depart the city of Burley with a passenger train north, while 47430 loads mail in the station. 150204 is on the TMD with 37437 and some passenger carriages.

And there, in all its glory - 153311 serves the small village of Porthouse!

Attachment:
class153-example.png [761.75 KiB]
Downloaded 5 times

_________________
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...


Top
   
PostPosted: Tue Jun 02, 2015 9:52 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Feb 07, 2004 1:51 am
Posts: 5543
Location: East Coast MainLine
Very neat! I assume a larger capacity isn't possible due to loading speed of a small vehicle?

_________________
Soccer Mad Boffins
Watch my YouTube Channel


Top
   
PostPosted: Mon Mar 21, 2016 1:30 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu Mar 19, 2009 7:25 pm
Posts: 2621
Location: Kent
Necro! Looking good Dave! Was there anymore progress with this?

_________________
Image


Top
   
PostPosted: Mon Mar 28, 2016 9:32 am 
Offline
Moderator
Moderator
User avatar

Joined: Mon Dec 26, 2005 8:19 pm
Posts: 17171
Location: Harringay, North London
Nope. But maybe when I come back round to playing again. I'm in a cycle of not doing so atm...!

_________________
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...


Top
   
PostPosted: Sun Apr 10, 2016 9:26 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Tue Oct 16, 2007 11:08 am
Posts: 1037
Location: Perth, Western Australia
Anything Sprinterish, chances were it was me. Consider my borking of CCs as proof, I guess? (my HDD crashed so I have no backup of sprites to back that up).

_________________
Image


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 12 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2019 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2019.
Hosted by Zernebok Hosting.