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:
- It is listed for that mode in
config/maps.json(in the engine repo). - Its
map_<name>.pk3is installed inpublic/data/. SHAGGED's revisionedmap_<name>_<revision>.pk3packages 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.
| Map | Name | Modes |
|---|---|---|
washoi_dm1 | Washoi DM1 | Duel, FFA |
washoi_dm2 | Washoi DM2 | Duel, FFA |
washoi_dm3 | Washoi DM3 | Duel, FFA |
washoi_dm5 | Washoi DM5 | Duel, FFA |
washoi_dm11 | Washoi DM11 | Duel, FFA |
washoi_dm7 | Washoi DM7 | FFA |
washoi_dm14 | Washoi DM14 | Duel, FFA |
washoi_dm12 | Washoi DM12 | Duel, FFA |
washoi_dm16 | Washoi DM16 | FFA |
washoi_dm17 | Washoi DM17 | Duel, FFA |
washoi_dm18 | Washoi DM18 | FFA |
washoi_amphi1 | Washoi Amphi1 | Amphi |
washoi_amphi2 | Washoi Amphi2 | Amphi |
washoi_amphi3 | Washoi Amphi3 | Amphi |
washoi_snd1 | Concrete Strike | S&D |
washoi_snd6 | Depot | S&D |
washoi_snd4 | Shepas | S&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
- Put the map's
map_<name>.pk3inpublic/data/in the engine repo, and rebuild the manifest (npm run tools:manifestat the SHAG root). - Add an entry to
config/maps.jsonwith adisplayNameand the releasegametypesit should be offered for (duel,amphi,ffa,snd). - 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
| Entity | Effect | Page |
|---|---|---|
trigger_teleport and misc_teleporter_dest | Teleporter, momentum-carrying | Movement |
trigger_push and target_position | Jumppad | Movement |
SURF_LADDER brushes | Ladders | Movement |
| Water, slime and lava volumes | Swimming, drowning, damage | Movement |
| Moving brush models (doors, platforms) | Lifts, with crush damage | Movement |
func_button | Calls the doors it targets; shot if it has health, touched if not | Movement |
weapon_*, ammo_*, item_health_*, item_armor_*, item_quad | Pickups | Pickups |
| Bomb site markers and team spawns | Search & Destroy | Search & Destroy |
