I just created a new weapon model and exported to MD3 using Misfit Model 3D. The tags are OK and everything works, just the material that is not applied. It appears perfectly on Misfit Model 3D. My texture is called mg_DIF.tga and is stored in the same folder as the model, machinegun.md3. I have created a shader with the following contents:
However, the model still has no texture. Anyone has any ideas of what might be wrong? Using a hex editor, the MD3 file has the correct texture name: mg_DIF.tga. But it does not have the full path (models/weapons2/machinegun/)... is this correct? Does the group name have anything to do with the texture?