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

      Server Move   09/13/18

      I (Dries007) have recently taken over as main developer and server admin. This involved moving servers to reduce cost. It's likely there will be some more downtime in the future but most  things should be sorted by now. This forum is in dire need of replacement as the software is quite old and can't be easily updated. If you wish to discuss or stay updated, join our discord: https://invite.gg/terrafirmacraft. The forum will remain available to read, but will be locked in the future, when a new system is setup. The forum and wiki are now ad free. If you'd like to contribute to keeping it that way, you can do so via paypal or patreon.
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now