Skip to content

Standard CTM Format

Drullkus edited this page Nov 23, 2015 · 4 revisions

The standard CTM format is what is used when extending the Default Implementations. It allows all 47 potential CTM combinations to be done via only two textures.

Texture Format

Standard procedures for creating CTM files is rather simple once understood. All is needed are two files, one of which the contains 4 "sub"-textures.

The first file is a single standard texture, the texture of the block when it has no connections. The second file contains four textures of varying connection types.

Examples:

ExhaustPlating.png

ExhaustPlating.png

ExhaustPlating-ctm.png

ExhaustPlating-ctm.png

In-Depth on these Four Textures inside the Second File

The top right texture is for vertical connections. Basically, what the texture will look like with only blocks on top and on bottom.

ExampleCTMV.jpg

The bottom left texture is for horizontal connections. It's what the texture will look like with blocks on its left and right.

ExampleCTMH.png

The bottom right texture is for connections on top, right, bottom, and left. It's what the texture will look like on the center block when your arrange the blocks in a + formation.

ExampleCTMC.jpg

The top left texture is for connections on all 8 spaces. It's what the texture looks in the center of a 3x3 block formation.

ExampleCTMA.jpg

Using these 2 (or technically 5) textures, CTMLib can assemble any possible combination of connections.