SHVDN  v3
An ASI plugin for Grand Theft Auto V, which allows running scripts written in any .NET language in-game. Developed by crosire https://github.com/crosire/scripthookvdotnet/
GTA.NaturalMotion.ConfigureShotInjuredArmHelper Class Reference

This single message allows you to configure the injured arm reaction during shot. More...

Inheritance diagram for GTA.NaturalMotion.ConfigureShotInjuredArmHelper:
GTA.NaturalMotion.CustomHelper

Public Member Functions

 ConfigureShotInjuredArmHelper (Ped ped)
 Creates a new Instance of the ConfigureShotInjuredArmHelper for sending a ConfigureShotInjuredArm Message to a given Ped. More...
 
- Public Member Functions inherited from GTA.NaturalMotion.CustomHelper
void Start ()
 Starts this Natural Motion behavior on the Ped that will loop until manually aborted. More...
 
void Start (int duration)
 Starts this Natural Motion behavior on the Ped for a specified duration. More...
 
void Stop ()
 Stops this Natural Motion behavior on the Ped. More...
 
void SetArgument (string argName, bool value)
 Sets a Message argument to a bool value. More...
 
void SetArgument (string argName, int value)
 Sets a Message argument to a int value. More...
 
void SetArgument (string argName, float value)
 Sets a Message argument to a float value. More...
 
void SetArgument (string argName, string value)
 Sets a Message argument to a string value. More...
 
void SetArgument (string argName, Vector3 value)
 Sets a Message argument to a Vector3 value. More...
 
void ResetArguments ()
 Resets all arguments to their default values. More...
 
override string ToString ()
 Returns the internal message name. More...
 

Properties

float InjuredArmTime [set]
 Length of the reaction. More...
 
float HipYaw [set]
 Amount of hip twist. (Negative values twist into bullet direction - probably not what is wanted). More...
 
float HipRoll [set]
 Amount of hip roll. More...
 
float ForceStepExtraHeight [set]
 Additional height added to stepping foot. More...
 
bool ForceStep [set]
 Force a step to be taken whether pushed out of balance or not. More...
 
bool StepTurn [set]
 Turn the character using the balancer. More...
 
float VelMultiplierStart [set]
 Start velocity where parameters begin to be ramped down to zero linearly. More...
 
float VelMultiplierEnd [set]
 End velocity of ramp where parameters are scaled to zero. More...
 
float VelForceStep [set]
 Velocity above which a step is not forced. More...
 
float VelStepTurn [set]
 Velocity above which a stepTurn is not asked for. More...
 
bool VelScales [set]
 Use the velocity scaling parameters. Tune for standing still then use velocity scaling to make sure a running character stays balanced (the turning tends to make the character fall over more at speed). More...
 

Additional Inherited Members

- Protected Member Functions inherited from GTA.NaturalMotion.CustomHelper
 CustomHelper (Ped target, string message)
 Creates a helper class for building Natural Motion messages to send to a given Ped. More...
 

Detailed Description

This single message allows you to configure the injured arm reaction during shot.

Constructor & Destructor Documentation

◆ ConfigureShotInjuredArmHelper()

GTA.NaturalMotion.ConfigureShotInjuredArmHelper.ConfigureShotInjuredArmHelper ( Ped  ped)

Creates a new Instance of the ConfigureShotInjuredArmHelper for sending a ConfigureShotInjuredArm Message to a given Ped.

Parameters
pedThe Ped to send the ConfigureShotInjuredArm Message to.

This single message allows you to configure the injured arm reaction during shot.

Property Documentation

◆ ForceStep

bool GTA.NaturalMotion.ConfigureShotInjuredArmHelper.ForceStep
set

Force a step to be taken whether pushed out of balance or not.

Default value = True.

◆ ForceStepExtraHeight

float GTA.NaturalMotion.ConfigureShotInjuredArmHelper.ForceStepExtraHeight
set

Additional height added to stepping foot.

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

◆ HipRoll

float GTA.NaturalMotion.ConfigureShotInjuredArmHelper.HipRoll
set

Amount of hip roll.

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

◆ HipYaw

float GTA.NaturalMotion.ConfigureShotInjuredArmHelper.HipYaw
set

Amount of hip twist. (Negative values twist into bullet direction - probably not what is wanted).

Default value = 0.8f. Min value = -2.0f. Max value = 2.0f.

◆ InjuredArmTime

float GTA.NaturalMotion.ConfigureShotInjuredArmHelper.InjuredArmTime
set

Length of the reaction.

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

◆ StepTurn

bool GTA.NaturalMotion.ConfigureShotInjuredArmHelper.StepTurn
set

Turn the character using the balancer.

Default value = True.

◆ VelForceStep

float GTA.NaturalMotion.ConfigureShotInjuredArmHelper.VelForceStep
set

Velocity above which a step is not forced.

Default value = 0.8f. Min value = 0.0f. Max value = 20.0f.

◆ VelMultiplierEnd

float GTA.NaturalMotion.ConfigureShotInjuredArmHelper.VelMultiplierEnd
set

End velocity of ramp where parameters are scaled to zero.

Default value = 5.0f. Min value = 1.0f. Max value = 40.0f.

◆ VelMultiplierStart

float GTA.NaturalMotion.ConfigureShotInjuredArmHelper.VelMultiplierStart
set

Start velocity where parameters begin to be ramped down to zero linearly.

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

◆ VelScales

bool GTA.NaturalMotion.ConfigureShotInjuredArmHelper.VelScales
set

Use the velocity scaling parameters. Tune for standing still then use velocity scaling to make sure a running character stays balanced (the turning tends to make the character fall over more at speed).

Default value = True.

◆ VelStepTurn

float GTA.NaturalMotion.ConfigureShotInjuredArmHelper.VelStepTurn
set

Velocity above which a stepTurn is not asked for.

Default value = 0.8f. Min value = 0.0f. Max value = 20.0f.


The documentation for this class was generated from the following file: