Av8ports testing

From PikkaWiki
Revision as of 03:40, 19 April 2009 by PikkaWiki (Talk | contribs)

Jump to: navigation, search

Test GRF 1 (Farm Airstrip as industry)

Farmplant.png

GRF download

NFO

// Automatically generated by GRFCODEC. Do not modify!
// (Info version 7)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
    0 * 4	 1E 00 00 00


    1 * 34	 08 06 44 44 "AP" "Test Airport 1" 00 "By PikkaBird" 00

// ====================================================================================================================
// Tiles (industry tiles for now, but format should stay the same):
// I made the hangar with a seperate ID, since eventually clicking
// on the hangar tile should open the hangar window, and clicking on
// a non-hangar tile will open the airport information window (the
// standard station info window to begin with, although if we go the
// whole hog and introduce, eg, public airports, there will be more
// information required for airports than for other station types).

    2 * 8	 00 09 01 02 00
                 08 21 00

// hangar tile (tile ID 00)
    3 * 4	 01 09 02 01
    4 SPRITES\aviator\av8ports\tiles\farm.pcx 0 0 09 63 64 -31 -32
    5 SPRITES\aviator\av8ports\tiles\farm.pcx 64 0 09 63 64 -31 -32

    6 * 17	 02 09 A1 00 00 80 00 80 01 80 00 80 00 00 10 10 10
    7 * 7	 03 09 01 00 00 A1 00

// non-hangar tile (tile ID 01)
    8 * 4	 01 09 07 01
    9 SPRITES\aviator\av8ports\tiles\farm.pcx 0 0 09 1 1 -1 -1 // dummy non-ground sprite
   10 SPRITES\aviator\av8ports\tiles\farm.pcx 128 0 09 47 64 -31 -16
   11 SPRITES\aviator\av8ports\tiles\farm.pcx 192 0 09 47 64 -31 -16
   12 SPRITES\aviator\av8ports\tiles\farm.pcx 256 0 09 31 64 -31 0
   13 SPRITES\aviator\av8ports\tiles\farm.pcx 320 0 09 31 64 -31 0
   14 SPRITES\aviator\av8ports\tiles\farm.pcx 384 0 09 47 64 -31 -16
   15 SPRITES\aviator\av8ports\tiles\farm.pcx 448 0 09 47 64 -31 -16

   16 * 17	 02 09 A1 00 01 80 00 80 00 80 00 80 00 00 10 10 10
   17 * 17	 02 09 A2 00 02 80 00 80 00 80 00 80 00 00 10 10 10
   18 * 17	 02 09 A3 00 03 80 00 80 00 80 00 80 00 00 10 10 10
   19 * 17	 02 09 A4 00 04 80 00 80 00 80 00 80 00 00 10 10 10
   20 * 17	 02 09 A5 00 05 80 00 80 00 80 00 80 00 00 10 10 10
   21 * 17	 02 09 A6 00 06 80 00 80 00 80 00 80 00 00 10 10 10

   22 * 30	 02 09 A1 81 43 10 FF 05
   A1 00 02 02
   A2 00 10 10
   A3 00 11 11
   A4 00 12 12
   A5 00 13 13
   A6 00

   23 * 7	 03 09 01 01 00 A1 00

// ====================================================================================================================
// Industry (industry ID 00)
// This is the tile layout for the airport (industry action 0 property 0A).
// The tile layout format should remain the same for airports.  The other
// properties here are just to allow the industry to be built.

   24 * 31	 04 0A 9F 01 0C DC "Farm Airstrip (Industry)" 00

   25 * 16	 00 0A 05 01 00          // this line is just to allow the industry to be built.
  08 01           // sub (power plant)
  1F 0C DC        // name
  0F 01           // cost
  17 00 18 00     // prob

// layout - action 00 property 0A - this format should stay the same for airports.
//                                                 v1             v2             v3
   26 * 48	 00 0A 01 01 00 0A 01 \b37 00 00 00                00 01 FE 01 00
                                                    01 00 FE 00 00 01 01 FE 01 00
                                                    02 00 FE 01 00 02 01 FE 01 00
                                                                   03 01 FE 01 00
                                                                   04 01 FE 01 00 00 80

// ====================================================================================================================
// Airport (airport ID 00)

   27 * 20	 04 0A 9F 01 01 DC "Farm Airstrip" 00
   28 * 52	 04 0A 9F 01 02 DC "This is some text what goes in the build menu" 00

//!!Fatal Error (44): Invalid feature byte.
   29 * 23	 00 0D 07 01 00
  08 \w1940 09 FF FF     // years
  0F 00                  // small airport
  12 01 DC               // name
  13 02 DC               // name
  15 01                  // cost
  16 01                  // cost overbuild

// layout - action 00 property 0A - this format should stay the same for airports.
//                                                 v1             v2             v3
//!!Fatal Error (44): Invalid feature byte.
   30 * 48	 00 0D 01 01 00 0A 01 \b37 00 00 00                00 01 FE 01 00
                                                    01 00 FE 00 00 01 01 FE 01 00
                                                    02 00 FE 01 00 02 01 FE 01 00
                                                                   03 01 FE 01 00
                                                                   04 01 FE 01 00 00 80





Personal tools