Crater Theory for Modders

Joined
Jul 17, 2003
Messages
998
Location
Lincolnshire, UK
Wanna funkify your craters or use them to show something else? It seems that well the terrain will come up randomly, the craters are pretty predictable in which picture will show. I used the knowledge to come up with these craters:
http://forums.civfanatics.com/showthread.php?t=211312

I simply wrote numbers over top and played around in the editor. This is what I discovered:

1. There are 5 rows of 5 pictures in the pcx file. You can see little numbers on them. The top 2 rows and bottom two rows are numbered the same for some reason. Each tile has a number and this is what it looks like:

Code:
          1      2      3      4       5
          6      7      8      9      10              
         12     15     20     14      16
          1      2      3      4       5
          6      7      8      9      10

2. In editing the pictures to form shapes or anything else your little heart desires you only need to worry about the bottom three rows. From now on, any number 1-10 mentioned here is referring to the bottom tiles.

Here are the positions for simple shapes and which tile numbers always correspond.

In a diamond

Top peak or furthest north: 7
Bottom or further south: 20
Furthest left or west: 1
Furthest right or east: 4
Centre: 10
SW, (between 1 and 20), must be flush: 2
SE, (between 20 and 4), must be flush: 6
NW, (between 1 and 7), must be flush: 9
NE, (between 7 and 4), must be flush: 8

In diagonal lines

Downwards, left-to-right: 14, 16, 12 with 16 always sandwiched by 14 and 12
Upwards, left-to-right: 15, 5, 3 with 5 always sandwiched by 15 and 3

3. This can make for some interesting patterns:

Diamond and hollow diamond:
Code:
        7                                      7
    9      8                               5     16
 1     10     4                         1            4
    2      6                               16     5
       20                                      20

T-junctions
Code:
     14     3          3         14          14    3      14    3
         6           9               8          2            10   
     15           15    12        15   12        12       15    12

Other shapes:
Code:
                                   7                 7
14   7   3    14     3          5    16            9    8
   2   6        8  9          9        8         5   20  16
    10         1 10  4      1   4    1    4    1            4
   9   8        6  2          2        6        16   7    5
15  20  12    15     12         16   5            2     6        
                                  20                 20
 
Top Bottom