• Where do i begin?
    8 replies, posted
So as the title says i need a starting point. I'm not sure if this is worthy of its own thread but I've done my research and i have come up short. What I'm looking for is a rough guide on where to begin with addon creation etc. Before anyone bashes me there are hardly any guides on how to correctly structure addon's and any conventions used by the Garry's Mod community. So, I have a few questions that i need answering. 1 - Best IDE for Lua that has syntax highlighting for gmod, I hate NP++. 2 - Lua conventions. 3 - Structure for addons for TTT, DarkRP etc. 4 - Link to a few guides covering things like.. Tables for example and how they can be used practically in a addon/gamemode rather than just saying "This is a table, Table stores data". Hopefully someone can clear these questions up for me. Thanks a tonne!
1) Sublime text 2 2) Hmm...Lua conventions? 3) You can create stuff from addons folders like any other addon, just be sure that they don't run during other gamemodes 4) [url]http://wiki.garrysmod.com/page/Category:Modding_Tutorials[/url]
Goature on YouTube, if you want to make a gamemode.
1. Sublime 2. Read through some of the [URL="https://github.com/garrynewman/garrysmod"]GMod cod[/URL]e to get an idea. GLua supports both pure Lua (and, or) operators and C++ (&&, ||) operators. 3. garrysmod/addons/. Again, look through the GMod code. 4. [url]http://facepunch.com/showthread.php?t=1337945[/url]
Wall of text with a lot of info.. First block = welcome, useful threads. Second block = Notepad++ upgrades. Third and fourth are for my skeletonized dev base game-mode if you're looking for something to play around with which handles ALL includes for you... ( loadgm to reload the game-mode / when you added new files, then resave the new file ). [B]EDIT: Turning this into a few documents.. I had a few set up but I can't find them... So I'll simplify this...[/B] Hey, welcome to FacePunch. This forum is for devs that need help working on things. Here are some resources to help you get started: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Generalized Lua Help ( Links to Wikis, Answers the question of "Where do I post a simple question or DarkRP Specific question", links to other resources compiled by forum members ) [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/___welcome_docs/_welcome_general_lua_learning.lua.html[/url] Useful Programs ( SteamCMD, Autosizer, Desktops, Process Explorer ) and Notepad++ Upgrades [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/___welcome_docs/_welcome_useful_programs_and_notepadpp_upgrades.lua.html[/url] AcecoolDev_Base Skeletonized Dev Base Game-Mode ( Never worry about Include or AddCSLuaFile ever again; comes with New Hooks, Console Commands, Meta-Table Objects, Helper Functions, Extended Functionality, and more! ) [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/___welcome_docs/_welcome_acecooldev_base_gamemode_info.lua.html[/url] ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[QUOTE=code_gs;46061641]1. Sublime 2. Read through some of the [URL="https://github.com/garrynewman/garrysmod"]GMod cod[/URL]e to get an idea. GLua supports both pure Lua (and, or) operators and C++ (&&, ||) operators. 3. garrysmod/addons/. Again, look through the GMod code. 4. [url]http://facepunch.com/showthread.php?t=1337945[/url][/QUOTE] Thread suits my needs, Huge thanks. Also a huge thanks to Acecool for that useful wall of information!
Ace, might wanna update your hire link for coderhire.
Updated to look like this now; I will include ScriptFodder plus any other job sites and threads.: Hey, welcome to FacePunch. This forum is for devs that need help working on things. Here are some resources to help you get started: ------------------------------------------------------------- Generalized Lua Help ( Links to Wikis, Answers the question of "Where do I post a simple question or DarkRP Specific question", links to other resources compiled by forum members ) [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/___welcome_docs/_welcome_general_lua_learning.lua.html[/url] Useful Programs ( SteamCMD, Autosizer, Desktops, Process Explorer ) and Notepad++ Upgrades [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/___welcome_docs/_welcome_useful_programs_and_notepadpp_upgrades.lua.html[/url] AcecoolDev_Base Skeletonized Dev Base Game-Mode ( Never worry about Include or AddCSLuaFile ever again; comes with New Hooks, Console Commands, Meta-Table Objects, Helper Functions, Extended Functionality, and more! ) [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/___welcome_docs/_welcome_acecooldev_base_gamemode_info.lua.html[/url] Edit: Shortened dashes to be approx. as long as urls when shortened, and removed bottom one.
Take out the dash separators. They look awful on lower resolutions, and are pointless.
Sorry, you need to Log In to post a reply to this thread.