This is somehow a request for hints based on your knowledge of the engine's kernel,
and somehow a request for a new snippet:
The following thread documents the efforts to merge several entities,
with some demos and scripts included.
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=400632&page=allThe merging of entities can serve the optimizing of a level for framerate,
or it can offer an easy way to combine models without the use of MED.
#1 Do you see in the given examples any major mistakes like memory leaks, or is the use of ent_setmesh inappropriate from the view of its internal algorithm?
#2 How can we set the uv vertices to a different skin than the first one?
Is there a chance to get a simple function for this?
#3 Can we get a function to set the second uv-set, as well?
Thank you for your attention!