6 Months Ago
Let's try this again: unload unreferenced materials in more places This is aimed at making sure content from maps is unloaded before content from another map is loaded Merge clientside and serverside physobj scaling code Update button spawnicons to face the camera mat_viewportscale tiny value Problem Remove unintended label from HL2 spawnlist Fixed stray "Other2" category name fallback in spawnmenu Added PhysObj:MakeShadow( maxSpeed, maxAngSpeed ) This allows making any physics object a physics shadow, not just Entity:PhysicsInitShadow Speed values of 0 or below mean do not allow movement. Added RegisterMetaTable( name, table ) "anim" type SENTs move physics objects clientside for you Hopefully this will not cause any issues surface.PlaySound can accept soundscript names clientside This will only translate the soundscript name to a file path, it will NOT affect ptich/volume, etc, since the function does not support that at all. sound.Generate now accepts table of samples, or direct binary data as a string The table input should have float values from -1 to 1 (index starting with 1), and is about 4 times faster than using a function string input must be raw 16bit sound data (each sample is a signed short), and is much faster than the 2 other methods.