Class ElectrocuteHelper
Inherited Members
Namespace: GTA.NaturalMotion
Assembly: ScriptHookVDotNet2.dll
Syntax
public sealed class ElectrocuteHelper : CustomHelper
Constructors
Name | Description |
---|---|
ElectrocuteHelper(Ped) | Creates a new Instance of the ElectrocuteHelper for sending a Electrocute Message to a given Ped. |
Properties
Name | Description |
---|---|
AirborneMult | AirborneMult*stunMag = The magnitude of the reaction if airborne. |
ApplyStiffness | Let electrocute apply a (higher generally) stiffness to the character whilst being vibrated. |
BalancingMult | BalancingMult*stunMag = The magnitude of the reaction if balancing = (not lying on the floor/ not upper body not collided) and not airborne. |
DirectionRandomness | The character vibrates in a prescribed way - Higher the value the more random this direction is. |
HipType | Type of hip reaction 0=none, 1=side2side 2=steplike. |
InitialMult | InitialMult*stunMag = The magnitude of the 1st snap reaction (other multipliers are applied after this). |
LargeMaxTime | Max time to next large random snap (about 28 snaps with stunInterval = 0.07s). |
LargeMinTime | Min time to next large random snap (about 14 snaps with stunInterval = 0.07s). |
LargeMult | LargeMult*stunMag = The magnitude of a random large snap reaction (other multipliers are applied after this). |
LeftArm | Vibrate the leftArm. |
LeftLeg | Vibrate the leftLeg. |
MovingMult | MovingMult*stunMag = The magnitude of the reaction if moving(comVelMag) faster than movingThresh. |
MovingThresh | If moving(comVelMag) faster than movingThresh then mvingMult applied to stunMag. |
Neck | Vibrate the neck. |
PhasedLegs | Legs are either in phase with each other or not. |
RightArm | Vibrate the rightArm. |
RightLeg | Vibrate the rightLeg. |
Spine | Vibrate the spine. |
StunInterval | Direction flips every stunInterval. |
StunMag | The magnitude of the reaction. |
UseTorques | Use torques to make vibration otherwise use a change in the parts angular velocity. |