Game Development Community

Making a basic gun

by Jared Kidd · in Artist Corner · 07/30/2008 (6:17 pm) · 9 replies

I had made an Uzi and textured pretty good and when i put the shape into Torque you can see the form of the model, but its see through. you can see the reflection of the sky besides the texure i made any help would be appreicated.

About the author

i'm 16 and i really enjoy making games and testing them. i started making games when i was 11 using game maker, but then i started using torque when i was about 13 and now i fell in love with game designing and look forward to making a career out of it.


#1
07/30/2008 (6:42 pm)
Check the model exporter (I use Blender - I've no idea what other exporters are like) and make sure on the texture/material tab, your gun texture is listed for export and translucent and environment map are off when you select it. Also try and change emap to false in your weapon's cs file.

Hope that helps.
#2
07/30/2008 (6:57 pm)
I use milkshape 3d.
#3
07/30/2008 (8:44 pm)
Could we have a little more information, like what exporter you are using (Regular or Plus)?

-Make sure your material resolution is in multiples of two. 32, 64, 128, 256, 512, ect.
-Sounds dumb, but make sure you applied your material to your mesh.

I'll be able to help you more when you let me know which exporter you're using.
#4
07/31/2008 (2:05 pm)
I use the built in dts exporter that comes with milkshape. I checked all the boxes including export material info. Still no material is on my model. i use the regular
#5
08/01/2008 (5:51 am)
Does anyone know how to fix this.
#6
08/01/2008 (6:00 am)
This is probably a dumb suggestion - but you did put the texture in the directory with the dts?
#7
08/01/2008 (6:07 am)
We tried what you said Steve but it didn't help.
#8
08/01/2008 (6:11 am)
As your using Milkshape (not my area of expertise), I'd suggest making a new forum post asking for help in the DTS Exporter: Milkshape forums www.garagegames.com/mg/forums/result.forum.php?qf=129
#9
08/01/2008 (10:52 am)
As suggested before, it sounds like you can either have an alpha channel on your PNG, OR, you might have to reverse your poly normals. Try saving your texture as a jpeg, setting translucent to 'false' and see what happens. Not sure how milkshape handles inverted normals, but you should be able to enable backface culling to check their direction. Good luck.