GMod Patch 76

I just submitted a patch to Valve, so I thought I’d give it a little write up since there’s some big changes that might affect addons etc.

This patch has had some big contributions from AzuiSleet. Most notably, LuaJIT and 3rd person animations.

LuaLIT

We haven’t seen a huge performance boost from LuaJIT, but it’s there now. I’m sure there have been some things that people wanted to do, but couldn’t because Lua turned out to be too slow so they didn’t bother. Maybe now they can do it. Enabling LuaJIT comes with some compatibility problems, Azu explained them here.

3rd Person Animations

The third person animations work pretty much flawelessly. I won’t be totally suprised if we see a lot of 3rd person gamemodes popping up. Might be good for roleplayers too? Again, there are some incompatibilities that coders will need to bear in mind.

image

Spawn Icons

The new spawnicon camera layout that I posted about yesterday is implemented. I rebuilt all the icons for you too. If you want to have a mess around and rebuild the icons, there’s some spawnicon_* convars that you can use to adjust the fov etc.

image

TF2 Spy masks

Someone mentioned spy masks in the comments of yesterday’s post – so I looked at it, and wrote a little hack to enable spawning the spy with masks on. It basically changes the bodygroup if it’s the spy model and the skin is over 3.

image

Crash Fixes

Fixed a few rare bugs too. Rare enough to have never bumped in to, but according to the steam stats, one of the bugs created about 4000 crashes. So well worth mentioning.