Skip to content

Instantly share code, notes, and snippets.

@andythenorth
Created February 7, 2021 19:16
Show Gist options
  • Save andythenorth/bb4121f722ad4563fe7fdcb598e34f07 to your computer and use it in GitHub Desktop.
Save andythenorth/bb4121f722ad4563fe7fdcb598e34f07 to your computer and use it in GitHub Desktop.
-1 * 0 00 04 \b5 \b1 TILE_HARBOUR_CRANES_1
08 "CHPT" // Class ID - groups stations in menu
1A 02 // 2 tiles
//Basic layout
42
\d1420 \wx0002 00 // custom ground sprite
\dx8000842D \wx0000
00 00 00 // x/y/z offset = extra groundsprite
10 10 \b36 // x/y/z extend
\dx8000842D \wx0000
00 00 00 // x/y/z offset = extra groundsprite
10 10 \b36 // x/y/z extend
//Basic layout
42
\d1420 \wx0002 00 // custom ground sprite
\dx8000842E \wx0000
00 00 00 // x/y/z offset = extra groundsprite
10 10 \b36 // x/y/z extend
\dx8000842E \wx0000
00 00 00 // x/y/z offset = extra groundsprite
10 10 \b36 // x/y/z extend
11 00 // catenary pylon placement (00 = none)
14 FF // catenary wire placement (FF = none)
15 FF // set non track bits (FF is the lazy solution to working out the correct bit mask)
//Tile action 1
-1 * 0 01 04 \b1 \b2 //-1 * 0 01 09 <num-sets> <num-ent>
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
-1 src/graphics/harbour_cranes.png 10 10 09 145 64 -31 -114
-1 src/graphics/harbour_cranes.png 80 10 09 145 64 -31 -114
-1 src/graphics/harbour_cranes.png 10 170 09 65 64 -31 -34
-1 src/graphics/harbour_cranes.png 80 170 09 65 64 -31 -34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment