Search Results for

    Show / Hide Table of Contents

    Class ShotSnapHelper

    Inheritance
    Object
    CustomHelper
    ShotSnapHelper
    Inherited Members
    CustomHelper.Start()
    CustomHelper.Start(Int32)
    CustomHelper.Stop()
    CustomHelper.SetArgument(String, Boolean)
    CustomHelper.SetArgument(String, Int32)
    CustomHelper.SetArgument(String, Single)
    CustomHelper.SetArgument(String, String)
    CustomHelper.SetArgument(String, Vector3)
    CustomHelper.ResetArguments()
    CustomHelper.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: GTA.NaturalMotion
    Assembly: ScriptHookVDotNet3.dll
    Syntax
    public sealed class ShotSnapHelper : CustomHelper

    Constructors

    | Improve this Doc View Source

    ShotSnapHelper(Ped)

    Creates a new Instance of the ShotSnapHelper for sending a ShotSnap Message to a given Ped.

    Declaration
    public ShotSnapHelper(Ped ped)
    Parameters
    Type Name Description
    Ped ped

    The Ped to send the ShotSnap Message to.

    Properties

    | Improve this Doc View Source

    Snap

    Add a Snap to shot.

    Declaration
    public bool Snap { set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Default value = False.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    SnapLeftArm

    Snap the leftArm.

    Declaration
    public bool SnapLeftArm { set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Default value = False.

    | Improve this Doc View Source

    SnapLeftLeg

    Snap the leftLeg.

    Declaration
    public bool SnapLeftLeg { set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Default value = False.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    SnapNeck

    Snap the neck.

    Declaration
    public bool SnapNeck { set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Default value = True.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    SnapRightArm

    Snap the rightArm.

    Declaration
    public bool SnapRightArm { set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Default value = False.

    | Improve this Doc View Source

    SnapRightLeg

    Snap the rightLeg.

    Declaration
    public bool SnapRightLeg { set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Default value = False.

    | Improve this Doc View Source

    SnapSpine

    Snap the spine.

    Declaration
    public bool SnapSpine { set; }
    Property Value
    Type Description
    Boolean
    Remarks

    Default value = True.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX