Log in to reply
 

How to activate the cayo perico map?



  • I was wondering if anyone could help me enable the cayo perico map without necessarily installing script. Like the way codewallker does.

    I've been trying to make the map load when starting the game, like a ymap, but I haven't succeeded, is it possible to do something like that?



  • @Niziul I would love an answer as well.

    Perhaps by loading all the ipls through a script as is the case for North Yankton?

    I know this is done in FiveM. There is also a script which enables MP maps (which Trainers can do) as well.

    https://forums.gta5-mods.com/topic/38842/how-do-i-enable-mp-online-maps-with-c/4

    FiveM does it the ipl way or there are mod loaders.

    https://forum.cfx.re/t/the-cayo-perico-island-available-for-fivem/1897446



  • @Niziul
    Holy shit. It works! I'm not a programmer so hopefully you can rewrite the code using an array. I had to use a script called Enable MP maps.dll. I'll try to find the link.

    First i used the ipls from the FiveM resource

    local requestedIpl = {"h4_islandairstrip", "h4_islandairstrip_props", "h4_islandx_mansion", "h4_islandx_mansion_props", "h4_islandx_props", "h4_islandxdock", "h4_islandxdock_props", "h4_islandxdock_props_2", "h4_islandxtower", "h4_islandx_maindock", "h4_islandx_maindock_props", "h4_islandx_maindock_props_2", "h4_IslandX_Mansion_Vault", "h4_islandairstrip_propsb", "h4_beach", "h4_beach_props", "h4_beach_bar_props", "h4_islandx_barrack_props", "h4_islandx_checkpoint", "h4_islandx_checkpoint_props", "h4_islandx_Mansion_Office", "h4_islandx_Mansion_LockUp_01", "h4_islandx_Mansion_LockUp_02", "h4_islandx_Mansion_LockUp_03", "h4_islandairstrip_hangar_props", "h4_IslandX_Mansion_B", "h4_islandairstrip_doorsclosed", "h4_Underwater_Gate_Closed", "h4_mansion_gate_closed", "h4_aa_guns", "h4_IslandX_Mansion_GuardFence", "h4_IslandX_Mansion_Entrance_Fence", "h4_IslandX_Mansion_B_Side_Fence", "h4_IslandX_Mansion_Lights", "h4_islandxcanal_props", "h4_beach_props_party", "h4_islandX_Terrain_props_06_a", "h4_islandX_Terrain_props_06_b", "h4_islandX_Terrain_props_06_c", "h4_islandX_Terrain_props_05_a", "h4_islandX_Terrain_props_05_b", "h4_islandX_Terrain_props_05_c", "h4_islandX_Terrain_props_05_d", "h4_islandX_Terrain_props_05_e", "h4_islandX_Terrain_props_05_f", "H4_islandx_terrain_01", "H4_islandx_terrain_02", "H4_islandx_terrain_03", "H4_islandx_terrain_04", "H4_islandx_terrain_05", "H4_islandx_terrain_06", "h4_ne_ipl_00", "h4_ne_ipl_01", "h4_ne_ipl_02", "h4_ne_ipl_03", "h4_ne_ipl_04", "h4_ne_ipl_05", "h4_ne_ipl_06", "h4_ne_ipl_07", "h4_ne_ipl_08", "h4_ne_ipl_09", "h4_nw_ipl_00", "h4_nw_ipl_01", "h4_nw_ipl_02", "h4_nw_ipl_03", "h4_nw_ipl_04", "h4_nw_ipl_05", "h4_nw_ipl_06", "h4_nw_ipl_07", "h4_nw_ipl_08", "h4_nw_ipl_09", "h4_se_ipl_00", "h4_se_ipl_01", "h4_se_ipl_02", "h4_se_ipl_03", "h4_se_ipl_04", "h4_se_ipl_05", "h4_se_ipl_06", "h4_se_ipl_07", "h4_se_ipl_08", "h4_se_ipl_09", "h4_sw_ipl_00", "h4_sw_ipl_01", "h4_sw_ipl_02", "h4_sw_ipl_03", "h4_sw_ipl_04", "h4_sw_ipl_05", "h4_sw_ipl_06", "h4_sw_ipl_07", "h4_sw_ipl_08", "h4_sw_ipl_09", "h4_islandx_mansion", "h4_islandxtower_veg", "h4_islandx_sea_mines", "h4_islandx", "h4_islandx_barrack_hatch", "h4_islandxdock_water_hatch", "h4_beach_party"}
    

    Next I used string formulas in Microsoft Excel and the parsing function to generate a lot of LOCs, all in less than 60 seconds. There are some issues with the waves but there is a native function to fix that. I used the same spawn coordinates as the FiveM lua.

     private void GoTo_CayoPerico(object sender, EventArgs e)
            {
                Function.Call(Hash.REQUEST_IPL, "h4_islandairstrip");
                Function.Call(Hash.REQUEST_IPL, "h4_islandairstrip_props");
                Function.Call(Hash.REQUEST_IPL, "h4_islandx_mansion");
                Function.Call(Hash.REQUEST_IPL, "h4_islandx_mansion_props");
                Function.Call(Hash.REQUEST_IPL, "h4_islandx_props");
                Function.Call(Hash.REQUEST_IPL, "h4_islandxdock");
                Function.Call(Hash.REQUEST_IPL, "h4_islandxdock_props");
                Function.Call(Hash.REQUEST_IPL, "h4_islandxdock_props_2");
                Function.Call(Hash.REQUEST_IPL, "h4_islandxtower");
                Function.Call(Hash.REQUEST_IPL, "h4_islandx_maindock");
                Function.Call(Hash.REQUEST_IPL, "h4_islandx_maindock_props");
                Function.Call(Hash.REQUEST_IPL, "h4_islandx_maindock_props_2");
                Function.Call(Hash.REQUEST_IPL, "h4_IslandX_Mansion_Vault");
                Function.Call(Hash.REQUEST_IPL, "h4_islandairstrip_propsb");
                Function.Call(Hash.REQUEST_IPL, "h4_beach");
                Function.Call(Hash.REQUEST_IPL, "h4_beach_props");
                Function.Call(Hash.REQUEST_IPL, "h4_beach_bar_props");
                Function.Call(Hash.REQUEST_IPL, "h4_islandx_barrack_props");
                Function.Call(Hash.REQUEST_IPL, "h4_islandx_checkpoint");
                Function.Call(Hash.REQUEST_IPL, "h4_islandx_checkpoint_props");
                Function.Call(Hash.REQUEST_IPL, "h4_islandx_Mansion_Office");
                Function.Call(Hash.REQUEST_IPL, "h4_islandx_Mansion_LockUp_01");
                Function.Call(Hash.REQUEST_IPL, "h4_islandx_Mansion_LockUp_02");
                Function.Call(Hash.REQUEST_IPL, "h4_islandx_Mansion_LockUp_03");
                Function.Call(Hash.REQUEST_IPL, "h4_islandairstrip_hangar_props");
                Function.Call(Hash.REQUEST_IPL, "h4_IslandX_Mansion_B");
                Function.Call(Hash.REQUEST_IPL, "h4_islandairstrip_doorsclosed");
                Function.Call(Hash.REQUEST_IPL, "h4_Underwater_Gate_Closed");
                Function.Call(Hash.REQUEST_IPL, "h4_mansion_gate_closed");
                Function.Call(Hash.REQUEST_IPL, "h4_aa_guns");
                Function.Call(Hash.REQUEST_IPL, "h4_IslandX_Mansion_GuardFence");
                Function.Call(Hash.REQUEST_IPL, "h4_IslandX_Mansion_Entrance_Fence");
                Function.Call(Hash.REQUEST_IPL, "h4_IslandX_Mansion_B_Side_Fence");
                Function.Call(Hash.REQUEST_IPL, "h4_IslandX_Mansion_Lights");
                Function.Call(Hash.REQUEST_IPL, "h4_islandxcanal_props");
                Function.Call(Hash.REQUEST_IPL, "h4_beach_props_party");
                Function.Call(Hash.REQUEST_IPL, "h4_islandX_Terrain_props_06_a");
                Function.Call(Hash.REQUEST_IPL, "h4_islandX_Terrain_props_06_b");
                Function.Call(Hash.REQUEST_IPL, "h4_islandX_Terrain_props_06_c");
                Function.Call(Hash.REQUEST_IPL, "h4_islandX_Terrain_props_05_a");
                Function.Call(Hash.REQUEST_IPL, "h4_islandX_Terrain_props_05_b");
                Function.Call(Hash.REQUEST_IPL, "h4_islandX_Terrain_props_05_c");
                Function.Call(Hash.REQUEST_IPL, "h4_islandX_Terrain_props_05_d");
                Function.Call(Hash.REQUEST_IPL, "h4_islandX_Terrain_props_05_e");
                Function.Call(Hash.REQUEST_IPL, "h4_islandX_Terrain_props_05_f");
                Function.Call(Hash.REQUEST_IPL, "H4_islandx_terrain_01");
                Function.Call(Hash.REQUEST_IPL, "H4_islandx_terrain_02");
                Function.Call(Hash.REQUEST_IPL, "H4_islandx_terrain_03");
                Function.Call(Hash.REQUEST_IPL, "H4_islandx_terrain_04");
                Function.Call(Hash.REQUEST_IPL, "H4_islandx_terrain_05");
                Function.Call(Hash.REQUEST_IPL, "H4_islandx_terrain_06");
                Function.Call(Hash.REQUEST_IPL, "h4_ne_ipl_00");
                Function.Call(Hash.REQUEST_IPL, "h4_ne_ipl_01");
                Function.Call(Hash.REQUEST_IPL, "h4_ne_ipl_02");
                Function.Call(Hash.REQUEST_IPL, "h4_ne_ipl_03");
                Function.Call(Hash.REQUEST_IPL, "h4_ne_ipl_04");
                Function.Call(Hash.REQUEST_IPL, "h4_ne_ipl_05");
                Function.Call(Hash.REQUEST_IPL, "h4_ne_ipl_06");
                Function.Call(Hash.REQUEST_IPL, "h4_ne_ipl_07");
                Function.Call(Hash.REQUEST_IPL, "h4_ne_ipl_08");
                Function.Call(Hash.REQUEST_IPL, "h4_ne_ipl_09");
                Function.Call(Hash.REQUEST_IPL, "h4_nw_ipl_00");
                Function.Call(Hash.REQUEST_IPL, "h4_nw_ipl_01");
                Function.Call(Hash.REQUEST_IPL, "h4_nw_ipl_02");
                Function.Call(Hash.REQUEST_IPL, "h4_nw_ipl_03");
                Function.Call(Hash.REQUEST_IPL, "h4_nw_ipl_04");
                Function.Call(Hash.REQUEST_IPL, "h4_nw_ipl_05");
                Function.Call(Hash.REQUEST_IPL, "h4_nw_ipl_06");
                Function.Call(Hash.REQUEST_IPL, "h4_nw_ipl_07");
                Function.Call(Hash.REQUEST_IPL, "h4_nw_ipl_08");
                Function.Call(Hash.REQUEST_IPL, "h4_nw_ipl_09");
                Function.Call(Hash.REQUEST_IPL, "h4_se_ipl_00");
                Function.Call(Hash.REQUEST_IPL, "h4_se_ipl_01");
                Function.Call(Hash.REQUEST_IPL, "h4_se_ipl_02");
                Function.Call(Hash.REQUEST_IPL, "h4_se_ipl_03");
                Function.Call(Hash.REQUEST_IPL, "h4_se_ipl_04");
                Function.Call(Hash.REQUEST_IPL, "h4_se_ipl_05");
                Function.Call(Hash.REQUEST_IPL, "h4_se_ipl_06");
                Function.Call(Hash.REQUEST_IPL, "h4_se_ipl_07");
                Function.Call(Hash.REQUEST_IPL, "h4_se_ipl_08");
                Function.Call(Hash.REQUEST_IPL, "h4_se_ipl_09");
                Function.Call(Hash.REQUEST_IPL, "h4_sw_ipl_00");
                Function.Call(Hash.REQUEST_IPL, "h4_sw_ipl_01");
                Function.Call(Hash.REQUEST_IPL, "h4_sw_ipl_02");
                Function.Call(Hash.REQUEST_IPL, "h4_sw_ipl_03");
                Function.Call(Hash.REQUEST_IPL, "h4_sw_ipl_04");
                Function.Call(Hash.REQUEST_IPL, "h4_sw_ipl_05");
                Function.Call(Hash.REQUEST_IPL, "h4_sw_ipl_06");
                Function.Call(Hash.REQUEST_IPL, "h4_sw_ipl_07");
                Function.Call(Hash.REQUEST_IPL, "h4_sw_ipl_08");
                Function.Call(Hash.REQUEST_IPL, "h4_sw_ipl_09");
                Function.Call(Hash.REQUEST_IPL, "h4_islandx_mansion");
                Function.Call(Hash.REQUEST_IPL, "h4_islandxtower_veg");
                Function.Call(Hash.REQUEST_IPL, "h4_islandx_sea_mines");
                Function.Call(Hash.REQUEST_IPL, "h4_islandx");
                Function.Call(Hash.REQUEST_IPL, "h4_islandx_barrack_hatch");
                Function.Call(Hash.REQUEST_IPL, "h4_islandxdock_water_hatch");
                Function.Call(Hash.REQUEST_IPL, "h4_beach_party");
    
               Function.Call(Hash.SET_ENTITY_COORDS, Game.Player.Character, 4840.571, -5174.425, 2.0, 0, 0, 1);
            }
    


  • @Niziul

    The script can be found here, use the compat_pack one.

    https://dekurwinator-mods.bitrix24.site/dlctemplates/

    or directly here:

    http://www.mediafire.com/file/jr9dw8fqen8anhk/DLC_build2.rar/file

    It's very sad that the programmers who know how to do this shit never share their knowledge, they prefer to bury it in a mod or an asi.

    Edit: I use these functions to enable and disable waves in maps like the French Riviera and the new Ugase City.

            private void DisableWaves(object sender, EventArgs e)
            { Function.Call((Hash)0xB96B00E976BE977F, 0.0f); } // _SET_CURRENT_INTENSITY
    
            private void EnableWaves(object sender, EventArgs e)
            { Function.Call((Hash)0x5E5E99285AE812DB); } // _RESET_CURRENT_INTENSITY
            
    
    


  • @Niziul

    And here is the finished product and proof of concept.

    Thank you for posting original question. I would never have thought of it before.



  • @JohnFromGWN said in How to activate the cayo perico map?:

    @Niziul

    And here is the finished product and proof of concept.

    Thank you for posting original question. I would never have thought of it before.

    ipls are pretty cool for that and thank you very much for the tips and links.

    The only problem is that when the ipl is the multiplayer one must load the multiplayer stuff, and this makes me load stuff that doesn't interest me and makes the game map extremely heavy, at least on mine it is very bad to play. But to be honest, it is better than nothing.

    I've been testing some things and it is pretty cool, I'm trying to make the mlo work on mine.
    alt text

    I can even make the minimap work!
    alt text

    It is the interior of this hangar that I am still trying to make work, but it is difficult.
    alt text

    the script code I've been testing

    using GTA;
    using GTA.Native;
    
    namespace Helicopter_pilot_jobs
    {
        internal class Class1 : Script
        {
            private readonly string[] _cayoPericoIslandIPLs;
    
            public Class1()
            {
                _cayoPericoIslandIPLs
                    = new[]
                    {
                        "h4_airstrip_hanger",
    
                        "h4_islandairstrip",
    
                        "h4_islandairstrip_props",
    
                        "h4_islandx_mansion",
    
                        "h4_islandx_mansion_props",
    
                        "h4_islandx_props",
    
                        "h4_islandxdock",
    
                        "h4_islandxdock_props",
    
                        "h4_islandxdock_props_2",
    
                        "h4_islandxtower",
    
                        "h4_islandx_maindock",
    
                        "h4_islandx_maindock_props",
    
                        "h4_islandx_maindock_props_2",
    
                        "h4_IslandX_Mansion_Vault",
    
                        "h4_islandairstrip_propsb",
    
                        "h4_beach",
    
                        "h4_beach_props",
    
                        "h4_beach_bar_props",
    
                        "h4_islandx_barrack_props",
    
                        "h4_islandx_checkpoint",
    
                        "h4_islandx_checkpoint_props",
    
                        "h4_islandx_Mansion_Office",
    
                        "h4_islandx_Mansion_LockUp_01",
    
                        "h4_islandx_Mansion_LockUp_02",
    
                        "h4_islandx_Mansion_LockUp_03",
    
                        "h4_islandairstrip_hangar_props",
    
                        "h4_IslandX_Mansion_B",
    
                        "h4_islandairstrip_doorsclosed",
    
                        "h4_Underwater_Gate_Closed",
    
                        "h4_mansion_gate_closed",
    
                        "h4_aa_guns",
    
                        "h4_IslandX_Mansion_GuardFence",
    
                        "h4_IslandX_Mansion_Entrance_Fence",
    
                        "h4_IslandX_Mansion_B_Side_Fence",
    
                        "h4_IslandX_Mansion_Lights",
    
                        "h4_islandxcanal_props",
    
                        "h4_beach_props_party",
    
                        "h4_islandX_Terrain_props_06_a",
    
                        "h4_islandX_Terrain_props_06_b",
    
                        "h4_islandX_Terrain_props_06_c",
    
                        "h4_islandX_Terrain_props_05_a",
    
                        "h4_islandX_Terrain_props_05_b",
    
                        "h4_islandX_Terrain_props_05_c",
    
                        "h4_islandX_Terrain_props_05_d",
    
                        "h4_islandX_Terrain_props_05_e",
    
                        "h4_islandX_Terrain_props_05_f",
    
                        "H4_islandx_terrain_01",
    
                        "H4_islandx_terrain_02",
    
                        "H4_islandx_terrain_03",
    
                        "H4_islandx_terrain_04",
    
                        "H4_islandx_terrain_05",
    
                        "H4_islandx_terrain_06",
    
                        "h4_ne_ipl_00",
    
                        "h4_ne_ipl_01",
    
                        "h4_ne_ipl_02",
    
                        "h4_ne_ipl_03",
    
                        "h4_ne_ipl_04",
    
                        "h4_ne_ipl_05",
    
                        "h4_ne_ipl_06",
    
                        "h4_ne_ipl_07",
    
                        "h4_ne_ipl_08",
    
                        "h4_ne_ipl_09",
    
                        "h4_nw_ipl_00",
    
                        "h4_nw_ipl_01",
    
                        "h4_nw_ipl_02",
    
                        "h4_nw_ipl_03",
    
                        "h4_nw_ipl_04",
    
                        "h4_nw_ipl_05",
    
                        "h4_nw_ipl_06",
    
                        "h4_nw_ipl_07",
    
                        "h4_nw_ipl_08",
    
                        "h4_nw_ipl_09",
    
                        "h4_se_ipl_00",
    
                        "h4_se_ipl_01",
    
                        "h4_se_ipl_02",
    
                        "h4_se_ipl_03",
    
                        "h4_se_ipl_04",
    
                        "h4_se_ipl_05",
    
                        "h4_se_ipl_06",
    
                        "h4_se_ipl_07",
    
                        "h4_se_ipl_08",
    
                        "h4_se_ipl_09",
    
                        "h4_sw_ipl_00",
    
                        "h4_sw_ipl_01",
    
                        "h4_sw_ipl_02",
    
                        "h4_sw_ipl_03",
    
                        "h4_sw_ipl_04",
    
                        "h4_sw_ipl_05",
    
                        "h4_sw_ipl_06",
    
                        "h4_sw_ipl_07",
    
                        "h4_sw_ipl_08",
    
                        "h4_sw_ipl_09",
    
                        "h4_islandx_mansion",
    
                        "h4_islandxtower_veg",
    
                        "h4_islandx_sea_mines",
    
                        "h4_islandx",
    
                        "h4_islandx_barrack_hatch",
    
                        "h4_islandxdock_water_hatch",
    
                        "h4_beach_party"
                    };
    
                LoadCayoPericoIsland();
    
                Tick    += (o, e) =>
                {
    
                    AddRadarSupport();
                };
    
                Aborted += (o, e) => 
                {
                    RemoverCayoPericoIsland();
                };
            }
    
            private void LoadCayoPericoIsland()
            {
                Function.Call(Hash.ON_ENTER_MP);
    
                foreach (var ipl in _cayoPericoIslandIPLs)
                {
                    Function.Call(Hash.REQUEST_IPL, ipl);
                }
    
            }
    
            private void AddRadarSupport()
            {
                ActivateRadarOfCayoPericoIsland();
            }
            private void ActivateRadarOfCayoPericoIsland()
            {
                var hash
                    = Game.GenerateHash("h4_fake_islandx");
    
                Function.Call(Hash.SET_RADAR_AS_INTERIOR_THIS_FRAME, hash, 4700.0f, -5145.0f, 0, 0);
    
                AddRouteSupportToRadar();
            }
            private void AddRouteSupportToRadar()
            {
                Function.Call((Hash)0xF74B1FFA4A15FBEA, 1);
            }
        
            private void RemoverCayoPericoIsland()
            {
                //Function.Call(Hash.ON_ENTER_SP);
    
                foreach (var ipl in _cayoPericoIslandIPLs)
                {
                    Function.Call(Hash.REMOVE_IPL, ipl);
                }
            }
        }
    }
    
    


  • @Niziul
    Unfortunately Cayo Perico is an MP map whereas North Yankton was prologue for SP.
    Didn't test long, but I'll try it later to test for stability and performance. Load times weren't affected, neither for game nor to load the island which is promising.



  • @JohnFromGWN When you load the island does the interior of the hangar become visible?



  • @Niziul not on PC presently, will check later. Keep in mind that the ipls I took from the lua script might not all be suited for SP.

    On that subject, thanks for the more elegant way to write the script.



  • @JohnFromGWN okay! I am asking because I have found a native: (Function.Call((Hash)0x9A9D1BA639675CF1, "HeistIsland", true);) that I suspect is the one used online to load the island.

    I tested it and it pretty much loads the island and the interiors of all the houses, the only problem is that it makes the entire map of los santo disappear.



  • @Niziul Wow. Where did you find that? And does it load the island or just enable it? What about the interiors? Let us know please.

    In passing, no my hangar doesn't load its interior. Going to see if I find another IPL that might be missing.



  • @JohnFromGWN it will load everything, because the file called "islandhopper.meta" has all the ipls needed to load the island.

    <?xml version="1.0" encoding="UTF-8"?>
    <CIslandHopperData>
    	<Name>HeistIsland</Name>
    	<Cullbox>HeistIsland</Cullbox>
    	<HeightMap>heightmapheistisland</HeightMap>
    	<LodLights>island_lodlights</LodLights>
    	
    	<IPLsToEnable>
    		<Item>h4_islandairstrip</Item>
    		<Item>h4_islandairstrip_props</Item>
    		<Item>h4_islandx_mansion</Item>
    		<Item>h4_islandx_mansion_props</Item>
    		<Item>h4_islandx_props</Item>
    		<Item>h4_islandxdock</Item>
    		<Item>h4_islandxdock_props</Item>
    		<Item>h4_islandxdock_props_2</Item>
    		<Item>h4_islandxtower</Item>
    		<Item>h4_islandx_maindock</Item>
    		<Item>h4_islandx_maindock_props</Item>
    		<Item>h4_islandx_maindock_props_2</Item>
    		<Item>h4_IslandX_Mansion_Vault</Item>
    		<Item>h4_islandairstrip_propsb</Item>
    		<Item>h4_beach</Item>
    		<Item>h4_beach_props</Item>
    		<Item>h4_beach_bar_props</Item>
    		<Item>h4_islandx_barrack_props</Item>
    		<Item>h4_islandx_checkpoint</Item>
    		<Item>h4_islandx_checkpoint_props</Item>
    		<Item>h4_islandx_Mansion_Office</Item>
    		<Item>h4_islandx_Mansion_LockUp_01</Item>
    		<Item>h4_islandx_Mansion_LockUp_02</Item>
    		<Item>h4_islandx_Mansion_LockUp_03</Item>
    		<Item>h4_islandairstrip_hangar_props</Item>
    		<Item>h4_IslandX_Mansion_B</Item>
    		<Item>h4_islandairstrip_doorsclosed</Item>
    		<Item>h4_Underwater_Gate_Closed</Item>
    		<Item>h4_mansion_gate_closed</Item>
    		<Item>h4_aa_guns</Item>
    		<Item>h4_IslandX_Mansion_GuardFence</Item>
    		<Item>h4_IslandX_Mansion_Entrance_Fence</Item>
    		<Item>h4_IslandX_Mansion_B_Side_Fence</Item>
    		<Item>h4_IslandX_Mansion_Lights</Item>
    		<Item>h4_islandxcanal_props</Item>
    		<Item>h4_beach_props_party</Item>
    		<Item>h4_islandX_Terrain_props_06_a</Item>
    		<Item>h4_islandX_Terrain_props_06_b</Item>
    		<Item>h4_islandX_Terrain_props_06_c</Item>
    		<Item>h4_islandX_Terrain_props_05_a</Item>
    		<Item>h4_islandX_Terrain_props_05_b</Item>
    		<Item>h4_islandX_Terrain_props_05_c</Item>
    		<Item>h4_islandX_Terrain_props_05_d</Item>
    		<Item>h4_islandX_Terrain_props_05_e</Item>
    		<Item>h4_islandX_Terrain_props_05_f</Item>
    		<Item>H4_islandx_terrain_01</Item>
    		<Item>H4_islandx_terrain_02</Item>
    		<Item>H4_islandx_terrain_03</Item>
    		<Item>H4_islandx_terrain_04</Item>
    		<Item>H4_islandx_terrain_05</Item>
    		<Item>H4_islandx_terrain_06</Item>
    		<Item>h4_ne_ipl_00</Item>
    		<Item>h4_ne_ipl_01</Item>
    		<Item>h4_ne_ipl_02</Item>
    		<Item>h4_ne_ipl_03</Item>
    		<Item>h4_ne_ipl_04</Item>
    		<Item>h4_ne_ipl_05</Item>
    		<Item>h4_ne_ipl_06</Item>
    		<Item>h4_ne_ipl_07</Item>
    		<Item>h4_ne_ipl_08</Item>
    		<Item>h4_ne_ipl_09</Item>
    		<Item>h4_nw_ipl_00</Item>
    		<Item>h4_nw_ipl_01</Item>
    		<Item>h4_nw_ipl_02</Item>
    		<Item>h4_nw_ipl_03</Item>
    		<Item>h4_nw_ipl_04</Item>
    		<Item>h4_nw_ipl_05</Item>
    		<Item>h4_nw_ipl_06</Item>
    		<Item>h4_nw_ipl_07</Item>
    		<Item>h4_nw_ipl_08</Item>
    		<Item>h4_nw_ipl_09</Item>
    		<Item>h4_se_ipl_00</Item>
    		<Item>h4_se_ipl_01</Item>
    		<Item>h4_se_ipl_02</Item>
    		<Item>h4_se_ipl_03</Item>
    		<Item>h4_se_ipl_04</Item>
    		<Item>h4_se_ipl_05</Item>
    		<Item>h4_se_ipl_06</Item>
    		<Item>h4_se_ipl_07</Item>
    		<Item>h4_se_ipl_08</Item>
    		<Item>h4_se_ipl_09</Item>
    		<Item>h4_sw_ipl_00</Item>
    		<Item>h4_sw_ipl_01</Item>
    		<Item>h4_sw_ipl_02</Item>
    		<Item>h4_sw_ipl_03</Item>
    		<Item>h4_sw_ipl_04</Item>
    		<Item>h4_sw_ipl_05</Item>
    		<Item>h4_sw_ipl_06</Item>
    		<Item>h4_sw_ipl_07</Item>
    		<Item>h4_sw_ipl_08</Item>
    		<Item>h4_sw_ipl_09</Item>
    		<Item>h4_islandx_mansion</Item>
    		<Item>h4_islandxtower_veg</Item>
    		<Item>h4_islandx_sea_mines</Item>
    		<Item>h4_islandx</Item>
    		<Item>h4_islandx_barrack_hatch</Item>
    		<Item>h4_islandxdock_water_hatch</Item>
    		<Item>h4_beach_party</Item>
    	</IPLsToEnable>
    
    	<IMAPsToPreempt>
    		<Item>h4_mph4_terrain_01_grass_0</Item>
    		<Item>h4_mph4_terrain_01_grass_1</Item>
    		<Item>h4_mph4_terrain_02_grass_0</Item>
    		<Item>h4_mph4_terrain_02_grass_1</Item>
    		<Item>h4_mph4_terrain_02_grass_2</Item>
    		<Item>h4_mph4_terrain_02_grass_3</Item>
    		<Item>h4_mph4_terrain_04_grass_0</Item>
    		<Item>h4_mph4_terrain_04_grass_1</Item>
    		<Item>h4_mph4_terrain_04_grass_2</Item>
    		<Item>h4_mph4_terrain_04_grass_3</Item>
    		<Item>h4_mph4_terrain_05_grass_0</Item>
    		<Item>h4_mph4_terrain_06_grass_0</Item>
    	</IMAPsToPreempt>
    
    </CIslandHopperData>
    


  • @Niziul

    Ok, I'm confused. Is that meta file in the game patch?

    I also found this which has all the IPLs including those to be removed and water adjustments:
    https://forum.cfx.re/t/cayo-perico-casino-dlc-ipl-loader/2099391

    or directly
    https://drive.google.com/uc?id=1zD6KN0LsHDI5mDWGkUv6_oet3cOd0-sV&export=download

    RequestIpl("h4_mph4_terrain_occ_09")
        RequestIpl("h4_mph4_terrain_occ_06")
        RequestIpl("h4_mph4_terrain_occ_05")
        RequestIpl("h4_mph4_terrain_occ_01")
        RequestIpl("h4_mph4_terrain_occ_00")
        RequestIpl("h4_mph4_terrain_occ_08")
        RequestIpl("h4_mph4_terrain_occ_04")
        RequestIpl("h4_mph4_terrain_occ_07")
        RequestIpl("h4_mph4_terrain_occ_03")
        RequestIpl("h4_mph4_terrain_occ_02")
        RequestIpl("h4_islandx_terrain_04")
        RequestIpl("h4_islandx_terrain_05_slod")
        RequestIpl("h4_islandx_terrain_props_05_d_slod")
        RequestIpl("h4_islandx_terrain_02")
        RequestIpl("h4_islandx_terrain_props_05_a_lod")
        RequestIpl("h4_islandx_terrain_props_05_c_lod")
        RequestIpl("h4_islandx_terrain_01")
        RequestIpl("h4_mph4_terrain_04")
        RequestIpl("h4_mph4_terrain_06")
        RequestIpl("h4_islandx_terrain_04_lod")
        RequestIpl("h4_islandx_terrain_03_lod")
        RequestIpl("h4_islandx_terrain_props_06_a")
        RequestIpl("h4_islandx_terrain_props_06_a_slod")
        RequestIpl("h4_islandx_terrain_props_05_f_lod")
        RequestIpl("h4_islandx_terrain_props_06_b")
        RequestIpl("h4_islandx_terrain_props_05_b_lod")
        RequestIpl("h4_mph4_terrain_lod")
        RequestIpl("h4_islandx_terrain_props_05_e_lod")
        RequestIpl("h4_islandx_terrain_05_lod")
        RequestIpl("h4_mph4_terrain_02")
        RequestIpl("h4_islandx_terrain_props_05_a")
        RequestIpl("h4_mph4_terrain_01_long_0")
        RequestIpl("h4_islandx_terrain_03")
        RequestIpl("h4_islandx_terrain_props_06_b_slod")
        RequestIpl("h4_islandx_terrain_01_slod")
        RequestIpl("h4_islandx_terrain_04_slod")
        RequestIpl("h4_islandx_terrain_props_05_d_lod")
        RequestIpl("h4_islandx_terrain_props_05_f_slod")
        RequestIpl("h4_islandx_terrain_props_05_c")
        RequestIpl("h4_islandx_terrain_02_lod")
        RequestIpl("h4_islandx_terrain_06_slod")
        RequestIpl("h4_islandx_terrain_props_06_c_slod")
        RequestIpl("h4_islandx_terrain_props_06_c")
        RequestIpl("h4_islandx_terrain_01_lod")
        RequestIpl("h4_mph4_terrain_06_strm_0")
        RequestIpl("h4_islandx_terrain_05")
        RequestIpl("h4_islandx_terrain_props_05_e_slod")
        RequestIpl("h4_islandx_terrain_props_06_c_lod")
        RequestIpl("h4_mph4_terrain_03")
        RequestIpl("h4_islandx_terrain_props_05_f")
        RequestIpl("h4_islandx_terrain_06_lod")
        RequestIpl("h4_mph4_terrain_01")
        RequestIpl("h4_islandx_terrain_06")
        RequestIpl("h4_islandx_terrain_props_06_a_lod")
        RequestIpl("h4_islandx_terrain_props_06_b_lod")
        RequestIpl("h4_islandx_terrain_props_05_b")
        RequestIpl("h4_islandx_terrain_02_slod")
        RequestIpl("h4_islandx_terrain_props_05_e")
        RequestIpl("h4_islandx_terrain_props_05_d")
        RequestIpl("h4_mph4_terrain_05")
        RequestIpl("h4_mph4_terrain_02_grass_2")
        RequestIpl("h4_mph4_terrain_01_grass_1")
        RequestIpl("h4_mph4_terrain_05_grass_0")
        RequestIpl("h4_mph4_terrain_01_grass_0")
        RequestIpl("h4_mph4_terrain_02_grass_1")
        RequestIpl("h4_mph4_terrain_02_grass_0")
        RequestIpl("h4_mph4_terrain_02_grass_3")
        RequestIpl("h4_mph4_terrain_04_grass_0")
        RequestIpl("h4_mph4_terrain_06_grass_0")
        RequestIpl("h4_mph4_terrain_04_grass_1")
        RequestIpl("island_distantlights")
        RequestIpl("island_lodlights")
        RequestIpl("h4_yacht_strm_0")
        RequestIpl("h4_yacht")
        RequestIpl("h4_yacht_long_0")
        RequestIpl("h4_islandx_yacht_01_lod")
        RequestIpl("h4_clubposter_palmstraxx")
        RequestIpl("h4_islandx_yacht_02_int")
        RequestIpl("h4_islandx_yacht_02")
        RequestIpl("h4_clubposter_moodymann")
        RequestIpl("h4_islandx_yacht_01")
        RequestIpl("h4_clubposter_keinemusik")
        RequestIpl("h4_islandx_yacht_03")
        RequestIpl("h4_ch2_mansion_final")
        RequestIpl("h4_islandx_yacht_03_int")
        RequestIpl("h4_yacht_critical_0")
        RequestIpl("h4_islandx_yacht_01_int")
        RequestIpl("h4_mph4_island_placement")
        RequestIpl("h4_islandx_mansion_vault")
        RequestIpl("h4_islandx_checkpoint_props")
        RequestIpl("h4_islandairstrip_hangar_props_slod")
        RequestIpl("h4_se_ipl_01_lod")
        RequestIpl("h4_ne_ipl_00_slod")
        RequestIpl("h4_se_ipl_06_slod")
        RequestIpl("h4_ne_ipl_00")
        RequestIpl("h4_se_ipl_02")
        RequestIpl("h4_islandx_barrack_props_lod")
        RequestIpl("h4_se_ipl_09_lod")
        RequestIpl("h4_ne_ipl_05")
        RequestIpl("h4_mph4_island_se_placement")
        RequestIpl("h4_ne_ipl_09")
        RequestIpl("h4_islandx_mansion_props_slod")
        RequestIpl("h4_se_ipl_09")
        RequestIpl("h4_mph4_mansion_b")
        RequestIpl("h4_islandairstrip_hangar_props_lod")
        RequestIpl("h4_islandx_mansion_entrance_fence")
        RequestIpl("h4_nw_ipl_09")
        RequestIpl("h4_nw_ipl_02_lod")
        RequestIpl("h4_ne_ipl_09_slod")
        RequestIpl("h4_sw_ipl_02")
        RequestIpl("h4_islandx_checkpoint")
        RequestIpl("h4_islandxdock_water_hatch")
        RequestIpl("h4_nw_ipl_04_lod")
        RequestIpl("h4_islandx_maindock_props")
        RequestIpl("h4_beach")
        RequestIpl("h4_islandx_mansion_lockup_03_lod")
        RequestIpl("h4_ne_ipl_04_slod")
        RequestIpl("h4_mph4_island_nw_placement")
        RequestIpl("h4_ne_ipl_08_slod")
        RequestIpl("h4_nw_ipl_09_lod")
        RequestIpl("h4_se_ipl_08_lod")
        RequestIpl("h4_islandx_maindock_props_lod")
        RequestIpl("h4_se_ipl_03")
        RequestIpl("h4_sw_ipl_02_slod")
        RequestIpl("h4_nw_ipl_00")
        RequestIpl("h4_islandx_mansion_b_side_fence")
        RequestIpl("h4_ne_ipl_01_lod")
        RequestIpl("h4_se_ipl_06_lod")
        RequestIpl("h4_ne_ipl_03")
        RequestIpl("h4_islandx_maindock")
        RequestIpl("h4_se_ipl_01")
        RequestIpl("h4_sw_ipl_07")
        RequestIpl("h4_islandx_maindock_props_2")
        RequestIpl("h4_islandxtower_veg")
        RequestIpl("h4_mph4_island_sw_placement")
        RequestIpl("h4_se_ipl_01_slod")
        RequestIpl("h4_mph4_wtowers")
        RequestIpl("h4_se_ipl_02_lod")
        RequestIpl("h4_islandx_mansion")
        RequestIpl("h4_nw_ipl_04")
        RequestIpl("h4_mph4_airstrip_interior_0_airstrip_hanger")
        RequestIpl("h4_islandx_mansion_lockup_01")
        RequestIpl("h4_islandx_barrack_props")
        RequestIpl("h4_nw_ipl_07_lod")
        RequestIpl("h4_nw_ipl_00_slod")
        RequestIpl("h4_sw_ipl_08_lod")
        RequestIpl("h4_islandxdock_props_slod")
        RequestIpl("h4_islandx_mansion_lockup_02")
        RequestIpl("h4_islandx_mansion_slod")
        RequestIpl("h4_sw_ipl_07_lod")
        RequestIpl("h4_sw_ipl_02_lod")
        RequestIpl("h4_se_ipl_04_slod")
        RequestIpl("h4_islandx_checkpoint_props_lod")
        RequestIpl("h4_se_ipl_04")
        RequestIpl("h4_se_ipl_07")
        RequestIpl("h4_mph4_mansion_b_strm_0")
        RequestIpl("h4_nw_ipl_09_slod")
        RequestIpl("h4_se_ipl_07_lod")
        RequestIpl("h4_islandx_maindock_slod")
        RequestIpl("h4_islandx_mansion_lod")
        RequestIpl("h4_sw_ipl_05_lod")
        RequestIpl("h4_nw_ipl_08")
        RequestIpl("h4_islandairstrip_slod")
        RequestIpl("h4_nw_ipl_07")
        RequestIpl("h4_islandairstrip_propsb_lod")
        RequestIpl("h4_islandx_checkpoint_props_slod")
        RequestIpl("h4_aa_guns_lod")
        RequestIpl("h4_sw_ipl_06")
        RequestIpl("h4_islandx_maindock_props_2_slod")
        RequestIpl("h4_islandx_mansion_office")
        RequestIpl("h4_islandx_maindock_lod")
        RequestIpl("h4_mph4_dock")
        RequestIpl("h4_islandairstrip_propsb")
        RequestIpl("h4_islandx_mansion_lockup_03")
        RequestIpl("h4_nw_ipl_01_lod")
        RequestIpl("h4_se_ipl_05_slod")
        RequestIpl("h4_sw_ipl_01_lod")
        RequestIpl("h4_nw_ipl_05")
        RequestIpl("h4_islandxdock_props_2_lod")
        RequestIpl("h4_ne_ipl_04_lod")
        RequestIpl("h4_ne_ipl_01")
        RequestIpl("h4_beach_party_lod")
        RequestIpl("h4_islandx_mansion_lights")
        RequestIpl("h4_sw_ipl_00_lod")
        RequestIpl("h4_islandx_mansion_guardfence")
        RequestIpl("h4_beach_props_party")
        RequestIpl("h4_ne_ipl_03_lod")
        RequestIpl("h4_islandx_mansion_b")
        RequestIpl("h4_beach_bar_props")
        RequestIpl("h4_ne_ipl_04")
        RequestIpl("h4_sw_ipl_08_slod")
        RequestIpl("h4_islandxtower")
        RequestIpl("h4_se_ipl_00_slod")
        RequestIpl("h4_islandx_barrack_hatch")
        RequestIpl("h4_ne_ipl_06_slod")
        RequestIpl("h4_ne_ipl_03_slod")
        RequestIpl("h4_sw_ipl_09_slod")
        RequestIpl("h4_ne_ipl_02_slod")
        RequestIpl("h4_nw_ipl_04_slod")
        RequestIpl("h4_ne_ipl_05_lod")
        RequestIpl("h4_nw_ipl_08_slod")
        RequestIpl("h4_sw_ipl_05_slod")
        RequestIpl("h4_islandx_mansion_b_lod")
        RequestIpl("h4_ne_ipl_08")
        RequestIpl("h4_islandxdock_props")
        RequestIpl("h4_islandairstrip_doorsopen_lod")
        RequestIpl("h4_se_ipl_05_lod")
        RequestIpl("h4_islandxcanal_props_slod")
        RequestIpl("h4_se_ipl_02_slod")
        RequestIpl("h4_nw_ipl_02")
        RequestIpl("h4_ne_ipl_08_lod")
        RequestIpl("h4_sw_ipl_08")
        RequestIpl("h4_islandairstrip")
        RequestIpl("h4_islandairstrip_props_lod")
        RequestIpl("h4_se_ipl_05")
        RequestIpl("h4_ne_ipl_02_lod")
        RequestIpl("h4_islandx_maindock_props_2_lod")
        RequestIpl("h4_sw_ipl_03_slod")
        RequestIpl("h4_ne_ipl_01_slod")
        RequestIpl("h4_beach_props_slod")
        RequestIpl("h4_underwater_gate_closed")
        RequestIpl("h4_ne_ipl_00_lod")
        RequestIpl("h4_islandairstrip_doorsopen")
        RequestIpl("h4_sw_ipl_01_slod")
        RequestIpl("h4_se_ipl_00")
        RequestIpl("h4_se_ipl_06")
        RequestIpl("h4_islandx_mansion_lockup_02_lod")
        RequestIpl("h4_islandxtower_veg_lod")
        RequestIpl("h4_sw_ipl_00")
        RequestIpl("h4_se_ipl_04_lod")
        RequestIpl("h4_nw_ipl_07_slod")
        RequestIpl("h4_islandx_mansion_props_lod")
        RequestIpl("h4_islandairstrip_hangar_props")
        RequestIpl("h4_nw_ipl_06_lod")
        RequestIpl("h4_islandxtower_lod")
        RequestIpl("h4_islandxdock_lod")
        RequestIpl("h4_islandxdock_props_lod")
        RequestIpl("h4_beach_party")
        RequestIpl("h4_nw_ipl_06_slod")
        RequestIpl("h4_nw_ipl_00_lod")
        RequestIpl("h4_ne_ipl_02")
        RequestIpl("h4_islandxdock_slod")
        RequestIpl("h4_se_ipl_07_slod")
        RequestIpl("h4_islandxdock")
        RequestIpl("h4_islandxdock_props_2_slod")
        RequestIpl("h4_islandairstrip_props")
        RequestIpl("h4_sw_ipl_09")
        RequestIpl("h4_ne_ipl_06")
        RequestIpl("h4_se_ipl_03_lod")
        RequestIpl("h4_nw_ipl_03")
        RequestIpl("h4_islandx_mansion_lockup_01_lod")
        RequestIpl("h4_beach_lod")
        RequestIpl("h4_ne_ipl_07_lod")
        RequestIpl("h4_nw_ipl_01")
        RequestIpl("h4_mph4_island_lod")
        RequestIpl("h4_islandx_mansion_office_lod")
        RequestIpl("h4_islandairstrip_lod")
        RequestIpl("h4_beach_props_lod")
        RequestIpl("h4_nw_ipl_05_slod")
        RequestIpl("h4_islandx_checkpoint_lod")
        RequestIpl("h4_nw_ipl_05_lod")
        RequestIpl("h4_nw_ipl_03_slod")
        RequestIpl("h4_nw_ipl_03_lod")
        RequestIpl("h4_sw_ipl_05")
        RequestIpl("h4_mph4_mansion")
        RequestIpl("h4_sw_ipl_03")
        RequestIpl("h4_se_ipl_08_slod")
        RequestIpl("h4_mph4_island_ne_placement")
        RequestIpl("h4_aa_guns")
        RequestIpl("h4_islandairstrip_propsb_slod")
        RequestIpl("h4_sw_ipl_01")
        RequestIpl("h4_mansion_remains_cage")
        RequestIpl("h4_nw_ipl_01_slod")
        RequestIpl("h4_ne_ipl_06_lod")
        RequestIpl("h4_se_ipl_08")
        RequestIpl("h4_sw_ipl_04_slod")
        RequestIpl("h4_sw_ipl_04_lod")
        RequestIpl("h4_mph4_beach")
        RequestIpl("h4_sw_ipl_06_lod")
        RequestIpl("h4_sw_ipl_06_slod")
        RequestIpl("h4_se_ipl_00_lod")
        RequestIpl("h4_ne_ipl_07_slod")
        RequestIpl("h4_mph4_mansion_strm_0")
        RequestIpl("h4_nw_ipl_02_slod")
        RequestIpl("h4_mph4_airstrip")
        RequestIpl("h4_island_padlock_props")
        RequestIpl("h4_islandairstrip_props_slod")
        RequestIpl("h4_nw_ipl_06")
        RequestIpl("h4_sw_ipl_09_lod")
        RequestIpl("h4_islandxcanal_props_lod")
        RequestIpl("h4_ne_ipl_05_slod")
        RequestIpl("h4_se_ipl_09_slod")
        RequestIpl("h4_islandx_mansion_vault_lod")
        RequestIpl("h4_se_ipl_03_slod")
        RequestIpl("h4_nw_ipl_08_lod")
        RequestIpl("h4_islandx_barrack_props_slod")
        RequestIpl("h4_islandxtower_veg_slod")
        RequestIpl("h4_sw_ipl_04")
        RequestIpl("h4_islandx_mansion_props")
        RequestIpl("h4_islandxtower_slod")
        RequestIpl("h4_beach_props")
        RequestIpl("h4_islandx_mansion_b_slod")
        RequestIpl("h4_islandx_maindock_props_slod")
        RequestIpl("h4_sw_ipl_07_slod")
        RequestIpl("h4_ne_ipl_07")
        RequestIpl("h4_islandxdock_props_2")
        RequestIpl("h4_ne_ipl_09_lod")
        RequestIpl("h4_islandxcanal_props")
        RequestIpl("h4_beach_slod")
        RequestIpl("h4_sw_ipl_00_slod")
        RequestIpl("h4_sw_ipl_03_lod")
        RequestIpl("h4_islandx_disc_strandedshark")
        RequestIpl("h4_islandx_disc_strandedshark_lod")
        RequestIpl("h4_islandx")
        RequestIpl("h4_islandx_props_lod")
        RequestIpl("h4_mph4_island_strm_0")
        RequestIpl("h4_islandx_sea_mines")
        RequestIpl("h4_mph4_island")
        RequestIpl("h4_boatblockers")
        RequestIpl("h4_mph4_island_long_0")
        RequestIpl("h4_islandx_disc_strandedwhale")
        RequestIpl("h4_islandx_disc_strandedwhale_lod")
        RequestIpl("h4_islandx_props")
        RequestIpl("h4_int_placement_h4_interior_1_dlc_int_02_h4_milo_")
        RequestIpl("h4_int_placement_h4_interior_0_int_sub_h4_milo_")
        RequestIpl("h4_int_placement_h4")
       RequestIpl("vw_casino_penthouse")
       RequestIpl("hei_dlc_windows_casino")
    
    


  • @JohnFromGWN said in How to activate the cayo perico map?:

    @Niziul

    Ok, I'm confused. Is that meta file in the game patch?

    Yes, it is the only one in the game and it is found in: "Grand Theft Auto V\update\x64\dlcpacks\mpheist4\dlc.rpf\common\data"



  • @Niziul said in How to activate the cayo perico map?:

    Function.Call((Hash)0x9A9D1BA639675CF1, "HeistIsland", true);

    OMFFFFFFG.
    I can't believe all those morons who created full maps and the other morons, myself included, who installed those huge maps when it took 1 line of code!!!!

    Again where did you find this native and is there one for the Casino?

    This should be pinned. And the hangar interior loads!

     private void GoTo_CayoPerico(object sender, EventArgs e)
            {
                Function.Call((Hash)0x9A9D1BA639675CF1, "HeistIsland", true);
    
                Function.Call(Hash.SET_ENTITY_COORDS, Game.Player.Character, 4840.571, -5174.425, 2.0, 0, 0, 1);
            }
    


  • @Niziul said in How to activate the cayo perico map?:

    Yes, it is the only one in the game and it is found in: "Grand Theft Auto V\update\x64\dlcpacks\mpheist4\dlc.rpf\common\data"

    There are actually two, the other is at: "Grand Theft Auto V\update\update.rpf\dlc_patch\mpheist4\common\data\islandhopper.meta" and the coolest thing is that this one has more stuff.



  • @Niziul

    NVM. found it. Honestly this is the most incredible stupidity I"ve encountered in my 2 years of modding.
    Hundreds of posts and mods for CP, both in SP and FiveM, when all it took was one effing native function.

    And it obviously takes other arguments.

    STREAMING::SET_ISLAND_ENABLED
    void SET_ISLAND_ENABLED(const char* name, BOOL toggle) // 0x9A9D1BA639675CF1 b2189
    
    
    Enables the specified island. For more information, see islandhopper.meta
    
    Old name: _SET_ISLAND_HOPPER_ENABLED
    


  • @JohnFromGWN To be honest I still don't understand how this file works.



  • @Niziul Well isn't it just that the function (which we would need to decompile) is linked to the meta file?

    Great, great find btw. Fantastic.



  • @Niziul

    P.S. Are you using the enable MP Map script / dll? Does this function require it? I'm guessing it does but haven't tested.



  • Also, the FiveM approach linked about uses a different function for the waves. Again this can be used for any mod where the ocean waves flood the road.

    MISC::WATER_OVERRIDE_SET_STRENGTH
    void WATER_OVERRIDE_SET_STRENGTH(float strength) // 0xC54A08C85AE4D410 0xDA02F415 b323
    
    
    This seems to edit the water wave, intensity around your current location.
    
    0.0f = Normal
    1.0f = So Calm and Smooth, a boat will stay still.
    3.0f = Really Intense.
    
    


  • @JohnFromGWN I don't have this script installed, but I judge from the name that it only loads things from mp? because if so, just use the native: (Function.Call(Hash.ON_ENTER_MP);) no?



  • @Niziul Once more good to know. Had never researched this because I had downloaded and installed the huge CP mod - for nothing it seems - unless there is a penalty for enabling MP Maps.

    By penalty I mean is there a performance or stability hit? Further testing required.

    Once more thanks for the function.



  • @JohnFromGWN Did the map of los santos by any chance disappear when you used the function? Because in mine appeared some problems, I think it must be because I have many interiors enabled on the island.



  • @Niziul

    One more thing. It would be great for you to upload this as a script in the mods section when it's ready.


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.