MVM - Mission not loaded in my custom map

Discussion in 'Mapping Questions & Discussion' started by FortyTwo, Mar 5, 2016.

  1. FortyTwo

    FortyTwo L2: Junior Member

    Messages:
    79
    Positive Ratings:
    62
    I was a bit new to the hammer so I might me a noob but the problem that I'm having is that the game won't let me load my mvm mission that I've made for my custom mvm map. I can load my mission on any official map. My map have bsp, lin, log, vmf and vmx files. Did I miss any of it?
     
  2. Bogdy

    Bogdy L4: Comfortable Member

    Messages:
    187
    Positive Ratings:
    208
    A .pop file.
    The actual mission is located in a .pop file.
    To make a pop file, you can use http://old.mvm.tf/
    The .pop file must be named like your map. (I think. Don't quote me on that.)
     
  3. FortyTwo

    FortyTwo L2: Junior Member

    Messages:
    79
    Positive Ratings:
    62
    I do know how to make a mission fairly well but although I think that it the map's problem
     
    Last edited: Mar 5, 2016
  4. henke37

    aa henke37

    Messages:
    1,864
    Positive Ratings:
    432
    There is no requirement for the pop file to be named after the map. But the game does load the one named after the map by default. They really are two separate things.
     
  5. Geit

    aa Geit 💜 I probably broke it 💜

    Messages:
    597
    Positive Ratings:
    1,110
    @The Jill patched this recently I believe, you can now embed multiple .pop files in a single bsp apparently, as well as a nav file that's independent of the map's file name (by naming it embed.nav).

    I'm not sure if there's any more exact instructions than that, I meant to document it, but lost the chat log. Maybe Jill will drop by this thread and update us.

    EDIT: I misread the original quote, but my point still stands that you can apparently embed multiple pop files now.
     
    Last edited: Mar 5, 2016
  6. FortyTwo

    FortyTwo L2: Junior Member

    Messages:
    79
    Positive Ratings:
    62
    So I have mvm_cargostation.bsp and mvm_cargostation.pop. The game had noticed that there Is a mvm_cargostation.pop but It just won't load it. I've tried to call a vote to change to that mission and it said that the game would change into that mission but in fact it didn't change to that mission.
     
  7. UKCS-Alias

    aa UKCS-Alias Mann vs Machine... or... Mapper vs Meta?

    Messages:
    1,264
    Positive Ratings:
    748
    Its very likely that the popfile itself is broken or some other errors are going on. Check the console if it reports errors related to the popfile. Especialy missing brackets are a common cause.

    If all else fails you could post the popfile in here (make sure to use the [code] tag to make it preserve identation and also prevent up taking a huge part of the screen)
     
  8. FortyTwo

    FortyTwo L2: Junior Member

    Messages:
    79
    Positive Ratings:
    62
    Here's the error that the console said:

    So I have 4 blue info_player_teamspawn named "spawnbot" in the blue func_respawnroom and 6 red info_player_teamspawn named "red_player_teamspawn" in the red func_respawnroom.

    I only have 1 hologram and I have a Blue func_capturezone and a prop_dynamic bomb hatch.

    I think it might be the nav problem
     
  9. UKCS-Alias

    aa UKCS-Alias Mann vs Machine... or... Mapper vs Meta?

    Messages:
    1,264
    Positive Ratings:
    748
    It definitely is the nav as thats the default message when the nav cant be loaded or cant create a path to the hatch. It should indicate it by showing just a 'wave 0' on top.

    Note that both the blue and red respawnrooms both need to be a single entity (1 entity for blue, 1 for red). Depending on the case it can bug up the map quite alot. But even this shouldnt stop the map from working at all. Also, im not sure if its relevant, but give the rooms a visualizer (even if entirely nodraw textured)

    All props arent relevant to the nav unless they are able to block the bots, sometimes it generates a blocked nav square because of a prop. a func_door does block a path, but still allows the nav to get generated through it. And since the error is that is simply cant calculate the distance this only is relevant when all doors are closed which is very unlikely to be the case as it would block you aswel, or all doors have a filter to only allow red and the hatch can only be reached through a door (if this was the mistake at least facepalm 5 times for stupidity because your hatch is probably inside the respawnroom).
    A solid hatch prop might hinder to generate a nav square and this could be relevant to check. Even valve just uses a nodraw combined with a non-solid prop for the hatch.
     
    • Thanks Thanks x 1
  10. FortyTwo

    FortyTwo L2: Junior Member

    Messages:
    79
    Positive Ratings:
    62
    I've Finally figure it out how to fix it by just typing nav_generate in the console. *face palm 5 times*. Thanks for helping!
     
  11. UKCS-Alias

    aa UKCS-Alias Mann vs Machine... or... Mapper vs Meta?

    Messages:
    1,264
    Positive Ratings:
    748
    So the bug was simply that you never generated the nav

    (can happen, as this also is required to be done at allmost any recompile of the map because it will break when it no longer does match the map)
     
Tags: