In TrenchBroom, place point entities from the Entity Browser. For a brush entity, draw its volume, select it, and choose the entity class. Enter each key and value separately in the Entity Inspector. A sender’s target matches a receiver’s targetname. Put round settings in maps/<map-name>.cfg beside the compiled BSP.
Download the updated TrenchBroom profile and starter textures
Control Points and Defend-This-Target Points
Give each objective a point entity for its HUD name and ownership. A brush defines where players must stand when you want a larger area, a timed hold, or an item delivery. Start with a team spawn on each side. Place info_player_teamspawn points with team_no = 1 for Allies and team_no = 2 for Axis.
Instant capture
- Place a
capture_pointwhere the player should touch the flag. Settargetname = yard_flag,point_name = Freight Yard, andpoint_index = 0. Give subsequent points new names and increasing indices to set their order on the HUD. - Set
point_default_ownerto0for neutral,1for Allies, or2for Axis. Leavepoint_can_allies_touchandpoint_can_axis_touchat0to allow both sides to capture. - Walk within 48 map units of the point while it is uncontested. Ownership changes immediately. For a room-sized instant capture, link a
capture_areaas below and set its hold time to0.
Timed capture with one or more teammates
Draw a trigger brush covering the walkable part of the yard. Tie the brush to capture_area and enter these properties. Its target must match the flag’s targetname. The linked brush becomes the capture boundary.
"classname" "capture_area"
"target" "yard_flag"
"area_allies_numcap" "2"
"area_axis_numcap" "2"
"area_time_to_cap" "8"
Enter with one teammate and hold for eight uninterrupted seconds. Have one player step out after four seconds. The capture should reset to zero. An opposing player entering also resets it. Set either team’s count to 1 for a solo hold, or set that team’s area_allies_cancap or area_axis_cancap to 0 to disable its capture.
Place a replenishing satchel pickup
- Place an
objectpoint just above a reachable floor. Give it a uniquetargetname, setprop = field_satchel, and leavemodelempty to use the built-in bag. Setobject_name = Field satchelfor the pickup label. - Set
object_group = yard_supplies. A delivery volume accepts a bag from the matching group. Setobject_owner = 0for either side to collect it, or2for an Allied-only pickup at home. - Set
object_respawn_seconds = 30to return a fresh bag to this spot 30 seconds after a successful delivery. A missing or zero value leaves a spent bag unavailable until the round resets. Setobject_resettime = 15separately if a bag dropped by its carrier should return home after 15 seconds.
In the downloadable Valcour Market source, search for bag_1 and market_passage to follow a pickup to its matching wall panel. The example ships with a fixed stock for each round. Add object_respawn_seconds to a pickup in your copy to try replenishment. Open the Valcour Market example
Award a point when scenery is destroyed
- Place a
capture_pointnameddepot_flag. Give it a HUD label, its own index, andpoint_default_owner = 2. Surround the reachable side of the scenery with acapture_areabrush. Settarget = depot_flag,area_object_group = yard_supplies,area_axis_cancap = 0, andarea_time_to_cap = 1. An Allied carrier must stay there for one second. - Tie the removable scenery to a
func_breakablenameddepot_panelwithspawnflags = 1. If you want rubble, tie its brushes tofunc_wall_togglenameddepot_rubbleand setspawnflags = 1so they start hidden. Leave an opening through the permanent world geometry. - Set
area_allies_endcap = depot_finishon the delivery area. Add the two point entities below. Themulti_managerfires three named outputs together after four seconds. Thepoint_relayawards the HUD point to side 1 when the scenery changes. For an Axis objective, mirror the allowed side, usearea_axis_endcap, and give its relayteam = 2.
{ "classname" "multi_manager" "targetname" "depot_finish"
"depot_panel" "4" "depot_rubble" "4" "depot_credit" "4" }
{ "classname" "point_relay" "targetname" "depot_credit"
"target" "depot_flag" "team" "1" }
For a shortcut that simply opens, put capobj_group = yard_supplies, sotf_place_seconds = 1, and tntdelay = 4 directly on its func_breakable. A carrier touching the panel triggers the change. The scored version above also updates ownership on the HUD.
Give defenders a time limit to hold out
For a five-minute defense with reinforcements, leave round_limit unset in both the server and map configs. Assign point_group = depot to every defended point and start each under Axis ownership. Add the following point entities. The Allies win on the final capture. The Axis win if the timer expires first.
{ "classname" "control_point_master" "cpm_group" "depot"
"allies_capture_target" "all_taken" }
{ "classname" "round_timer" "round_timer_length" "300"
"spawnflags" "1" "target" "held_until_timeout" }
{ "classname" "score_ent" "targetname" "all_taken"
"team" "1" "score_resetplayerstime" "8" }
{ "classname" "score_ent" "targetname" "held_until_timeout"
"team" "2" "score_resetplayerstime" "8" }
Hostage Rescue
- Place a
hostage_entitypoint on the floor for each captive. Place team starts usinginfo_player_teamspawn. Map side1rescues and side2defends. The game supplies the unarmed characters in the rescuers’ uniform. - Draw a trigger brush across the destination and tie it to
func_hostage_rescue. Give the captives a walkable route to it. Extraction occurs when a captive reaches the zone. A single zone can serve every captive. - Put a positive
round_limitand a duration such asround_time_seconds = 180in the map’s.cfg. Give this layout rescue objectives only. Control-point rules, grouped objective pickups, and bomb sites take precedence during mode detection. - Test from the rescuing side. Aim at a nearby captive and press E or click the VR mainhand thumbstick. Lead them to extraction, then collect the remaining survivors. At least one must be rescued and every survivor accounted for before time expires. A timeout, loss of the entire rescue team, or loss of all captives before a rescue awards the defenders the round.
In Alder Rise, find lower_extraction at camp and trace the route back to the three hostage_entity points in the holding room. Open the Alder Rise example
Single Bomb Target
The host assigns one round item to one attacker. One site is enough. If you place several sites, delivering the item to any one of them starts the final countdown.
- Place team starts for attackers on map side
1and defenders on side2. Draw a trigger brush around the accessible site floor and tie it tofunc_bomb_target. Usetarget = site_Ato give this site the HUD letter A. For a second choice, create a separate brush withtarget = site_B. - Use the host-issued item. Adding a grouped
objectpickup or acapture_pointselects capture rules instead. Save these one-life settings inmaps/<your-map>.cfgbeside the compiled BSP.
round_limit = 8
round_time_seconds = 120
plant_seconds = 3
objective_countdown_seconds = 45
defuse_seconds = 10
defuse_with_kit_seconds = 5
Test the deadline. The carrier takes the item with V on desktop or grip in VR, then holds the left mouse button or trigger inside the site. Placement must finish with more than 0.01 seconds left on the round clock. With the settings above, starting at four seconds succeeds and starts a fresh 45-second countdown. Starting at two seconds gives the defending side the round on timeout.
During that countdown a defender can hold the same interaction near the item to defuse it. A kit uses the shorter configured duration. A successful defuse wins for defenders, and expiry wins for attackers. Eliminated players wait for the next round. Add a func_buyzone if the defenders should be able to buy kits.
Capture the Flag
- Place two
item_tfgoalpoint entities, one per base. Give each a unique positivegoal_no. Setowned_byto the home side andteam_noto the opposite side allowed to carry the flag. - Draw an
i_t_gscoring brush at each home base. Itsteam_nois the side that scores there. Itsitems_allowedmust name the enemy flag’s number. Set the correspondingincrease_team1orincrease_team2to the points awarded per delivery.
Side 1 flag goal_no=11 owned_by=1 team_no=2 pausetime=60
Side 2 flag goal_no=12 owned_by=2 team_no=1 pausetime=60
Side 1 pad team_no=1 items_allowed=12 increase_team1=1
Side 2 pad team_no=2 items_allowed=11 increase_team2=1
Test both return trips. As side 1, walk into flag 12, carry it back to the side 1 pad, and check for one point. Reverse the trip as side 2. A fallen carrier drops an upright flag. A teammate can recover it before pausetime returns it home. Both flags can travel at once. For a timed match with reinforcements, leave round_limit unset in both configs and set map_time_limit_minutes to the length of the match. The higher flag score at expiry wins.
Inspect your map
Upload your compiled BSP and compare the reported game mode and objectives with the rules you chose.