Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Sun Aug 19, 2018 12:33 am

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Making a mod
PostPosted: Sun Jan 21, 2018 2:46 pm 
Offline
Engineer
Engineer

Joined: Wed Dec 20, 2017 5:56 pm
Posts: 26
I never been making a mod but i wanna know how to make a mod ?
So please explain with what softwares it is done.Also i'd like to add a music tracks.
Have a nice day people


Top
   
 Post subject: Re: Making a mod
PostPosted: Sun Jan 21, 2018 7:43 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Tue May 10, 2016 7:09 pm
Posts: 317
Jony1(Yosselko) wrote:
I never been making a mod but i wanna know how to make a mod ?
So please explain with what softwares it is done.Also i'd like to add a music tracks.
Have a nice day people


In very general terms you have to make a special game extension called NewGRF (have a look here https://wiki.openttd.org/NewGRF).

There are two ways to accomplish this:

a) older way I am really not familiar with called NFO, it looks more like hacking a compiled programs to me,
b) NML (NewGRF Meta Language) that is more similar to the modern programming languages (https://www.tt-wiki.net/wiki/NMLTutorial).

NML programs along with the graphics (and audio) can be compiled (with a special compiler nmlc) into a NewGRF file that can be then put into a special folder where OpenTTD can find it.

So you need a text editor to create and modify NML files and graphics editor to edit graphics files (etc) and the NML compiler (nmlc).

Sorry that my reply is filled with a lot of jargon that might be not familiar to you. Perhaps somebody else can explain it better.

I recommend to first try to make yourself more familiar with these concepts and try to understand some of the open source projects (http://dev.openttdcoop.org/projects) by finding something smaller you could manage.

Do not hesitate to get back here to ask more questions.

_________________
California City Sets viewtopic.php?t=76786
1000 building set viewtopic.php?t=75250


Top
   
 Post subject: Re: Making a mod
PostPosted: Mon Jan 22, 2018 5:11 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Nov 27, 2004 3:05 pm
Posts: 5291
Location: Canada
Just to be clear, NFO is not simply an older language. It is the code upon which all GRF specifications are based.
Upper level languages such as NML and m4nfo are merely human readable text interfaces that compile NFO code.
If you decompile GRFs created with NML or m4nfo, the output will be NFO.
NML has a couple of limitations such as it does not yet support stations or bridges.
m4nfo does do both and offers an extensive manual with examples.

_________________
wallyweb on tt-forums: Screenshots - Projects - Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2018 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2018.
Hosted by Zernebok Hosting.