I've been trying to use the example set by McPatcher's tutorial to set random tiles for connected textures, but for some reason it only disables the original tileset. It's hard for me to explain, so here are some images.
The texture on top of the wall is the default cobblestone texture.
When I enable the code, it disables the textures.
Is there any way I can edit my code to make things work properly?
I've been trying to use the example set by McPatcher's tutorial to set random tiles for connected textures, but for some reason it only disables the original tileset. It's hard for me to explain, so here are some images.
The texture on top of the wall is the default cobblestone texture.
When I enable the code, it disables the textures.
Is there any way I can edit my code to make things work properly?
You've put code for more than one instance in the same file. In the MCPatcher examples, each line that starts with a // is supposed to signify a new file. Take each of the blocks of code you have, and put them in their own separate files, and see if that helps.
Thanks for the help! The tutorial actually was misleading, as it showed every code one after the other, implying it was all in one file. Here is the adjusted code and example for future reference.
If you want some help on how to do random-CTM tiling in 1.5, download my texture pack (click sig) and open the /ctm folder. Just about all of those are setup for 9-tile random CTM, all you need to do is drag and drop one of my folders into your texture pack's /ctm folder and overwrite the textures with your own.. Boom, done.
If you need to add or remove tile amounts, simple open the .properties file that does with the block you want to edit and change tiles=0-8 to tiles=X-Y to match your pack.
But yeah the tutorials online seem all out of date, I ended up looking at Sphax's CTM files for a reference. Once I sorted out Sphax's mess (his pack is a g'damn nightmare of a mess) I rewrote my own CTM files.
EDIT: My method isnt required, but it makes it a lot easier to organize your work. Just put each texture in a subfolder named after the block, with a matching .properties file. Then all you have to do is drop in the tiles in that folder and make sure the .properties file inside is looking for whatever amount you have in there.
The texture on top of the wall is the default cobblestone texture.
When I enable the code, it disables the textures.
Is there any way I can edit my code to make things work properly?
You've put code for more than one instance in the same file. In the MCPatcher examples, each line that starts with a // is supposed to signify a new file. Take each of the blocks of code you have, and put them in their own separate files, and see if that helps.
If you need to add or remove tile amounts, simple open the .properties file that does with the block you want to edit and change tiles=0-8 to tiles=X-Y to match your pack.
But yeah the tutorials online seem all out of date, I ended up looking at Sphax's CTM files for a reference. Once I sorted out Sphax's mess (his pack is a g'damn nightmare of a mess) I rewrote my own CTM files.
EDIT: My method isnt required, but it makes it a lot easier to organize your work. Just put each texture in a subfolder named after the block, with a matching .properties file. Then all you have to do is drop in the tiles in that folder and make sure the .properties file inside is looking for whatever amount you have in there.