SONS OF THE FRONT 1944
Field manual / Build your first map

Define GameModes

Choose how a round is won, place the objective entities, and set the rules for capture, rescue, or defense.

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

  1. Place a capture_point where the player should touch the flag. Set targetname = yard_flag, point_name = Freight Yard, and point_index = 0. Give subsequent points new names and increasing indices to set their order on the HUD.
  2. Set point_default_owner to 0 for neutral, 1 for Allies, or 2 for Axis. Leave point_can_allies_touch and point_can_axis_touch at 0 to allow both sides to capture.
  3. Walk within 48 map units of the point while it is uncontested. Ownership changes immediately. For a room-sized instant capture, link a capture_area as below and set its hold time to 0.

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

  1. Place an object point just above a reachable floor. Give it a unique targetname, set prop = field_satchel, and leave model empty to use the built-in bag. Set object_name = Field satchel for the pickup label.
  2. Set object_group = yard_supplies. A delivery volume accepts a bag from the matching group. Set object_owner = 0 for either side to collect it, or 2 for an Allied-only pickup at home.
  3. Set object_respawn_seconds = 30 to 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. Set object_resettime = 15 separately 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

  1. Place a capture_point named depot_flag. Give it a HUD label, its own index, and point_default_owner = 2. Surround the reachable side of the scenery with a capture_area brush. Set target = depot_flag, area_object_group = yard_supplies, area_axis_cancap = 0, and area_time_to_cap = 1. An Allied carrier must stay there for one second.
  2. Tie the removable scenery to a func_breakable named depot_panel with spawnflags = 1. If you want rubble, tie its brushes to func_wall_toggle named depot_rubble and set spawnflags = 1 so they start hidden. Leave an opening through the permanent world geometry.
  3. Set area_allies_endcap = depot_finish on the delivery area. Add the two point entities below. The multi_manager fires three named outputs together after four seconds. The point_relay awards the HUD point to side 1 when the scenery changes. For an Axis objective, mirror the allowed side, use area_axis_endcap, and give its relay team = 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

  1. Place a hostage_entity point on the floor for each captive. Place team starts using info_player_teamspawn. Map side 1 rescues and side 2 defends. The game supplies the unarmed characters in the rescuers’ uniform.
  2. 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.
  3. Put a positive round_limit and a duration such as round_time_seconds = 180 in the map’s .cfg. Give this layout rescue objectives only. Control-point rules, grouped objective pickups, and bomb sites take precedence during mode detection.
  4. 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.

  1. Place team starts for attackers on map side 1 and defenders on side 2. Draw a trigger brush around the accessible site floor and tie it to func_bomb_target. Use target = site_A to give this site the HUD letter A. For a second choice, create a separate brush with target = site_B.
  2. Use the host-issued item. Adding a grouped object pickup or a capture_point selects capture rules instead. Save these one-life settings in maps/<your-map>.cfg beside 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

  1. Place two item_tfgoal point entities, one per base. Give each a unique positive goal_no. Set owned_by to the home side and team_no to the opposite side allowed to carry the flag.
  2. Draw an i_t_g scoring brush at each home base. Its team_no is the side that scores there. Its items_allowed must name the enemy flag’s number. Set the corresponding increase_team1 or increase_team2 to 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.