[OTTD] Belgian Train Set ~ Development thread

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
Nondidjos
Engineer
Engineer
Posts: 36
Joined: 05 Sep 2017 18:35
Location: Wavre, Belgium

Re: [OTTD] Belgian Train Set ~ Development thread

Post by Nondidjos »

Bob_Mackenzie wrote:
michael blunck wrote:
andythenorth wrote: Looks like you get 30 days in regular dropbox
Would be the first set finished in <= 30 days.

regards
Michael
At the risk of going way off topic that sounds like the ideal challenge for e forum "group build" like they have on a modelling sites. A sort of competition to do a fully working grf in 1 month. :D
that could be fun :D scared it will feel un-finished and sprited in too many different styles to be consistent and an actual great thing to play with, but like a ¨trains from the world¨ grf only using fresh code and sprites could be real fun eitherway
I sprite sometimes, currently working on the BTS (Belgian Train Set) and a World War GRF (kinda).

Discord; 'nondidjos#8585
User avatar
Nondidjos
Engineer
Engineer
Posts: 36
Joined: 05 Sep 2017 18:35
Location: Wavre, Belgium

Re: [OTTD] Belgian Train Set ~ Development thread

Post by Nondidjos »

Little update on the AM 96's sprite, hope you like it!

Image

PS: The powered wagons are already coded in, next up will be the older AM 75 that is using a similar mechanic

Cheers, Noni.
Last edited by Nondidjos on 16 Sep 2017 19:09, edited 1 time in total.
I sprite sometimes, currently working on the BTS (Belgian Train Set) and a World War GRF (kinda).

Discord; 'nondidjos#8585
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: [OTTD] Belgian Train Set ~ Development thread

Post by NekoMaster »

Nondidjos wrote:
Bob_Mackenzie wrote:
michael blunck wrote: Would be the first set finished in <= 30 days.

regards
Michael
At the risk of going way off topic that sounds like the ideal challenge for e forum "group build" like they have on a modelling sites. A sort of competition to do a fully working grf in 1 month. :D
that could be fun :D scared it will feel un-finished and sprited in too many different styles to be consistent and an actual great thing to play with, but like a ¨trains from the world¨ grf only using fresh code and sprites could be real fun eitherway
I wouldn't mind, I'd like to think that we could knock out a lot of stuff if we had a bunch of people trying, and then afterwards me and you or the original artist can polish and tweak things to improve the quality and hopefully try and make things look similar to everything else.

To be fair though, we already have a bit of a mash up of several different styles, so I guess it wont be too bad so long as certain features remain similar like the pantographs, the wheels, and the sprite sizes.
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
User avatar
Gwyd
Chief Executive
Chief Executive
Posts: 721
Joined: 17 Apr 2017 16:52
Location: Western Ile-de-France Region

Re: [OTTD] Belgian Train Set ~ Development thread

Post by Gwyd »

OoO did someone say GRF competition? I'm interested.
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: [OTTD] Belgian Train Set ~ Development thread

Post by NekoMaster »

Gwyd wrote:OoO did someone say GRF competition? I'm interested.
Well I dunno if can get a full working GRF out in a month, but perhaps we could see how much we can get done in a month if people chip in.

On the data sheet I already have stuff marked off that we have sprites for though I would like to replace all of the 2cc trains stuff if possible.
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
User avatar
Bob_Mackenzie
Chairman
Chairman
Posts: 823
Joined: 25 Mar 2010 13:36

Re: [OTTD] Belgian Train Set ~ Development thread

Post by Bob_Mackenzie »

Because its a month you'd need to think quite hard before you started how big it was going to be. I'd suggest small and sweet would be the way to go :)
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: [OTTD] Belgian Train Set ~ Development thread

Post by NekoMaster »

Updated the vehicle list image on the first post.

Though I dunno why the AM 96 is out of order. I had the same issue with the NARS Add-on Set 2cc, some things just dont want to follow the vehicle sorting and end up in random places.
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
Transportman
Tycoon
Tycoon
Posts: 2781
Joined: 22 Feb 2011 18:34

Re: [OTTD] Belgian Train Set ~ Development thread

Post by Transportman »

NekoMaster wrote:Updated the vehicle list image on the first post.

Though I dunno why the AM 96 is out of order. I had the same issue with the NARS Add-on Set 2cc, some things just dont want to follow the vehicle sorting and end up in random places.
You might want to check your naming conventions, the item name in the vehicle definition itself starts with item_, while in the vehicle sort and id files it starts with ITEM_, so those files are basically talking about different vehicles, which can lead to unexpected results.
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: [OTTD] Belgian Train Set ~ Development thread

Post by NekoMaster »

Transportman wrote:
NekoMaster wrote:Updated the vehicle list image on the first post.

Though I dunno why the AM 96 is out of order. I had the same issue with the NARS Add-on Set 2cc, some things just dont want to follow the vehicle sorting and end up in random places.
You might want to check your naming conventions, the item name in the vehicle definition itself starts with item_, while in the vehicle sort and id files it starts with ITEM_, so those files are basically talking about different vehicles, which can lead to unexpected results.
I just use ITEM_ for both and it seems to work for most things.

Example

ITEM_SNCB_CLASS_AM_96

vehicle sort
ITEM_ELECTRIC_MU_SNCB_CLASS_AM_96, /*Year: 1996*/ \

vehicle id
item(FEAT_TRAINS, ITEM_DIESEL_MU_SNCB_CLASS_41, 7000) {}
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
Transportman
Tycoon
Tycoon
Posts: 2781
Joined: 22 Feb 2011 18:34

Re: [OTTD] Belgian Train Set ~ Development thread

Post by Transportman »

NekoMaster wrote:
Transportman wrote:
NekoMaster wrote:Updated the vehicle list image on the first post.

Though I dunno why the AM 96 is out of order. I had the same issue with the NARS Add-on Set 2cc, some things just dont want to follow the vehicle sorting and end up in random places.
You might want to check your naming conventions, the item name in the vehicle definition itself starts with item_, while in the vehicle sort and id files it starts with ITEM_, so those files are basically talking about different vehicles, which can lead to unexpected results.
I just use ITEM_ for both and it seems to work for most things.

Example

ITEM_SNCB_CLASS_AM_96

vehicle sort
ITEM_ELECTRIC_MU_SNCB_CLASS_AM_96, /*Year: 1996*/ \

vehicle id
item(FEAT_TRAINS, ITEM_DIESEL_MU_SNCB_CLASS_41, 7000) {}
You didn't do it for the AM 96, there you use item_ for the last case. This is what probably breaks sorting.
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: [OTTD] Belgian Train Set ~ Development thread

Post by NekoMaster »

Transportman wrote:
NekoMaster wrote:
Transportman wrote: You might want to check your naming conventions, the item name in the vehicle definition itself starts with item_, while in the vehicle sort and id files it starts with ITEM_, so those files are basically talking about different vehicles, which can lead to unexpected results.
I just use ITEM_ for both and it seems to work for most things.

Example

ITEM_SNCB_CLASS_AM_96

vehicle sort
ITEM_ELECTRIC_MU_SNCB_CLASS_AM_96, /*Year: 1996*/ \

vehicle id
item(FEAT_TRAINS, ITEM_DIESEL_MU_SNCB_CLASS_41, 7000) {}
You didn't do it for the AM 96, there you use item_ for the last case. This is what probably breaks sorting.
the "item(FEAT_TRAINS," part is how it should be, I tried changing it to ITEM but the compiler just freaked out.
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
Transportman
Tycoon
Tycoon
Posts: 2781
Joined: 22 Feb 2011 18:34

Re: [OTTD] Belgian Train Set ~ Development thread

Post by Transportman »

NekoMaster wrote:
Transportman wrote:
NekoMaster wrote:
I just use ITEM_ for both and it seems to work for most things.

Example

ITEM_SNCB_CLASS_AM_96

vehicle sort
ITEM_ELECTRIC_MU_SNCB_CLASS_AM_96, /*Year: 1996*/ \

vehicle id
item(FEAT_TRAINS, ITEM_DIESEL_MU_SNCB_CLASS_41, 7000) {}
You didn't do it for the AM 96, there you use item_ for the last case. This is what probably breaks sorting.
the "item(FEAT_TRAINS," part is how it should be, I tried changing it to ITEM but the compiler just freaked out.
I meant the identifier you used for that vehicle, you have:

Code: Select all

item(FEAT_TRAINS, item_ELECTRIC_MU_SNCB_CLASS_AM_96)
while on other places you use

Code: Select all

ITEM_ELECTRIC_MU_SNCB_CLASS_AM_96
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: [OTTD] Belgian Train Set ~ Development thread

Post by NekoMaster »

Transportman wrote:
NekoMaster wrote:
Transportman wrote: You didn't do it for the AM 96, there you use item_ for the last case. This is what probably breaks sorting.
the "item(FEAT_TRAINS," part is how it should be, I tried changing it to ITEM but the compiler just freaked out.
I meant the identifier you used for that vehicle, you have:

Code: Select all

item(FEAT_TRAINS, item_ELECTRIC_MU_SNCB_CLASS_AM_96)
while on other places you use

Code: Select all

ITEM_ELECTRIC_MU_SNCB_CLASS_AM_96

Code: Select all

//	ELECTRIC MU - ID RANGE :		9000..9999
//	----------------------------------------------------------------------------
#define ID_RANGE_EMU 0x2328..0x270F
item(FEAT_TRAINS, ITEM_ELECTRIC_MU_SNCB_CLASS_AM_96,	9001) {}
item(FEAT_TRAINS, ITEM_ELECTRIC_MU_TGV_THALYS,			9018) {}
I always use uppercase for the names and strings and file names, makes it less likely I'll get stupid and end up with the wrong capitalization somewhere and make the compiler warn me or freak out

Sorry if I'm not quite understanding what your pointing out, I just started school/math class and I'm a little tired from the commute back and forth and constantly doing maths
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
User avatar
kamnet
Moderator
Moderator
Posts: 8548
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: [OTTD] Belgian Train Set ~ Development thread

Post by kamnet »

He's saying that in some parts you're using ITEM_<whatever>, and other parts you're using item_<whatever>.
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: [OTTD] Belgian Train Set ~ Development thread

Post by NekoMaster »

The only parts that are using item_XXXX is the stuff I left in from 2cc trains but I should get rid of that because I relised I can just use 2cc Wagons in NML if I need some wagons and coaches until we have our own stuff.

I dont see anything that I made that has it in lowercase though, so that shouldn't be an issue.
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
User avatar
Nondidjos
Engineer
Engineer
Posts: 36
Joined: 05 Sep 2017 18:35
Location: Wavre, Belgium

Re: [OTTD] Belgian Train Set ~ Development thread

Post by Nondidjos »

Hey, here´s another sneak peek of another loco Ive been working on, the class 20;

Image
I sprite sometimes, currently working on the BTS (Belgian Train Set) and a World War GRF (kinda).

Discord; 'nondidjos#8585
Transportman
Tycoon
Tycoon
Posts: 2781
Joined: 22 Feb 2011 18:34

Re: [OTTD] Belgian Train Set ~ Development thread

Post by Transportman »

NekoMaster wrote:The only parts that are using item_XXXX is the stuff I left in from 2cc trains but I should get rid of that because I relised I can just use 2cc Wagons in NML if I need some wagons and coaches until we have our own stuff.
You could indeed grab the code from that set, or use the code from the 2cc TrainsInNML, especially if they basically are placeholders.
I dont see anything that I made that has it in lowercase though, so that shouldn't be an issue.
Then you might want to check ELECTRIC_MU_SNCB_CLASS_AM_96.PNM:

Code: Select all

item(FEAT_TRAINS, item_ELECTRIC_MU_SNCB_CLASS_AM_96) {
    property {
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
User avatar
Nondidjos
Engineer
Engineer
Posts: 36
Joined: 05 Sep 2017 18:35
Location: Wavre, Belgium

Re: [OTTD] Belgian Train Set ~ Development thread

Post by Nondidjos »

More AM 96 :P

Image
I sprite sometimes, currently working on the BTS (Belgian Train Set) and a World War GRF (kinda).

Discord; 'nondidjos#8585
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: [OTTD] Belgian Train Set ~ Development thread

Post by NekoMaster »

I should probably mention that if anyone wants to mess around with the GRF, you can find it in my dropbox folder from the link on the first post...

but for lazy people I can post a link to the GRF here mind you it may not always be available and may change depending on how much I'm working on it.



https://www.dropbox.com/s/2djg9yqscte06 ... t.tar?dl=0

Just copy the file to your Documents/OpenTTD/Newgrf folder
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: [OTTD] Belgian Train Set ~ Development thread

Post by NekoMaster »

Its been a little while since I did some work on the set, but I finally got around to adding some more passenger/mail coaches to the set. The I5, I6, and I10 coaches are now included and should be balanced for game play.

ALSO NOW AVAILABLE ON BANANAS/ONLINE CONTENT!
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Google Adsense [Bot] and 24 guests