Page 2 of 2

Re: Project North America (Better name later!)

Posted: 01 Sep 2015 03:21
by FooBar
I'm not saying one is necessarily using cargo subtypes to be able to manually select them. And even than you can simply show something else after a certain year.

Re: Project North America (Better name later!)

Posted: 20 Sep 2015 04:36
by Pack man
Neko, I tried a couple of times to code a single rail vehicle, but I really couldn't seem to get it to work.

I know I haven't been around much, but life has been and continues to be hectic. 2 jobs, school, a girlfriend, and trying to finish building a motor for my car really do eat my time up.

Due to a computer change and a move, i lost most of what I had (including my attempted nfo file). And the newer version of paint is a bit trickier to use for me. You can use the stuff I drew in the past. But i may not be able to have the time to try again for a while.

Re: Project North America (Better name later!)

Posted: 20 Sep 2015 13:27
by Emperor Jake
Pack man wrote:And the newer version of paint is a bit trickier to use for me
Just a heads up, you can use the old Paint (this is the version from XP) in new versions of Windows, just use this :wink:

Re: Project North America (Better name later!)

Posted: 20 Sep 2015 19:03
by NekoMaster
I use GIMP with the OpenTTD Windows pallet PAL file, but you can also use Paint.Net which is better then the Windows Vista/7/8/10 paint

Re: Project North America (Better name later!)

Posted: 20 Sep 2015 19:04
by NekoMaster
Pack man wrote:Neko, I tried a couple of times to code a single rail vehicle, but I really couldn't seem to get it to work.

I know I haven't been around much, but life has been and continues to be hectic. 2 jobs, school, a girlfriend, and trying to finish building a motor for my car really do eat my time up.

Due to a computer change and a move, i lost most of what I had (including my attempted nfo file). And the newer version of paint is a bit trickier to use for me. You can use the stuff I drew in the past. But i may not be able to have the time to try again for a while.
Thank you for allowing me to use all your old north american stuff, I really liked your work especially the FP 45, one of my favourite versions of the SD 45

Re: Project North America (Better name later!)

Posted: 21 Sep 2015 06:54
by Alberth
NekoMaster wrote:I use GIMP with the OpenTTD Windows pallet PAL file
It is generally recommended to use the DOS palette, as it has slightly more colours. (With the introduction of Windows Gui, some colours got allocated to the windowing system, so applications had less colours.)

Re: Project North America (Better name later!)

Posted: 21 Sep 2015 07:35
by Emperor Jake
Alberth wrote:
NekoMaster wrote:I use GIMP with the OpenTTD Windows pallet PAL file
It is generally recommended to use the DOS palette, as it has slightly more colours. (With the introduction of Windows Gui, some colours got allocated to the windowing system, so applications had less colours.)
Also if you use the Win palette the greys are all over the place, making it hard to select colours from the colourmap.

Also with GIMP it's really easy and quick to recolour company-coloured sprites to their real liveries (and vice versa). It's best if you draw two rows of eight pixels, each containing one company colour, then use the Select by Colour tool to select them and then drag the colour you want to the selected area. This will automatically colour all pixels of that colour to a different one. Make sure to set your threshold to 0 though.

Feel free to use this and anything else I've drawn.

Re: Project North America (Better name later!)

Posted: 21 Sep 2015 12:03
by PikkaBird
Alberth wrote:It is generally recommended to use the DOS palette
Why isn't it generally recommended to use 32bpp? It makes everything so much easier. ;)

Re: Project North America (Better name later!)

Posted: 21 Sep 2015 12:53
by planetmaker
PikkaBird wrote:
Alberth wrote:It is generally recommended to use the DOS palette
Why isn't it generally recommended to use 32bpp? It makes everything so much easier. ;)
5x the grf size (assuming you don't use any additional colour: 1x for the original paletted and 4x the same sprite as 32bpp). But it's debatable whether that's really a good argument (nowadays).

Re: Project North America (Better name later!)

Posted: 21 Sep 2015 14:50
by Alberth
PikkaBird wrote:
Alberth wrote:It is generally recommended to use the DOS palette
Why isn't it generally recommended to use 32bpp? It makes everything so much easier. ;)
Fine, as long as you don't use the Windows palette ;)

Re: Project North America (Better name later!)

Posted: 21 Sep 2015 20:15
by NekoMaster
I've been using the windows pallet since i started spriting, and never had any issue. Whats with the switch to DOS that has everyone up in arms against windows pallet?

Re: Project North America (Better name later!)

Posted: 21 Sep 2015 20:35
by FooBar
There is no reason to use it (any more). Using the DOS palette gives you 6 extra colours over the Windows palette. But you can also simply not care and use whatever you like.

Re: Project North America (Better name later!)

Posted: 27 Sep 2015 19:12
by TrainLover
Does anyone know a way to check NML if you have put the right semicolons in place and stuff like that? It is a pain to check for semicolons and I need a easier way! The nmlc.exe is giving me a lot of syntax errors because of it! Here is the file.

Re: Project North America (Better name later!)

Posted: 27 Sep 2015 20:12
by Transportman
TrainLover wrote:
ProjectNA.nml
This is the actual .nml file to see what is happening.
Does anyone know a way to check NML if you have put the right semicolons in place and stuff like that? It is a pain to check for semicolons and I need a easier way! The nmlc.exe is giving me a lot of syntax errors because of it! I also have syntax errors on the word weight: 44 Ton;..
I remember asking it once, and the answer is no, because the program has no idea about what you want to do after the first syntax error, it basically considers the rest as nonsense.

For some text editors there are files that can help you with coding, as it highlights keywords and stuff (see the bottom of this page).

But some general points:
You only need one railtypetable in your code, but you try to define it multiple times
You commented out the start of every item block, because the comment before that does not end with */ but with *\
I would advise you to place the } (and maybe also the { if that works for you) of a block on a new line, which should make it clearer if your block is not closed
Ton should be ton (small t)
ELRl in you railtypetable should be ELRL (big L)
shorten_vehicle should be replaced by the length property, which just takes a number representing the x/8 length (value should be between 1 and 8)
You refer to a purchase sprite using a spriteset and template_purchase, but template_purchase is never defined (and the whole spriteset should be defined before the item block)
Only your first vehicle has a spriteset defined, but no purchase sprite, while the other vehicles only have the purchase sprite
You should use a template for your spritesets, so that you can reuse the alignments from there, instead of defining them over and over again
If this set is going to consist of a lot of vehicles, you might want to split it up in multiple files, but that is up to you

I would also advise you to look at code from other sets, I think the 2cc TrainsInNML has some simple vehicles to look at (see for example this file and this file, that are the code for 1 vehicle).

I hope this helps you.

Re: Project North America (Better name later!)

Posted: 31 Jan 2018 16:51
by Tony Pixel
I can send to You Highliner EMU what I'm drawing now, and sprites of Chicago Commuter F40PH.

Re: Project North America (Better name later!)

Posted: 31 Jan 2018 22:52
by acs121
Think i could draw the M2 'Cosmopolitan' for you ?

Re: Project North America (Better name later!)

Posted: 01 Feb 2018 05:00
by Tony Pixel
I'm already have M1, M2 , M7, M8, some comet cars and P32AC-DM.

Re: Project North America (Better name later!)

Posted: 19 May 2018 06:24
by Tony Pixel
So, project is abandoned?