Class UpperBodyFlinchHelper
Inherited Members
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet3.dll
Syntax
public sealed class UpperBodyFlinchHelper : CustomHelper
Constructors
| Improve this Doc View SourceUpperBodyFlinchHelper(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 |
Properties
| Improve this Doc View SourceApplyStiffness
Turned of by bcr.
Declaration
public bool ApplyStiffness { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = True.
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.
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.
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.
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.
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.
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.
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.
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.
NewHit
Relaxes the character for 1 frame if set.
Declaration
public bool NewHit { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = True.
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.
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).
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.
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.
UseHeadLook
Use headlook.
Declaration
public bool UseHeadLook { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = True.
UseLeftArm
Toggle to Use the Left arm.
Declaration
public bool UseLeftArm { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = True.
UseRightArm
Toggle to use the right arm.
Declaration
public bool UseRightArm { set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Default value = True.