This article relates to the game "Team Fortress 2". Click here for more information.

Common TF2 Mapping Problems: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TF2 topicon}} {{lang|title=Common TF2 Mapping Problems}}
{{TF2 topicon}} {{lang|title=Common TF2 Mapping Problems}}
{{stub|game|hammer}}{{tf2}}{{hammer}}{{source}}
{{stub|game|hammer}}
== Overview ==
== Overview ==
This page is dedicated to helping new tf2 mappers with their maps. I know I've been stuck at one problem with no help, and I want to make sure it doesn't happen to anybody else. If you're an experience mapper, you're free to add to the list of problems. All contributions are welcome. Thanks, and have fun. Happy mapping. {{hammer|2}}
This page is dedicated to helping new tf2 mappers with their maps. I know I've been stuck at one problem with no help, and I want to make sure it doesn't happen to anybody else. If you're an experience mapper, you're free to add to the list of problems. All contributions are welcome. Thanks, and have fun. Happy mapping.
<br>
<br>
<br>
<br>
Line 16: Line 16:
problem: My water isn't rendering. It has a transparent void texture.
problem: My water isn't rendering. It has a transparent void texture.


solution: your map has leaks. it doesn't matter where they are, if your map has any leaks at all, your water won't render.
solution: your map has [[leak|leaks]]. it doesn't matter where they are, if your map has any [[leak|leaks]] at all, your water won't render.
[[File:Geometryproblem1.jpg|thumb|left]]
[[File:Geometryproblem1.jpg|thumb|left]]


<br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
{{Metanotice| text = [[Leak#Finding_leaks|How do I find Leaks?]]| hex = #22eb17}}
{{Note|Leaks happen when inside geometry is exposed to the void. make sure to seal all your rooms and use a skybox for outdoor scenes.}}
{{Quote|text="They call it a leak because when you have one, your water doesn't render."|sign=CRS}}
<br>
----
<br>
problem: I tried decompiling a map, but there's a bunch of missing reflection textures everywhere!
 
solution: use the [[Developer_console|console]] and type "mat_specular 0"
[[File:Geometryproblem2.jpg|thumb|left]]
 
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
{{Metanotice|id = [[File:icon-exclaim.png|32px|link=]]|text = '''Deleting every cubemap will not solve the problem'''|rgb = 235, 185, 23 }}
{{Note|Developer Console can be enabled in game by going to Options > Keyboard > Advanced.}}
<br>
----
<br>
problem: I tried decompiling a map, but the water has missing reflection textures!
 
solution: Open [[Developer_console|console]] and... <br>
#disable reflections by typing "mat_specular 0"
#clear cache by switching to a different map and typing "map cp_badlands"
#type "mat_hdr_level 0"
#reload your map by typing "map [mapname]"
#type "buildcubemaps"
[[File:Geometryproblem3.jpg|thumb|left]]
 
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
{{Note|"mat_specular 0" alone will not fix this problem.}}
{{Note|Developer Console can be enabled in game by going to Options > Keyboard > Advanced.}}
<br>
----
----


== Wiki Links ==
== Wiki Links ==
[[Water_(shader)|water]]
[[Water_(shader)|Water]]


[[prop_static|prop_static]]
[[prop_static|prop_static]]
Line 32: Line 63:


[[Displacement|Displacement]]
[[Displacement|Displacement]]
[[leaks|Leaks]]
[[Developer_console|console]]


{{Category end}}
{{Category end}}
Line 79: Line 114:
Problem: TF2 isn't launching when I press f9
Problem: TF2 isn't launching when I press f9


Solution: Go to Tools > Options > Build Programs and make sure ''Game Executable'' is set to ''tf_win64.exe''
Solution: Go to Tools > Options > Build Programs and make sure ''Game Executable'' is set to "tf_win64.exe"
[[File:Techproblem1.png|thumb|left]]
[[File:Techproblem1.png|thumb|left]]


<br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br>
----
----
== Wiki Links ==
== Wiki Links ==


Line 94: Line 130:
#[https://tf2maps.net/home/ tf2maps.net]
#[https://tf2maps.net/home/ tf2maps.net]
#[https://tf2maps.net/threads/valve-maps-decompiled.5952/ Decompiled TF2 maps]
#[https://tf2maps.net/threads/valve-maps-decompiled.5952/ Decompiled TF2 maps]
{{Source|2}} {{Tf2|2}} {{Hammer|2}}

Latest revision as of 12:28, 21 May 2025

English (en)Translate (Translate)

Stub

This article or section about a game, Hammer Hammer, is a stub. You can help by expanding it.

Overview

This page is dedicated to helping new tf2 mappers with their maps. I know I've been stuck at one problem with no help, and I want to make sure it doesn't happen to anybody else. If you're an experience mapper, you're free to add to the list of problems. All contributions are welcome. Thanks, and have fun. Happy mapping.

Geometry & Props

Common Problems with geometry and props.

Examples

problem: My water isn't rendering. It has a transparent void texture.

solution: your map has leaks. it doesn't matter where they are, if your map has any leaks at all, your water won't render.

Geometryproblem1.jpg
















Note.pngNote:Leaks happen when inside geometry is exposed to the void. make sure to seal all your rooms and use a skybox for outdoor scenes.
"They call it a leak because when you have one, your water doesn't render."
— CRS




problem: I tried decompiling a map, but there's a bunch of missing reflection textures everywhere!

solution: use the console and type "mat_specular 0"

Geometryproblem2.jpg
















Icon-exclaim.png
Deleting every cubemap will not solve the problem
Note.pngNote:Developer Console can be enabled in game by going to Options > Keyboard > Advanced.




problem: I tried decompiling a map, but the water has missing reflection textures!

solution: Open console and...

  1. disable reflections by typing "mat_specular 0"
  2. clear cache by switching to a different map and typing "map cp_badlands"
  3. type "mat_hdr_level 0"
  4. reload your map by typing "map [mapname]"
  5. type "buildcubemaps"
Geometryproblem3.jpg
















Note.pngNote:"mat_specular 0" alone will not fix this problem.
Note.pngNote:Developer Console can be enabled in game by going to Options > Keyboard > Advanced.



Wiki Links

Water

prop_static

prop_dynamic

Clipping Tool

Displacement

Leaks

console


Game Logic

How to work with game logic.

Examples

Wiki Links

trigger_multiple

func_door

Spawnroom

logic_auto

logic_compare


Design Flow

Level design tips for tf2 mappers.

Examples

Wiki Links


Technical Errors

Things that go wrong and you don't know why.

Examples

Problem: TF2 isn't launching when I press f9

Solution: Go to Tools > Options > Build Programs and make sure Game Executable is set to "tf_win64.exe"

Techproblem1.png












Wiki Links


Helpful Links

  1. SirTopHattWaffle Hammer Tutorials
  2. SirTopHattWaffle Water Tutorial
  3. tf2maps.net
  4. Decompiled TF2 maps

Source Source Team Fortress 2 Team Fortress 2 Hammer Hammer