Costume textures and cubemaps

Discussion in 'Mapping Questions & Discussion' started by LuisReefTank, Apr 21, 2011.

  1. LuisReefTank

    LuisReefTank L1: Registered

    Messages:
    14
    Positive Ratings:
    0
    Ok, so, i have been told to pakrat the cosutme textures, and only then recompile the cubemaps, my question is, how do i do this?:huh:
    So step by step:
    1.Compile the map
    2.pakrat the costume textures
    3.???? Should i go in-game and load up the map and type "buildcubemaps" or something? Or s it a hammer option?


    Thanks in advance!
     
  2. LeSwordfish

    aa LeSwordfish semi-trained quasi-professional

    Messages:
    4,102
    Positive Ratings:
    5,982
    Building cubemaps is done by entering game and typing commands, yeah. It is (or at least this has always worked for me) mat_specular 0, buildcubemaps, run a diffrent map, and then run yor map again.

    This turns reflections off, builds the cubemaps, and forces the game to run the maps with the cubemaps in.
     
  3. Vincent

    aa Vincent 🔨 Grandmaster Lizard Wizard Jedi 🔨

    Messages:
    914
    Positive Ratings:
    578
    Use PakBSP http://technofovea.com/blog/projects/packbsp to pack your map. It's loads better than PakRat.

    And yes you have it in the right order. Compile, Pack, Cubemaps. For building cubemaps check out http://forums.tf2maps.net/showthread.php?t=16452

    -map <mapname>(Load your map)
    -mat_specular 0
    -buildcubemaps
    -mat_specular 1
    -disconnect
    -map <mapname>(Load a different level; clears texture cache)
    -map <mapname>(Load you map again)

    Thats a little extensive, but it works. If you don't feel like loading a new map reload_materials 1 works too. Or was it reload_allmaterials 1. Eh, I forget but that's the general idea.
     
  4. LeSwordfish

    aa LeSwordfish semi-trained quasi-professional

    Messages:
    4,102
    Positive Ratings:
    5,982
    I was under the impression it was mat_reloadallmaterials.

    (Blind men and elephants, anyone?)
     
  5. Vincent

    aa Vincent 🔨 Grandmaster Lizard Wizard Jedi 🔨

    Messages:
    914
    Positive Ratings:
    578
    Could be.
     
  6. LeSwordfish

    aa LeSwordfish semi-trained quasi-professional

    Messages:
    4,102
    Positive Ratings:
    5,982
    Also, you mean Custom, not Costume. Costume is fake clothes.

    EDIT: Ooh, 700 posts.
     
  7. Fr0Z3nR

    aa Fr0Z3nR Creator of blackholes & memes. Destroyer of forums

    Messages:
    6,391
    Positive Ratings:
    4,901
    you can skip loading another map by just typing in sv_cheats 1 then mat_reloadallmaterials
     
    • Thanks Thanks x 1