Fortnox Posted July 16, 2005 Share Posted July 16, 2005 well I'm reskinning a model and I'm trying to change the name of the texture that the model records as its skin, I read that you use a hex editor to do so. I have got two hex editors, but I dont know what do do with them. please help :S Link to comment Share on other sites More sharing options...
stoffe Posted July 16, 2005 Share Posted July 16, 2005 Originally posted by Fortnox well I'm reskinning a model and I'm trying to change the name of the texture that the model records as its skin, I read that you use a hex editor to do so. I have got two hex editors, but I dont know what do do with them. please help :S Do an ASCII search for the name of the old texture (without the .tga or .tpc suffix). Where you find it, replace that text with the name of your new texture. Depending on the type of model the texture name may occur in several places in the file. It is very important that your new texture name has the same number of characters as the old one. Only overwrite the characters of the old name in the file, don't add any new characters, or you'll mess up the file. Link to comment Share on other sites More sharing options...
Fortnox Posted July 16, 2005 Author Share Posted July 16, 2005 hmm, I did the search with ASC II selected, but nothing came up. it just closed, is this search right? also, which should I open, there is .mdl, .mdx, and .txi Link to comment Share on other sites More sharing options...
stoffe Posted July 16, 2005 Share Posted July 16, 2005 Originally posted by Fortnox hmm, I did the search with ASC II selected, but nothing came up. it just closed, is this search right? also, which should I open, there is .mdl, .mdx, and .txi Just search for PMBH (or PMBH01), the numerical suffix is updated by the game depending on the texture variation set and is not present in the model for all texture variants. The texture references are stored in the MDL file. The TXI file holds additional texture information such as shaders, environmentmaps, transparency etc, most of them in plaintext (though it seems some are in another format). Link to comment Share on other sites More sharing options...
Fortnox Posted July 16, 2005 Author Share Posted July 16, 2005 I tried inside the .mdl searching for just "PMBH" but didnt find anything still :S Link to comment Share on other sites More sharing options...
General Kenobi Posted July 16, 2005 Share Posted July 16, 2005 Yep just to what Stoffe says Make a note to be "aware" of and and be "mindful" of altering existing names with names that are longer in character number. I'd recommend leaving off a longer name or the like till your a bit more experienced. Some of the mdl uses "variances" of the name your wanting to change in comes cases. You can do a search and then some variances of a name your changing in some cases with a @@@@@h1 (you only searched for the "@@@@@" part. I had "issues" with this when HEX editing. So just watch how and what your replacing. You can always adjust the "....." lines before or after the name you are wanting to change manually by typing it in by hand instead of replacing. In addition if you run into problems just ask questions & I'm sure someone will help ya out. Lastly good luck Hope that helps a bit, DM Link to comment Share on other sites More sharing options...
ChAiNz.2da Posted July 16, 2005 Share Posted July 16, 2005 Which model are you trying to change the skin for? Most skins usable by a model can be determined in the appearance.2da... Just change the values in the appropriate model and tex columns to point to the skin you're wanting to use... stoffe wrote a summary of what columns belong to what type of skin it references here: http://www.lucasforums.com/showthread.php?s=&threadid=148638 The only reason you'd need to HEX a body model is if you're wanting to make it unique (most of the time that is) Link to comment Share on other sites More sharing options...
Fortnox Posted July 16, 2005 Author Share Posted July 16, 2005 the model is a edit of beenzy's and prime's storm trooper, to turn it into a ep III clone trooper [/url] I need the models to be individual so it wont have compatibility problems with the origonal storm trooper, and also so that I can do the different types, like the 501st legion etc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.