GTA IV Transparent Weapons

GTA San Andreas and GTA Vice City discussion.

Moderators: _RicH_, Oleg

GTA IV Transparent Weapons

Postby Push » Wed Jul 04, 2012 8:16 pm

Hi I have been making weapons mods for GTA IV and I have this problem where the weapon becomes transparent when pointed somewhere with a light like in the photo below:
Image
I was just wondering if anyone knows how to fix this or what causes this problem. Somebody said it might be a Zmod problem so I went here and asked.

BTW This also happens to a lot of weapon mods made by others and is a major problem.
Push
 
Posts: 5
Joined: Wed Jul 04, 2012 8:11 pm

Re: GTA IV Transparent Weapons

Postby Oleg » Wed Jul 04, 2012 10:27 pm

hmm.. no ideas...

does this happen on all kind of shaders you've used? I don't see the transparency on the image, may be you'll attach a box to the weapon (aside, on the right side) so it's clearly seen that it gets transparent..

does this relate to shadows?
User avatar
Oleg
Site Admin
 
Posts: 2192
Joined: Fri Feb 06, 2004 3:54 am

Re: GTA IV Transparent Weapons

Postby Push » Thu Jul 05, 2012 1:37 pm

On the image if you look closely you can see Nikos hand through the weapon. This happens when you put the weapon where light shines like below lamps of in front of car headlights. I don't know about what you mean with "shader" but I try to imitate the how the default weapons are. I use DontProduct3 Blend Operation for bump maps and for specular maps I use Specular/MultiplyAdd and. I name the materials for the weapon gta_normal_spec. I also tried removing the specular and bump maps and used gta_default for the materials and this still happens. A friend said that he uses 3ds max to assign materials and this does not happen to him. Any ideas?
Push
 
Posts: 5
Joined: Wed Jul 04, 2012 8:11 pm

Re: GTA IV Transparent Weapons

Postby Oleg » Thu Jul 05, 2012 1:48 pm

I mean you should try assigning any original game textures instead of yours and test ingame. May be texture format is wrong.

then, try setting different shader (it's specified in material name), I don't remember which they are, there is a sticky thread here above, so you can try different shader names. e.g. 'mesh'...
User avatar
Oleg
Site Admin
 
Posts: 2192
Joined: Fri Feb 06, 2004 3:54 am

Re: GTA IV Transparent Weapons

Postby Push » Thu Jul 05, 2012 9:37 pm

I tried what you said and still no luck. I tried converting all my textures to the possible file formats available and also tried using gta_default, gta_normal_spec, gta_normal_spec_reflect but still no fix. I think this might be a materials problem since like what I posted before a friend uses 3dsmax to assign textures to the model them import it to Zmodeler and he doesn't get this problem but almost all of those who use only Zmodeler get this problem.
This is what I generally follow when converting guns with just a few more steps like adding and setting up the bump and spec maps.
http://www.youtube.com/watch?v=rtVLXpjaw6U
I also tried importing a default gun from the game to Zmodeler then export it and import it back to the game and I get much more transparent textures that I can barely see the gun.
Here is a photo:
Image
I did not edit this one just import it then export from Zmodeler.
Push
 
Posts: 5
Joined: Wed Jul 04, 2012 8:11 pm

Re: GTA IV Transparent Weapons

Postby Push » Tue Jul 10, 2012 7:06 pm

Still no ideas anyone?
I think this probably has something to do with the materials settings. I was trying to change the basic parameters (diffuse, ambient, specular, etc.) settings but they keep returning back to the default one after I export it as .wdr format. Does anyone know how I can change them without returning to default settings?
Push
 
Posts: 5
Joined: Wed Jul 04, 2012 8:11 pm

Re: GTA IV Transparent Weapons

Postby jorgea » Fri Jul 27, 2012 4:24 pm

Have you fixed this problem yet? If yes, what did you do?
jorgea
 
Posts: 1
Joined: Fri Jul 27, 2012 4:18 pm

Re: GTA IV Transparent Weapons

Postby Push » Sun Aug 05, 2012 11:02 pm

Yes I fixed the problem by using 3ds max for the materials. I think zmod has some bugs when exporting .wdr models since this does not happen when using 3ds max along with other problems I have found in using zmod for .wdr.
Push
 
Posts: 5
Joined: Wed Jul 04, 2012 8:11 pm


Return to Grand Theft Auto

Who is online

Users browsing this forum: No registered users and 3 guests