Quick question about those map preview thumbnail things...

Discussion in 'Mapping Questions & Discussion' started by Thanks4TheDiscordBanIibo, May 21, 2011.

  1. Thanks4TheDiscordBanIibo

    aa Thanks4TheDiscordBanIibo

    Messages:
    49
    Positive Ratings:
    49
    -snip, quitting-
     
    Last edited: Dec 31, 2018
  2. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    The ones for the "simple server browser" cannot be packed into your map, people must download and install them separately. And the people who would do that probably aren't using the simple-view anyway. So AFAIK that one is a bit of a lost-cause.

    The second ones (the "map intro" screen) are described here.
     
    • Thanks Thanks x 2
  3. Codename22

    Codename22 L1: Registered

    Messages:
    46
    Positive Ratings:
    21
  4. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    For TF2 maps you always take your custom content and "pack" it into the BSP, resulting in a somewhat larger file. (As opposed to .res files or .vpk packages.) You must do this for all custom content you make, VMTs, VTFs, Models, soundscapes, particles, etc.

    When the game loads the map, it temporarily "pretends" that the packed content is in the equivalent spot on the hard-drive.

    Note that cubemaps are a special case: The game itself rewrites the BSP to include them when they are generated. (Side note: Don't rename your BSP file after it has been compiled. It breaks stuff.)

    To do the "packing" step, you have a few choices:

    • Use bspzip.exe which comes with the SDK and should already be on your hard-drive. Not very user-friendly, but does exactly what you ask of it.
    • Use PackBSP (this is mine, I'm biased)
    • Use Pakrat (old, abandoned, but still very popular)
    • Use Map Analyst (?)