KCDS 1.2.0
KCDS 1.2.0
Join any server, whatever KCDS version it runs. From 1.2.0 a game switches to the version a server runs in place, without restarting (between servers on 1.2.0 or newer).
Joining a server of another version
- Connect to a server that runs another KCDS version (1.2.0 or newer): the dialog names its version and offers SWITCH TO <version>. The game keeps running; the launcher downloads that version into its own folder (versions<version>\ beside your install), only the files that differ from yours, verified like every update; KCDS swaps to it in the main menu and joins the server. Your own install is not touched, and a version you already have switches at once.
- A server on a version older than 1.2.0 still gets the plain dialog (update, or the server is on an older version): those clients cannot be loaded into a running game.
- How it works: a new loader, kcds_loader.dll, is injected first and stays for the whole game. It holds every hook of the game, the one in-game browser (CEF) and the Discord connection, so they outlive a client; the game client of each KCDS release is its payload and can be unloaded and replaced. The launcher fetches a release for the game with kcds-launcher --version <x.y.z> --fetch-into <folder>.
- Discord: the connection to the Discord app now lives in the loader; your presence stays connected across a switch.
- Server owners: nothing to do. Players on other versions can join you once you run 1.2.0 or newer.
New for server owners
- LevelEdit.story(place, states, dimension) and LevelEdit.stories(): put a place the story changes in the states you name, for every player (their story layers on, the place's other states off). KCDS worlds run no campaign, so such a place otherwise stays as the level starts it. null puts the place back as a KCDS world starts it. First place: 'sigismundCamp', Sigismund's army camp in Suchdol village on the Kingdom Come: Deliverance II map (kutnohorsko), with the states camp (the tents), noCamp (the village without it), campStatic, campFrontBarricade, campBodies and campAbandoned; for example LevelEdit.story('sigismundCamp', ['camp', 'campFrontBarricade']). In JS, TS, Lua and C#.
- LevelEdit layer edits: a story layer the level marks on but never showed (its objects hidden) now shows when an edit turns it on; before, LevelEdit.apply({ kind: 'layer' }) on such a layer changed nothing.
- kcds.ui.ActionHint on a custom kcds.ui.Keybinds action: the hint fires on the key the player bound to that action (press and hold), as for the game's own actions.
- Key: F13 to F24 can be read (mouse side buttons set to those keys in the mouse's software).
- KCDS key bindings (Talk, the server's Keybinds actions) take F16 to F24 in the game's key settings.
- Women: men's clothing and armour are refitted to a woman's body (the pieces follow her shape instead of keeping a man's).
World Architect
- A Select drag's box takes everything whose place shows in it: your things and the level's own buildings, walls, furniture, trees, bushes and the entities it names (doors, beds, lights). With Shift or Ctrl the box adds to the group, each thing once.
- Select everything inside: a selected building (the level's own or a house of yours) has this in Details; the group becomes the building and everything standing within it, so Move, Rotate or Delete takes the whole house with what is in it.
Fixes for players
- Carts: the map (and the inventory) opened from a cart's seat no longer hangs on its loading screen, seated or driving (the seat's free look held the camera while the screen opened).
- NPCs no longer stay invisible after a game screen (a screen could leave a body hidden).
- NoClip: an allowed flight no longer counts against the movement check.
- A bench bed: lying down no longer turns the body 180 degrees.
Crashes fixed
- A crash when the server removed horses that were walking (the game's path following kept their walk).
- A crash when another player drew a torch while carrying something (their copy drew it in the middle of the carry; it now waits until the carry ends).
Known limits
- Men's helmets do not show on a woman yet.