VALCOUR MARKET
An original four-flag city for Sons of the Front: 1944

PLAY THE MAP

Extract the kit. In Unity, open Tools > Sons of the Front > Custom Maps.
Choose Host a map, click Choose folder and select the extracted content folder
that contains maps, sound, sprites and Waypoints. Choose valcour_market, enable
Spawn waypoint bots, pick a team and click Host in Play Mode.

Allies start at the west end of town. Axis start at the east end. From the
Allied start, look down the main street and turn right at the first block.
A canvas satchel is on the ground beside the cracked end wall. Walk over
the bag, then walk up to the crack and stay there for one second. Leaving
early cancels placement and lets you try again with the same bag. A four-
second countdown appears on both sides. When the dust clears you can walk
through the opening. There is a matching example by the Axis start.

WIN THE ROUND

Take all four flags for your team. Every flag is reachable by street from
the start. Opening a wall gives you an alternative route between houses.

  Boulangerie      Touch the flag outside the bakery.
  Les Halles       Hold the covered market for four uninterrupted seconds.
  Hotel de Ville   Two teammates must hold the town hall for six seconds.
                   Losing the second teammate clears the progress.
  Postes           Touch the flag outside the post office.

There are ten breakable panels and sixteen satchels. Either team can pick up
a bag. Delivering it spends that bag for the round. Walls and satchels are
restored on a round reset. The companion config sets a 21-minute map limit.
For these capture rules, leave round_limit unspecified in your server config.

MAIN STREET WRECKS

The west end has a Chaffee and a Sherman Firefly. The east end has a Panzer
IV G and a Wespe. Each wreck is a static prop with smoke over its engine
deck. The four hulls break up the view along the street between the spawns.

In the editable map, search for street_wespe to find a complete example.
The sotf_prop supplies the artwork. Its numbered _cover brushes give the
hull solid cover. The _smoke emitter rises toward the _drift target. Move
or rotate the entire set together to keep the hull and smoke aligned.
All four wrecks share content/sprites/valcour/wreck_smoke.spr.

HOW THE SHORTCUT WORKS

Open source/valcour_market.map in the Sons TrenchBroom profile and look for
bag_1 and passage_south_w976 close to the western start. Follow their keys
to see a complete example.

  object                 prop = field_satchel selects the Sons canvas bag.
                         object_owner = 0 allows either side to pick it up.
                         object_group = market_passage identifies what it opens.
  func_breakable         capobj_group = market_passage matches the pickup.
                         sotf_place_seconds = 1 sets the contact time.
                         tntdelay = 4 sets the time until the wall opens.
                         spawnflags = 1 makes this a trigger-only breakable.
  particle_shooter       Plays a plaster-dust burst when the panel disappears.
  ambient_generic        Plays the masonry sound at the same location.

The cracked panel is made of multiple solid brushes sharing one entity.
The jagged gap runs all the way through them. The doorway-sized opening
around the panel is already cut out of the permanent building. If you add a
solid brush directly behind the panel, players will still hit that brush once
the panel disappears. The flag entities have their own rules and targets.

On worldspawn, sotf_item_runners_per_team is set to 1. This limits the bots
assigned to fetch and deliver bags so that teammates can pursue the flags.

EDIT AND REBUILD

Use the Sons starter profile in TrenchBroom, open the .map source and load
content/valcour_market.wad as its texture collection. From the content folder
in PowerShell, with hltools installed under C:\Mapping\tools, run:

  C:\Mapping\tools\hltools.exe compile -noembedsource -threads 6 -bounce 2 ..\source\valcour_market.map
  Copy-Item ..\source\valcour_market.bsp .\maps\valcour_market.bsp -Force

The BSP embeds the surface textures. The WAD is included for map editing.
source/make_materials.py contains the original artwork recipes and
source/make_waypoints.py describes the host bot routes. Run the waypoint
script with Python 3 after editing the graph. Keep the audio, sprite and
waypoint folders beside maps when copying the content to another host.

The level geometry, texture collection, routes and sound effects were
authored for the Sons workshop. The tanks, satchel and flags use assets
installed with the game. The downloadable kit contains no third-party map.
