I need someone to help me get the M6D model have working illumination.
I think when blackops made the m6d he messed up on its illumination.
Because on the hce shotgun model that he did the illumination works fine and its texture looks different than the m6ds.
Shotgun Normal
[img]http://img97.imageshack.us/img97/705/shotgunu.png[/img]
Shotgun illumination
This have got something to do with that the shotgun have got working illumination
[img]http://img6.imageshack.us/img6/1277/shotgun1f.png[/img]
Here is the M6D normal
[img]http://img20.imageshack.us/img20/4408/body0.png[/img]
Illumination...
This one should have looked like the shotgun models illumination texture but with that illumination type of thing on the orange and red part
I am not good enough to fix this up in Gimp.
[img]http://img337.imageshack.us/img337/3559/pistol1y.png[/img]
I am now hoping that my English is comprehensible.
Colour the illuminated areas on the gun black|or whatever colour you want them to be unillimunted.
Take the illum texture, colour the background black.
link them in the VMT as
$detailtexture "your illumtexture"
$detailscale 1
$detailblendfactor "3"
$detailblendmode 5
Just copy the needed parts from the red and orange in the illum trexture on the m60d and surround them wityh black.
Alternatively you could just make an alpha channel in the diffuse, colour the parts you want to be selfillumuted white and add selfillum 1 to the vmt. But the detail method looks better.
Okay it is not working also I get this error in the console:
CMaterialVar::GetVecValue: trying to get a vec value for $envmaptint which is of type 1
The pistol first was like it was when there were no illumination, then the entire gun flashes green, red and blue etc.
Here is my epicly failed illumination texture:
[img]http://img844.imageshack.us/img844/8458/pistol1detail.png[/img]
Here is the vmt:
[code]"VertexLitGeneric"
{
"$basetexture" "models/weapons/v_m6d/pistol1"
"$bumpmap" "models/weapons/v_m6d/body_NRM"
"$detailtexure" "models/weapons/v_m6d/pistol1detail"
"$detailscale 1
"$detailblendfactor "3"
"detailblendmode 5
"$normalmapalphaenvm
"$normalmapalphaenvmapmask" 1
"$envmap" "env_cubemap"
"$envmaptint" "[ 0.7 0.7 0.7 ]"
"$phong" "1"
"$phongexponent" "45"
"$phongboost" "2"
"$phongfresnelranges" "[.2 4 1]"
}[/code]
Trying to open it up in vtfedit now gives this error message:
Error loading VMT texture:
Error:
Error parsing material on line 7 (newline in string).
give me the VTF for the diffuse map
as well as the normal map
[QUOTE=wraithcat;26589803]give me the VTF for the diffuse map
as well as the normal map[/QUOTE]
Done.