Tag: #triggers (6) Clear filter ×

1 story

Rubat reverts the SetPos touch and DrawTexturedRectUV changes

Commit 09a162 on main makes the change that had Entity:SetPos fire trigger touch events opt-in via a separate argument, since it caused infinite loops in existing addons such as TTT. The UV behaviour without the sub-pixel adjustment moves to a new function, surface.DrawTexturedRectRawUV, so surface.DrawTexturedRectUV works the old way again.

Details

This answers the complaints of the past days: RNDX and addons that compensated for the old adjustment no longer break. The same commit also fixes NPC-related crashes and lua_refresh_file autocomplete, adds the serverside Player:RunConsoleCommand (with the same limitations as the global RunConsoleCommand) and uses it in some Sandbox tools, and fixes citizen_sheet_bloody.vtf looking blurry. The changes reached the x86-64 beta in the large merge commit cfa73c.

1 story

2 stories

Crash from removed triggers fixed; Hunter pose parameter fix; VPC and gmad build for Linux64

Commit b9fc35 on main fixes a crash with inputs firing from removed triggers, the Hunter NPC's wrong lookup function and lets SetSaveValue set m_hStoredPathTarget; VPC and gmad/gmpublish now build for Linux64.

Details
  • Fixed a crash with inputs firing from removed triggers
  • Fixed the wrong lookup function in Hunter NPC code
  • m_hStoredPathTarget added to the SetSaveValue whitelist
  • VPC and gmad/gmpublish build for Linux64; VPC builds and runs for Win64; VPC colors on Linux; no CodeLite projects on Linux
  • Lowercase min/max macros removed so they don't interfere with C++ headers on 64-bit Linux
  • Minor Hammer code fixes

1 story

Entity:SetPos now runs trigger touch events; controller input and SetNWVarProxy fixes

Commit c18cba on main makes Entity:SetPos run trigger touch events, fixes several controller input bugs and fixes the old value passed to SetNWVarProxy callbacks.

Details
  • "failed to dlopen" log skips are now case insensitive (macOS)
  • combine_booth_tall01b.vmt includes $normalmapalphaenvmapmask, commented out
  • Fixed IN_MOVERIGHT/IN_MOVELEFT not activating from a controller
  • Fixed a false positive "SeekPut overflow" message
  • Fixed Player:KeyDown clientside in singleplayer not detecting controller movement
  • Fixed SetNWVarProxy callback's old value being the new value
  • Entity:SetPos runs trigger touch events

1 story