Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JDS Better Cams

Version 2.5.0 · FiveM client resource · JustDevelopmentStudio

Enhanced third-person and first-person vehicle camera effects: safe gameplay-cam shake routing, on-foot pass-by, driving bursts, and an optional scripted FP vehicle camera.

Requirements

  • FiveM server with OneSync-compatible clients (standard GTA V / cerulean fx_version).
  • No external framework dependency; works alongside QBCore/ESX or standalone.

Install

  1. Place jds-betterCams under your resources folder (e.g. resources/[scripts]/jds-betterCams).
  2. In server.cfg: ensure jds-betterCams
  3. Tune config.lua as needed (see comments inside the file).

What’s included

Area Script Summary
Shared config.lua, shared/bc_lib.lua Tuning tables; session-safe shake, FOV helpers, scripted-cam pairing.
On foot client/cl_thirdPerson_ped.lua Movement shake + FOV; pass-by uses a radial ring + speed band → throttled cam shake.
Vehicle client/cl_thirdPerson_vehicle.lua Damage-based shake (throttled); launch / high-speed one-shot holds; burnout (dedicated thread, continuous shake while detected).
First person (vehicle) client/cl_firstPerson.lua Optional scripted interior camera (view mode 4), mouse look, FOV vs speed.
Exports client/cl_exports.lua GameplayShake / TriggerGameplayShake for other resources; optional net event gated in config.

Config highlights

  • Config.BetterCams: disableGameplayShake (emergency off), allowNetShakeEvents.
  • Config.PassbyShake: radial inner/outer, minVehicleSpeedMph / maxVehicleSpeedMph, shake interval.
  • Config.DamageShake: body health delta smoothing, shakeApplyIntervalMs.
  • Config.DrivingShake: launch / high-speed edge triggers + cooldowns; burnout RPM + gas/brake fallback, burnoutShakeIntervalMs.
  • Config.Camera: first-person vehicle cam (enable, sensitivity, FOV, release controls).

Exports (other resources)

exports['jds-betterCams']:GameplayShake(intensity, shakeType, durationMs)
-- or
exports['jds-betterCams']:TriggerGameplayShake(intensity, shakeType, durationMs)

Server/event wiring can use jds-betterCams:client:GameplayShake if allowNetShakeEvents is enabled.

Contributing

Issues and PRs welcome for bugs and tuning improvements.

License

MIT — see LICENSE if present in the repository.

Credits

JustDevelopmentStudio

About

just better cams

Resources

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages