Load minimap scaleforms
-
Does anyone know how the "int random numers" scaleforms inside "scaleform_minimap.rpf" are loaded?
I searched through the Merryweather Heist scripts (as that's the only mission i remember where this type of scaleform is loaded) but, unless i'm blind, i haven't found nothingThe scaleforms that i need to load are these
int2506843673 = Merryweather Ship
int2092539216 = Merryweather Ship (sunk)
int1596791599 = Aircraft Carrier
int1906615853 = Heist Yacht
int1076883030 = Prison
-
The random numbers are (probably) hashes.
-
I thinked the same thing so i used the Hash Collider and it gives back (under the "Dictionary match" tab) the same name (of the file), so no, they're not hashes (unless if i used it in the wrong way lol)
Also, even if i don't know if this can help (probably not), i found this in "scaleformpreallocation.xml" (update\update.rpf\common\data)
<!-- prison (V_FakePrison) --> <movie name="INT1076883030" peakSize="288" granularity="16" sfalloc="true"> <SFAlloc><Size value="32"/><Count value="1"/></SFAlloc> <SFAlloc><Size value="64"/><Count value="2"/></SFAlloc> </movie>
and this in "heist_mp.xml" (update\update.rpf\dlc_patch\mpheist\common\data\ui)
<!-- aircraft carrier (v_FakeHeistAC) --> <movie name="INT1596791599" peakSize="160" granularity="16" sfalloc="true"> <SFAlloc><Size value="32"/><Count value="1"/></SFAlloc> <SFAlloc><Size value="64"/><Count value="2"/></SFAlloc> </movie> <!-- heist yacht (v_FakeHeistYacht) --> <movie name="INT1906615853" peakSize="160" granularity="16" sfalloc="true"> <SFAlloc><Size value="32"/><Count value="1"/></SFAlloc> <SFAlloc><Size value="64"/><Count value="2"/></SFAlloc> </movie>
-
What's with the "fakes"?
-
Those are the names that R* uses (can't confirm the yacht and aircraft carrier ones)
-
Bump
-
@Alex106
Function.Call(Hash.SET_RADAR_AS_INTERIOR_THIS_FRAME, Function.Call<int>(Hash.GET_HASH_KEY, "V_FakePrison"), 1700f, 2580f, 0, 0);
Function.Call(Hash.SET_RADAR_AS_EXTERIOR_THIS_FRAME);
-
Thank you so much, it works!