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/
|
Use this message to register weapon. This is an alternativeto the registerWeapon public function. More...
Public Member Functions | |
RegisterWeaponHelper (Ped ped) | |
Creates a new Instance of the RegisterWeaponHelper for sending a RegisterWeapon 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 | |
Hand | Hand [set] |
int | LevelIndex [set] |
Level index of the weapon. More... | |
int | ConstraintHandle [set] |
Pointer to the hand-gun constraint handle. More... | |
Vector3 | GunToHandA [set] |
A vector of the gunToHand matrix. The gunToHandMatrix is the desired gunToHandMatrix in the aimingPose. (The gunToHandMatrix when pointGun starts can be different so will be blended to this desired one). More... | |
Vector3 | GunToHandB [set] |
B vector of the gunToHand matrix. More... | |
Vector3 | GunToHandC [set] |
C vector of the gunToHand matrix. More... | |
Vector3 | GunToHandD [set] |
D vector of the gunToHand matrix. More... | |
Vector3 | GunToMuzzleInGun [set] |
Gun center to muzzle expressed in gun co-ordinates. To get the line of sight/barrel of the gun. Assumption: the muzzle direction is always along the same primary axis of the gun. More... | |
Vector3 | GunToButtInGun [set] |
Gun center to butt expressed in gun co-ordinates. The gun pivots around this point when aiming. 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... | |
Use this message to register weapon. This is an alternativeto the registerWeapon public function.
GTA.NaturalMotion.RegisterWeaponHelper.RegisterWeaponHelper | ( | Ped | ped | ) |
Creates a new Instance of the RegisterWeaponHelper for sending a RegisterWeapon Message to a given Ped.
Use this message to register weapon. This is an alternativeto the registerWeapon public function.
|
set |
Pointer to the hand-gun constraint handle.
Default value = -1. Min value = -1.
|
set |
Gun center to butt expressed in gun co-ordinates. The gun pivots around this point when aiming.
Default value = Vector3(0.0f, 0.0f, 0.0f).
|
set |
A vector of the gunToHand matrix. The gunToHandMatrix is the desired gunToHandMatrix in the aimingPose. (The gunToHandMatrix when pointGun starts can be different so will be blended to this desired one).
Default value = Vector3(1.0f, 0.0f, 0.0f). Min value = 0.0f.
|
set |
B vector of the gunToHand matrix.
Default value = Vector3(0.0f, 1.0f, 0.0f). Min value = 0.0f.
|
set |
C vector of the gunToHand matrix.
Default value = Vector3(0.0f, 0.0f, 1.0f). Min value = 0.0f.
|
set |
D vector of the gunToHand matrix.
Default value = Vector3(0.0f, 0.0f, 0.0f). Min value = 0.0f.
|
set |
Gun center to muzzle expressed in gun co-ordinates. To get the line of sight/barrel of the gun. Assumption: the muzzle direction is always along the same primary axis of the gun.
Default value = Vector3(0.0f, 0.0f, 0.0f).
|
set |
Default value = Hand.Right.
|
set |
Level index of the weapon.
Default value = -1. Min value = -1.