Game Development Community

Suggestions please

by Ronald J Nelson · in Torque Game Engine · 11/30/2005 (3:10 pm) · 1 replies

I have a working multiplayer custom paints system in work. It downloads the files, checks the files and distributes them all just fine.

My problem is I want to create an additional system that deletes the downloaded files, but does not delete the user's own custom paints.

Up to this point as far as I can tell all paints(textures) must be in the same folder as the object they are being applied to. If this is wrong and there is another way that would be very helpful.

I would sincerely appreciate any suggestions on sorting and deleting downloaded files that are in the same folder. Thank you in advance.

#1
11/30/2005 (3:24 pm)
You could put a prefix on each of the custom texture filenames in your folder. Then you could create a tokenizer to look for that prefix before modifying any files.

-Griff