Catalyst Gaming
General => Support & Help => Topic started by: putin on June 05, 2011, 03:39:17 PM
-
So this summer I want to start learning LUA and possibly make a simple deathmatch gamemode or a edit of DarkRP or something not to hard. I want to know how other developers first went abouts learning LUA. This would be my first programming language so keep that in mind.
-
Take LUA classes, try wiki, but LUA classes is a must.
-
And where can you get these classes?
-
http://wiki.garrysmod.com/?title=Getting_Started_With_Lua
That should be it :3
And this is basicly where all the infomation is: http://wiki.garrysmod.com/?title=Main_Page
-
But it's too basic, you can't do shit with the wiki imo.
-
The wiki will help quite a bit, once you've gone over those tutorials a few times I'd try going through a few different gamemodes to see how they do certain things.
-
http://www.lua.org/pil
That's a great resource, and helped me out quite a bit. You can also buy, or download..., the second edition. I downloaded a copy and it's great.
The wiki is a great tool for GLua functions, hooks, and other stuff that only GLua uses. You can also look around in other people's work like gamemodes, addons, or just small code snippets.
-
The wiki will help quite a bit, once you've gone over those tutorials a few times I'd try going through a few different gamemodes to see how they do certain things.
I'll probally go through PERP and DarkRP n shit. I really want to figure out how people make sexy huds.
http://www.lua.org/pil
That's a great resource, and helped me out quite a bit. You can also buy, or download..., the second edition. I downloaded a copy and it's great.
The wiki is a great tool for GLua functions, hooks, and other stuff that only GLua uses. You can also look around in other people's work like gamemodes, addons, or just small code snippets.
I'm a cheap jew. Is it possible you can send me a copy of the book?
-
Hey its great that you want to start lua!
If i was you i would start off with an easy game mode like Darkrp and work up from there
because PERP is a very unstable game mode and is very hard to set up without having problems.
Like i said DarkRP works out of its self so you could use Darkrp then just screw around and see how things work
and try to creat your own cool stuff in the game mode.
-
Lua is incredibly easy to learn, but I must admit there's a few very complex lua codes out there.
-
Lua is pretty easy to learn. I am not a major lua coder and I coded a basic create a class gamemode. I posted it on facepunch and it didn't have a sexy HUD so I was hated on mercilessly.
And classes, the lua book and PIL are all okay. I only used the wiki, though. Personally I think it is easier to have someone explain things to you.