Content · 68
Added VMatrix:Identity.
vmatrix identityAdded GM:EntityEmitSound.
entityemitsound hookAdded Player:SetViewPunchAngles.
player view punch angles setterAdded VMatrix:GetInverse.
vmatrix getinverseAdded VMatrix:GetField.
vmatrix getfieldAdded Player:GetCurrentViewOffset.
player current view offset getterAdded IGModAudioChannel:Get3DFadeDistance.
igmodaudiochannel 3d fade distance getterAdded VMatrix:GetForward.
vmatrix getforwardAdded VMatrix:SetUp.
vmatrix setupAdded IGModAudioChannel:Get3DCone.
igmodaudiochannel 3d cone getterAdded VMatrix:ToTable.
vmatrix totableAdded IGModAudioChannel:GetLevel.
igmodaudiochannel getlevelAdded VMatrix:SetForward.
vmatrix setforwardAdded VMatrix:SetRight.
vmatrix setrightAdded VMatrix:IsRotationMatrix.
vmatrix isrotationmatrixAdded Player:SetCurrentViewOffset.
player current view offset setterAdded FL_* enums.
fl enumAdded render.OverrideColorWriteEnable.
color write enable overrideAdded sound.GetTable.
sound.gettable functionAdded IGModAudioChannel:GetLength.
igmodaudiochannel getlengthAdded VMatrix:GetRight.
vmatrix getrightAdded IGModAudioChannel:GetFileName.
igmodaudiochannel getfilenameAdded VMatrix:IsIdentity.
vmatrix isidentityAdded chat.Open.
chat open functionAdded VMatrix:Set.
vmatrix setRemoved PANEL:OnDeletion hook.
panel ondeletion hook removalAdded sound.GetProperties.
sound.getproperties functionAdded system.FlashWindow.
window flash functionAdded IGModAudioChannel:GetPos.
igmodaudiochannel getpoAdded VMatrix:GetUp.
vmatrix getupAdded Entity:IsFlagSet.
entity isflagsetAdded IGModAudioChannel:IsLooping.
igmodaudiochannel isloopingAdded IGModAudioChannel:SetTime.
igmodaudiochannel settimeAdded chat.Close.
chat close functionAdded PANEL:OnRemove hook.
panel onremove hookAdded Entity:AddFlags.
entity addflagAdded IGModAudioChannel:Set3DCone.
igmodaudiochannel 3d cone setterAdded a few requested ACT enums.
act enumAdded timer.TimeLeft and timer.RepsLeft.
timer time and repetition query functionAdded GM:StartCommand.
startcommand hookAdded render.SetLightmapTexture.
lightmap texture functionAdded VMatrix:SetScale.
vmatrix setscaleAdded render.SetWriteDepthToDestAlpha.
depth to dest alpha writingAdded the GMOD_CHANNEL_* and FFT_* enums.
gmod_channel and fft enumAdded IGModAudioChannel:IsOnline.
igmodaudiochannel isonlineAdded util.GetSurfacePropName.
surface property name functionAdded IGModAudioChannel:Is3D.
igmodaudiochannel is3dAdded render.OverrideAlphaWriteEnable.
alpha write enable overrideAdded VMatrix:Invert.
vmatrix invertAdded render.PushRenderTarget.
render target push functionAdded IGModAudioChannel:FFT.
igmodaudiochannel fftAdded IGModAudioChannel:GetSamplingRate.
igmodaudiochannel getsamplingrateReplaced Entity:GetTextures with Entity:GetMaterials.
entity gettextures replacementAdded VMatrix:GetInverseTR.
vmatrix getinversetrAdded IGModAudioChannel:GetVolume.
igmodaudiochannel getvolumeAdded IGModAudioChannel:Set3DFadeDistance.
igmodaudiochannel 3d fade distance setterAdded VMatrix:SetField.
vmatrix setfieldAdded Player:GetViewPunchAngles.
player view punch angles getterAdded IGModAudioChannel:SetPlaybackRate.
igmodaudiochannel setplaybackrateAdded IGModAudioChannel:GetState.
igmodaudiochannel getstateAdded IGModAudioChannel:GetBitsPerSample.
igmodaudiochannel getbitspersampleAdded render.PopRenderTarget.
render target pop functionAdded Entity:RemoveFlags.
entity removeflagAdded VMatrix support for the ==, ~=, + and - operators.
vmatrix operator supportAdded VMatrix:InvertTR.
vmatrix inverttrAdded NEXTBOT:OnRemove.
nextbot onremove hookAdded GM:EntityFireBullets.
entityfirebullets hookAdded IGModAudioChannel:GetPlaybackRate.
igmodaudiochannel getplaybackrate
System · 25
Player:LagCompensation should now work in any predicted hook.
lagcompensation in predicted hookGM:CalcViewModelView now returns a position and angle to override viewmodel position.
calcviewmodelview return valuesound.Add now accepts a table as pitch and volume parameters.
sound.add table parameterIGModAudioChannel:SetPos now takes an optional orientation vector.
igmodaudiochannel setpos orientationClientside Lua is now always allowed in singleplayer.
clientside lua permission in singleplayerVector:__unm and Angle:__unm were moved from Lua to C.
vector and angle unary minus implementationAll util trace functions now accept an ignoreworld boolean in their trace data.
util trace ignoreworld parameterOld damage force behaviour has been restored.
damage force behaviourThe first argument of Player:ViewPunchReset is now optional and defaults to 0.
viewpunchreset optional argumentThe singleplayer jump boost from HL2 is now implemented in Lua as a sandbox feature.
singleplayer jump boostMatrices can now be multiplied by vectors.
matrix by vector multiplicationsv_allowcslua is now saved to the config file.
sv_allowcslua savingVMatrix objects can now be printed to the console.
vmatrix console printingvm_origin and vm_angles fields from GM:CalcView are now deprecated.
vm_origin and vm_angles deprecationIGModAudioChannel:Stop now permanently deletes the channel.
igmodaudiochannel stop behaviourgame.AddDecal now accepts a string table as its second argument.
game.adddecal string table argumentsv_kickerrornum now defaults to 0 and its value is saved to the config file.
sv_kickerrornum default and savingEntity:DispatchTraceAttack arguments changed to (dmginfo, traceres, dir).
dispatchtraceattack argument ordernet.Start starts an unreliable message if its second argument is true.
unreliable net messageHTTP requests now accept a headers table.
http headers supportCommand blacklisting for these functions has been improved.
console command blacklistingEntity:IsValid no longer returns true for entities removed during the current frame.
entity:isvalid removed-entity checksound.PlayURL second parameter can now contain the noblock flag to disable block streaming.
sound.playurl noblock flagMatrix can now take an optional 4x4 table as an argument.
matrix function Object() { [native code] } argumentThe mounting system has been improved.
mounting system
UI · 2
Some spawn icons have been improved.
spawn iconAdded the clientside convar cl_steamoverlay_pos.
steam overlay position convar
Fix · 45
Viewmodel no longer jitters when overwriting its position.
viewmodel jitteringsurface.CreateFont no longer disconnects clients when an invalid table is passed.
surface.createfont client disconnectMetrocops holding the stunstick no longer go into a T-pose when attacked.
metrocop t-pose when attackedCombine balls now collide with players.
combine ball player collisionkeyframe_rope now respects attachment points.
rope attachment pointKey bindings now work correctly in the main menu.
key bindings in main menuSetStencilWriteMask now sets the write mask instead of the test mask.
render stencil write maskFile functions now work with file names containing certain special characters.
file functions with special characterGravity gun and crowbar are no longer removed when dropped using Player:DropWeapon.
gravity gun and crowbar removal on dropCSoundPatch:Stop now actually stops the sound when the game is paused.
csoundpatch stop while pausedFunctions from the render and surface libraries partially now write alpha when drawing on a render target.
alpha writing on render targetNPCs now receive the appropriate amount of damage from HL2 weapons.
npc damage from hl2 weaponLong-term performance issues with Entity:Remove are fixed.
entity:remove performanceSound spam with weapon_rpg when out of ammo is fixed.
rpg sound spamCLuaEmitter:Finish now frees the emitter.
cluaemitter finish freeingGMod decals now work when used on props.
gmod decals on propLamps no longer project backwards.
lamp projection directionSpawnicons now regenerate at the correct resolution when resized.
spawnicon regeneration resolutionShell ejection issues on the HL2 pistol and SMG are fixed.
shell ejectionViewmodel bobbing no longer snaps when jumping or noclipping.
viewmodel bobbing snappingGamemode name reported by Steam is now updated after a changelevel.
steam gamemode name updateEnableMatrix now propagates matrix transform to child bones.
enablematrix child bone propagationNEXTBOT:Use is now called.
nextbot use callRendering artifacts when particle effects render in front of the skybox are fixed.
particle rendering artifactVMatrix:SetAngles now preserves translation and scale.
vmatrix setangles translation and scaleJigglebones no longer occasionally snap into impossible positions when moving rapidly.
jigglebone snappingPre/PostDrawOpaqueRenderables now receive correct arguments.
pre/postdrawopaquerenderables argumentGibBreakClient now takes skin number into account.
gibbreakclient skin handlingNav files no longer remain open after loading a map.
nav file left openFlashlight no longer gets duplicated when receiving a full packet update.
flashlight duplicationDebug textures are now precached.
debug texture precachingFloating point values are now encoded with sufficient accuracy.
tabletojson float precisionTextEntry panels no longer filter tab characters.
textentry tab character filteringMemory leak when calling timer.Create on an existing timer is fixed.
timer.create memory leakPrediction errors when switching to thirdperson and back are fixed.
viewmodel prediction errorGravGunPickupAllowed now prevents the gravity gun from picking up forbidden entities.
gravity gun forbidden pickupnan and +/-infinity now return a null-terminated string when converted.
nan/infinity string conversionScreenFade now takes color alpha into account.
screenfade alphaMapCreationID no longer returns different values after a map cleanup.
mapcreationid stabilityGravGunPunt is now called clientside when holding an object.
gravgunpunt clientside callPanels now feed mousewheel events to their parent when the hook is defined.
mousewheel event forwardingsurface.GetTextSize no longer ignores '&'.
surface.gettextsize ampersand handlingMetrocops now turn their stunstick on before attacking.
metrocop stunstick activationenv_zoom now works.
env_zoom functionalityAn exploit involving require, Player:ConCommand and game.ConsoleCommand is fixed.
console command exploit


