Peeps

Mid 2025 for my Garry’s Mod Gamemode was writing a BSP parser, which enabled map geometry such as brushes, displacements, and static props to become accessible. Big improvement on my first iteration, which used a third party library. Was very enjoyable #indiedev #gamedev #modding

PNG
PNG
PNG
PNG

The next major milestone of my Garry’s Mod gamemode’s third iteration was in early 2025 at the reimplementation of the animation system. This time it was successful, aided also by having a proper editor with gizmo capability for debugging #indiedev #gamedev #modding

PNG
PNG

One of the first milestones of the third iteration of my Garry’s Mod gamemode in 2024 was the chunk PVS system, this time made far faster to bake and with visualization tools. Having an editor goes a long way for engine development #indiedev #gamedev #modding

PNG
PNG
PNG

The third iteration of my Garry’s Mod gamemode began in 2024 after playing Doom 2 and being inspired by its efficiency. It began with a full rewrite from the ground up, not inheriting any base gmod gamemode, starting with a LuaPreprocess build system and editor #indiedev #gamedev

PNG

After I got my custom animation system working clientside, I soon discovered in early 2023 that a key API in it did nothing serverside. I started rewriting everything but got fed up with it, and thus ended the 2nd iteration of my Garry’s Mod gamemode. #indiedev #gamedev #modding

GIF

Going down early 2023 memory lane for my gmod gamemode when I was arduously paging frame-by-frame through OBS videos and stitching print outputs together in ms paint to debug my custom animation system, good times. #indiedev #gamedev #modding

GIF
GIF
PNG
PNG

In late 2022 I discovered Garry’s Mod doesn’t allow certain animations (gestures) to start clientside. This was very problematic to my pure-Lua rendering approach, so I started making a custom animation system. This was very painful yet enlightening #indiedev #gamedev #modding

GIF
GIF

The second iteration of my Garry’s Mod gamemode began in 2022 when I concluded S&box wasn’t coming out soon. So I resumed work on it, focusing on backend systems. As a result I didn’t capture many screenshots. I did find this early main menu WIP though #indiedev #gamedev #modding

PNG

Later in 2020, it started feeling like S&box was gonna kill Garry’s Mod so I paused portals to focus on learning C#. So my gamemode’s first iteration ended in late 2021, due also to scope-creeping an overly ambitious physicality-modeling system. Here’s an old scratchpad of that

PNG

Found some more old 2020 screenshots. The work on portals provided good opportunity to learn more about 3D geometry, as it involved OBB colliders, plane intersections, transformations, and other such things. Didn’t stick with OBBs since AABBs were cheaper and worked well enough.

PNG
PNG

Much of 2020 was spent on cloning and splicing map geometry around portals into a pocket dimension with a portal-shaped hole carved out so entities near portals could have their collisions moved into it for seamless movement between portals. #indiedev #gamedev #modding

PNG
PNG

A big goal for my Garry’s Mod gamemode was to make the best possible portal system. This started with getting portal rendering working, which was relatively easy, as portal addons did it before, but recursion was tricky since the others lacked it #indiedev #gamedev #modding

PNG

After chunks, I added raytracing for my Garry’s Mod gamemode’s custom entity system. It used a modified Bresenham’s line algorithm to find chunks before intersecting their entity’s AABBs, ending in triangle testing. It was later swapped to use DDA #indiedev #gamedev #modding

PNG

One of the biggest 2020 undertakings for my gamemode was a chunk-based potentially-visible set (VIS) system. This was used for limiting networking and rendering to the player’s location. It took a while to make an efficient algorithm for baking this. #indiedev #gamedev #modding

PNG

In Garry’s Mod you cannot have more than 8192 entities in the world. In 2020 I set out to overcome this in my gamemode by making a pure-Lua entity (lent) system. The world is subdivided into chunks so one entity can represent multiple lents physically #indiedev #gamedev #modding

PNG

Digging up old screenshots of my WIP Garry’s mod gamemode (2020?). I wanted proper player NPC possession, but since players couldn’t be rendered without an actual user client, it all started with rewriting the source engine’s C++ player renderer in Lua #indiedev #gamedev #modding

PNG

Large Language Models being able to generate mathematical language consistent with the language of mathematics is not a surprise. What would be a surprise is if it’s found that no room exists for humans to improve upon their work.

Since modding seems to have officially been publicly executed by AI, thought I’d start documenting my Garry’s Mod gamemode I’ve spent the last 5 years quitting/restarting/rewriting and working on. Nothing special, and it’s still not done, but it’s mine #indiedev #gamedev #modding

PNG

I’m told to keep coding but when you have a magic button to solve your problems, it makes spending time on such problems rather empty- may just be me. Rather sad since I’ve loved coding since I was 12 and now it’s kinad gone. AI makes for lots of new fun but still, end of an era

I’ve been writing a Garry’s Mod gamemode for the past 5 years in my sparetime, at about 40K handwritten lines since its 3rd rewrite about 2 years ago. Since the past 2 months I’ve written almost no code due to AI taking its meaning away. Still love programming tho. Just wanted to note this somewhere