default textures

For people working on the C++ code.
Post Reply
User avatar
bobomb
Member
Posts: 162
Joined: Sat May 23, 2015 20:28
GitHub: bobombolo
IRC: bobomb

default textures

by bobomb » Post

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.

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: default textures

by Napiophelios » Post

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

User avatar
bobomb
Member
Posts: 162
Joined: Sat May 23, 2015 20:28
GitHub: bobombolo
IRC: bobomb

Re: default textures

by bobomb » Post

i think that is as good as it gets, thanks.

User avatar
Hybrid Dog
Member
Posts: 2828
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: default textures

by Hybrid Dog » Post


‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
bobomb
Member
Posts: 162
Joined: Sat May 23, 2015 20:28
GitHub: bobombolo
IRC: bobomb

Re: default textures

by bobomb » Post

so the color of an entity can be changed after mod load but not a node?

User avatar
Hybrid Dog
Member
Posts: 2828
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: default textures

by Hybrid Dog » Post

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

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests