Can anyone point me in the direction of the code that randomly selects a background map? Like after you've completed HL2. I would like to implement this feature from the off-set in my mod.
Would it be possible to use the srand function? I remember back in HL1 coding, where the creatures would make a random sound. The code was in there. Check the HL2 SDK to see if the command is there for the monster sounds, and maybe you can use that with backgrounds.
Upon further testing the value you give "sv_unlockedchapters" will be the number of chapters unlocked. So if you give it the value "3", the background map for the 3rd chapter will be your background map.
Will test further the value needed to create randomly spawning background maps. Let's hope its something nice and simple like "0".