Page 1 of 1

SCUDS - Single Carriage Units by Dave (ALPHA)

Posted: 25 May 2015 20:39
by Dave
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.
class153-rr.png
class153-rr.png (99.27 KiB) Viewed 9106 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.
scuds.grf
(2.45 KiB) Downloaded 261 times

Re: SCUDS - Single Carriage Units by Dave (ALPHA)

Posted: 25 May 2015 21:01
by Badger
Nice start Dave, now get cracking with the rest.......

Re: SCUDS - Single Carriage Units by Dave (ALPHA)

Posted: 25 May 2015 21:07
by Pilot
Looking good Dave! Hope to see more shortly :)

Re: SCUDS - Single Carriage Units by Dave (ALPHA)

Posted: 25 May 2015 21:11
by andythenorth
Do a Scooby-Doo next, then you can learn how to code pax / mail refits, also cargo loading states :twisted:

Re: SCUDS - Single Carriage Units by Dave (ALPHA)

Posted: 26 May 2015 02:20
by PikkaBird
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. :)

Re: SCUDS - Single Carriage Units by Dave (ALPHA)

Posted: 27 May 2015 10:16
by kackofant
greetings.

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

Re: SCUDS - Single Carriage Units by Dave (ALPHA)

Posted: 27 May 2015 10:56
by Dave
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.

Re: SCUDS - Single Carriage Units by Dave (ALPHA)

Posted: 30 May 2015 10:54
by Dave
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 :)
class153-rr-rev.png
class153-rr-rev.png (105.65 KiB) Viewed 1016 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!
class153-example.png
class153-example.png (761.75 KiB) Viewed 1016 times

Re: SCUDS - Single Carriage Units by Dave (ALPHA)

Posted: 02 Jun 2015 21:52
by Kevo00
Very neat! I assume a larger capacity isn't possible due to loading speed of a small vehicle?

Re: SCUDS - Single Carriage Units by Dave (ALPHA)

Posted: 21 Mar 2016 13:30
by Leanden
Necro! Looking good Dave! Was there anymore progress with this?

Re: SCUDS - Single Carriage Units by Dave (ALPHA)

Posted: 28 Mar 2016 09:32
by Dave
Nope. But maybe when I come back round to playing again. I'm in a cycle of not doing so atm...!

Re: SCUDS - Single Carriage Units by Dave (ALPHA)

Posted: 10 Apr 2016 09:26
by Doorslammer
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).