UGX-Mods

Call of Duty 5: World at War => Help Desk => Modding => Topic started by: jm-390 on June 27, 2016, 06:54:07 pm

Title: Viewmodel convert error
Post by: jm-390 on June 27, 2016, 06:54:07 pm
I'm trying to create custom weapon following Tom Crowley tut and I keep getting this error in Asset Manager when I try to convert Viewmodel :

Code Snippet
Plaintext
Converting 1 assets, reason: 'missing cache entry'
Converting 'Steam_PuNK_viewmodel' (xmodel 2 of 1)...
Converting xmodel 'C:\Program Files (x86)\Activision\Call of Duty - World at War\model_export/staem_punk_gun\viewmodel_SteamPuNk.xmodel_export'...

ERROR: C:\Program Files (x86)\Activision\Call of Duty - World at War\model_export/staem_punk_gun\viewmodel_SteamPuNk.xmodel_export(288501): Vertex normal is 0

aborting....


Conversion failed with 1 errors. Hit key to continue.

I'm using maya 2013 and i didn't get any error when I export the model in maya also I'm  going to "Mesh > Transfer Attributes" and turning on the Vertex normal there

sorry for my bad English :-X
Title: Re: Viewmodel convert error
Post by: Linoxet on June 27, 2016, 07:28:00 pm
Select all meshes of your gun then go here:
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fk8ctlcb.png&hash=0ac15b3bb7fb13386e9f3baad82e3a77ccb0320f)
Then export the model again, that should fix
Title: Re: Viewmodel convert error
Post by: jm-390 on June 27, 2016, 08:16:15 pm
Select all meshes of your gun then go here:
(http://i.imgur.com/k8ctlcb.png)
Then export the model again, that should fix

thanks dude you solved the problem but I'm getting another error in Asset Manager  :alone:

Code Snippet
Plaintext
Converting 1 assets, reason: 'missing cache entry'
Converting 'Steam_PuNK_viewmodel' (xmodel 2 of 1)...
Converting xmodel 'C:\Program Files (x86)\Activision\Call of Duty - \model_export/staem_punk_gun\viewmodel_SteamPuNk.xmodel_export'...

ERROR: Can't find material [lambert11] in directory 'C:\Program Files (x86)\Activision\Call of Duty - \raw/material_properties/' or 'C:\Program Files (x86)\Activision\Call of Duty - \raw/material_properties/'
aborting....


Conversion failed with 1 errors. Hit key to continue.

sorry this is my first time trying make  gun ::) :-X
Title: Re: Viewmodel convert error
Post by: Linoxet on June 27, 2016, 08:30:50 pm
Did you applied the correct material in maya?
Title: Re: Viewmodel convert error
Post by: jm-390 on June 27, 2016, 09:18:13 pm
Did you applied the correct material in maya?

I'm only used lambert
Title: Re: Viewmodel convert error
Post by: Linoxet on June 27, 2016, 09:40:35 pm
I'm only used lambert

You need to apply the material in maya like "mtl_mycustomweapon" and convert the material with the same name in Asset Manager
Title: Re: Viewmodel convert error
Post by: jm-390 on July 01, 2016, 12:05:17 pm
th
You need to apply the material in maya like "mtl_mycustomweapon" and convert the material with the same name in Asset Manager

thanks :D ;D