6 stories

Nak explains his navigation system's pathfinding

In #developer-talk, Nak explained his navigation system to Zemen. It runs a double A* search from start to goal and from goal to start, meeting in the middle ("a trick GPS use"). The search tracks polygon entry points, and the system reads the map's AIN info_nodes. NPCs such as the 200 antlions in his video run a "dumb" AI while waiting for a path, so they seem to react immediately.

5 stories

Evgeny Akabenko asks Facepunch to publish the source of its own shaders

In #next-update, Evgeny Akabenko asked Rubat to publish on GitHub the source of GMod's own, non-Valve shaders: g_bloom, g_blurx, g_blury, g_bokehblur, g_colormodify, g_downsample, g_morph, g_premultiplied, g_refract, g_screenspace, g_sharpen, g_sky, g_sobel, g_sunbeams and g_texturize. not.ejay noted they could already be decompiled half decently with vcs-decompiler, but saw no reason not to publish them.

2 stories

7 stories

Complaint about the new notification on blocked spawns

In #next-update, a straight white male criticized the warning shown every time a player fails to spawn a prop, entity or weapon (from a commit on 28.08), arguing that the failed spawn is indication enough and that servers run prop placement scripts. Albino said it pops up even with tips turned off. Later the same day, a straight white male added that the code calls the popup with GAMEMODE:AddNotify with no checks.

Menu state on dev loses Vector, HTTP, CreateMaterial and more

In #next-update, Cynthia listed functions missing from the menu state on dev: Angle, CreateMaterial, GetLoadPanel, HTTP, http, LerpAngle, LerpVector, OrderVectors, UpdateLoadPanel and Vector. Rubat confirmed it and said the change wasn't silent: the changelog states "Remove some unused libs from menu state". He added that the wiki shouldn't list menu state functions at all, since the menu state isn't meant for modding. On GitHub, kila58's issue "CreateMaterial missing from menu state" was closed as not planned.

Builds move to GCC 14; FS_fread warnings try to include the file path

Commits aa4090 and bda422 on main move the build toolchain to GCC 14 and try to add the file path to CWin32ReadOnlyFile::FS_fread warnings.

Details
  • aa4090: file path in FS_fread warnings; LuaJIT, Bootil, VPC and the game build with GCC 14
  • bda422: ToGL builds with GCC 14 ("I pushed too soon accidentally"); fixed FreeImage not building on Windows; build scripts can now almost build on vanilla SteamRT 4

Max PVS networking range: CheckTransmit approach suggested

wrefgtzweve suggested that a per-player max networking range could be done by checking distance in CServerGameEnts::CheckTransmit before IsInPVS.

Details

In #next-update, Redox asked Rubat for it before the next update, saying it allows a big client FPS and server tick boost; Astralcircle said his server already uses a PVS-culling client fog and called it a lifesaver for open maps. Nykez asked how it plays with pop-in.