|
| CustomHelper (Ped target, string message) |
| Creates a helper class for building Natural Motion messages to send to a given Ped. More...
|
|
◆ ShotSnapHelper()
GTA.NaturalMotion.ShotSnapHelper.ShotSnapHelper |
( |
Ped |
ped | ) |
|
◆ Snap
bool GTA.NaturalMotion.ShotSnapHelper.Snap |
|
set |
Add a Snap to shot.
Default value = False.
◆ SnapAirborneMult
float GTA.NaturalMotion.ShotSnapHelper.SnapAirborneMult |
|
set |
AirborneMult*snapMag = The magnitude of the reaction if airborne.
Default value = 1.0f. Min value = 0.0f. Max value = 20.0f.
◆ SnapBalancingMult
float GTA.NaturalMotion.ShotSnapHelper.SnapBalancingMult |
|
set |
BalancingMult*snapMag = The magnitude of the reaction if balancing = (not lying on the floor/ not upper body not collided) and not airborne.
Default value = 1.0f. Min value = 0.0f. Max value = 20.0f.
◆ SnapDirectionRandomness
float GTA.NaturalMotion.ShotSnapHelper.SnapDirectionRandomness |
|
set |
The character snaps in a prescribed way (decided by bullet direction) - Higher the value the more random this direction is.
Default value = 0.3f. Min value = 0.0f. Max value = 1.0f.
◆ SnapHipType
int GTA.NaturalMotion.ShotSnapHelper.SnapHipType |
|
set |
Type of hip reaction 0=none, 1=side2side 2=steplike.
Default value = 0. Min value = 0. Max value = 2.
◆ SnapHitPart
bool GTA.NaturalMotion.ShotSnapHelper.SnapHitPart |
|
set |
Snap only around the wounded part//mmmmtodo check whether bodyPart doesn't have to be remembered for unSnap.
Default value = False.
◆ SnapLeftArm
bool GTA.NaturalMotion.ShotSnapHelper.SnapLeftArm |
|
set |
Snap the leftArm.
Default value = False.
◆ SnapLeftLeg
bool GTA.NaturalMotion.ShotSnapHelper.SnapLeftLeg |
|
set |
Snap the leftLeg.
Default value = False.
◆ SnapMag
float GTA.NaturalMotion.ShotSnapHelper.SnapMag |
|
set |
The magnitude of the reaction.
Default value = 0.4f. Min value = -10.0f. Max value = 10.0f.
◆ SnapMovingMult
float GTA.NaturalMotion.ShotSnapHelper.SnapMovingMult |
|
set |
MovingMult*snapMag = The magnitude of the reaction if moving(comVelMag) faster than movingThresh.
Default value = 1.0f. Min value = 0.0f. Max value = 20.0f.
◆ SnapMovingThresh
float GTA.NaturalMotion.ShotSnapHelper.SnapMovingThresh |
|
set |
If moving(comVelMag) faster than movingThresh then mvingMult applied to stunMag.
Default value = 1.0f. Min value = 0.0f. Max value = 20.0f.
◆ SnapNeck
bool GTA.NaturalMotion.ShotSnapHelper.SnapNeck |
|
set |
Snap the neck.
Default value = True.
◆ SnapPhasedLegs
bool GTA.NaturalMotion.ShotSnapHelper.SnapPhasedLegs |
|
set |
Legs are either in phase with each other or not.
Default value = True.
◆ SnapRightArm
bool GTA.NaturalMotion.ShotSnapHelper.SnapRightArm |
|
set |
Snap the rightArm.
Default value = False.
◆ SnapRightLeg
bool GTA.NaturalMotion.ShotSnapHelper.SnapRightLeg |
|
set |
Snap the rightLeg.
Default value = False.
◆ SnapSpine
bool GTA.NaturalMotion.ShotSnapHelper.SnapSpine |
|
set |
Snap the spine.
Default value = True.
◆ SnapUseBulletDir
bool GTA.NaturalMotion.ShotSnapHelper.SnapUseBulletDir |
|
set |
Legs are either in phase with each other or not.
Default value = True.
◆ SnapUseTorques
bool GTA.NaturalMotion.ShotSnapHelper.SnapUseTorques |
|
set |
Use torques to make the snap otherwise use a change in the parts angular velocity.
Default value = True.
◆ UnSnapInterval
float GTA.NaturalMotion.ShotSnapHelper.UnSnapInterval |
|
set |
Interval before applying reverse snap.
Default value = 0.0f. Min value = 0.0f. Max value = 100.0f.
◆ UnSnapRatio
float GTA.NaturalMotion.ShotSnapHelper.UnSnapRatio |
|
set |
The magnitude of the reverse snap.
Default value = 0.7f. Min value = 0.0f. Max value = 100.0f.
The documentation for this class was generated from the following file:
- C:/Users/nitan/source/repos/scripthookvdotnet/source/scripting_v3/GTA.NaturalMotion/EuphoriaHelpers.cs