Page 1 of 1

default textures

PostPosted: Sun Dec 13, 2015 18:18
by bobomb
I was wondering if a lua method could be exposed to use a texture generated in the same way that textures for missing textures are created but being able to specify the color of the texture instead of it being randomly generated.

Re: default textures

PostPosted: Sun Dec 13, 2015 18:46
by Napiophelios
If you are wanting to specify the color of missing textures instead of random colors, IDK.

If you are wanting to create textures for a mod without providing them, out of thin air so to speak,
yes you can. You will need to use the texture modifiers like "[combine" and "[colorize"

check out these post for an example how we did it for Don's corners mod
viewtopic.php?p=177316#p177316
viewtopic.php?p=177316#p178383
viewtopic.php?p=177316#p177391

Re: default textures

PostPosted: Sun Dec 13, 2015 22:31
by bobomb
i think that is as good as it gets, thanks.

Re: default textures

PostPosted: Sat Dec 26, 2015 09:56
by Hybrid Dog

Re: default textures

PostPosted: Sat Dec 26, 2015 17:08
by bobomb
so the color of an entity can be changed after mod load but not a node?

Re: default textures

PostPosted: Sun Dec 27, 2015 15:42
by Hybrid Dog
bobomb wrote:so the color of an entity can be changed after mod load but not a node?

l guess if the node's textures become changed, it only has the new textures after the client rejoins