Return to site

How to aim down iron sights

broken image

Finished calibrating all campaign weapons. (MP5SD6 is unusable due to animation issues) Added support for suppressed MP5, MP5SD6, and M4 Super 90. Set the rotation and location offsets for 1911, Glock, P226, MP5ks, and M870 It might be better to make this a separate branch. Of course SWAT 4 wasn't designed with iron sights in mind, and there are some issues. A weapon with a higher inertia will sway to the sides more when you turn, and will take longer for you to align the iron sights. The ViewInertia property controls how responsive the weapon is when you move. In addition to support for aiming down the sights, I also added a ViewInertia property to weapons.

broken image

You will move the weapon to look down its sights when you press the 'zoom' key.

broken image

They build on the code that was working on for iron sights, but I simplified the code and added some new features.

broken image

These commits add a basic working iron sight implementation to the game. Note: this information copied from the original pull request