Jamayka

How to make a moving camouflage

8 posts in this topic

To achieve this you will need a couple of things:
1- your Mod source (in this case i'll be using deathrun 1.2 source for Cod4)
2- Mod tool updated to lastest version "1.1" (For COD4)
3- Photo editing software that convert to dds (in this case i'll be using photoshop cs6 with Nvidia plugin)
4- a picture
 
 
So lets get started :
 
1) grab an image that you like:
 

717fc0.jpg


 
2) Open it in Photoshop/Gimp/Paint. I personally recommend using Photoshop and change the picture size to a power of 2 (Ex. 1024x1024, 512x512, etc.)
 

"8", "16", "32", "64", "128", "256", "512", "1024", "2048"


 
3) Save the image as a DDS/TGA in root/raw/images (you must save it there). Works either way. Just use DDS for your case (if you use TGA just leave the settings as it is.)

 
4) Open up Asset Manager and select material and 
create a new entry and name it wat ever you want (You must remember what you named it)
 

fxbgug.jpg



5) follow the settings:
 

materialtype: model phong
surfacetype: none
go down and check texture scroll box


6) now select the dds you made before by click on the three dots in color map and convert the Asset (by pressing F10 or PC convert Menu). it should say "Conversion Done." if you had any error post it here
 
7) Copy the converted file in root/raw/images and paste it in your root/mods/YOURMODNAME/images folder.
 
8) For the material to work on the gun, you go into root/raw/xmodel and find the viewmodel of your gun. Since i m using the silver Deagle,i ll find "viewmodel_desert_eagle". Make a copy of it and rename it something like "viewmodel_desert_eagle_lava" (you want to keep the original one). Open the file with Notepad++(it Must be Notepad or it wont work) and find "mtl_weapon_desert_eagle_silver". Replace that with what you named your material in Step 4.Then save it and put in your root/mods/YOURMODNAME/xmodel folder.
 
9) Find your silver deagle file in root/raw/weapons/mp (you dont have it there just go grab it from main/iw_11/weapons/mp, which supposedly should be named Desertdeagle_mp. Make a copy of this as well and rename it "lava_deserteagle_mp"(The reason for this is to keep the original Deagle gun instead of replacing it). Open it up with Notepad++ and find "viewmodel_desert_eagle". Replace that with what you named your viewmodel file (in this case "viewmodel_desert_eagle_lava") in root/mods/YOURMODNAME/xmodel.and save it in root/mods/YOURMODNAME/weapons/mp folder
 

optional step to apply the texture to the model

optional) For the material to work on the model, you go into root/raw/xmodel and find the world viewmodel of your gun. Since i m using the silver Deagle,i ll find "weapon_desert_eagle_silver". Make a copy of it and rename it something like "weapon_desert_eagle_lava" (you want to keep the original one). Open the file with Notepad++(it Must be Notepad or it wont work) and find "mtl_weapon_desert_eagle_silver". Replace that with what you named your material in Step 4.Then save it and put in your root/mods/YOURMODNAME/xmodel folder.
 
optional) go back to your  silver deagle file in root/raw/weapons/mp, which you supposedly  named lava_Desertdeagle_mp. Open it up with Notepad++ and find "weapon_desert_eagle_silver". Replace that with what you named your world viewmodel file (in this case "weapon_desert_eagle_lava") and save it


10) go to your mod.csv and insert this lines
 

weapon,mp/lava_deserteagle_mp
xmodel,viewmodel_desert_eagle_lava
xmodel,weapon_desert_eagle_lava

 For COD:WaW only


 WaW) Assuming that you ported this gun over from COD 4, insert this lines 

weapon,mp/lava_deserteagle_mp
xmodel,viewmodel_desert_eagle_lava
xmodel,weapon_desert_eagle_lava 

 in your mod.csv(It is the box beside the IWD list in Mod Builder) Remember to include this weapon in _zombiemods_weapons and dlc3_code(Copy this from the raw/maps folder and paste it in YOURMODNAME/maps folder if you haven't already)


 
11) Build your mod and enjoy your sexy weapon


 if you have any issue post it here

9

Share this post


Link to post
Share on other sites

Just realized your English is pretty good in this post.

1

Share this post


Link to post
Share on other sites

This guy is improving his skills for English and cod side, I know him pretty much for a long time since FNRP. Well done ;)

0

Share this post


Link to post
Share on other sites

This guy is improving his skills for English and cod side, I know him pretty much for a long time since FNRP. Well done ;)

thank guys i m trying my best

0

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now