supertrace.zip ~ 500kb

it's a free plugin with a function called supertrace() which works with static models and can return the texture coordinates (of both uv-sets) of the hit location.

(to try out the example script extract the zip file to the directory with the mesh plugin demo.)



for example it is helpful if you use entities with light maps and want to figure out the light map color somewhere or for painting graffitis, blood splotches,... at certains locations.



...
and in case you didn't know it already: mesh_plugin_demo.zip ~ 5mb

this plugin makes it possible to use two uv-sets on your models. since the mdl7 format doesn't support two uv-sets, you will need two versions of your model. one with the first uv-set and one with the second uv-set. with the ent_loadseconduvset() function you can load the uvs of the second model into the second uv-set of the first model.



see this thread in the third party forum for more details: http://www.coniserver.net/ubbthreads/showflat.php/Cat/0/Number/755382/page/0/fpart/1/vc/1