Custom Content Problem

Discussion in 'Mapping Questions & Discussion' started by 【EmNudge】, Sep 11, 2016.

  1. 【EmNudge】

    【EmNudge】 L4: Comfortable Member

    Messages:
    179
    Positive Ratings:
    35
    I was following TopHatWaffle's guide for custom content without contamination, but TF2's gameinfo.txt was a tad different, so I looked for a TF2 one. I followed the steps in this tutorial by @sevin and I keep running into the same error I ran into when using tophat's tutorial.

    This one message would always pop up, preventing me from opening hammer:
    [​IMG]
    This was with every directory I gave it, no matter which ones I removed.

    The added text I use is as follows:
    Code:
                //This is tf_dev and all of its sub-folders
                game+mod        tf_dev/*
                game+mod        tf_dev/content_packs/*
                game+mod        tf_dev/content_packs/jungle/*
                game+mod        tf_dev/content_packs/jungle/hangvine/*
                game+mod        tf_dev/content_packs/jungle/plant01/*
                game+mod        tf_dev/content_packs/jungle/tree01/*
                game+mod        tf_dev/content_packs/jungle/tree02/*
                game+mod        tf_dev/content_packs/jungle/tree03/*
                game+mod        tf_dev/misc/*
                game+mod        tf_dev/maps_dev/*
                game+mod        tf_dev/maps_dev/trade_plaza_sg_a5/*
                game+mod        tf_dev/maps_dev/trade_plaza_sg_a5/materials/*
                game+mod        tf_dev/maps_dev/trade_plaza_sg_a5/materials/overlays/*
                game+mod        tf_dev/maps_dev/rade_plaza_sg_a5/materials/portraits/*
                game+mod        tf_dev/maps_dev/trade_plaza_sg_a5/particles/*
                game+mod        tf_dev/maps_dev/trade_plaza_sg_a5/sound/*
                game+mod        tf_dev/maps_dev/trade_plaza_sg_old/*
                game+mod        tf_dev/maps_dev/trade_plaza_sg_old/overlays/*
    
    any help is appreciated.
     
  2. sevin

    aa sevin

    Messages:
    954
    Positive Ratings:
    651
    You haven't got your paths set up quite right. This is all you need:

    Code:
                //This is tf_dev and all of its sub-folders
                game+mod        tf_dev/*
                game+mod        tf_dev/content_packs/*
                game+mod        tf_dev/misc/*
                game+mod        tf_dev/maps_dev/*
    
    Remember the asterisk modifier makes the preceding folder act like the custom folder, so all those other entries you had were redundant. In the custom folder, you only need 1 outlier folder named whatever you want. Inside that you would have your standard materials, models, sound, etc. So in effect, for example, maps_dev can have your map folder in it, and then the materials folder inside that will be seen and referenced in Hammer. When you specified the materials folder inside the map folder with an asterisk, you're essentially telling Hammer that the materials folder is the custom folder and it's trying to find the next folder inside that to find your materials, which doesn't compute.
     
    • Thanks Thanks x 1
    Last edited: Sep 11, 2016
  3. 【EmNudge】

    【EmNudge】 L4: Comfortable Member

    Messages:
    179
    Positive Ratings:
    35
    Same error, this is my added text:
    Code:
                //This is tf_dev and all of its sub-folders
                game+mod        tf_dev/*
                game+mod        tf_dev/content_packs/*
                game+mod        tf_dev/content_packs/jungle/*
                game+mod        tf_dev/content_packs/jungle/hangvine/*
                game+mod        tf_dev/content_packs/jungle/plant01/*
                game+mod        tf_dev/content_packs/jungle/tree01/*
                game+mod        tf_dev/content_packs/jungle/tree02/*
                game+mod        tf_dev/content_packs/jungle/tree03/*
                game+mod        tf_dev/misc/*
                game+mod        tf_dev/maps_dev/*
                game+mod        tf_dev/maps_dev/trade_plaza_sg_a5/*
                game+mod        tf_dev/maps_dev/trade_plaza_sg_old/*
    This is the current error:
    [​IMG]
     
  4. sevin

    aa sevin

    Messages:
    954
    Positive Ratings:
    651
    Sorry, I edited the post. Reread it. Also, the misc folder still needs to have outlier folders inside it before materials/models/sound etc. You will need to add that stuff in for it to work.
     
    • Thanks Thanks x 1