Skip to content

Maps ​

Which maps exist, which modes they play, and how the lobby decides what to offer.

The lobby's map pool ​

A map appears in a mode's room vote only when both are true:

  1. It is listed for that mode in config/maps.json (in the engine repo).
  2. Its map_<name>.pk3 is installed in public/data/. SHAGGED's revisioned map_<name>_<revision>.pk3 packages also count for the base map name when the numeric revision has at least five digits.

Each room draws maps at random from the pool for the vote: six when the pool has six or more, otherwise three, so a mode with fewer than three maps offers them all. If public/data/ has no map files at all (a development checkout without game data), the lobby skips the disk check and offers every listed map. Amphi is the exception: it is only offered when its own map PK3s are installed.

MapNameModes
washoi_dm1Washoi DM1Duel, FFA
washoi_dm2Washoi DM2Duel, FFA
washoi_dm3Washoi DM3Duel, FFA
washoi_dm5Washoi DM5Duel, FFA
washoi_dm11Washoi DM11Duel, FFA
washoi_dm7Washoi DM7FFA
washoi_dm14Washoi DM14Duel, FFA
washoi_dm12Washoi DM12Duel, FFA
washoi_dm16Washoi DM16FFA
washoi_dm17Washoi DM17Duel, FFA
washoi_dm18Washoi DM18FFA
washoi_amphi1Washoi Amphi1Amphi
washoi_amphi2Washoi Amphi2Amphi
washoi_amphi3Washoi Amphi3Amphi
washoi_snd1Concrete StrikeS&D
washoi_snd6DepotS&D
washoi_snd4ShepasS&D

The table shows the configured lobby pools, filtered against installed packages. Existing demos recorded on wdm2, wfdm5 or wfdm11 load the corresponding Washoi BSP without changing their recorded metadata or texture references.

Playing any installed map ​

To look around a map alone, open the console and type map <name>, for example map washoi_dm5. The lobby starts a server just for you on one of its maps, with no bots and nothing rated; leaving it closes it. You can have one at a time.

The lobby list is only what is offered by default. On the lobby's own machine, map <name> <gametype> in the console, or --map on a dedicated server, will load any installed map with any gametype, whether or not it is in maps.json. For instance map wbomb1 snd tries Search & Destroy on wbomb1, a bomb map the lobby does not currently list. It only works on maps that qualify as bomb maps (below). See Selecting a Gametype.

Maps qualify for Search & Destroy when they have bomb sites and team spawns; the filename does not have to start with wbomb. See Search & Destroy → Maps.

Adding a map ​

  1. Put the map's map_<name>.pk3 in public/data/ in the engine repo, and rebuild the manifest (npm run tools:manifest at the SHAG root).
  2. Add an entry to config/maps.json with a displayName and the release gametypes it should be offered for (duel, amphi, ffa, snd).
  3. Restart the lobby server. The map list is read once at startup.

Maps are made in the engine's map editor; see the engine's documentation for building and compiling them.

Map entities this game uses ​

EntityEffectPage
trigger_teleport and misc_teleporter_destTeleporter, momentum-carryingMovement
trigger_push and target_positionJumppadMovement
SURF_LADDER brushesLaddersMovement
Water, slime and lava volumesSwimming, drowning, damageMovement
Moving brush models (doors, platforms)Lifts, with crush damageMovement
func_buttonCalls the doors it targets; shot if it has health, touched if notMovement
weapon_*, ammo_*, item_health_*, item_armor_*, item_quadPickupsPickups
Bomb site markers and team spawnsSearch & DestroySearch & Destroy

Built on the SHAG Engine.