Search results

From TTWiki
Jump to navigationJump to search
  • Certain grf files should only be loaded in some climates, only if certain switches are To do this, the first entries in your .grf file must be [[grfspecs:Action7|action 7s]] which test that condition, and
    629 bytes (100 words) - 11:59, 1 March 2012
  • ...to the GPL v2 or later. The code has been modified for the purpose of this tutorial'' In this part of the tutorial we'll be making a road vehicle. The example spans a couple of pages and has
    2 KB (312 words) - 15:29, 24 August 2011
  • GRFMaker is a Windows program that allows creating .grf files with a graphical user interface. Download the beta version [http://us [[Category:Tutorials]][[Category:GRF Tutorial]]
    649 bytes (95 words) - 17:22, 30 July 2011
  • == NFO tutorial == While the tutorial will be mostly covering train vehicles, all the steps apply to other vehicl
    3 KB (467 words) - 16:57, 10 July 2013
  • ==What's a .GRF file?== ...new graphics files with help of the patch. These files have the extension .grf and are located in the newgrf folder.
    5 KB (949 words) - 11:08, 14 June 2012
  • ...ion to this; while NML can handle these for you, it is not covered in this tutorial). Check the NewGRF Specs for [http://newgrf-specs.tt-wiki.net/wiki/Palettes ...one. If you do not have this palette, you can extract it from any decoded GRF file or [http://newgrf-specs.tt-wiki.net/wiki/NML:Graphic_files download] a
    2 KB (361 words) - 17:34, 13 October 2012
  • ...to the GPL v2 or later. The code has been modified for the purpose of this tutorial'' Start the NML file by adding a grf block.
    3 KB (550 words) - 20:28, 30 August 2011
  • '''Now we've got that out of the way, here's a tutorial on how to actually draw the sprites:''' [[Category:Tutorials]][[Category:GRF Tutorial]]
    3 KB (492 words) - 17:12, 30 July 2011
  • For example, say you're making a file called ''mytrain.grf''. With using action 6, it may be entered in the newgrf(w).cfg file like th newgrf/mytrain.grf 18
    3 KB (516 words) - 11:59, 1 March 2012
  • # First sprite is special, defining the total number of entries in the .grf file. # After the action 7 entries, define your GRF ID with [[grfspecs:Action8|action 8]].
    4 KB (640 words) - 21:02, 28 August 2011
  • ...to the GPL v2 or later. The code has been modified for the purpose of this tutorial.'' ...and we'll provide translations in Dutch and German. Apart from the regular GRF name and description, we already know that we'll be making one vehicle, so
    5 KB (811 words) - 18:17, 24 August 2011
  • ...ki/NML:Main NML Documentation]. At your option, you can browse through the tutorial quickly or just start making your NewGRF and figure things out as you go. When a block syntax is explained in the tutorial, some arguments may be optional. These are written between [ straight/squar
    9 KB (1,603 words) - 06:06, 15 August 2023
  • #1: [[grfspecs:Action8|action 8]]; set the GRFID of this .grf file, and define the version [[Category:Tutorials]][[Category:GRF Tutorial]]
    3 KB (380 words) - 12:00, 1 March 2012
  • ...rectory which has your nml file. Then run the nmlc program to compile your GRF. For example: nmlc -c --grf mygrf.grf mygrf.nml
    11 KB (1,820 words) - 18:55, 3 March 2024
  • ==Tutorial== [http://george.zernebok.net/graphicstutorial/ Tutorial: Drawing new graphics] by [http://www.tt-forums.net/memberlist.php?mode=vie
    6 KB (997 words) - 16:36, 30 July 2011
  • ...ile you made in the previous [[NFOFoundations|step]], and turns it into a .grf file usable by TTDPatch. ...image. These types of entries are called "pseudosprites", and in TTDPatch .grf files they are used to give TTDPatch information what it should do with the
    13 KB (2,254 words) - 11:59, 1 March 2012
  • ...to the GPL v2 or later. The code has been modified for the purpose of this tutorial.'' Start the NML file by adding a grf block.
    6 KB (918 words) - 21:05, 30 August 2011
  • Since June 2010 a new coding language for creating TTDpatch/OpenTTD GRF's exists: the NewGRF Meta Language or NML for short. It differs significant The NML tutorial aims at providing entry-level instructions and examples of how coding in NM
    14 KB (1,721 words) - 21:08, 28 August 2011
  • # Extract TTD's trg1r.grf (or trg1.grf for the DOS version or ogfx1_base.grf when using OpenGFX) # Look through trg1r.pcx (TTD) or ogfx1_base.grf (OpenGFX) for a vehicle similar to the one you're going to make
    5 KB (895 words) - 11:17, 29 January 2019
  • ...to the GPL v2 or later. The code has been modified for the purpose of this tutorial.'' grf {
    9 KB (1,080 words) - 16:48, 3 May 2012
  • ...to the GPL v2 or later. The code has been modified for the purpose of this tutorial'' ...can use it, it needs to go somewhere near the top. Let's put it below the grf block for no particular reason other than that it's higher than the sprites
    9 KB (1,152 words) - 08:49, 24 August 2011
  • ...to the GPL v2 or later. The code has been modified for the purpose of this tutorial.'' As this tutorial is about coding NML and not about drawing graphics, we'll give you the grap
    11 KB (1,392 words) - 16:47, 3 May 2012
  • ...to the GPL v2 or later. The code has been modified for the purpose of this tutorial'' //define the grf
    8 KB (990 words) - 13:08, 24 August 2011
  • ...to the GPL v2 or later. The code has been modified for the purpose of this tutorial'' # GRF name and description
    9 KB (1,296 words) - 21:43, 22 August 2011
  • ...to the GPL v2 or later. The code has been modified for the purpose of this tutorial'' /* Define grf */
    14 KB (2,080 words) - 16:37, 3 May 2012
  • ...to the GPL v2 or later. The code has been modified for the purpose of this tutorial'' == GRF Parameter setting ==
    22 KB (3,032 words) - 13:40, 8 December 2013
  • ...to the GPL v2 or later. The code has been modified for the purpose of this tutorial.'' grf {
    17 KB (2,390 words) - 13:17, 24 May 2013
  • ...to the GPL v2 or later. The code has been modified for the purpose of this tutorial'' //define the grf
    12 KB (1,673 words) - 11:25, 26 June 2012
  • ...to the GPL v2 or later. The code has been modified for the purpose of this tutorial'' ...select which vehicle length they want. For that reason the author of this tutorial thinks making two different vehicles and having both available from the pur
    27 KB (3,937 words) - 13:37, 8 December 2013
  • ...to the GPL v2 or later. The code has been modified for the purpose of this tutorial.'' grf {
    10 KB (1,482 words) - 22:27, 13 December 2011
  • ...e templates later. The tram vehicle example that will follow later in this tutorial actually uses some of these sprite templates and code. For other premade te ...be called if it's defined. So templates are best placed shortly after the grf block.
    12 KB (1,478 words) - 16:11, 28 August 2011
  • ...to the GPL v2 or later. The code has been modified for the purpose of this tutorial'' /* Define grf */
    17 KB (2,346 words) - 16:37, 3 May 2012
  • ...to the GPL v2 or later. The code has been modified for the purpose of this tutorial.'' grf {
    12 KB (1,598 words) - 21:05, 30 August 2011
  • [[Category:Tutorials]][[Category:GRF Tutorial]]
    14 KB (1,850 words) - 12:00, 1 March 2012