Making a map playlist?

Can someone tell me how I can make a map playlist for singleplayer?

I want to play through HL2 and the episodes but still be able to use my addons and things :3

Take the maps from the maps folders of HL2, HL2ep2, and whatever else, and play them in order. I did that. Now, I can shoot combines with my Bellini and get out of the prison pod in Breens office and shoot him w/o killing him. It’s damn sweet.

You basically told me what I’m trying to do :\

Like is there a .cfg file or something that I can load which automatically loads the maps in the game?

Not if they are like campaign missions. All you do is play one, hit the end, and it will load the next one. If they are like gm_construct, then flatgrass, then cs_militia, then idk.

:c

All the downloadble campaigns on garrysmod.org restrict access to the GMod features

Create a text file somewhere in your garrysmod folder. Root works, data/yourmaplist.txt would be better.

Then, in the console, type:



mapcyclefile data/yourmaplist.txt


I haven’t tried this in a long time ( before the orange box update long time ), but that worked back then so it might still now.

Each map should be on it’s own line, like this:



de_piranesi
de_port
cs_office
de_aztec
de_tides
cs_assault
de_cbble
de_dust
cs_havana
de_dust2
de_train
cs_italy
de_inferno
de_nuke