Yesterday
Hammer: Port color preview for models from CS:GO Added color keyvalue to prop_door_rotating Allow PCF as valid transfer extension Make sv_lagcompensationforcerestore do something SRCDS workshop cache also caches titles Also display a warning that cache will be used. Added some AnimOverlay functions Entity.FindGestureLayer( activity ) = LayeriD Entity.FindGestureSequenceLayer(seqID)=LayeriD Entity.RemoveLayer( layerID ) Entity.SetLayerAutokill( layerID, bool ) Fix soundscapes not working with duplicate sounds (ported from CS:GO) Also made sv_soundscape_printdebuginfo a cheat, instead of devonly, like in CSGO NPC weapon selection icons Use ContentCategoryIcons list to give NPC weapons icons in spawnmenu NPC tab and on NPC spawn icon right click. Also group NPC icon right click by category like it is in other places. Added GM:OnNPCDropItem hook It will NOT be called for dropped weapons, for that you have GM:PlayerDroppedWeapon (yes it was always called for NPCs too) HL1 NPCs will call this hook when they create "fake weapons" on death, since they do not use weapon entities Fix FireBullets causing "CLuaObject:GetType with invalid lua state" warnings Restore rope texture scaling to HL2 values For tool-created ropes, we apply custom scaling value so it looks like it did before any changes. Fixed NPCs being able to shoot some guns forever, without reloading This affects ALL weapons with DefaultClip above the Clip size, such as AR2. Prevent potential Lua errors with weapon_base Fixed IMaterial spamming console about "$basetexture" not being a texture This happened when opening Overlay post processing effect list in Spawnmenu. Affected functions: IMaterial.GetTexture IMaterial.GetColor IMaterial.Width IMaterial.Height Make "No account token specified" a warning Reset render lib lastmaterial on map shutdown Fallback "VertexBeckman" shader to "VertexLitGeneric" Minor optimization in Ignite property RPG/Crossbow animation improvements for citizens Fix NPC being unable to fire RPG due to recent changes Combine RPG support Improve metropolice weapon support for Shotguns, AR2, RPGs Fixed some NPC drops not calling OnNPCDropItem Add CSS thruster models without mounting CSS` (Community Contribution) Fixed server crash when mounting ladders at edict limit Minor cleanup Improve free edict detection