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/
|
Damp out cartwheeling and somersaulting above a certain threshold. More...
Public Member Functions | |
SetCharacterDampingHelper (Ped ped) | |
Creates a new Instance of the SetCharacterDampingHelper for sending a SetCharacterDamping 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 | SomersaultThresh [set] |
Somersault AngularMomentum measure above which we start damping - try 34.0. Falling over straight backwards gives 54 on hitting ground. More... | |
float | SomersaultDamp [set] |
Amount to damp somersaulting by (spinning around left/right axis) - try 0.45. More... | |
float | CartwheelThresh [set] |
Cartwheel AngularMomentum measure above which we start damping - try 27.0. More... | |
float | CartwheelDamp [set] |
Amount to damp somersaulting by (spinning around front/back axis) - try 0.8. More... | |
float | VehicleCollisionTime [set] |
Time after impact with a vehicle to apply characterDamping. -ve values mean always apply whether collided with vehicle or not. =0.0 never apply. =timestep apply for only that frame. A typical roll from being hit by a car lasts about 4secs. More... | |
bool | V2 [set] |
If true damping is proportional to Angular momentum squared. If false proportional to Angular momentum. 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... | |
Damp out cartwheeling and somersaulting above a certain threshold.
GTA.NaturalMotion.SetCharacterDampingHelper.SetCharacterDampingHelper | ( | Ped | ped | ) |
Creates a new Instance of the SetCharacterDampingHelper for sending a SetCharacterDamping Message to a given Ped.
Damp out cartwheeling and somersaulting above a certain threshold.
|
set |
Amount to damp somersaulting by (spinning around front/back axis) - try 0.8.
Default value = 0.0f. Min value = 0.0f. Max value = 2.0f.
|
set |
Cartwheel AngularMomentum measure above which we start damping - try 27.0.
Default value = 27.0f. Min value = 0.0f. Max value = 200.0f.
|
set |
Amount to damp somersaulting by (spinning around left/right axis) - try 0.45.
Default value = 0.0f. Min value = 0.0f. Max value = 2.0f.
|
set |
Somersault AngularMomentum measure above which we start damping - try 34.0. Falling over straight backwards gives 54 on hitting ground.
Default value = 34.0f. Min value = 0.0f. Max value = 200.0f.
|
set |
If true damping is proportional to Angular momentum squared. If false proportional to Angular momentum.
Default value = False.
|
set |
Time after impact with a vehicle to apply characterDamping. -ve values mean always apply whether collided with vehicle or not. =0.0 never apply. =timestep apply for only that frame. A typical roll from being hit by a car lasts about 4secs.
Default value = 0.0f. Min value = -1.0f. Max value = 1000.0f.