do you need to pakrat hl2 textures?

Discussion in 'Mapping Questions & Discussion' started by martijntje, Nov 30, 2009.

  1. martijntje

    martijntje L8: Fancy Shmancy Member

    Messages:
    539
    Positive Ratings:
    168
    I have a map wich uses hl2 textures (I usually dont, but it really fits nicely.

    Should you pakrat hl2 textures when used in a tf2 map?
     
  2. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    586
    Nope. It's only things that aren't shipped with Hammer (custom-made models and textures) that you have to pakrat
     
  3. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,920
    All HL2 content is shipped in the shared GCF files, that means every source game has them and can (and does) use them.
     
  4. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    TF2, specifically, has access to all HL2 content under the "hl2" directory within:
    • Source 2007 Shared Materials.gcf
    • Source 2007 Shared Models.gcf
    • Source 2007 Shared Sounds.gcf
    • Source Materials.gcf
    • Source Models.gcf
    • Source Sounds.gcf
    (You can view these archives with GCFscape.)
     
    • Thanks Thanks x 1
  5. Freyja

    aa Freyja ¯\_(ツ)_/¯

    Messages:
    2,884
    Positive Ratings:
    5,128
    However, if the player doesn't have episode 1 or 2, they won't get its shared models/textures.
    Only the HL2 textures/models are included with any source game.
     
  6. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    I could very well be wrong (I speak more from a reverse-engineering than a testing standpoint) but even if the player has Ep1 or Ep2 installed, neither have resources on the search-path for TF2 so TF2 wouldn't be able to find them and you'd get checkerboards.
     
  7. Earl

    Earl L6: Sharp Member

    Messages:
    284
    Positive Ratings:
    37
    If it appears in the hammer texture browser by default, you don't have to pakrat it.
     
  8. martijntje

    martijntje L8: Fancy Shmancy Member

    Messages:
    539
    Positive Ratings:
    168