KCDS 1.1.4
KCDS 1.1.4
Players and servers update together (1.1.4 games join 1.1.4 servers).
New for server owners
- Items.setGroundModel(item, model | null): name the mesh an item class lies as when it is dropped or spawned on the ground, a game mesh or a .cgf/.cga your resource streams. null gives the class back its own. Items.model(item) tells what a class lies as now. Every game hears the change at once, and a player who joins later gets the whole set when their client scripts start.
- Every item can now be dropped and spawned on the ground (GroundItem.spawn). A class the game gives no ground mesh (a Kuttenberg bascinet, a lord's belt and others) lies as the game's item sack with a body, instead of the drop being refused and the inventory's spinner turning forever.
- server.json beehiveHoney (KCDS_SERVER_BEEHIVE_HONEY), default true. With false the level's beehives are still the server's chests, but KCDS puts no honey in them and none grows back: they hold only what your resources add (for a beekeeper job that gives honey only from looked-after hives).
- Player.setLantern: the lantern now shines with the game's own lantern light (the archetype the game's NPCs carry: warm, radius 6 m, its flicker) at the lamp's flame, with the game's candle flame, instead of a bright light of the server's on the hand. When the player draws the game's torch, the lantern moves to the right hand and comes back to the left hand when the torch is put away, as on a horse.
- Horse.moveTo, Horse.patrol, Horse.follow and Npc.moveTo: several horses or NPCs simulated by one game now walk at the same time. A new order to one no longer ends another one's walk (horseIntentDone / npcIntentDone reported "blocked" for it). Each horse, and each NPC made with Npc.create, is now its own instance of its soul, so the game gives each its own AI and walk.
Fixes for players
- NPCs no longer turn invisible after a game screen. Closing a dialogue, a shop, the Esc menu, the inventory or the map could stop KCDS in that game: NPC bodies vanished (their nameplates stayed), Talk stopped working, and only a reconnect brought them back.
- Key bindings: Talk (push to talk) and every other KCDS or server action can be rebound again. A server that gives two of its actions the same default key on purpose (one at a workplace, one at a notice board, both E) made every confirm say "Some controls overlap!", whatever key you changed. Actions a server puts on one shared default key are now left out of KCDS's overlap check; the others still warn when you give two of them one key.
- Voice on carts: sitting on a cart no longer muffles everyone else until you get off. The voice's wall check took the cart you sat on (its planks and canopy) for a wall between you and every other voice; carts no longer count as walls for voices, as they already did not for nameplates.
- Other players are heard while your inventory, Player screen or map is open (the game's screens moved the listener kilometres away).
- World Architect: a deleted, hidden or moved object takes its invisible collision with it (a barn took its 18 colliders, a woodpile in the Maleshov fortress yard its own), so you no longer bump into objects that are gone.
- Server list: Remember password. A password-protected server's password can be kept, sealed for your Windows user (never in the menu's storage or the log); it joins at once next time, and a refused one is forgotten.
- Inventory: the character panel shows a stat that changes while the inventory is open (eating, a server's change of hunger or health) at once, instead of after closing and opening it.
- Snow: no more bare roofs, eaves, porches and yards near houses, and grass near the player is covered like the grass far away.
- Weapons and clothes no longer stay off a player's body that was made again; a piece the game refused is tried again (up to 5 times, 2 s apart).
- Beds: getting up no longer writes into the game's freed sleep node (a crash some time after sleeping).
Crashes fixed
- A crash when many NPC or horse bodies spawn or despawn (after a teleport, a time change or a relog): the game's navigation kept the removed bodies' movement tasks in a list it called later.
- Two crashes right after another player left, in a fight with NPCs: the game's AI grid and transform manager kept objects of the removed player's body.
- A crash while waiting or sleeping (skip time) near NPCs dressed by the server: the game's aging of worn items took a piece KCDS put on as having a record it did not have.
- A crash when copying text in the chat, and one when leaving a server while many script messages were waiting.
Known limits
- Necklaces, brooches and amulets show on no body: the game ships no worn model for them.
- Men's clothing and armour on a woman is drawn as it was made, on her skeleton, so it keeps a man's shape; men's helmets do not show on a woman yet. Both are being worked on for the next release.