Garry's Mod Logo
schedule 28 September 2012
Devblog

GMod Beta - Update 35

Hey dudes, I sent another beta update to Valve! Here’s the changes:

  • Added matproxy library
  • Added NPC biggifier and smallifier
  • Added game.AddAmmoType
  • Added player colour customization
  • Added several stock props for tools
  • Updated player animations
  • Fixed DHTML crash when ResourceLoaded implemented
  • Fixed lua_run_cl not being restricted
  • Fixed gamemode cl_init not always auto reloading
  • Added PlayerColor material proxies
  • Citizen colour now determined by PlayerColor proxy
  • Added SetupDataTables funtionality to player class
  • Fixed menu lua error when downloading addons
  • Fixed player model not being drawn
  • Fixed driven entities not being drawn
  • Entity:SetModelScale now ( float size, float time ) and shared
  • Entity:GetModelScale now returns a float and shared
  • Fixed world click aiming outside of the context menu
  • World clicker viewmodel aim is now lerped
  • Weapons root files are automatically AddCSLuaFile again
  • Added taunt camera
  • Added a secret prop
  • Added Player:IsTyping()
  • Fixed viewmodel not returning Owner properly

Colour Customizations

So, one of the biggest changes in this version is the introduction of player colours. There’s no GUI for it yet - so if you want to change your colour you’ll have to do it in the console. I’ll leave you to have fun finding the right convars. You can customise the colours of certain player models (max is working on more):

It’s a much requested feature, and now you can finally change your physgun colour!

Gamemode creators have full control over these colour changers, so it’s not a hard task to make teams certain colours etc.

Material Proxies

One of the things that made this possible was the new matproxy library - which has been long requested by Lua coders. This basically binds to the source engine’s Material Proxy stuff. So now you can create and override your own!

NPC Resizing

We’ve also got an NPC resizer. It’s on the ‘C’ menus, and it isn’t perfect. But it works and it’s funny. The video below shows the new taunt camera too.

Max!

Max has been busy adding a buttload of props to everything and tweaking the player animations. This means we have new props for lamps, lights, thrusters and balloons! We have a new camera prop, and camera hold type too!

..and the rest

We have a load of bug fixes too. Player:IsTyping() is something I’m sure gamemode developers will find useful - it returns true when the player is typing in chat. We use this in Sandbox to make the player hold his ear when he’s typing (he doesn’t hold it when voice chatting anymore).

Have fun!