Custom colors
raegenhere opened this issue ยท 2 comments
Hi,
thanks for all that great work, I'm really looking forward to try out the biome generation mode!
The following is not so much an "issue", more of a feature request:
I would love to have the possibilty to colorize certain blocks in a custom biome, to make it possible to make really unique biomes. For example one could have red sand / stone in a canyon biome.
I've seen similar things in some texture packs... I think for this some client mod like MCpatcher or Optifine is necessary, and the colors are picked from a png in the texture pack like explained here: http://www.minecraftforum.net/topic/870780-biome-palette-template-for-v12-updated-20feb2012/
I don't really if that would work technically, but I can think of two ways:
-Each custom biome could have a coordinate assigned.
For example, in the config file for the custom biome "Canyon" it could be specified that it picks the color at the pixel coordinates 20x20 from the all files supplied by the texture pack (like "foliagecolor.png", "sandcolor.png"). See the link above.
-Using the current system with hex colors, but expanding it to work with more blocks
I think both have their advantages and disadvantages... but basically both would need the player to modify their client to get the full experience.
Again, thanks and keep up the good work! And if you could make this happen, you would make me very happy :-)
Uh... I will close this, I was totally wrong in my thinking on how this works.
Everything works as it should, I am very happy :-)
So... I did some further testing and came up with this:
Custom Biomes are generated with the IDs 23,24,25, and so on. Those are treated as plains by the client (in terms of color, weather, and so on). Now the are two methods of changing the ID of a custom biome:
-
Changing it in worldconfig.ini
The disadvantage here is, you can't give the same ID to more than one custum biome. If you have three biomes that should use the ID of swampland (6), it will only generate the last one in the list. -
Replacing biome IDs via the command /tc replace [oldID] [newID]. This way, more custom biomes can be converted to use the same ID. But there are also major disadvantages to this... first, it works only on terrain already generated, newly generated areas have the old IDs, so the world has to be generated before or the replace command has to be done again after form time to time. Also, if to or more custom biomes are changed to for example swampland ID, it can't be reverted because the replace command can't distinguish them anymore.
Plus, the command doesn't seem to work without problems, often not everything is replaced (chunks that are currently loaded for example, I think)
So generally this gives me the possibility to work with 10 different colors... I am satisfied with this, but still it would be great if there was a way to have more colors than that.
Also, I think it is very important to have a lot of control over the IDs... they are very important for a lot of things, like weather. And most plugins don't recognize TC's custom biomes and can only work with those IDs.
It would be even more awesome to be able to change IDs (and possibly separate color settings) whitout having to regenerate... with this one could simulate seasons on a server (change leave colors for autumn, change to taiga ID to enable snowfall)