only exterior stuff r* loads by default, the others should be requested/removed on enter/exit of said interior
You can use the hex just fine in place of the regular string, it still works fine.
Oh okay thank you.
Yes thatās what I thought, but finding names make it easier to know what is what.
to find them, id personally say you could extract all strings from the scripts and make throw them into a joaat hasher, then you can basically reverse-lookup for the labels/entityset names, e.g. the one you sent in the example, 0x116131FE
is Entity_Set_Armoury
ofc this only works if theyre actually used in the scripts, and also not portions where they e.g. concat it with another value
Added details for most of the entitysets, there are some that I couldnāt find what were modified, marked as ???.
I donāt really know how to do one, until now Iāve been using bob74_ipl and since the casino update I hardcoded them myself in a single lua file. I feel like this kind of resource should do all of the ipls, or none of them. (Cayo perico is an exception, because of how it is handled by SetIslandHopperEnabled - Natives @ Cfx.re Docs by default)
I know that ipls should be added / deleted depending on where we are, but I havenāt found a resource that does it well / couldnāt find time to do one myself.
I hope that somebody does one that works well and which is not paid and not using the Escrow system (this is the kind of resources that, to me, should be and stay free and open source). If nobody does it, Iāll have to find time to do it myself one day, but I donāt have time for this enormous work at the moment.
Just ask in a client side script for the distance, if the distance is bigger from the IPL then deactivate the IPL else activate. Not many lines of code.
I never said the opposite, but if I do it myself, Iāll want a way to customize the interiors with different entity sets based on the developper tastes. And Iāll have to look at every interiors and ipls to see what exists and what needs to be supported.
If i have time i will look into it in the next few days and see if there is a easy way of creating a resource with all the interiors and the customization.
RequestIpl("sf_fixeroffice_hw1_08")
local EntitySetsHQ = {
["Entity_Set_Art_1"] = true,
["Entity_Set_Art_2"] = false,
["Entity_Set_Art_3"] = false,
["Entity_Set_Wpaper_1"] = false,
["Entity_Set_Wpaper_2"] = true,
["Entity_Set_Wpaper_3"] = false,
["Entity_Set_Wpaper_4"] = false,
["Entity_Set_Wpaper_5"] = false,
["Entity_Set_Wpaper_6"] = false,
["Entity_Set_Wpaper_7"] = false,
["Entity_Set_Wpaper_8"] = false,
["Entity_Set_Wpaper_9"] = false,
["Entity_Set_blocker"] = false,
["Entity_Set_Standard_Office"] = false,
["Entity_Set_Armoury"] = true,
["Entity_Set_Moving"] = false,
["Entity_Set_Tint_AG"] = true,
["Entity_Set_Spare_Seats"] = true,
["Entity_Set_Player_Seats"] = true,
["Entity_Set_Player_Desk"] = true,
["Entity_set_disc_01"] = true,
["Entity_set_disc_02"] = true,
["Entity_set_disc_03"] = true,
["Entity_set_disc_04"] = true,
["Entity_set_disc_05"] = true,
["Entity_set_disc_06"] = true,
["Entity_Set_M_Golf_Intro"] = false,
["Entity_Set_M_Setup"] = false,
["Entity_Set_M_Nightclub"] = false,
["Entity_Set_M_Yacht"] = false,
["Entity_Set_M_Promoter"] = false,
["Entity_Set_M_Limo_Photo"] = false,
["Entity_Set_M_Limo_Wallet"] = false,
["Entity_Set_M_The_Way"] = false,
["Entity_Set_M_Billionaire"] = false,
["Entity_Set_M_Families"] = false,
["Entity_Set_M_Ballas"] = false,
["Entity_Set_M_Fire_Booth"] = false,
["Entity_Set_M_50"] = false,
["Entity_Set_M_Vehicles"] = false,
["Entity_Set_M_Taxi"] = false,
["Entity_Set_M_Tuner"] = false,
["Entity_Set_M_Gone_Golfing"] = false,
["Entity_Set_M_Hit_List"] = false,
["Entity_Set_M_Motel"] = false,
["Entity_Set_M_Attack"] = false,
["Entity_Set_M_Construction"] = false,
["Entity_Set_M_Trip_01"] = false,
["Entity_Set_M_Trip_02"] = false,
["Entity_Set_M_Trip_03"] = false,
["Entity_Set_Art_1"] = false,
["Entity_Set_Art_2"] = false,
["Entity_Set_Art_3"] = true,
["Entity_Set_Wallpaper_01"] = false,
["Entity_Set_Wallpaper_02"] = false,
["Entity_Set_Wallpaper_03"] = false,
["Entity_Set_Wallpaper_04"] = false,
["Entity_Set_Wallpaper_05"] = false,
["Entity_Set_Wallpaper_06"] = false,
["Entity_Set_Wallpaper_07"] = false,
["Entity_Set_Wallpaper_08"] = false,
["Entity_Set_Wallpaper_09"] = false,
["Entity_Set_Art_1_NoMod"] = false,
["Entity_Set_Art_2_NoMod"] = false,
["Entity_Set_Art_3_NoMod"] = false,
["Entity_Set_Tints"] = false,
["Entity_Set_Workshop_Wall"] = true,
["Entity_Set_Workshop_Lights"] = true,
}
CreateThread(function()
local HQ_interior_id = GetInteriorAtCoords(vector3(384.8140, -60.7270, 102.3630))
if IsValidInterior(HQ_interior_id) then
RefreshInterior(HQ_interior_id)
end
for k, v in pairs(EntitySetsHQ) do
if v then
ActivateInteriorEntitySet(HQ_interior_id, k)
else
DeactivateInteriorEntitySet(HQ_interior_id, k)
end
end
end)
Something I made for myself. Should work.
Does anyone got the coords from the music studio? Canāt find them.
-1010.0 -70.0 -100.0
iām getting this crash too
Thanks
this doesnt make much sense for interiors, just have a script handle the loads and unloads for them, gtao doesnt do anything of the sort for any exterior related stuff, the best idea is just to load it when its actually needed, as opposed to just assuming and loading it
Well, personally I just load them when the client is active and thatās it, canāt find a reason to deactivate a ipl. Atleast for my intentions not.
having too many ipls loaded can be an issue and seems to be for some servers ive heard, i might be wrong as its just from hearing about it but why bother with having to find that out anyway if you just do it in a way that prevents such an issue occuring in the first place
Yippie! Nice update, quite nice that the update got released so fast.
Also quite an nice update overall