As the Cayo Perico Heist DLC has been released and FiveM is preparing to push it to the main branch so everyone can enjoy, this resource will help your players move quickly between one island and the other. Using a set of locations throughout the world, you can move between islands.
Features
Teleport from one island to the other
Automatically activates/deactivates the other island (gta5 level)
Toggle cutscenes for entering and leaving island!
Enables path nodes for waypoint routes on Cayo Perico island
Configuration file to configure the marker, blip, locations and more
This was untested on a production build with streamed DLC assets, but should work fine apart from some native call errors as they don’t exist for clients that aren’t using b2189
Requirements
At the time of writing there’s one requirement. This will change once FiveM pushes b2189 as default DLC build version.
Run b2189 on Canary or have Cayo Perico DLC island assets
Simple Lua script install. Download (see Important Links) and extract the dope_island_hopper folder to your resources/ folder. Don’t forget to ensure dope_island_hopper in your server.cfg.
Configuration
Inside shared/config.lua is a configuration file that you can edit to your liking. It should be self-explanatory. If it’s not, let me know in a reply here and I’ll document it more.
Contributing
You are more than welcome to contribute to this project by submitting a pull request and creating issues. I encourage you to test the features and add what you find missing.
License
You can modify or edit the code as you like, but you cannot re-release it anywhere. Please see the LICENSE
You must update your FXServer to past 3322. If you’re on latest latest you only need to run canary and follow the instructions in the tutorial I linked earlier. (Without running the natives as this script partially runs them; see source code)
If you’re using 3322, you don’t need to do anything to your server but must run Canary with the b2189 flag. Run it from your console like so .\FiveM.exe b2189.
This isn’t really meant for production servers yet. It thought I’d just have a little script ready for when it is.
Ofcourse lots of enhancements that can be made so if I don’t do it and someone else can or has an idea, don’t be afraid to ask or pull request
@sadboilogan has been messing around with that. Was thinking of including not a cutscene but just whoever getting into a boat for example and then it fades in/out.
Whatever you guys want to do, go ahead. Might have Logan update the repo with the cutscene. Would definitely bee cool
of course, this is just static stuff and would need some custom “fake” cutscene to support different entry routes and stuff, this is just directly from the in game cutscenes which anticipate you travelling from LSIA.