Skip to content

Commit

Permalink
Update cameramodes.md Added the definitions (#827)
Browse files Browse the repository at this point in the history
* Update cameramodes.md Added the definitions

* Update docs/scripting/resources/cameramodes.md
  • Loading branch information
Arose-Niazi authored Jan 14, 2024
1 parent 03fdbad commit 96e1427
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions docs/scripting/resources/cameramodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@ There might still be more usable IDs hidden away in the game and some IDs are us

## List of available camera modes

| ID | Name from game files | Description |
| --- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| 3 | MODE_BEHINDCAR | Train/tram camera |
| 4 | MODE_FOLLOWPED | Follow ped (normal behind player camera), several variable distances |
| 7 | MODE_SNIPER | Sniper aiming (sniper scope) |
| 8 | MODE_ROCKETLAUNCHER | Rocket Launcher aiming (rocket launcher scope) |
| 15 | MODE_FIXED | Fixed camera (non-moving) - used for garages, chase camera, entering buildings, buying food etc |
| 16 | MODE_1STPERSON | Vehicle front camera, bike side camera |
| 18 | MODE_CAM_ON_A_STRING | Normal car (+ skimmer + helicopter + airplane), several variable distances |
| 22 | MODE_BEHINDBOAT | Normal boat camera |
| 46 | MODE_CAMERA | Weapon aiming (weapon scope) |
| 51 | MODE_ROCKETLAUNCHER_HS | Heat-seeking Rocket Launcher aiming |
| 53 | MODE_AIMWEAPON | Aiming any other weapon |
| 55 | MODE_AIMWEAPON_FROMCAR | Vehicle passenger aiming camera (drive by as a player) |
| 56 | MODE_DW_HELI_CHASE | Chase camera: helicopter/bird view |
| 57 | MODE_DW_CAM_MAN | Chase camera: ground camera, zooms in quite quickly and pan to the vehicle |
| 58 | MODE_DW_BIRDY | Chase camera: horizontal flyby past vehicle |
| 59 | MODE_DW_PLANE_SPOTTER | Chase camera (for air vehicles only): ground camera, looking up to the air vehicle |
| 62 | MODE_DW_PLANECAM1 | Chase camera (for air vehicles only): vertical flyby past air vehicle |
| 63 | MODE_DW_PLANECAM2 | Chase camera (for air vehicles only): horizontal flyby past air vehicle (similar to 58 and 62) |
| 64 | MODE_DW_PLANECAM3 | Chase camera (for air vehicles only): camera focused on pilot, similar to pressing LOOK_BEHIND key on foot, but in air vehicle |
| ID | Definition | Name from game files | Description |
| --- | --------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| 3 | CAM_MODE_BEHINDCAR | MODE_BEHINDCAR | Train/tram camera |
| 4 | CAM_MODE_FOLLOWPED | MODE_FOLLOWPED | Follow ped (normal behind player camera), several variable distances |
| 7 | CAM_MODE_SNIPER | MODE_SNIPER | Sniper aiming (sniper scope) |
| 8 | CAM_MODE_ROCKETLAUNCHER | MODE_ROCKETLAUNCHER | Rocket Launcher aiming (rocket launcher scope) |
| 15 | CAM_MODE_FIXED | MODE_FIXED | Fixed camera (non-moving) - used for garages, chase camera, entering buildings, buying food etc |
| 16 | CAM_MODE_1STPERSON | MODE_1STPERSON | Vehicle front camera, bike side camera |
| 18 | CAM_MODE_CAM_ON_A_STRING | MODE_CAM_ON_A_STRING | Normal car (+ skimmer + helicopter + airplane), several variable distances |
| 22 | CAM_MODE_BEHINDBOAT | MODE_BEHINDBOAT | Normal boat camera |
| 46 | CAM_MODE_CAMERA | MODE_CAMERA | Weapon aiming (weapon scope) |
| 51 | CAM_MODE_ROCKETLAUNCHER_HS | MODE_ROCKETLAUNCHER_HS | Heat-seeking Rocket Launcher aiming |
| 53 | CAM_MODE_AIMWEAPON | MODE_AIMWEAPON | Aiming any other weapon |
| 55 | CAM_MODE_AIMWEAPON_FROMCAR | MODE_AIMWEAPON_FROMCAR | Vehicle passenger aiming camera (drive by as a player) |
| 56 | CAM_MODE_DW_HELI_CHASE | MODE_DW_HELI_CHASE | Chase camera: helicopter/bird view |
| 57 | - | MODE_DW_CAM_MAN | Chase camera: ground camera, zooms in quite quickly and pan to the vehicle |
| 58 | - | MODE_DW_BIRDY | Chase camera: horizontal flyby past vehicle |
| 59 | - | MODE_DW_PLANE_SPOTTER | Chase camera (for air vehicles only): ground camera, looking up to the air vehicle |
| 62 | - | MODE_DW_PLANECAM1 | Chase camera (for air vehicles only): vertical flyby past air vehicle |
| 63 | - | MODE_DW_PLANECAM2 | Chase camera (for air vehicles only): horizontal flyby past air vehicle (similar to 58 and 62) |
| 64 | - | MODE_DW_PLANECAM3 | Chase camera (for air vehicles only): camera focused on pilot, similar to pressing LOOK_BEHIND key on foot, but in air vehicle |

0 comments on commit 96e1427

Please sign in to comment.