Skip to content

Map: a server's blips of a type no longer bring back the game's own points of it - #346

Closed
Kharote wants to merge 1 commit into
mainfrom
feat/worldmap-hide-poi
Closed

Kharote wants to merge 1 commit into
mainfrom
feat/worldmap-hide-poi

Conversation

@Kharote

@Kharote Kharote commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

What this changes

A server's world shows none of the game's own map marks but town names (the multiplayer marker filter). A drawn blip lets its type through that filter, and with it every one of the game's own points of the type: a server with horse trader blips got the single player's horse traders (podkoniSemin_poi and the like, objects of the level, not entities) back on its map, with nothing to hide them.

  • While the map builds, a type let through for a blip that no script chose to show (WorldMap.setMapCategory) keeps the game's own points of it hidden, as a type switched off in the legend already did. Town names stay as they are.
  • WorldMap.setMapCategory(type, true) still shows the game's own points of the type.
  • The compass still shows the game's own points of a blip's type near the player (its update runs every frame; noted in blips.hpp).

Docs: KCD-Synced/KCDS-DOCS#99.

How it was tested

Kit, one game at Semín with a server blip of type HorseTrader, the map opened from a client script: the map build hid 2 of the game's own points of type 22 (HorseTrader); before the change they were let through with the blip's type. (The map itself does not finish drawing in a background kit game, so this was read from a temporary log line in the build, not a picture.)

Checklist

  • I read CONTRIBUTING.md and agree that my contribution is licensed as it says.
  • The change is my own work: no code, assets or dumps that are not mine or that come from the game.
  • python Dev/tools/format_source.py --check passes.
  • Tests cover the change, and the checks of this pull request pass.
  • Public behaviour that changed is documented (KCD-Synced/KCDS-DOCS) or needs no docs.

@Kharote Kharote mentioned this pull request Nov 24, 2026
5 tasks done
@Kharote

Kharote commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator Author

Shipped in 1.2.1 (#349, release v1.2.1).

@Kharote Kharote closed this Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant