UGX-Mods

Call of Duty 5: World at War => Help Desk => Modding => Topic started by: Linoxet on January 23, 2016, 05:25:00 pm

Title: Custom Guns Looking Weird
Post by: Linoxet on January 23, 2016, 05:25:00 pm
I followed rollonmath42's "how to custom animate guns to waw" tutorial to port a custom weapon to WaW, but everytime I export the model the angle is screwed, I don't really know why, I've made the joints 100 different times and still don't work... Any idea? [sorry for bad english]

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F82qJYjx.png&hash=8adb45e7ec9490634e4bde047298675bc1c12b56)
Title: Re: Custom Guns Looking Weird
Post by: DidUknowiPwn on January 23, 2016, 06:03:34 pm
Are you using the specular maps as the color map? Also for normal maps (only if they're pixelated and look wacky as fuck, preview IWI here http://www.diegologic.net/diegologic/CoD_tools/IWI%20X%20DDS.htm (http://www.diegologic.net/diegologic/CoD_tools/IWI%20X%20DDS.htm)) you have to manually convert them from DDS to IWI using https://www.itsmods.com/forum/Thread-Release-IWI-DDS-Fast-Converter-V1-40.html (https://www.itsmods.com/forum/Thread-Release-IWI-DDS-Fast-Converter-V1-40.html)

(Normal maps only being black and white, if it's colored you can pass it through asset manager and it'll come out fine.)



your model isn't right, check it in maya.
Title: Re: Custom Guns Looking Weird
Post by: Linoxet on January 23, 2016, 06:18:18 pm
Are you using the specular maps as the color map? Also for normal maps (only if they're pixelated and look wacky as fuck, preview IWI here http://www.diegologic.net/diegologic/CoD_tools/IWI%20X%20DDS.htm (http://www.diegologic.net/diegologic/CoD_tools/IWI%20X%20DDS.htm)) you have to manually convert them from DDS to IWI using https://www.itsmods.com/forum/Thread-Release-IWI-DDS-Fast-Converter-V1-40.html (https://www.itsmods.com/forum/Thread-Release-IWI-DDS-Fast-Converter-V1-40.html)

(Normal maps only being black and white, if it's colored you can pass it through asset manager and it'll come out fine.)



your model isn't right, check it in maya.

In maya they look normal, and I don't know what I'm doing with textures  :please: Im just trying to port this thing
Title: Re: Custom Guns Looking Weird
Post by: BluntStuffy on January 23, 2016, 06:35:54 pm
It's probably the orientation of the root-joint that's not 0,0,0

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fimgur.com%2FUnVFvRL.png&hash=a6f94200366644b58aa4329795f4458d94b738d6)
Title: Re: Custom Guns Looking Weird
Post by: johndoe on January 23, 2016, 06:46:05 pm
you probably moved a joint that is not binded to a mesh like tag flash. if you're using the animations of a cod gun on another model, you need to move that tag on the firing animations only.
Title: Re: Custom Guns Looking Weird
Post by: Linoxet on January 23, 2016, 07:08:08 pm
The joint orientation was not 0, but if I change it screws up the model in maya and nothing changes when I export to the game :v

When I make a new joint like "tag_clip" and drag it to j_gun, it changes the joint orientation, but if I change back to 0, all the joints move their position, what the hell am I doing
Title: Re: Custom Guns Looking Weird
Post by: R00feR on January 23, 2016, 07:22:01 pm
select J_gun joint then go to "Skeleton" tab there  is "Orient Joint" tab, click litle square there use these settings (https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fwinpic.co%2F3Z07dee59e045.png&hash=2c76ebf44f01b26ba83b96d9db1dee73066e6938)  click "Orient" to apply and try your model....
Title: Re: Custom Guns Looking Weird
Post by: Linoxet on January 23, 2016, 07:47:24 pm
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F2kJPuYz.png&hash=503927dd51c8db62290117c2c795df15f97f102a)

Nothing seems to work...
Title: Re: Custom Guns Looking Weird
Post by: Harry Bo21 on January 23, 2016, 09:04:12 pm
do the same to tag_weapon
Title: Re: Custom Guns Looking Weird
Post by: BluntStuffy on January 23, 2016, 09:27:27 pm
did you rig the gun yourself?
-unbind all the skins
-unparent all the joints from each other so none of them are connected
-set all their orients to 0,0,0 ( except tag_flash and tag_brass )
-then use the parent option to connect them all up again

Now the orientation shouldn't change when you connect them up. When done attach the skins again..
I've had similair problems back when i used maya8.5, currently i dont have these problems anymore so not sure what's causing them but this is kindoff a workaround i guess..

use the parent / unparent option in the general-toolbar:
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fimgur.com%2FTMCwUce.png&hash=c14f7869afe9186c1a0e636f03515eb3f9375e56)
Title: Re: Custom Guns Looking Weird
Post by: Linoxet on January 23, 2016, 09:36:07 pm
did you rig the gun yourself?
-unbind all the skins
-unparent all the joints from each other so none of them are connected
-set all their orients to 0,0,0 ( except tag_flash and tag_brass )
-then use the parent option to connect them all up again

Now the orientation shouldn't change when you connect them up. When done attach the skins again..
I've had similair problems back when i used maya8.5, currently i dont have these problems anymore so not sure what's causing them but this is kindoff a workaround i guess..

use the parent / unparent option in the general-toolbar:
(http://imgur.com/TMCwUce.png)

Thanks so much guys, it worked  :P