Good evening,
I'm planning on becoming a full-time owner of a server. Before I plan on begin the server, I would like to learn LUA so I can code some of my own products, and possibly sell them. What's the best way to learn about LUA basics and eventually go in further detail for a beginner?
Most of what you need is here: Garry's Mod
Hate to argue semantics but its Lua, it isn't an acronym, its Portuguese for moon.
There's a lot of good resources out there for learning Lua. The first edition "PIL" is also a good place to learn the basics of Lua itself. https://www.lua.org/pil/contents.html Gmod Lua has some quirks that differ from that book, but that is a fairly concise and digestible look at the entire language. I would say understanding most if not all of Part I and II are necessary for doing things properly with Lua. That doesn't mean you need to immediately read those sections cover to cover, but eventually you want to get to that point where you understand all of it.
Thanks. This really helped! Also, any place I could learn about mapping?
Sure, there's lot of resources for learning Hammer as well. I have very little experience with hammer so I'll leave the specifics to you, google is always your friend ha.
Some unsolicited advice though, if you are a complete beginner to programming AND a complete beginner to mapping attempting to learn both at the same time is kind of setting yourself up for failure. Both are demanding skills that take a lot of time and practice to even understand, let alone do effectively. I would highly recommend focusing on just one (I'd argue programming is infinitely more practical for your specific server hosting case, as well as in general) rather than try to do both. It is hard enough for the average person to stick to just one of those skills long enough to get over the beginner hump.
I agree with this fellow. Becoming skilled in Lua and mapping can take a long time. You might want to try one at a time, and try doing it for someone else. Find a community you like and offer to help. You'll learn a lot about what it takes to build upon existing content, let alone create your own.
Valve Developer Community
This thing has pretty much everything covered
Sorry, you need to Log In to post a reply to this thread.