Class ShotSnapHelper
Inherited Members
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet3.dll
Syntax
public sealed class ShotSnapHelper : CustomHelper
Constructors
| Improve this Doc View SourceShotSnapHelper(Ped)
Declaration
public ShotSnapHelper(Ped ped)
Parameters
Type | Name | Description |
---|---|---|
Ped | ped |
Properties
| Improve this Doc View SourceSnap
Add a Snap to shot.
Declaration
public bool Snap { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = False.
SnapAirborneMult
AirborneMult*snapMag = The magnitude of the reaction if airborne.
Declaration
public float SnapAirborneMult { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 1.0f. Min value = 0.0f. Max value = 20.0f.
SnapBalancingMult
BalancingMult*snapMag = The magnitude of the reaction if balancing = (not lying on the floor/ not upper body not collided) and not airborne.
Declaration
public float SnapBalancingMult { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 1.0f. Min value = 0.0f. Max value = 20.0f.
SnapDirectionRandomness
The character snaps in a prescribed way (decided by bullet direction) - Higher the value the more random this direction is.
Declaration
public float SnapDirectionRandomness { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 0.3f. Min value = 0.0f. Max value = 1.0f.
SnapHipType
Type of hip reaction 0=none, 1=side2side 2=steplike.
Declaration
public int SnapHipType { set; }
Property Value
Type | Description |
---|---|
Int32 |
Remarks
Default value = 0. Min value = 0. Max value = 2.
SnapHitPart
Snap only around the wounded part//mmmmtodo check whether bodyPart doesn't have to be remembered for unSnap.
Declaration
public bool SnapHitPart { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = False.
SnapLeftArm
Snap the leftArm.
Declaration
public bool SnapLeftArm { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = False.
SnapLeftLeg
Snap the leftLeg.
Declaration
public bool SnapLeftLeg { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = False.
SnapMag
The magnitude of the reaction.
Declaration
public float SnapMag { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 0.4f. Min value = -10.0f. Max value = 10.0f.
SnapMovingMult
MovingMult*snapMag = The magnitude of the reaction if moving(comVelMag) faster than movingThresh.
Declaration
public float SnapMovingMult { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 1.0f. Min value = 0.0f. Max value = 20.0f.
SnapMovingThresh
If moving(comVelMag) faster than movingThresh then mvingMult applied to stunMag.
Declaration
public float SnapMovingThresh { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 1.0f. Min value = 0.0f. Max value = 20.0f.
SnapNeck
Snap the neck.
Declaration
public bool SnapNeck { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = True.
SnapPhasedLegs
Legs are either in phase with each other or not.
Declaration
public bool SnapPhasedLegs { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = True.
SnapRightArm
Snap the rightArm.
Declaration
public bool SnapRightArm { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = False.
SnapRightLeg
Snap the rightLeg.
Declaration
public bool SnapRightLeg { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = False.
SnapSpine
Snap the spine.
Declaration
public bool SnapSpine { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = True.
SnapUseBulletDir
Legs are either in phase with each other or not.
Declaration
public bool SnapUseBulletDir { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = True.
SnapUseTorques
Use torques to make the snap otherwise use a change in the parts angular velocity.
Declaration
public bool SnapUseTorques { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = True.
UnSnapInterval
Interval before applying reverse snap.
Declaration
public float UnSnapInterval { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 0.0f. Min value = 0.0f. Max value = 100.0f.
UnSnapRatio
The magnitude of the reverse snap.
Declaration
public float UnSnapRatio { set; }
Property Value
Type | Description |
---|---|
Single |
Remarks
Default value = 0.7f. Min value = 0.0f. Max value = 100.0f.