Page 2 of 3

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 13 Sep 2017 13:34
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

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 13 Sep 2017 13:45
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.

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 13 Sep 2017 16:31
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.

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 13 Sep 2017 18:13
by Gwyd
OoO did someone say GRF competition? I'm interested.

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 13 Sep 2017 18:23
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.

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 13 Sep 2017 19:10
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 :)

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 14 Sep 2017 16:13
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.

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 14 Sep 2017 20:09
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.

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 14 Sep 2017 20:55
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) {}

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 14 Sep 2017 21:47
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.

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 15 Sep 2017 00:09
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.

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 15 Sep 2017 06:54
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

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 15 Sep 2017 19:11
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

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 15 Sep 2017 19:21
by kamnet
He's saying that in some parts you're using ITEM_<whatever>, and other parts you're using item_<whatever>.

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 15 Sep 2017 19:27
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.

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 16 Sep 2017 10:44
by Nondidjos
Hey, here´s another sneak peek of another loco Ive been working on, the class 20;

Image

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 16 Sep 2017 19:49
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 {

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 19 Sep 2017 19:03
by Nondidjos
More AM 96 :P

Image

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 22 Sep 2017 00:42
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

Re: [OTTD] Belgian Train Set ~ Development thread

Posted: 23 Nov 2017 22:27
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!