Closed Daxy7 closed 1 year ago
I'm providing the link to necessary files you can download, including sv_maps.cfg (put this file in cod4x/mods/v01d/ dir).
https://drive.google.com/drive/folders/186GyQw-vKV_bFqAfxdYtRPXcxtaSnoCb?usp=share_link
If this helped, then please close this issue.
The dvar 'v01d_maps_randomizer' set by default to 1 is now added in main.gsc. Now map randomization option can be turned on/off.
Looks good. Will re-open this if any issues arise/
In thread _maps_randomizer() the variable filename has to store an array of defined map names from sv_maps.cfg, which appearently you have not available. I will make sure that function also checks and gathers map names from original cfg file line or even from ram memory.