5 Days Ago
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.