PackBSP question

Discussion in 'Mapping Questions & Discussion' started by 404UNF, Feb 11, 2011.

  1. 404UNF

    404UNF No longer a "TF2 Beta/Cut Content Historian".

    Messages:
    228
    Positive Ratings:
    59
    How exactly does it work? I'm working on a new map for my server and I want to include custom overlays and custom music that can be played through buttons in a secret room.

    I've Googled around abit, and I must have missed something because I couldn't find a good tutorial for how to use PackBSP and put custom textures/overlays/sounds/etc into a map and have them automatically be downloaded with the map.

    Good example of this is achievement_turbo_v13fix. Map has tons of custom overlays and such, and you don't have to download any files other than the map.

    So uh yeah, any tutorials on putting custom overlays/textures/sounds/props/whatever into a map and having them be downloaded with the map?
     
  2. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,532
    Just run PackBSP, and follow the prompts. It is meant to be simple enough that you don't need a tutorial.
     
  3. 404UNF

    404UNF No longer a "TF2 Beta/Cut Content Historian".

    Messages:
    228
    Positive Ratings:
    59
    >_o Why did I not think of running the program once to see what it does?

    *face-desk*
     
  4. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    If it isn't simple-enough, feel free to explain what was problematic.

    There are a few things it does not pack (like certain custom control-point icons) but most of them are explained on the site.
     
  5. Kill_the_Bug

    Kill_the_Bug L14: Epic Member

    Messages:
    1,466
    Positive Ratings:
    237
    Sorry for the nerco bump but this really is the best place for it.

    I have a custom model - a "key" - but Pack isn't recognising it. The model is attached to the intel entity and I have the game mode set to Type 4 and the intel only becomes active on trigger

    I already know about this:

    - PackBsp does not support dependencies which may be triggered by the I/O system in Hammer, since it is difficult to analyze and predict what it may do.
    - Please inspect your map logic to determine what file(s) are needed, and add them manually.

    I have tried to add it in manually - it and the textures - both show up in the pack list once I add it in but when I upload to a server the item becomes the error message symbol.

    The support forums on the pack site are closed for comments - hence my question here.

    Has anyone else had this issue - is there a work around or am I just doing it wrong?

    If I'm doing it right, I guess the only option I have left is to include the files for the keymodel as part of the file package that goes onto the server - but this is a real pain in the ass thing for server operators.

    Any ideas?
     
  6. Micnax

    aa Micnax I maek map

    Messages:
    2,056
    Positive Ratings:
    1,383
    Try using Pakrat instead of PackBSP and use the Add button to put in the model and the model's materials. It automatically fixes the file's path for the BSP file, which may be the problem you're having. Then just do File > Save BSP and it should pack itself in.
     
    • Thanks Thanks x 1
  7. Kill_the_Bug

    Kill_the_Bug L14: Epic Member

    Messages:
    1,466
    Positive Ratings:
    237
    If I have done 99% of the map already in packbsp - can I load that file into packrat to pull in the extra files or should I start with a fresh unpacked bsp?
     
  8. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,033
    Positive Ratings:
    3,980
    PackBSP sets the file directories automatically too though, or rather doesn't change them when you manually add things in, so it should work fine. I don't see PakRat being any different.

    KTB, to answer you, you should be able to continue to pack into the BSP you already started packing.
     
    • Thanks Thanks x 1
  9. Kill_the_Bug

    Kill_the_Bug L14: Epic Member

    Messages:
    1,466
    Positive Ratings:
    237
    Thanks guys! I can NEVER seem to get my map packed correctly - something always seems to get missed and it pisses me off to no end. Must definitely PO the people who DL too!