Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SHAKE_GAMEPLAY_CAM] Add all camera shakes #1207

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
109 changes: 94 additions & 15 deletions CAM/ShakeGameplayCam.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,101 @@ ns: CAM
void SHAKE_GAMEPLAY_CAM(char* shakeName, float intensity);
```

```
Possible shake types (updated b617d):
DEATH_FAIL_IN_EFFECT_SHAKE
DRUNK_SHAKE
FAMILY5_DRUG_TRIP_SHAKE
HAND_SHAKE
JOLT_SHAKE
LARGE_EXPLOSION_SHAKE
MEDIUM_EXPLOSION_SHAKE
SMALL_EXPLOSION_SHAKE
ROAD_VIBRATION_SHAKE
SKY_DIVING_SHAKE
VIBRATE_SHAKE
Shakes the gameplay cam with the specified shake name and intensity.

```cpp
enum eCameraShakes
coalaura marked this conversation as resolved.
Show resolved Hide resolved
{
ASSAULT_RIFLE_RECOIL_SHAKE,
BOAT_WATER_ENTRY_SHAKE,
CAMERA_OPERATOR_SHAKE_X,
CAMERA_OPERATOR_SHAKE_Z,
CAMERA_OPERATOR_TURBULENCE_SHAKE,
CARBINE_RIFLE_ACCURACY_OFFSET_SHAKE,
CARBINE_RIFLE_RECOIL_SHAKE,
CINEMATIC_SHOOTING_RUN_SHAKE,
DAMPED_HAND_SHAKE,
DEATH_FAIL_IN_EFFECT_SHAKE,
DEATH_FAIL_OUT_EFFECT_SHAKE,
DEFAULT_DEPLOY_PARACHUTE_SHAKE,
DEFAULT_FIRST_PERSON_RECOIL_SHAKE,
DEFAULT_KILL_EFFECT_SHAKE,
DEFAULT_THIRD_PERSON_ACCURACY_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HUTING_SHAKE,
PISTOL_RECOIL_SHAKE,
PLANE_PART_SPEED_SHAKE,
POV_IDLE_SHAKE,
REPLAY_DRUNK_SHAKE,
REPLAY_EXPLOSION_SHAKE,
REPLAY_HAND_SHAKE,
REPLAY_HIGH_SPEED_VEHICLE_SHAKE,
REPLAY_SKY_DIVING_SHAKE,
ROAD_VIBRATION_SHAKE,
RPG_RECOIL_SHAKE,
SHOTGUN_RECOIL_SHAKE,
SKY_DIVING_SHAKE,
SMALL_EXPLOSION_SHAKE,
SMG_RECOIL_SHAKE,
STUNT_HAND_SHAKE,
SWITCH_HAND_SHAKE,
TANK_RECOIL_SHAKE,
VEH_IMPACT_HEADING_SHAKE,
VEH_IMPACT_PITCH_HEADING_SHAKE_FPS,
VEH_IMPACT_PITCH_SHAKE,
VIBRATE_SHAKE,
WATER_BOB_SHAKE,
WOBBLY_SHAKE
}
```

## Parameters
* **shakeName**:
* **intensity**:
* **shakeName**: The name of the shake.
* **intensity**: The intensity of the shake.

Loading