Garry's Mod Logo
schedule 19 July 2012
Devblog

Garry's Mod Beta - Update 24

I sent a quick patch to Valve for the GMod 13 Beta.

  • IMesh::BuildFromTriangles now accepts “color” members
  • Added render.GetAmbientLightColor()
  • Added render.ComputeLighting( pos, normal )
  • Added player:AllowFlashlight( bAble )
  • Added player:CanUseFlashlight()
  • Entity:IsOnFire() is now available clientside
  • Can now change FOV, distance and brightness of lamps
  • Lamp can now have animated textures
  • Lamp no longer repeats the texture out of bounds if not clamped
  • Added render.ComputeDynamicLighting( pos, normal )
  • Material objects now load and are available serverside
  • Fixed GetHTMLMaterial crash
  • Last active gamemode is now sticky
  • Fixed addon listings being slow
  • Fixed compatibility with -tools
  • Fixed player legs not moving in singleplayer
  • Fixed crash with > 32 players
  • timer.Create and timer.Simple no longer take a var arg (create a function)
  • Player:Give() always results in a pickup
  • Added more balloon textures
  • Added more lamp textures (including render target)

Here’s something cool you can now do!

The Mac version isn’t working right now. Awesomium is making it crash, so I probably did something wrong there - I need to look into it (crash in ResourceBundle::LoadResourceBytes).

Linux should be working now - but I don’t think the servers are deploying properly in the beta version, so if you try to start one you will probably get errors unless you’ve copied a few .so’s from the regular orangebox/bin/ folder.