Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.
Mohander

Is it possible to create alternate/randomized texture with TFC?

8 posts in this topic

Is it possible to create alternate/randomized texture for a block? (example; alternate 6 types of "GrassTop" or alternate 4 types of gravel for every terrain in tfc)
I'm aware that you can do this in vanilla using optifine (because it has mcpatcher functionality), but, is it possible too with terrafirmacraft?
Probably not with mcpatcher, but, maybe with some .mcmeta or json file? 
 

0

Share this post


Link to post
Share on other sites

Sorry, maybe I have not explained myself correctly, my bad
I meant that I've already tryed with optifine/mcpatcher with no success
I made a mcpatcher folder with ctm in both the paths (resourcepacks\better soil\assets\minecraft\mcpatcher\ctm\Gravel Rock Salt  and  resourcepacks\better soil\assets\terrafirmacraft\mcpatcher\ctm\Gravel Rock Salt too) but with no results..
I tryed actually with the suggested format with no results too :/

//Gravel Rock Salt
matchBlocks=Gravel Rock Salt
method=ctm
tiles=0-4

edit2: the ctm was wrong, I re-tryed using all the 47 needed tiles but no success...

edit: I've even tryed to use
 

//Gravel Rock Salt
matchBlocks=Gravel Rock Salt
method=vertical
tiles=0-3

(since it only require 4 tiles)
but it doesn't seems to work anyway

Edited by Mohander
0

Share this post


Link to post
Share on other sites

Are you able to get connected textures to work? You might try looking at some of the existing texture packs on this forum that successfully uses connected textures and take a look at their files to point you in the right direction. Here's one I know of:

 

1

Share this post


Link to post
Share on other sites

Mhm, I took a look at that texturepack, and in effect one of the methods works, the tallgrass one (the planks by the way seems to not working)
The author used this for randomize the tallgrass
 

blockIDs=31
method=random
tiles=0-2
weights=5 3 2

but I wonder, he was using the vanilla ID for tallgrass... this may explain why it is the only block that seems to work with ctm

I tryed the same with gravel id but it didn't worked unfortunately..

also, the properties file was named as the vanilla unlocalized name for grass, this may not work with the unlocalized name for gravel since it has ":"
like; <terrafirmacraft:Gravel:5>

0

Share this post


Link to post
Share on other sites

Ok, glad to say that thanks to a person on the optifine forum I've managed to merge into a solution:

 

matchBlocks=terrafirmacraft:Gravel
metadata=5
method=random
tiles=0-2
weights=5 3 2

 

it works pretty well
hope it can be useful for whoever want to make random texture now on :)

1

Share this post


Link to post
Share on other sites

Thanks for actually posting the solution - too many people simply say "I fixed it", and don't give any clues to the next person on how to actually fix it.
:)

1

Share this post


Link to post
Share on other sites

By the way, I still have a question unresolved.. because the solution works for blocks like gravel, dirt or stone, but for grass for example we have a problem...
With that code in fact all the grass block became covered by the texture, but we want that only the "top layer" is affected, and even in that moment, we get another problem, sometimes the top layer has to become the side layer (because of better grass connected texture in tfc).. 

0

Share this post


Link to post
Share on other sites