Description
This resource adds the Helicam from that one singleplayer mission back to FiveM.
Complete with working compass and altimeter, nightvision and thermal vision.
It also gives vehicle information and is able to lock onto vehicles.
If that wasn’t enough, it also synchronises the helicopter searchlight and allows passengers to rappel from the polmav helicopter.
A nice video.
Instructions:
Download resource heli.zip (4.6 KB) and put it in the resources folder. (I can also point you towards the network-synced version by @Loque , further in this thread.)
Add heli entry to your citmp-server.yml AutoStartResources
Press the the E key to switch to the HeliCam
Whilst in Helicam:
Move mouse to rotate cam
Scroll to zoom
RIGHT MOUSE BUTTON to switch between normal, nightvision and thermal vision
Whilst in Helicam: when hovering over a vehicle and close enough to it, you can see vehicle info. If you can see this, press SPACE to lock camera onto the vehicle. SPACE again to unlock camera.
Press the X key to rappel from the helicopter
Press the G key as helicopter pilot to switch on the spotlight (this is synced across the network to all players)
(All keys mentioned here are the default keys bound to the controls the script uses. See the source if you need to change them) Source code
Is to be found here.
Please make suggestions or changes, I"m open to feedback.
If you make any changes, please release them to the community as well
Have fun!
ps Et pour les francophones la même chose.
Changelog
2017-06-08: Added camera zoom smoothing
2017-06-08: Added Night and Thermal vision
2017-06-12: Added rappel, spotlight and showing of vehicle information + lock onto vehicle. Changed some keys. Added screen effect to make it look like cam feed. Also made the camera movements smaller the more you are zoomed in. This makes it easier to control.
Hello. I have a problem. its a pretty serious problem. after switching to the camera, i cant leave the camera view because if i do i wont be able to go back into HeliCam…
You’ll have to change the scripts that render this text, be they via NUI or via DrawText.
Maybe provide some hook so that you can toggle the rendering of these elements.
I can’t prevent their stuff from rendering in my script.