SneakyGuy101 on 1/10/2015 at 00:38
So I've been using a lot of different textures in my mission all from various families and so I've been worried I might be hitting some limit.
I have more than 32 texture families and have wanted to know if there is a limit to how many texture families you can have? or is it just the 1024 texture limit and there is no limit to the number of families you have in your mission? :confused:
Xorak on 1/10/2015 at 00:56
If you are using indexed texture families, there is a limit of 32 families you can use. If you're not using indexed textures you could put 1000 textures in a single directory and count that as 1 family, so effectively you don't have to worry about the family limit at all.
SneakyGuy101 on 1/10/2015 at 01:07
Quote Posted by Xorak
If you are using indexed texture families, there is a limit of 32 families you can use. If you're not using indexed textures you could put 1000 textures in a single directory and count that as 1 family, so effectively you don't have to worry about the family limit at all.
Oh okay I see now. So I'm guessing any family folder that has the file 'full' is an indexed family?
Well I went and checked all the families and out of 60 of them 40 of them have that 'full' file in them :erg:
But 18 of them are stock texture families, so do stock families not count towards that amount of indexed families?
Also do you get a notification in dromed that you have too many indexed families?
Xorak on 1/10/2015 at 01:50
yeah, the indexed images saved file space because instead of each image encoding their own specific color definitions per pixel, each pixel encodes a number from 1-256 (or less), which points to the various colors in the full.gif file.
I just tried adding more than 32, and it doesn't give me any critical error. It simply will not allow me to add more families. It does say "couldn't add family" at the bottom of the main dromed window though. Are you sure you're over 32? I'd assume the stock families count towards the limit as well. Oh, the mono window does indeed give an error: "can't add more families (max 32)".
If you really need to free up families, you could convert all those indexed files into regular rgb images, using gimp or photoshop and then lump them all into a single family (using new names for all the images). You're probably entering a world of pain if you go that direction though.
SneakyGuy101 on 1/10/2015 at 01:59
Well since .png files don't require the 'full' file I might just change all the .gif textures in their existing families to .png because I have done so before and it did work and it would save me from having to re-texture everything if I were to lump them all into a single family :idea:
Also I did count up the amount of families and there are as many as I've said and I am still able to add families to my mission somehow :erg:
Xorak on 1/10/2015 at 02:11
Yes if you're using custom textures it's easy enough to change them to .png files. I was warning more against changing the stock textures. They might be better to leave alone unless you give them all new names and such.
But even with families of all .png files you're still going to hit that 32 family limit; unless you start merging some families into one.
LarryG on 1/10/2015 at 03:04
And when you merge multiple families, you will still have to re-texture because the family name is part of the texture file name. If I recall correctly there is a DromEd command to facilitate changing all refs of texture N to texture M.
Edit: The command is texture_change oval,nval (string function): swap oval,nval - modifies all faces
So you would need to put the new family texture onto something to get a new texture number, then change all the old family texture references to the new family texture using the command. You could use a command file for this last and do all of the changes that way, or do them all manually in the command window. Either way it will still be a LOT of work.