Search Results for

    Show / Hide Table of Contents

    Class UpperBodyFlinchHelper

    Inheritance
    Object
    CustomHelper
    UpperBodyFlinchHelper
    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 UpperBodyFlinchHelper : CustomHelper

    Constructors

    | Improve this Doc View Source

    UpperBodyFlinchHelper(Ped)

    Creates a new Instance of the UpperBodyFlinchHelper for sending a UpperBodyFlinch Message to a given Ped.

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

    The Ped to send the UpperBodyFlinch Message to.

    Properties

    | Improve this Doc View Source

    ApplyStiffness

    Turned of by bcr.

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

    Default value = True.

    | Improve this Doc View Source

    BackBendAmount

    Amount to bend the back during the flinch.

    Declaration
    public float BackBendAmount { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = -0.6f. Min value = -1.0f. Max value = 1.0f.

    | Improve this Doc View Source

    BodyDamping

    Damping value used for upper body.

    Declaration
    public float BodyDamping { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 1.0f. Min value = 0.0f. Max value = 2.0f.

    | Improve this Doc View Source

    BodyStiffness

    Stiffness of body. Value carries over to head look, spine twist.

    Declaration
    public float BodyStiffness { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 11.0f. Min value = 6.0f. Max value = 16.0f.

    | Improve this Doc View Source

    DontBraceHead

    Don't protect head only brace from front. Turned on by bcr.

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

    Default value = False.

    | Improve this Doc View Source

    HandDistanceFrontBack

    Front-Back distance between the hands.

    Declaration
    public float HandDistanceFrontBack { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 0.1f. Min value = 0.0f. Max value = 1.0f.

    | Improve this Doc View Source

    HandDistanceLeftRight

    Left-Right distance between the hands.

    Declaration
    public float HandDistanceLeftRight { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 0.1f. Min value = 0.0f. Max value = 1.0f.

    | Improve this Doc View Source

    HandDistanceVertical

    Vertical distance between the hands.

    Declaration
    public float HandDistanceVertical { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 0.1f. Min value = 0.0f. Max value = 1.0f.

    | Improve this Doc View Source

    HeadLookAwayFromTarget

    Look away from target (unless protecting head then look between feet).

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

    Default value = False.

    | Improve this Doc View Source

    NewHit

    Relaxes the character for 1 frame if set.

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

    Default value = True.

    | Improve this Doc View Source

    NoiseScale

    Amplitude of the perlin noise applied to the arms positions in the flinch to the front part of the behavior.

    Declaration
    public float NoiseScale { set; }
    Property Value
    Type Description
    Single
    Remarks

    Default value = 0.1f. Min value = 0.0f. Max value = 1.0f.

    | Improve this Doc View Source

    Pos

    Position in world-space of object to flinch from.

    Declaration
    public Vector3 Pos { set; }
    Property Value
    Type Description
    Vector3
    Remarks

    Default value = Vector3(0.0f, 0.0f, 0.0f).

    | Improve this Doc View Source

    ProtectHeadToggle

    Always protect head. Note if false then character flinches if target is in front, protects head if target is behind.

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

    Default value = False.

    | Improve this Doc View Source

    TurnTowards

    Ve balancer turn Towards, negative balancer turn Away, 0 balancer won't turn. There is a 50% chance that the character will not turn even if this parameter is set to turn.

    Declaration
    public int TurnTowards { set; }
    Property Value
    Type Description
    Int32
    Remarks

    Default value = 1. Min value = -2. Max value = 2.

    | Improve this Doc View Source

    UseHeadLook

    Use headlook.

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

    Default value = True.

    | Improve this Doc View Source

    UseLeftArm

    Toggle to Use the Left arm.

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

    Default value = True.

    | Improve this Doc View Source

    UseRightArm

    Toggle to use the right arm.

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

    Default value = True.

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