Hello everyone,
Welcome to my first script release to the FiveM Forums
What exactly is the “Cinematic Cam”?
The Cinematic Cam provides the user with an easy to use “additional” camera, that can be moved freely in the world. Additionally it can be attached to any npc/player/vehicle in the game in order to provide something similar to a “Dashcam” or just for fancy screenshots or videos.
You can set it on a specific position and angle relative to your character and the camera will move with the entity.
Features included:
- complete control using NativeUILua by Frazzle ( NativeUILua )
OR - complete control using NativeUILua-Reloaded by iTexZoz ( NativeUILua-Reloaded )
- toggle the camera on / off
- moving and rotating on all axes
- using mouse AND controller input for rotation
- setting precision rotation
- setting field of view and speed of the camera
- attach camera to any npc/player/vehicle entity
- applying / removing a filter
- setting filter intensity
- toggle minimap on / off
- toggle between player and camera control
- you can now set up a permission based system rather easily
How to use the cinematic cam:
- in the config.lua are several options you can change
- default chat command is /cam to open the menu
- attaching to entities: Open the menu, activate the camera and point at an entity, then select the respective menu point
Switching between NativeUILua and NativeUILua-Reloaded:
- Change the client_scripts in fxmanifest.lua to whichever one you are using (make sure the names are correct as well!)
- Change Cfg.useNativeUI and Cfg.useNativeUIReloaded in config.lua to reflect the above changes
Setting up a permission based system:
- Uncomment server_scripts in the fxmanifest.lua
- Change Cfg.usePermissions to true in config.lua
- Open server.lua and insert whatever code you need in between the two comments and set the variable “isWhitelisted” to your result
Keyboard specific:
- to open the menu: default button is Delete
- moving: WASD, Space and Ctrl
- rotating: Mouse Movement, Q and E for rolling
- Field of View: Mouse Wheel Up/Down
- Speed: Shift + Mouse Wheel Up/Down
Controller specific:
- to open the menu: default button is (hold for ~1 second) Back (Xbox) or Select (PS)
- moving: Left Analog Stick + LT/RT (Xbox) or L2/R2 (PS) for up/down
- rotating: Right Analog Stick + LB/RB (Xbox) or L1/R1 (PS) for rolling
- Field of View: Hold A (Xbox) or X (PS) + LT/RT (Xbox) or L2/R2 (PS)
- Speed: Hold B (Xbox) or O (PS) + LT/RT (Xbox) or L2/R2 (PS)
Download:
NOTE: Requires NativeUILua by Frazzle! ( NativeUILua )
OR
NativeUILua-Reloaded by iTexZoz ( NativeUILua-Reloaded )
Check out my other scripts as well!
- DeathCam - Lets you rotate the camera when you are dead.
- AdvancedParking - Lets you park any vehicle anywhere and prevents despawns.
- VehicleTransport - Adds much more dynamic to the attaching and detaching vehicles from transport vehicles
- MarkerManager - Easy-To-Use Marker Creation and Management.
Installation Instructions:
- make sure NativeUILua (or Reloaded) is being started in your server.cfg
- start CinematicCam after NativeUI in your server.cfg (or whatever else you renamed the folder from Github)
start NativeUI
start CinematicCam
- Once you are ingame, just press the default button or type /cam in chat
Troubleshooting:
- make sure you have the latest version of NativeUILua installed! (OR NativeUILua-Reloaded)
- clear server and client cache
Video Showcase: (only shows the earliest version. New video will take some time)
Found a bug or have any ideas?
Let me know in this topic!
Do you want to edit and upload this script?
Feel free to, as long as you at least link to this thread and I am mentioned in the credits