Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Setting up Hammer: Difference between revisions

From TF2 Classified Wiki
NinjaV (talk | contribs)
No edit summary
NinjaV (talk | contribs)
No edit summary
Line 24: Line 24:
== Step 3: Configuring Hammer++ for TF2C ==
== Step 3: Configuring Hammer++ for TF2C ==
=== For the new Team Fortress 2 Classified ===
=== For the new Team Fortress 2 Classified ===
Go to {{code|steamDir/steamapps/common/Team Fortress 2 Classified/bin/x64}} and run the {{hammer_tf2c_setup.bat}} file.
Go to {{code|steamDir/steamapps/common/Team Fortress 2 Classified/bin/x64}} and run the {{code|hammer_tf2c_setup.bat}} file.


=== For the legacy Team Fortress 2 Classic ===
=== For the legacy Team Fortress 2 Classic ===
Line 39: Line 39:


In the "Run Map..."/F9 dialog, you should click the "Expert..." button in the bottom-left corner of the panel to view your configurations, and adjust the parameters for the $light_exe command in the configuration you use for your final compile to be:
In the "Run Map..."/F9 dialog, you should click the "Expert..." button in the bottom-left corner of the panel to view your configurations, and adjust the parameters for the $light_exe command in the configuration you use for your final compile to be:
-final -hdr -ambientocclusion -aoscale 0.5 -LargeDispSampleRadius -softencosine -worldtextureshadows -game $gamedir $path\$file
{{pre|-final -hdr -ambientocclusion -aoscale 0.5 -LargeDispSampleRadius -softencosine -worldtextureshadows -game $gamedir $path\$file}}


Meanwhile, for fast compiles when prototyping your map, you can simply use:
Meanwhile, for fast compiles when prototyping your map, you can simply use:
-fast -hdr -game $gamedir $path\$file
{{pre|-fast -hdr -game $gamedir $path\$file}}


== Troubleshooting ==
== Troubleshooting ==