<Chief Beef> R4P ✡ May 12 @ 4:09pm
Need help publishing my map!
So i have just finished making my map in hammer editor. it is just a survival map, no campaign, no scavenge, no vs. i followed all of steam's instructions as far as making addoninfo.txt, including map thumbnails etc... i have tried multiple times to make .vpk files and used l4d2 authoring tools to upload my addon to the steam workshop*. it uploads fine and downloads no problem when i subscribe to the addon. the problem is when i start the game i can see my map in the addons list, but when i try to start a survival game and click on addon campaign, it isnt in the list! this is the first map i have tried to publish and any advice would be appreciated, as i am not sure if i have missed any steps in the publishing process.. thanks!
Showing 1-5 of 5 comments
< >
AlwaysToast May 12 @ 10:26pm 
Could be a number of things. My first guess would be the mission file isn’t set up right. As that controls what game modes it will be listed under. The problem could be anything from not having a mission file in the mission folder, to a single bracket being missing in the mission file.
<Chief Beef> R4P ✡ May 13 @ 6:01pm 
here is how my i have my mission.txt file set up now; i havent changed the poster images because i havent made them yet.

// Mission files describe the metadata needed by campaign-specific add-ons so they can be
// integrated into Left4Dead. The data in this file is used by the game UI, matchmaking and server.
// Although you may provide multiple Campaigns in one add-on by putting more than one .TXT file
// in the missions folder, it's generally a good idea to stick to one per add-on.
//
// HOW TO DEBUG MISSION FILES:
// In the console set "developer 2"
// Then type "mission_reload"
// This will make the game reload all the mission files and print out every chapter for every mode it
// finds. It's very useful to ensure that your mission file is being correctly read.

"mission"
{
// Use a short name, since it is used as a tag on the servers for matching
// your campaign when looking for a dedicated server. Generally it should
// be something unique. One suggestion to is use your initials and a short
// abbreviated name for your campaign. Avoid spaces and special characters.
// Do not change the name when you create a revision, as the matchmaking
// system will consider it a different campaign. Instead, use "Version" and
// "DisplayTitle" below to indicate revisions.
"Name" "Hyrule Castle"

// The version number is used when finding campaigns on dedicated servers
// and in matchmaking. If you try to connect to someone in matchmaking
// who has a newer version, you will be directed to download the new
// version. You must increment this to the next integer (whole numbers)every
// time you release an update. (I.E. 1, 2, 3, 4, etc.)
"Version" "1"

// Author is displayed in the UI when people see others playing your
// campaign.
"Author" "Tazdev00"

// Website is extremely important as people will automatically be sent
// to this URL if they try to join a friend running your campaign. This
// should be the home page for your campaign and it should provide a
// description, a link to download it, and installation instructions.
"Website" "http://www.gamemaps.com/details/10067"

// This name is used when referring to the campaign in the UI.
"DisplayTitle" "Hyrule Castle"
"Description" "Hold out against the undead of Hyrule!"

// Vmt shown behind the end credits when your campaign completes.
// Note: This item needs to have "vgui\" at the front. It is assumed
// for the poster and the map thumbnails.
"OuttroImage" "vgui\OutroTitle_Deadline2"

// Loading poster data
//
// Note that "posterTitle" and "posterTagline" are often blank as
// the poster usually includes these in the poster image itself.
// If you do not provide a poster, a generic default will be used.
"poster"
{
"posterImage" "LoadingScreen_DeadLine2"
//Note L4D2 does not position player names over the poster.

}

// The modes section lists each of your campaign maps and each mode
// they support. Depending on how you set up your campaign maps,
// you can reuse the same bsp for different modes as is the case with
// coop and versus in this example. This requires setting up entities
// that show up or operate differently for different modes.
//
// The following modes are supported: "coop", "versus", "survival"
//
// Number each map section starting with "1"
//
// "Map" is the name of the bsp of the starting map. (do not include
// an extension)
// "DisplayName" is the name to use for the chapter of the map.
// "Image" is the image used for the chapter in the lobby and
// settings.

"modes"
{

"survival"
{
"1"
{
"Map" "l4d2_sv_hyrulecastle"
"DisplayName" "Hyrule Castle Survival"
"Image" "maps/l4d_deadline2"
}
}

}
}
}

}

should i have removed the other game modes like i did or should i have kept them and changed the number to "0" if i dont want that game mode?
AlwaysToast May 13 @ 9:29pm 
You have two extra } brackets at the end which have no corresponding starting bracket. Which is enough to screw up the code. The "Name" instructions say to avoid spaces, because having a space can screw it up. So that space should go away. Note this is fine because people only see the display name. I’ve always had better success with not listing unused modes than setting them to “0.”

This is what it should look like (I cut out all the explanation stuff) with the right number of brackets and the one space taken out:



"mission"
{

"Name" "HyruleCastle"
"Version" "1"
"Author" "Tazdev00"
"Website" "http://www.gamemaps.com/details/10067"


"DisplayTitle" "Hyrule Castle"
"Description" "Hold out against the undead of Hyrule!"

"OuttroImage" "vgui\OutroTitle_Deadline2"


"poster"
{
"posterImage" "LoadingScreen_DeadLine2"

}



"modes"
{

"survival"
{
"1"
{
"Map" "l4d2_sv_hyrulecastle"
"DisplayName" "Hyrule Castle Survival"
"Image" "maps/l4d_deadline2"
}
}

}
}
<Chief Beef> R4P ✡ May 13 @ 9:57pm 
yes! that worked thanks a ton you have no idea how bad i was pulling my hair out trying to fix this.
AlwaysToast May 13 @ 10:24pm 
Oh trust me I know. I've had many minor code errors cause problems for me.
Showing 1-5 of 5 comments
< >
Per page: 15 30 50