Aller au contenu principal

Camera Modes

Description

The following camera modes are used by GetPlayerCameraMode.

remarque

There might still be more usable IDs hidden away in the game and some IDs are used for more than one situation.

List of available camera modes

IDDefinitionName from game filesDescription
3CAM_MODE_BEHINDCARMODE_BEHINDCARTrain/tram camera
4CAM_MODE_FOLLOWPEDMODE_FOLLOWPEDFollow ped (normal behind player camera), several variable distances
7CAM_MODE_SNIPERMODE_SNIPERSniper aiming (sniper scope)
8CAM_MODE_ROCKETLAUNCHERMODE_ROCKETLAUNCHERRocket Launcher aiming (rocket launcher scope)
15CAM_MODE_FIXEDMODE_FIXEDFixed camera (non-moving) - used for garages, chase camera, entering buildings, buying food etc
16CAM_MODE_1STPERSONMODE_1STPERSONVehicle front camera, bike side camera
18CAM_MODE_CAM_ON_A_STRINGMODE_CAM_ON_A_STRINGNormal car (+ skimmer + helicopter + airplane), several variable distances
22CAM_MODE_BEHINDBOATMODE_BEHINDBOATNormal boat camera
46CAM_MODE_CAMERAMODE_CAMERAWeapon aiming (weapon scope)
51CAM_MODE_ROCKETLAUNCHER_HSMODE_ROCKETLAUNCHER_HSHeat-seeking Rocket Launcher aiming
53CAM_MODE_AIMWEAPONMODE_AIMWEAPONAiming any other weapon
55CAM_MODE_AIMWEAPON_FROMCARMODE_AIMWEAPON_FROMCARVehicle passenger aiming camera (drive by as a player)
56CAM_MODE_DW_HELI_CHASEMODE_DW_HELI_CHASEChase camera: helicopter/bird view
57-MODE_DW_CAM_MANChase camera: ground camera, zooms in quite quickly and pan to the vehicle
58-MODE_DW_BIRDYChase camera: horizontal flyby past vehicle
59-MODE_DW_PLANE_SPOTTERChase camera (for air vehicles only): ground camera, looking up to the air vehicle
62-MODE_DW_PLANECAM1Chase camera (for air vehicles only): vertical flyby past air vehicle
63-MODE_DW_PLANECAM2Chase camera (for air vehicles only): horizontal flyby past air vehicle (similar to 58 and 62)
64-MODE_DW_PLANECAM3Chase camera (for air vehicles only): camera focused on pilot, similar to pressing LOOK_BEHIND key on foot, but in air vehicle