Help in creating a new simple train newGRF
Moderator: Graphics Moderators
Help in creating a new simple train newGRF
Hey everyone,
I'm looking for a couple of pointers on how to create a very simple newGRF centered around trains. Ideally I'd only modify the default trains slightly (names, speeds), and add new trains to the roster using the default available sprites.
I know how to code and looked at NML already, but I'm at a loss about how to handle sprites, where to get them, or how to compile a newGRF and what files are needed.
I'd appreciate even very simple directions on how to start, a working example with a single train that uses existing graphics would be perfect for example!
I'm looking for a couple of pointers on how to create a very simple newGRF centered around trains. Ideally I'd only modify the default trains slightly (names, speeds), and add new trains to the roster using the default available sprites.
I know how to code and looked at NML already, but I'm at a loss about how to handle sprites, where to get them, or how to compile a newGRF and what files are needed.
I'd appreciate even very simple directions on how to start, a working example with a single train that uses existing graphics would be perfect for example!
Re: Help in creating a new simple train newGRF
You must be looking for this: https://www.tt-wiki.net/wiki/NMLTutorial
Re: Help in creating a new simple train newGRF
Thanks man. Where would I find the default graphic files? I can't seem to find .bmps either in the OpenTTD directory or the OpenGFX+ repo.
Re: Help in creating a new simple train newGRF
After compiling the code, the .png files are no longer accessible. I presume with "default graphics" you mean the graphics of the standard OpenTTD trains and such. That'd be these: https://dev.openttdcoop.org/projects/op ... prites/png Also take a look at viewtopic.php?p=644154#p644154 for blank patterns of any size.Gliptal wrote:Thanks man. Where would I find the default graphic files? I can't seem to find .bmps either in the OpenTTD directory or the OpenGFX+ repo.
Re: Help in creating a new simple train newGRF
Thank you, this really helps get me started!Erato wrote:After compiling the code, the .png files are no longer accessible. I presume with "default graphics" you mean the graphics of the standard OpenTTD trains and such. That'd be these: https://dev.openttdcoop.org/projects/op ... prites/png Also take a look at viewtopic.php?p=644154#p644154 for blank patterns of any size.Gliptal wrote:Thanks man. Where would I find the default graphic files? I can't seem to find .bmps either in the OpenTTD directory or the OpenGFX+ repo.
Re: Help in creating a new simple train newGRF
I managed to replicate the Kirby with my newGRF. How would I go to remove the old trains from the list when my grf is active?
Re: Help in creating a new simple train newGRF
Thank you everyone.
Who is online
Users browsing this forum: Google Adsense [Bot], Semrush [Bot] and 60 guests