How can I change the path of a models skin?
as in where it looks for its texture because I’ve noticed no matter what folder I change the model to it always checks for the skin in its original folder…
thanks
How can I change the path of a models skin?
as in where it looks for its texture because I’ve noticed no matter what folder I change the model to it always checks for the skin in its original folder…
thanks
u can use Npherno’s md3compile, there u can just write the path to texture that u need
Or just make a pk3 to replace the shader/textures the model is pointing at.
I’ve always had mixed results with Npherno’s md3compile.
If your feeling brave you can edit the md3 file with a binary editor - once you are in there it is pretty simple to edit the path strings for new filenames - just make sure that you are working with a copy.
Every path entry I have seen so far is 64 bytes long, if you don’t use all 64 bytes you can pad it with null characters.
thanks all
everything worked fine using md3 compiler
I found this tutorial for doing just that http://www.tabun.nl/tutorials/md3skinpath_tutorial/
[QUOTE=MrLego;177512]
If your feeling brave you can edit the md3 file with a binary editor - once you are in there it is pretty simple to edit the path strings for new filenames - just make sure that you are working with a copy.[/QUOTE]
I’ve tried to edit the path straightly from md3 with a text editor, however it always resulted crashing the game, even tho I couldn’t find what mistake I made. Anyway the nph3rno works very good so that’s the way to go.
funny, the first thing I tried was notepad I changed the path, saved and it turned out there was a bunch of errors
You can’t use notepad or other text editor, they will always try to save it as text.
I’ve never had any problems using a binary editor, some of the models that shipped with ET were from RTCW and were missing textures. In that case you have a few choices - grab the missing textures from RTCW which violates the EULA from RTCW or replace them with something else.
Here’s a screenshot of a modified model I made about 4 years ago - I only edited the paths and names of the textures to point to my new ones so I would not disrupt the original model in case someone else was making a doc-carry map.