Left 4 Dead 2

Left 4 Dead 2

View Stats:
The Boss Jul 17, 2023 @ 2:07am
Help...Uploading a map to the workshop
I have a map i want to upload, its tecnically already uploaded but the map dosnt appear in game so far all i have is the maps folder and materials folder (in the vpk) i think i need a addoninfo.txt but idk how to do that. Do i need to also add a missions folder? my map is a survival map so idk this is my first time
< >
Showing 1-4 of 4 comments
AlwaysToast Jul 17, 2023 @ 10:37am 
There is a valve tutorial for making campaigns (a survival basically the same thing). So you will want to read that. You don’t have to include every optional file, but it’s good to know what they are if you want them.

Or you can watch a worldofleveldesign video tutorial[www.worldofleveldesign.com].

Yes, you need an addoninfo.txt (that exact name) in the main folder. It’s just a text document, you can copy the example, then just modify the things like your name, the url (you can put in the workshop page), etc.
Explanation of addoninfo

If you go in your folders to Left 4 Dead 2/sdk_content/Deadline2
There is an addoninfo.txt for DeadLine2 you can copy.

Just replace all the values (like the map name, your name, url, etc).

Yes, you need a folder
/yourmainfilname/missions

In that file you need a mission text file, it can be/should be a unique name (do not call it missions.txt). yourcustomsurvivalmapname.txt

There is a valve page for mission files.

You can just copy the Base Mission File from the mission file page into a text document.

The mission file is a kind of script (it is computer code). So it’s important to get all the brackets and quotes in the right places and not screw them up. If you are worried about it, you can post the text of it here, and someone will check it for basic errors.

Really all you need to do is replace the values with your values.

The mission file controls how your map shows up on the in game menu, which also controls which game modes the map can be played in. It only shows up on the survival game list, if it’s setup to run in the survival game mode.

It also controls which survivors are used, and which melee weapons can spawn on your map.

In the mission file:
// is how you indicate something isn’t read by the script. So anything on one line after // is a note and not part of the code. So you can cut the notes out or add your own.

Since your just doing a survival map your modes section should look something like
"modes" { "survival" { "1" { "Map" "my_map_name" // the actual file name of the .bps that is loaded, without .bps at the end. "DisplayName" "Diplay Name" // What people will see it listed when picking a survival map from the list of survival maps "Image" "maps/my_map2" } } }
The Boss Jul 17, 2023 @ 2:28pm 
I dont know what im doing wrong but it still wont show in game
The Boss Jul 17, 2023 @ 9:45pm 
heres my mission file


"mission"
{
"Name" "TheRidge"
"Version" "1.0"
"Author" "KurtCoverage"
"Website" "http://steamcommunity.com/sharedfiles/filedetails/?id=3005160377"
"DisplayTitle" "The Ridge"
"Description" "Survive the treacherous Ridge!"
"survivor_set" "1"
"OuttroImage" "vgui\OutroTitle_l4d2_theridge"

"poster"
{
"posterImage" "LoadingScreen_l4d2_theridge"
"posterImage_widescreen" "LoadingScreen_l4d2_theridge_wide"
"fullscreen" "1"
}

"modes"
{
"survival"
{
"1"
{
"Map" "maps/ridge" // Use "maps/ridge" for your main map file, which is "ridge.bsp"
"DisplayName" "Survival Mode"
"Image" "maps/ridge_survival" // Replace with the path to an image representing the Survival Mode
}
}
}
}
The Boss Jul 17, 2023 @ 10:25pm 
Nvm i fixed it. The version was 1.0 instead of 1
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Jul 17, 2023 @ 2:07am
Posts: 4