kaeza wrote:You can use
texture overrides to control how you want the grass to look.
Example to see "full" grass side:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
default:dirt_with_grass sides default_grass.png
I
really appreciate the fact that you guys are offering help. Thank you.
But... this is not me asking for help. I know about overrides, both node and texture.
I made a TP.
In this TP I provide
both the full grass side and 3/4 grass side textures. Because I know anyone who uses it will have their own preference. And they can go into the folder and just rename them, so they can use the style they like.
This made me think about the real fact that, not "every" end user understands how to do this, or wants to do this, or will even know that both styles are available. Some will never even look inside the TP folder.
What we need to remember is this..., most users on this forum, are the type who have no issues doing this sort of thing... it comes naturally to them.
Some end users who have never even visited this forum, will be able to do it too but, .... there are
many end users out there who have never even visited this forum, and/or who have zero interest in doing any tinkering... they just want to play MT, and when they DL a TP... they just expect it to work... that's it.
So, my idea... is to add some way (via the TP itself) to show that option to the end user, when they select that TP from the textures menu.
If they tic a box which might say "enable full grass sides", then a small Lua script within the TP folder, tells default nodes.lua which texture style they want for all nodes with ""_side.png
This would, unfortunately, entail adding a quick "if / then" Lua function to those types of nodes in their code.
so this would be done without using an override mod, per se... the override function would be... I guess built into nodes.lua, and the switch to turn it off or on, will be in the TP folder. It would be just adding a way for a texture pack to communicate with the default mod.
So, I'm not looking to override a node for a node, or a texture for a texture... I want to add an option, which could be toggled back and forth, at will, via a selection / enable box in the textures menu of minetest_game. or at least in my own subgame version.
but as I said... it will probably never go anywhere... just an idea that popped into my head... and which I
might tinker with. But not sure if there is even a means to make it a reality.
edit:... orrrrr...
if this function
were actually just built into MT... any TP which has both styles for all grass_side, snow_side, etc., nodes would work without the need for a script "in" the TP's folder.
It would be just like selecting fancy leaves or simple leaves, .... basically.
Flick?... Flick who?