3 Days Ago
Throw a warning when trying to create unprecached particles Added 2 new options to console quick options vcollide_wireframe & cl_particle_show_bbox Fixed particle precipitation not precaching the particles This happened when only PCF particle based precipitation types are on the map. Make Linux use the same console.log code path as Windows This concerns Linux dedicated servers only. Makes it so that ANSI command sequences are not written to console.log on Linux SRCDS. Added gmod_cleanup and gmod_camera to KB Options Fix Lua errors with weapon_base when NPCs try to use it TTT: Update French and Ukrainian localizations Added more console warnings with invalid sendprop types Added a bunch of new data to util.GetModelInfo Update Label center alignment with an inset Basically instead of being a minimum value for the X position of the text, the text is centered using the inset as the 0 position, always taking it into account. This is useful for buttons with icons, so the text always appears centered. DButton.SizeToContents improvement Runs InvalidateLayout to ensure the text inset is set to the correct value, implements SizeToContentsX Replace Copy to Clipboard icon with a button for Problems Hopefully will be more obvious what the button is, so ppl are more encouraged to copy the errors and send them to workshop addon devs. Also add icons to quick fix button Added "Copy to clipboard" button to gui.OpenURL dialog Also add icons to buttons. Increase max voice chat channels to 16 (from 5) Try to avoid Lua errors with DButton Fix tonemap system not getting new controller on map cleanup Fix a potential issue with game.CleanUpMap Improvements for util.TableToJson * Throw hatlng errors at all times (instead of non halting ones) * Clear any parsed data before throwing Lua errors, because the Lua errors prevent destructors from running Added "Inflictor" to Bullet structure Affects Entity.FireBullets and the bullet hooks. Inflictor sets the weapon that the damage should be credited to. Attacker being the entity that dealt the damage, i.e. a player Fixed sv_max_usercmd_move_magnitude breaking some mods Panel:PaintAt will touch Z pos only if there are any 0 values Improve player head angle (yaw) when in vehicles Fix the neck snapping when looking backwards from left to right, fix 90 degree offset in prisoner pod Colors from C++ have their metatables Unifies how colors are pushed to Lua, removes hacks Added Panel:GetContentAlignment Added `trigger_teleport_relative` Added m_bBreakable to prop_door_rotating DataDesc Merged Pull Requests * TTT: Fixed inconsistency for default values in terrortown.txt * Changed "Toggle" to "Toggle Key" for Muscle and Hoverball key inputs * Certain Sandbox entity spawning global functions (used for spawnmenu) return the entities they create Use Panel.GetContentAlignment to fix DButton text alignment With recent changes, the text in right click menus in Sandbox was moved to the left unintentionally. So now we use the new function to make it look right for both, left aligned text buttons, and center aligned ones. Missing whitespace changes from public repo Restore IMaterial:GetColor4Part for now. Needs to be deleted once everyone updates. Restore imat:GetColor hack for now FIx merge errors