UGX-Mods

Call of Duty 5: World at War => Tutorial Desk => Modding => Topic started by: IHammY/ on August 05, 2014, 10:39:38 am

Title: [tut] Bo2 reflection effects
Post by: IHammY/ on August 05, 2014, 10:39:38 am
Well every one of you guys who has ever ported a gun form bo2 or bo1 has most likely noticed that the guns dont have the shine and reflection effects they had in the original games and you just accepted it thinking: "Well waw couldnt handle those reflections  :(" BUT waw is indeed capable of having reflections looking almost exactly like bo2´s.
Well now you are most likeley like "Whats he talking about just applying a specmap looks weird o.O" but its not just applying a spec map.
In order to get those epic reflections you are going to have to use the cosine powermap and env mapping funktions in asset manager. In interest of time im just adding pictures of about what those images will look like. (my example is the msmc)
Color Map (format: .dds):
_-gmtl_t6_wpn_smg_msmc_col.dds
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.gyazo.com%2Fa87c4df94e89779009cb4c2b265d57ea.png&hash=47ae92d24c1292302588b6394fe6b2c9b3389105)
Normal Map (format .tga):
mtl_t6_wpn_smg_msmc_nml.tga !!IMPORTANT!! Bo1 and ghostsexports dont have those bule-ish normal maps. The green and grey colored ones wont work. To get those to work look for a normalmap plugin for whatever image editing programm you are using.
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.gyazo.com%2F94a70bfcd470bda0b6d1b09abebaa63e.png&hash=015db80c5d0a4b7d0e25318c788cbb18ff0ec0ac)
Detail Normal Map (format .tga):
Not used for guns.
Specular Color Map (format .tga):
__-gmtl_t6_wpn_smg_msmc_spc-r_19c19d50.tga
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.gyazo.com%2Fc8a8abe29718c7a7d689b19f1dd48879.png&hash=a9778c751ec2525a5377b7171068fa05100f8807)
Cosine Power Map (format .tga):
__-gmtl_t6_wpn_smg_msmc_env-r_19c19d50.tga !!Important!! This image is most likeley not included and youll have to make it yourself!! The way you do this is open the Specular Color Map delete the alpha channel make it a black-white image and export it using another name. (also tweak the brightness of it until you are happy with it (this is really bright for bo2 lookalike effects))
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.gyazo.com%2F3608690395204ba638a8f356be03cd9f.png&hash=ec22f83c484b54d3967672ea6159420c2847dc2e)
Env Mapping (format no image):
Well if you have properly followed this tutorial and looked at the gun after each step you have probably noticed that the gun is way to reflective after you applied the Cosine Power Map. And that is where the Env Mapping kicks in. This allows you to tweak how strong the reflections of the Cosine Power Map will appear. Tweak the Env Mapping and the Cosine Power Map untill you are happy with your gun.

Now to sum this up you get a look at the msmc that I proted for this tutorial:

This is how the msmc you ported probably looked like:
http://youtu.be/MX0AFMqNthQ (http://youtu.be/MX0AFMqNthQ)

And this is the one I proted:
http://youtu.be/9UP9jpgZJ00 (http://youtu.be/9UP9jpgZJ00)

I really hope this helps alot of you guys.
Thanks for reading
-IHammy



Title: Re: [tut] Bo2 reflection effects
Post by: n123q45 on August 05, 2014, 02:24:39 pm
remember spec maps and normal maps must be tga not dds or else asset manager will have a fit
Title: Re: [tut] Bo2 reflection effects
Post by: DidUknowiPwn on August 05, 2014, 04:14:59 pm
I've never seen much different on environment image used :/

Also wrong place :D
Title: Re: [tut] Bo2 reflection effects
Post by: Alerion on August 05, 2014, 06:50:18 pm
remember spec maps and normal maps must be tga not dds or else asset manager will have a fit

Normal Map (format .tga):

Detail Normal Map (format .tga):

Cosine Power Map (format .tga):

...?
Title: Re: [tut] Bo2 reflection effects
Post by: steviewonder87 on August 08, 2014, 05:22:17 pm
Textures look nice and good tut +1, however I personally find the numerous gaps and holes in most BO2 models (for instance down the sides of the MSMC in your video) more annoying and would prioritise fixing those before trying to get the gun looking nice and shiny  :P
Title: Re: [tut] Bo2 reflection effects
Post by: IHammY/ on August 08, 2014, 05:23:52 pm
Textures look nice and good tut +1, however I personally find the numerous gaps and holes in most BO2 models (for instance down the sides of the MSMC in your video) more annoying and would prioritise fixing those before trying to get the gun looking nice and shiny  :P
I´m aware of those gaps tho this is a issue that needs to be fixed in maya wich i am not experienced enought with to seriously do anything but bind the models...
Title: Re: [tut] Bo2 reflection effects
Post by: DidUknowiPwn on August 08, 2014, 08:18:17 pm
I´m aware of those gaps tho this is a issue that needs to be fixed in maya wich i am not experienced enought with to seriously do anything but bind the models...
Those are caused by converter discarding some tris on the model.
You can "average" the tris in maya it may or may not help.