This article relates to the game "Team Fortress 2". Click here for more information.
This article's documentation is for anything that uses the Source engine. Click here for more information.

Team Fortress 2/Building Respawn Rooms: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{LanguageBar}}
{{LanguageBar}}
{{DISPLAYTITLE:Building Respawn Room}}
{{DISPLAYTITLE:Building Respawn Room}}
{{stub}}
{{TF2 topicon}}{{source topicon}}[[Category:Hammer]][[Category:Level Design]][[Category:Team Fortress 2|Your first map]]
{{TF2 topicon}}{{source topicon}}[[Category:Hammer]][[Category:Level Design]][[Category:Team Fortress 2|Your first map]]


Line 13: Line 12:


Download the file [https://github.com/ata4/bspsrc/releases in this link] that matches your operating system, unzip it, and run '''bspsrc.bat'''.
Download the file [https://github.com/ata4/bspsrc/releases in this link] that matches your operating system, unzip it, and run '''bspsrc.bat'''.
You can input a bsp file via 'add' and convert it to a vmf file via 'decompile'.


[[File:Bspsource exe.png|thumb|left|300px|caption|window when running bspsource]]
[[File:Bspsource exe.png|thumb|left|300px|caption|window when running bspsource]]


You can input a bsp file via 'add' and convert it to a vmf file via 'decompile'.


{{clr}}
{{clr}}
Line 34: Line 34:


[[File:Screen_loading_dustbowl_in_hammer.png|thumb|left|500px|caption|There are so many elements that it's hard to figure out.]]
[[File:Screen_loading_dustbowl_in_hammer.png|thumb|left|500px|caption|There are so many elements that it's hard to figure out.]]


The VisGroup feature allows mappers to inspect and edit maps more easily by hiding unnecessary elements.  
The VisGroup feature allows mappers to inspect and edit maps more easily by hiding unnecessary elements.  
Line 46: Line 47:


[[File:Visgrouped_screen_dustbowl.png|thumb|left|500px|caption|Visgrouped screen.]]   
[[File:Visgrouped_screen_dustbowl.png|thumb|left|500px|caption|Visgrouped screen.]]   
'''show''' button in visgroup panel toggles the effect of temporarily checking all elements. Pressing show again will cause only the originally checked elements to appear in the viewport.
''''show'''' button in visgroup panel toggles the effect of temporarily checking all elements. Pressing ''''show'''' again will cause only the originally checked elements to appear in the viewport.





Revision as of 02:17, 27 May 2025

English (en)한국어 (ko)Translate (Translate)

Warning: Display title "Building Respawn Room" overrides earlier display title "Building Respawn Rooms".

This article explain the way making the map of typical casual game(like dustbowl).

Before that, Let's learn how to view works created by other users on hammer.

Operate BSPSRC

bspsrc is a converter bsp files with vmf that can be modified in hammer.

Download the file in this link that matches your operating system, unzip it, and run bspsrc.bat.

You can input a bsp file via 'add' and convert it to a vmf file via 'decompile'.

window when running bspsource


Open In Hammer editor

Note.pngNote:Files converted from BSP to VMF using bspsrc may not run properly in Hammer++. In simple terms, the standard Hammer is more forgiving, while Hammer++ is stricter and more precise. Hammer tends to ignore certain data losses that occur during the BSP-to-VMF conversion process, but Hammer++ does not. files that open just fine in Hammer might produce errors or fail to open in Hammer++. If Hammer++ refuses to open a file, try using a different converter instead of bspsrc, or open the file in Hammer first, save it, and then try opening it in Hammer++.
Note.pngNote:If there are non-ASCII characters (e.g. Korean, Japanese, Chinese) in the map file path, Hammer++ will crash. If you have already opened a file in a path that contains non-ASCII characters, you can check the broken font by checking recentfile in bin/x64/hammerplusplus/hammerplusplus_settings.ini. Delete those elements and run hammer++ again.

In this article, we’re going to get some idea the spawn room and regenerating supply. Let's start by opening the vmf file in Hammer.


Visgroups

There are so many elements that it's hard to figure out.


The VisGroup feature allows mappers to inspect and edit maps more easily by hiding unnecessary elements.

It lets you group objects together and toggle their visibility in the viewport for better control and organization.

Visgroup panel.png For analyzing a map, it’s recommended to enable only Point Entities, Brush Entities, and Game Logic in the VisGroup panel.

Visgrouped screen.

'show' button in visgroup panel toggles the effect of temporarily checking all elements. Pressing 'show' again will cause only the originally checked elements to appear in the viewport.


Use VisGroups to help identify and isolate objects in a complex map.

Note.pngNote:To learn how to use VisGroups in detail, refer to Grouping and VisGrouping.

Find Entities

Respawn Room

Regenerate Supply

Note.pngNote:There are many interesting topics to explore — like the doors that separate each round, Control Points, and materials with func properties — but for now, we’ll focus on the essential knowledge needed for general-purpose mapping.