Game Development Community

Making a gun

by Jesse · in Artist Corner · 08/07/2006 (10:33 am) · 8 replies

Hi,
I'm new to the forums here, could anyone show me how I would import a gun to Torque from MilkShape 1.7.7? I have just started using Torque and don't understand it completely. I have about 5 guns I want to put in it. Also, would it be possible it make an upgrade system for guns, for example, you can put a silencer, laser, and flashlight on a gun, the laser would change the crosshair, the silencer would change the sound, and the flashlight would make a light appear infront of the gun?

Any help would be greatly appreciated.

About the author

Recent Threads


#1
08/07/2006 (4:55 pm)
Weapon

1. You will need these 3 items:
a. Shape32 (Weapon)
b. Bounds0
c. collision-1
2. You will need these to:
a. _ejectpoint
b. _muzzlepoint
C. _mountpoint
3. And of course the texture.
4. This setup is base on the ms2dtsExporterPlus 2.6.1.0 Export.

If you like you can email me one of the weapon. I will setup for you and send you the milkshape file. You can look at how it is done.
#2
08/07/2006 (6:15 pm)
My email isn't working right now so I don't know how to get you the gun model...
#3
08/07/2006 (6:25 pm)
Ok, the _ejectpoint, muzzlepoint and _mountpoint are joints in milkshape. Bounds and collision-1 is a cube that surround the weapon. Shape2 is the model it self.
Take look at this, it should help alot. When your email come up feel free to email if you like.
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=9230
#4
08/10/2006 (1:31 pm)
Hi !

Sorry, but i have a problem

I can see my weapon when i look down, but when i look up i can't see it.

Any ideas?
#5
08/10/2006 (1:53 pm)
What software did you use to export it? What your detail?
#6
08/10/2006 (2:47 pm)
I use blender to export my model and i use detail32 but when i replace my weapon with the crossbow nothing changes

Maybe there is a problem with the player model

I need help!
#7
08/10/2006 (3:09 pm)
Try change your detail32 to detail2 and see what happen. Whenever I place detail32 on the weapons i have this problem.
#8
08/10/2006 (3:30 pm)
I've tried but that's not the problem :/