Request: expose env_fog_controller params clientside
Astralcircle asked to store env_fog_controller params in the client savetable; render.GetFog* can be overwritten.
Astralcircle asked to store env_fog_controller params in the client savetable; render.GetFog* can be overwritten.
In #next-update, Beelzebub shared silk.bzbb.dev. The day before, YohSambre had said he missed the old icon web UI and Billy pointed to the in-game derma_icon_browser; Beelzebub said he was forking an icon browser UI.
In #next-update, Redox asked again: "while you're in sqlite, can we get vacuum".
Commit 79007f on main gets Bootil, FreeImage, SQLite and LuaJIT building for Linux64 and fixes Linux builds broken by Awesomium ("Can't get rid of it soon enough").
Commit 280e7a on main fixes regressions in entity search (including Barnacles), allows three bone weights for procedural meshes, adds OnChangedFromMin/Max to math_counter and substantially changes Autorefresh error handling.
ErrorFromLua renamed to ErrorNoHaltStack; added CLuaInterface::FormatErrormesh.BoneData can be called with index 2 (weight ignored); Mesh() allows 3 bone weights and Mesh:BuildFromTriangles reads up to 3PhysFrame-CPhysicsEnvironment::Simulate and PhysFrame-VPhysicsShadowUpdatemath_counter gains OnChangedFromMin/OnChangedFromMax outputs and SetMaxValueNoFire/SetMinValueNoFire inputsIn #lua-help, A1steaksa asked how to move a sound while it plays without attaching it to an entity, since CSoundPatch has no SetPos and needs an entity. homonovus thought it impossible without an entity. Rubat said the BASS audio system can do it but the engine sound system cannot.
A1steaksa is also decoding old WAVE files by hand; Rubat asked for a sample, saying the only common format he hadn't tested with "my thing" is ADPCM, and A1steaksa's file was IMA ADPCM (format 0x11).
Astralcircle's merged Wiremod PR replaces Player:ConCommand with WireLib.SetConvar everywhere except E2's concmd().
Shortly before, in #developer-talk, Redox showed that tools passing strings to ConCommand let players inject console commands, with Wiremod's textscreen as an example, and called it "exploit week".
BREEDNKMs asked to allow m_hStoredPathTarget in SetSaveValue to replicate SetGoal-style navigation. robotboy655: "Done." (commit b9fc35).
In #lua-help, Marevin asked how to remove decals without wiping the map's own decals, which RemoveAllDecals() on worldspawn also clears. Rubat linked util.RemoveDecalsAt.
FoxProfef reported that SetupDataTables runs before OnEntityCreated on a Linux server.
In #next-update, RaphaelIT7 asked whether "Apply that getmetatable() LuaJIT fix someone wanted" was ported to x86-64: his crashes were gone on dev but not on x86-64. Rubat: "if it isn't in the changelog, stands to reason it wasn't yet".
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.
In #developer-talk, Asphaltian posted the v0.2.0 release of VPhysics-Box3D. Earlier, on 16 Oct, BlueShank had argued that Box3D deviates too much from vphysics to be a drop-in replacement.
In #developer-talk, Retcon shared a komstation article about his mod, a Garry's Mod-style sandbox for the PSP.