Optimal VRAD settings for final compile

Discussion in 'Mapping Questions & Discussion' started by Snowbat, Sep 12, 2015.

  1. Snowbat

    Snowbat L4: Comfortable Member

    Messages:
    165
    Positive Ratings:
    61
    Guys, I need help with something that is probably very stupid, but I haven't done a full shadow and HDR compile in a while for my map and for some reason Hammer forgot the settings I used last time for it.
    Gadget told me I should compile my map with extra compile setting son VRAD. I know how to add settings in Hammer... but I can't find the VRAD part. I see the following commands:
    - bsp_exe
    - vis_exe
    - light_exe
    - A copy file command
    - game_exe

    Which one is VRAD? Is it the lighting? What are the mos toptimal parameters to use?
    Thanks!
     
  2. killohurtz

    aa killohurtz Distinction in Applied Carving

    Messages:
    1,006
    Positive Ratings:
    1,160
    • Thanks Thanks x 2
  3. Snowbat

    Snowbat L4: Comfortable Member

    Messages:
    165
    Positive Ratings:
    61
  4. Tumbolisu

    aa Tumbolisu  I ⌄ I 

    Messages:
    949
    Positive Ratings:
    936
    Hammer forgot the settings because it's stored in a file which gets shipped with the game. This means that updates will override the file, causing any changes to disappear.
    What I do to make it easier is simply making a backup of it. After an update I just override the original with the backup.
    The file you are looking for is
    Code:
    Team Fortress 2\bin\CmdSeq.wc
     
  5. henke37

    aa henke37

    Messages:
    1,919
    Positive Ratings:
    449
    Mere updates won't touch the file. It's when you verify the cache it gets clobbered.
     
  6. Tumbolisu

    aa Tumbolisu  I ⌄ I 

    Messages:
    949
    Positive Ratings:
    936
    Often times the cache gets verified when updating.
     
  7. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,745
    For easy copy pasta:

    $light_exe -lights mylights.rad -staticproppolys -textureshadows -staticproplighting -final -both -smooth 40 -game $gamedir $path\$file

    (I use -smooth 40 because I think the default of 45 is too much, I don't often want 45 degree corners to smooth)
     
    • Thanks Thanks x 1
  8. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,219
    That's why you need to remember to use smoothing groups to split those out. Straight ramps for example should never smooth with the horizontal surfaces they connect to, no matter how shallow they are.