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.PointGunExtraHelper Class Reference

Seldom set parameters for pointGun - just to keep number of parameters in any message less than or equal to 64. More...

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

Public Member Functions

 PointGunExtraHelper (Ped ped)
 Creates a new Instance of the PointGunExtraHelper for sending a PointGunExtra 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 ConstraintStrength [set]
 For supportConstraint = 2: force constraint strength of the supporting hands - it gets shaky at about 4.0. More...
 
float ConstraintThresh [set]
 For supportConstraint = 2: Like makeConstraintDistance. Force starts acting when the hands are LT 3.0*thresh apart but is maximum strength LT thresh. For comparison: 0.1 is used for reachForWound in shot, 0.25 is used in grab. More...
 
int WeaponMask [set]
 Currently unused - no intoWorldTest. RAGE bit mask to exclude weapons from ray probe - currently defaults to MP3 weapon flag. More...
 
bool TimeWarpActive [set]
 Is timeWarpActive enabled?. More...
 
float TimeWarpStrengthScale [set]
 Scale for arm and helper strength when timewarp is enabled. 1 = normal compensation. More...
 
float OriStiff [set]
 Hand stabilization controller stiffness. More...
 
float OriDamp [set]
 Hand stabilization controller damping. More...
 
float PosStiff [set]
 Hand stabilization controller stiffness. More...
 
float PosDamp [set]
 Hand stabilization controller damping. 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

Seldom set parameters for pointGun - just to keep number of parameters in any message less than or equal to 64.

Constructor & Destructor Documentation

◆ PointGunExtraHelper()

GTA.NaturalMotion.PointGunExtraHelper.PointGunExtraHelper ( Ped  ped)

Creates a new Instance of the PointGunExtraHelper for sending a PointGunExtra Message to a given Ped.

Parameters
pedThe Ped to send the PointGunExtra Message to.

Seldom set parameters for pointGun - just to keep number of parameters in any message less than or equal to 64.

Property Documentation

◆ ConstraintStrength

float GTA.NaturalMotion.PointGunExtraHelper.ConstraintStrength
set

For supportConstraint = 2: force constraint strength of the supporting hands - it gets shaky at about 4.0.

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

◆ ConstraintThresh

float GTA.NaturalMotion.PointGunExtraHelper.ConstraintThresh
set

For supportConstraint = 2: Like makeConstraintDistance. Force starts acting when the hands are LT 3.0*thresh apart but is maximum strength LT thresh. For comparison: 0.1 is used for reachForWound in shot, 0.25 is used in grab.

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

◆ OriDamp

float GTA.NaturalMotion.PointGunExtraHelper.OriDamp
set

Hand stabilization controller damping.

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

◆ OriStiff

float GTA.NaturalMotion.PointGunExtraHelper.OriStiff
set

Hand stabilization controller stiffness.

Default value = 0.0f. Min value = 0.0f. Max value = 100.0f.

◆ PosDamp

float GTA.NaturalMotion.PointGunExtraHelper.PosDamp
set

Hand stabilization controller damping.

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

◆ PosStiff

float GTA.NaturalMotion.PointGunExtraHelper.PosStiff
set

Hand stabilization controller stiffness.

Default value = 0.0f. Min value = 0.0f. Max value = 100.0f.

◆ TimeWarpActive

bool GTA.NaturalMotion.PointGunExtraHelper.TimeWarpActive
set

Is timeWarpActive enabled?.

Default value = False.

◆ TimeWarpStrengthScale

float GTA.NaturalMotion.PointGunExtraHelper.TimeWarpStrengthScale
set

Scale for arm and helper strength when timewarp is enabled. 1 = normal compensation.

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

◆ WeaponMask

int GTA.NaturalMotion.PointGunExtraHelper.WeaponMask
set

Currently unused - no intoWorldTest. RAGE bit mask to exclude weapons from ray probe - currently defaults to MP3 weapon flag.

Default value = 1024. Min value = 0.


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