upl1nk-v01d / cod4x_v01d_mod

0 stars 0 forks source link

Disable map rotation randomization because of the chance to replay the same map twice is quite high #22

Closed Daxy7 closed 1 year ago

upl1nk-v01d commented 1 year ago

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.

upl1nk-v01d commented 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.

upl1nk-v01d commented 1 year ago

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.

Daxy7 commented 1 year ago

Looks good. Will re-open this if any issues arise/