Hi, i´m modifying the Main.scm from GTA SA and i want to make the entire map visible since, by default, only the area where the player spawns is visible. I´ve seen other main.scm mods that reveal the whole map, but i don´t know what steps i need to do to make it visible from the start
A couple of strategies from some very old notes:
This segment will fill in each fog zone as visible, and does not require CLEO commands.
:sub_CG_Debug_UngrayMap
//RBR/CG37: Seemann's Map Ungray Codes
for 0@ = 354164 to 354188
0001: wait 0 ms
0004: &0(0@,1i) = 16843009
end
This segment will write a large number to the fog count so that the gray zones are ignored. So... with a good mapping tool you could still track where CJ has been before, but it's awkward to see and hardly worth the trouble.
//OSR/CG37: Add 0x010000 to the grayzone count so all areas are displayed.
// *can later subtract 0x010000 to undo the change
0A8D: 0@ = read_memory 0x0ba372c size 4 virtual_protect 0
000A: 0@ += 0x010000
0A8C: write_memory 0x0ba372c size 4 value 0@ virtual_protect 0 // less destructive Ungray the map
//0A8C: write_memory 0x0ba372c size 4 value 0x010000 virtual_protect 0 // Ungray the map
Edited Tuesday at 06:41 AM by OrionSR
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Map GTA sa problem | 0 | 3.39 | 26-01-2024 |
| 2 | Possibly helpful utility when using mods | 0 | 14.66 | 23-07-2026 |
| 3 | GTA Vice City PC Mods | 0 | 6.69 | 20-07-2026 |
| 4 | gta sa mobile help needed | 0 | 6.99 | 13-03-2026 |
| 5 | Route 66 | 0 | 11.23 | 24-05-2026 |
| 6 | (SOLVED) Add functional taxi, police cars, etc. without replacing existing vehicles | 0 | 5.56 | 09-05-2022 |
| 7 | Needed help with player skin texture | 0 | 3.7 | 19-07-2026 |
| 8 | GTA 5 | 0 | 2 | 16-04-2026 |
| 9 | Finding a car mod that was deleted from a workshop | 0 | 4.09 | 05-05-2022 |
| 10 | Hide the "ignored content" banner. | 0 | 2 | 05-07-2026 |