Game Development Community

Crosshair Help

by Walker Twyman · in Torque 3D Professional · 09/03/2011 (12:43 pm) · 5 replies

I am using T3D 1.1 Final, and I noticed that there aren't any crosshairs for the scene. The gun's targetting seems off too. I was wondering if anyone had a workaround or explanation for this so that I might correct it. Thanks in advance.

-Walker

#1
09/03/2011 (5:14 pm)
They have changed the way the weapon works - there is quite a spread on the projectiles as they are created on firing the weapon. www.garagegames.com/community/resources/view/20829 - Check Steve's resource here for info on how he set up his weapons and compare them to the soldier weapon image in the art/datablocks/weapons/soldier_gun.cs file.

Basically, the new firing mechanic is a spray of bullets that seems to tend to fire fairly high.
#2
09/03/2011 (9:00 pm)
[hint] projectileSpread [/hint]
#3
09/03/2011 (9:46 pm)
I didn't want to just give it away...
#4
09/04/2011 (6:40 am)
I didn't tell him where it was! Find-in-Files FTW!
#5
09/15/2011 (9:39 pm)
Actually, thanks for the tips. I was more referring to the offset of the muzzle. I didn't realize that the shapes were now mounted to the hand which determines the direction the bullets leave the gun. CorrectMuzzleVector fixed it, but I still need the gun turned and the eye re-adjusted to fit correctly with the scene.

Thanks for the help though.