Balance · 1
An XP exploit in Ulblyn's conversation is removed.
xp exploit in conversation
Content · 16
The script compiler supports \xFF escape sequences for arbitrary bytes in string literals; \x00 terminates the string.
script escape sequenceMore GUI events are added, some suppressible, triggered when the player interacts.
gui interaction eventNew debug outputs render mesh bounding boxes, pivots, emitter and light ranges, and shadow volumes, accessible via the debug panel (ctrl+shift+f12).
renderer debug outputModules can now spawn custom UI panels defined in NWScript or JSON, with a constraints-based row/layout flow, widget types, and two-way data binding.
scriptable ui panelThe API adds support for JSON Pointer, Diff, Patch and Merge, and the SQLite API is extended for campaign and custom databases.
json pointer, diff, patch and merge apiA new console command printvertexdata logs current vertex data memory usage to the client log.
printvertexdata console commandDevice property queries are added to get the player's screen width, height and scale.
device property queryThe toolset adds support for custom caster classes.
custom caster classes supportNWScript gains a native json datatype along with an API for parsing, dumping and inspecting JSON values.
nwscript json datatypeA helper library lets scripts construct GFF data on the fly for dynamic area and object creation.
gff construction helper libraryPLT textures can now be phenotype-specific.
phenotype-specific plt textureA new include file and demo and inspector scripts are added to support scriptable UI.
nw_inc_nui include and demo scriptVM commands are added to query the game resource manager.
game resource manager vm commandThe engine can serialise game objects to and from JSON, including a new .caf area format combining .are and .git, compatible with neverwinter.nim.
game object json serialisationA new classic six-part curated campaign by Markus Schlegel is added, letting players take the drow side in an Underdark hunt.
hunt through the dark campaignGame credits are updated for 2021 and the credits button moved from the OC Campaign to the top level Movie menu.
game credits and movie menu
Controls · 1
A new setting lets players control non-PC party members the same way DMs do; it is off by default and enabled in server settings.
non-pc party member control
System · 14
Baked font texture size was optimized to minimize texture memory footprint.
baked font texture sizeShadow and beam volumes now use their own unique shaders.
shadow and beam volume shaderBuffer transfers related to shadow rendering were reduced for better performance.
shadow rendering buffer transferThe ovr/ folder was cleaned up and everything except scripts was moved into keybif.
ovr/ folder cleanupThe game automatically downsizes textures larger than the client GPU supports instead of failing to render.
oversized texture handlingThe subsurface light algorithm was tweaked and normal debug outputs now also apply to water.
subsurface light algorithm and water normal debug outputShadow rendering now uses far less CPU time (50-90% less) by moving work to shaders and processing more intelligently.
shadow rendering cpu costThe GOG Galaxy SDK is no longer supported on x64 and arm64 Mac builds.
gog galaxy sdk support on macStore/RetrieveCampaignObject, SqlBindObject, SqlGetObject, ObjectToJson and JsonToObject gain a bSave/LoadObjectState parameter covering local variables, effects, action queue and transition info.
object state save parameter for serialisationSome redundant GPU data buffer uploads were removed.
redundant gpu data buffer uploadSteam SDK and Workshop are not supported on M1 due to no native M1 binary.
steam sdk/workshop support on apple m1Shadow alpha now adjusts based on vertical distance between the projection plane and projection source for more correct shading.
shadow alpha shadingShadow volume generation was optimized to better fit the shadow plane size, improving GPU-limited performance.
shadow volume generationA universal binary with an Apple M1 build is provided; M1 Steam users must launch the game directly to run natively.
mac universal binary for apple m1
UI · 3
The experimental optimized shadow rendering toggle was removed and the optimization is now always enabled.
experimental optimized shadow rendering toggleCurated Content UI adds promotion panels showing links to the Vault, Wikis, and similar sites.
curated content promotion panelThe RunScript/Chunk Debug UI can be used in single player even when DebugMode is off.
runscript/chunk debug ui availability
Fix · 35
Skinmesh bone hierarchy is restored to initial model layout, fixing issues with dynamically attached and removed bodyparts.
skinmesh bodypart attachmentView frustum clipping was moved into vertex shaders, fixing shadows being cut off oddly and improving performance.
shadows cut off in odd placeInconsistencies with shadow rendering in the toolset are fixed.
toolset shadow rendering inconsistencySteam Workshop modules now show up even when the .mod extension is not all lowercase.
steam workshop module visibilityRendering of unlit models with envmap was fixed for the chargen colour picker shader and the Halaster model.
unlit model envmap renderingSecond story tile fade in Always mode now works correctly.
second story tile fade in always modeA crash when SetResourceOverride targeted a missing or invalid resource is fixed.
setresourceoverride crash on missing resourceAutomatic tile texture rotation (rotatetexture 1) no longer breaks normal and displacement maps.
automatic tile texture rotationUndo now works for the Adjust Location dialog in the toolset.
undo for adjust location dialogItem state is no longer saved twice to GFF, which had duplicated temporary effects and local variables into savegames.
area serialisation duplicating item stateA memory leak every time CopyObject, CreateObject or CreateArea was called is fixed.
memory leak on object and area creationSavegames no longer cause creatures in areas to re-trigger OnAreaEnter, which had broken HotU chapter 3 after save and load.
creatures re-triggering onareaenter after save/loadUsing the map inside the navigation cabin after traveling to a destination is now prevented.
map use after navigation travelDynamic shadow rendering performance no longer drops significantly on certain devices caused by the new streaming setup.
dynamic shadow rendering performance on certain deviceA rare crash when doors were melee-attacked by a null creature (PW-specific) is fixed.
crash when melee-attacking doors with null creatureStatic parts are no longer removed after auto-combining, fixing erroneous shadows on some static geometry.
static geometry removed after auto-combinePoor camera rotations when transitioning out of the sea map are covered.
camera rotation when leaving sea mapNuklear no longer receives input meant for the console.
nuklear console input receivingNuklear no longer eats mouse clicks that should go to the radial menu.
nuklear eating radial menu clickShadow volume lower clip now uses tiledata bounding box, so shadows apply to geometry below the tile's z position.
shadows missing below tile z positionA crash when right-clicking a tile with a recently selected creature on it is fixed.
crash right-clicking tile with selected creatureAreas are now considered modified when the undo stack changes.
area modified state with undo stackOpening the radial menu is no longer considered background or modal by the framelimiter.
framelimiter radial menu background stateA crash when showing a polymorphed creature on the party bar is fixed.
crash showing polymorphed creature on party barCommon shadow rendering issues tied to behind stencil tests were fixed; the old approach can be restored with the console command shadowfliporder 1.
behind stencil test shadow issueLow quality render mode no longer darkens water too much.
low quality render mode water darkeningReplace All now works in backwards search mode.
replace all in backwards searchSoft particles reading screen depth at an offset position no longer cause halos around objects.
soft particle haloShadows no longer fade out too quickly at low view angles.
shadows fading too quickly at low view angleA scene manager issue that made geometry culling less effective was fixed.
scene manager geometry cullingObject view culling now respects visual transforms, so transformed objects no longer sometimes disappear.
object view culling with visual transformA crash in CreateArea() caused by heap-use-after-free is fixed.
createarea heap-use-after-free crashMinor refinements reduce visual oddities caused by shadows projected by erroneous models.
visual oddities from erroneous shadow modelFog clipping distance for areas is now stored when saving games.
fog clipping distance saveUndo now works for mouse wheel object scaling in the toolset.
undo for mouse wheel object scaling


