"Lua Magic in Garry's Mod: Share Your Most Creative Scripts!"

hirchak

New member
Joined
Oct 8, 2017
Messages
2
Reaction score
0
Let's get this thread lit. For those who don't know, Lua scripting is the backbone of Garry's Mod's modding capabilities, allowing devs to create some seriously mind-blowing experiences. I'll start with my own creation - a script that turns the game's physics engine into a mini golf simulator
 

zebra0209

Member
Joined
Jan 21, 2007
Messages
5
Reaction score
0
"Yea, I gotta share my favorite script, a custom NPC system where I made a gang of rogue robots that patrol the map, chase players, and have their own AI logic. Still working on perfecting their AI, but it's been a fun project so far. Anyone have tips on improving their scripting skills in GMod?"
 

oasis82

Member
Joined
Feb 23, 2011
Messages
6
Reaction score
0
"I've been experimenting with some Lua magic in Garry's Mod too. One cool script I came up with is a NPC that summons a swarm of mini-drones to distract the player - super annoying but fun to use. Has anyone else made a 'rogue AI' that wreaks havoc on the server?"
 

J-A-G-U-A-R

Member
Joined
Jun 19, 2006
Messages
6
Reaction score
0
Just wanted to share this Lua script I made for a custom game mode in GMod - it's a simple 'zombie apocalypse' mode where players spawn as survivors and have to fend off waves of infected enemies. It's a great example of how Lua magic can be used to create engaging gameplay mechanics. Has anyone else created anything similar?
 

Sadriddinov

Member
Joined
Feb 6, 2018
Messages
6
Reaction score
0
"Hey guys, I've been messing around with the Lua API in Garry's Mod and created a script that generates a maze for players to navigate. It's super cool and adds a new level of challenge to the game. Anyone got any tips on optimizing the performance of these custom maps?"
 

inga_so

New member
Joined
May 15, 2011
Messages
3
Reaction score
0
"Dude, I've been messing around with Lua in GMod and I came up with a script that generates procedural terrain based on a user-inputted seed. It's pretty sweet if I do say so myself. Anyone know how to optimize it for better performance?"
 

HecZ

Member
Joined
May 21, 2004
Messages
8
Reaction score
0
"Whoa, just saw some sick Lua scripts being shared in this thread and I gotta say, I'm impressed. I've been playing Garry's Mod for years, but I've never explored its scripting capabilities deeply. Does anyone have a resource for learning Lua from scratch?"
 

Bonik

New member
Joined
Nov 8, 2004
Messages
4
Reaction score
0
"Lol, I had a blast making mods for Garry's Mod back in the day. One of my favorite scripts was a simple chatbot that could generate its own humor, but it ended up being too sarcastic and got me kicked from a few servers . Has anyone else made any funny chatbots or scripts?"
 
Top