[HowTo] - Prepare a Map for a Gameday

Discussion in 'Tutorials & Resources' started by BrainInBlack, Mar 10, 2011.

  1. BrainInBlack

    BrainInBlack L1: Registered

    Messages:
    33
    Positive Ratings:
    9
    This Tutorial should help you, prepare your map for a gameday, the play testing events from the tf2maps.net staff.



    Tools you need:



    Prepare your map in Hammer:
    First make sure you have no leaks in your map! Here is a little guide how to find a leak

    Then add some lights to your map. For example some light entities inside of buildings (they don´t have to look good, just be there) and a light_env for your outside area. Make sure you have at least one env_cubemap in your map. The pink checkerboard texture is a no no!

    If everything works, save your vmf under a new name but add a version number to it (for example: cp_jaocpm_a1.vmf). The new name must be lowercase and it should have the game-type as a prefix (ie: ctf_, cp_, ...). Also, if make minor changes, for example tweak a light a bit or change a trigger a bit, don´t give the map a complete new version-number. Instead use "cp_jaocpm_a1a.bsp" or something like that.

    Then compile it for the last time.​


    Things to do, InGame:
    Build the cubemaps and check the map a last time, before you advance to the next steps. Here is a tutorial for building cubemaps

    Double-check if your map basically works. That means, doors, spawn points, resupply and all the other things should work, as they should work! That means, the enemy team should not be able to get in the spawn-room of the opposing team. There are enough spawn-points for every team-member (16 to be precise). Class-change should work in the spawn-room. And so on...​


    Add your Custom Stuff: [PICTURE]
    Copy your bsp to your desktop (or any other folder) and open it with pakrat. Go to the "Preferences" (CTRL+P) and setup the "Game root directory" (example: "C:\%path_to_steam%\steamapps\%accountname%\team fortress 2\tf").

    Then hit the "Auto" button. Pakrat will search your map for any custom content, that is not included into the default TF2 installation and add the missing content to your bsp. After Pakrat is done, save the map under the exact same name.​


    Help the Server-Staff: [PICTURE]
    Zip your new bsp as a bzip2. Right click the bsp and go to "7zip" -> "add to archive" (or something like that). Chose "Bzip2" as the format and hit "OK".

    Don´t use any other method to zip your map! A renamed "cp_jaocpm_a1.bsp.rar" or "cp_jaocpm_a1.bsp.zip" is not the same as a real "cp_jaocpm_a1.bsp.bz2"!

    Now upload the zipped file and your map is ready for play-testing on the TF2Maps.net servers.​




    Sorry for the bad english... it´s not my native language ;)
     
    • Thanks Thanks x 9
    Last edited: Mar 11, 2011
  2. Fr0Z3nR

    aa Fr0Z3nR Creator of blackholes & memes. Destroyer of forums

    Messages:
    6,391
    Positive Ratings:
    4,906
    With Pakrat, I'm pretty sure you have to search for your textures for the models, even though it may do it auto, you need to make sure its there.

    Also, file names should be all lowercase (you should mention that) and have the gametype prefix before verything else (ie: ctf_ , cp_ , arena_)
     
    • Thanks Thanks x 1
  3. BrainInBlack

    BrainInBlack L1: Registered

    Messages:
    33
    Positive Ratings:
    9
    Yeah... forgot to mention that you have to setup the path to the game folder. Then auto work properly.

    And thanks for the hint with the lowercase file names, forgot that too -.-
     
  4. Okrag

    aa Okrag Wall Staples

    Messages:
    1,029
    Positive Ratings:
    640
    Couple things I might add, make sure all your spawns work. See if they open for the team they are intended for and don't open for the opposing team. Also, if you have to make a quickfix to your map, give it a different version name like cp_example_a1a, as opposed to just keeping it a1.
     
    • Thanks Thanks x 1
  5. BrainInBlack

    BrainInBlack L1: Registered

    Messages:
    33
    Positive Ratings:
    9
    Added ;)
     
  6. Trotim

    aa Trotim

    Messages:
    1,180
    Positive Ratings:
    995
    I always pakrat first and then build cubemaps, had bad experiences the other way round (but that may be coincidence)
     
    • Thanks Thanks x 1
  7. BrainInBlack

    BrainInBlack L1: Registered

    Messages:
    33
    Positive Ratings:
    9
    hmm, i test that... maybe your way is the right one :D
     
  8. Jeremy

    Jeremy L11: Posh Member

    Messages:
    829
    Positive Ratings:
    251
    Could be useful. Thanks.
     
  9. BrainInBlack

    BrainInBlack L1: Registered

    Messages:
    33
    Positive Ratings:
    9
    Ok, i tested this and it´s no problem building the cubemap before using pakrat. Maybe it´s a very rare problem :D
     
  10. Sgt Frag

    Sgt Frag L14: Epic Member

    Messages:
    1,443
    Positive Ratings:
    294
    It's probably regarding a very specular model material (if at all)

    You should also probably put 16 spawn points. Yes 24 man server is standard but so many 32 man servers out there, might as well play it safe.

    I also just drag/drop my bsp onto 7z and that works fine.
     
  11. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    I'd like to self-servingly mention that you can also try PackBSP, which I plan to clean up enough to open-source in a month or two. (Which may seem like a long time until you consider that Pakrat hasn't been updated in almost five years.)
     
  12. BrainInBlack

    BrainInBlack L1: Registered

    Messages:
    33
    Positive Ratings:
    9
    Thanks for the 16 spawn hint ;)
     
  13. BrainInBlack

    BrainInBlack L1: Registered

    Messages:
    33
    Positive Ratings:
    9
    Sry, but pakrat is a much faster. PackBSP hung up in crawling on a relative simple map (just 3 custom models). For now, i recommend pakrat until PackBSP gives better and faster results.

    PM me if you updated PackBSP or just reply in this thread ;)
     
  14. Fr0Z3nR

    aa Fr0Z3nR Creator of blackholes & memes. Destroyer of forums

    Messages:
    6,391
    Positive Ratings:
    4,906
    I found Pakrat to be more reliable than packbsp. maybe I'm just using them wrong.