Duplicating a model using Hexadecimal
Im going to show you how to Duplicate a stock model using Hexadecimal.
First you would need a free hex editor tool and the one i recommend and use is HxD. you can download it here http://mh-nexus.de/en/programs.php. do not continue untill that is installed.
Now that you have a Hex editor tool lets get our hands dirty .
Im going to demonstrate how to duplicate the stock american player model so try to follow along.
First go into your "Call of Duty 2" folder. then go into then folder labeled "Main". open up the file "iw_13.iwd".
Open the folder labeled "xmodel", and look for "playerbody_american_normandy01". grab that file and put it on your desktop for now. you can leave iw_13.iwd open because we might need that again but you can minimize it for now.
Now that you have the model of the american player. time to figure out what skins does this model use.
Open the "playerbody_american_normandy01" that you have on your desktop using HxD. the first thing your going to notice is a bunch of garrbly gook. but you want to look for the skins used for this model. you do not want to look for the Image name used for the model you want to look for the Materials file name used for this model. notice you will see mtl_us_ranger. in alot of places on this file. that is the Materials file used for this model. now we want to rename this materials file so you can have your own skin for it.
IMPORTANT: When you are Renaming this file you must have the same number of characters the file name has. and do not press backspace or delete or you will ruin your file and have to redo the file. You must highlight what letter or number you want to change and then press a key.
^ Notice i highlighted what i wanted to change
^ Then i changed the "s" to a "1". you now need to do that to everything that says "mtl_us_ranger". thats all you need to do to change the name of the Materials file for your duplicated model.
^ Thats what your finished product should look like. now save that as "playerbody_american_normandyrr" make sure you have the same character length as the orginal.
Now that is finished with lets go get the materials file and image file. if you still have the file "iw_13.iwd" open. then go back to that and get out of the "xmodel" folder and open the folder labeled "materials". and find the file called "mtl_us_ranger". grab that file and put it to your desktop for now.
Open the "mtl_us_ranger" that you just put on your desktop using HxD. now what you will see is some more garrbly gook. but you will see "mtl_us_rangers.american_rangers_#0"
REMEMBER : THE SAME RULES APPLY WHEN CHANGING THE NAMES OF THESE FILES!
You want to change "mtl_us_rangers.american_rangers_#0" to "mtl_us_ranger1.american_rangers_dd".
ALSO : This is just a side note. you dont have to name these files the way i am naming them. you can name "american_rangers_#0" anything you want also as its the same character length i just used "dd" as a demonstration. but for "mtl_us_rangers" we already named it "mtl_us_ranger1" in the xmodel file so you want the names to be the same.
Save this file as "mtl_us_ranger1". now that you have the xmodel and materials file complete all you need to do now is find the image file and rename it to "american_rangers_dd". you can find this file by going in your "Call of Duty 2" folder then going into the folder labeled "main". open the file called "iw_08.iwd" and open the folder "images" and it should be near the top called "american_rangers_#0". grab that file put it at your desktop and rename it to "american_rangers_dd".
Now your finaly done! now the file "playerbody_american_normandyrr" that you made is a duplicate of the orginal playermodel. and dont forget you need the material and image files (or else he will have no skin) and you can edit those images to what ever you want now.
Latest Syndicated News
Why console gaming is dying
Quote:Consider this: Dedicated gaming sales — including living-room consoles...
Devs: Games are being dumb...
Click 'read more' to view the contents of this post.
Gun Crafting to the Max. edited on Sep. 25, 2012 06:57 pm by Morp...
Introducing the Source Fil...
Surprised this wasn't made a long time ago. Sounds like a nice little feature.
Introducing the Source Fil...
The Source Filmmaker (SFM) is the movie-making tool built and used by us he...
Partners & Friends
Copyright © MODSonline LLC
Tresware Content Management System © 2011
Website Designed by LKFX and Developed by Tresware