Package maps into a mod

Hi, this isnt about how to map but how to ‘package’ maps into a game(mod).

If I had 3 maps that are joined together (get from map 1 to map2 to map3.) then how would I put them into a mod? So when I open the mod and click ‘New Game’: map 1 starts and I can play it all the way through to map 3. (most likely on just 1 chapter)

I clicked ‘Create a Mod’ on source sdk. And I think Ive got the files/folders set up fairly correctly. But I can tweak things once I get it properly working, All i need is to open the mod and click new game and it plays map1.

Im using HL2:Episode 2 so the video that plays at the beggining of the game plays which I dont want.
Thanks.

Make a replacement of that video that is blank and half a second long, and place it in your mod folder with the same filename and file path as the original.

I found an answer: - (I asked this question on several forums) so here it is for anyone else with this question:

Originally Posted by l4nd0fc0nfu510n
In the CFG folder of your mod’s directory, there will be files named “chapter01.cfg”, “chapter02.cfg”, etc.

Open up the “chapter01.cfg” in your favorite text editor (I use Notepad++ for CFG files).

Within the file will be something like “playvideo_exitcommand ep1_recap map past01”

What those things mean are…:

“playvideo_exitcommand ep1_recap” - This means, that when you start Chapter 1 from the Main Menu, it will play the video “ep1_recap”, and when it finishes, it will run the next command.

"map " - Starts the map.

So, you can remove the whole video playing part if you want, so that the file ONLY says “map map1”

Assuming you set up your level transitions within the maps correctly, you will be able to get from map1 to map2, and from map2 to map3.

Oh, and put your maps in the Maps folder in your mod’s directory. It’d be like “C:\Program Files\Steam\steamapps\YourMod\maps”

You can lock this thread now.

It only took me 3 minutes digging around in my hl2 folder to figure that out 4 years ago.

But anyway, good luck with your mod.

You can also make custom menu item titles and custom chapter titles with some clever text editing.

Im almost ashamed of posting this old pic, but whatever.

hahahaha that pic

yeah im using notepad i just keep finding the WRONG files! damn (I can change the backspeed but thats about it)

(i made an icon (.tga) all by my self :retard: )

Its Half Life on drugs. :fffuuu:

Yay now I can change the title etc because i now have a GameMenu.res … before it wasnt there and I didnt know it needed to be there. Luckily I stumbled upon https://www.moddb.com/tutorials/complete-guide-for-customizing-a-single-player-mod

Founded in 2004, Leakfree.org became one of the first online communities dedicated to Valve’s Source engine development. It is more famously known for the formation of Black Mesa: Source under the 'Leakfree Modification Team' handle in September 2004.