So I have been working on my gamemode quite a bit over the past few days(which is also as long as my gmod modding/lua experience lol). I have managed to get teams worked out, menus setup(Just the basics...figured out how to get a layout for actual functions to be used). Npcs drop an entity, which I call a "lootbox" that can be picked up(by pressing E) and trigger a function(give items, woo). I have also managed to figure out other minor various things such as creating new weapons and all that easy jazz.
I have been feeling pretty good about my little accomplishments. That is until I realized one thing: I need to create some sort of inventory/skill/level/exp/stat/saving system and have these various systems be represented through my menus. After a bit of research I have found that most of the methods to do what I want require complicated tables and SQL code. To say the least, at this point, I am overwhelmed. If anyone can point me in the right direction to get me started on learning what I need to accomplish my goal, I would be eternally grateful.
And if your interested, here is a short video of what I have done so far. It doesn't seem like much... but it is working!
[url]http://www.youtube.com/watch?v=7VEay9mkgNg[/url]
[url=http://wiki.garrysmod.com/?title=LUA:SQLite_Tutorial]Try these tutorials.[/url]
Thanks... I can't believe I missed this on the wiki!
Update:
I am really starting to get the hang of this! It is definitely a lot easier than expected. Hopefully I can get all the different commands memorized soon. I've managed to create a table for teams so that after the first time joining it keeps your character on their initial team. :) Now time to dive deeper into the unknown...
Sorry, you need to Log In to post a reply to this thread.