Insurgency

Insurgency

Not enough ratings
GL Sight ADS Gestures - What you need to know!
By MrBrightside and 1 collaborators
In this short guide I will show you how to properly setup the base position/angle of your weapon's Grenade Launcher animations, as well as the sequence set up you will need in the compile script for your weapon mod.

I am using Autodesk 3DS Max for this guide, but any 3d software you use to animate in will work fine, the most important thing I will be covering is the "X Axis" angle in which you will have to set the position of the Grenade Launcher pose in.


If you're still having issues after reading this guide feel free to add me on steam, or send me an email at;
bturtell@newworldinteractive.com

If for some reason you can't get in touch with me send an email to our community manager, Mikee, with any issues you may have so he can relay them to me;
michael@newworldinteractive.com
   
Award
Favorite
Favorited
Unfavorite
Setting up the base Idle and ADS positions
When setting up the base Idle position for your weapon mod's Grenade Launcher there are 2 important things you need to remember;
  • Ensure that you've correctly set the angle on the Grenade Launcher sights and they're in the correct place in your scene.
  • Make sure the angle of you weapon is set to where the sights line up on the X Axis as they would when you ADS.
Our M203 sights for example are set to an angle of 0.566, but the weapon is set to an angle of -2.306. The weapon's is the most important as the trajectory of the fired grenade is based off of this angle, I would recommend keeping it at this angle so as not to confuse players using your mod but it's up to you.

- Angle of the M203 sights[i.imgur.com]
- Angle of the weapon[i.imgur.com]

This is important because we're blending the "delta_glsetup" on top of the ads delta, so any alteration of this angle when going into ADS will incorrectly blend with additional ironsight animations.

It is also important that the "Z" (left/right) and "Y" (roll left/roll right) are at 0. Again you will have issues with the ADS gesture if these are not the same as the base Idle position.


ADS
Once you have your base Idle position set, only adjust the position of the entire scene to align the sights as you would any other ADS gesture.

- M203 sight in ADS[i.imgur.com]

As you can see, the "X" angle is still the exact same as the base idle angle.

The green box you see in the center is a bone we use to align the laser sight dot to when you ADS, this bone is called "A_Muzzle_Ironsight" and is required for use with the free aim system. Make sure this bone is parented to the main part of your weapon (our weapons use "Weapon") and align it to the center of your scene, in front of the muzzle of your weapon.

When everything is good, export it.
Setting up the Qc
Setting up the Qc for this new ADS gesture is really easy, you only need to create 2 additional sequences.

  • "$sequence glsetup "m16a4_gesture_glsetup" loop fps 30 hidden"

    Place this under $sequence idle, the animation defined should be the idle position of the Grenade Launcher when equipped.





  • "$sequence delta_glsetup_iron "m16a4_gesture_glsetup_ads" delta subtract "glsetup" 0"

    This line needs to go under the "delta_glsetup" sequence so it should look like this;





This works by subtracting ONLY the 'glsetup' which is your base idle pose for the Grenade Launcher. If we subtracted it with the idle pose as well by using the already defined "delta_glsetup" then it would try subtracting the regular idle pose, as well as the idle pose for the Grenade Launcher.
3 Comments
Proc 27 Feb, 2018 @ 6:36pm 
0
/=\ Bob says "Thx 4 game turtorial"
/\

DragonOfJustice 21 Aug, 2016 @ 5:15am 
so that's why i messed up the glsetup ... it suppose to subtract glsetup not idle as i think it was ... damn ... thank you so much about this. ... very helpful
Snow Fox 10 Nov, 2015 @ 3:56pm 
what are these sequences you are talking about?