swiftmor.blogg.se

How to make gmod mods
How to make gmod mods







how to make gmod mods

GLua is Garry's Mod adaption of the open source Lua language. steam\steamapps\\garrysmod\garrysmod\gamemodes\ You can download gamemodes such as darkrp and put them in here, to create your own server with that gamemode on.

how to make gmod mods

steam\steamapps\\garrysmod\garrysmod\addons\ This is where you can put your addons, even your own if you create one.steam\steamapps\\garrysmod\garrysmod\lua\ You can put single script files in here, and open them directly ingame, no further configuration required.Very useful resource, but can be overwhelming and hard to read for beginners.

how to make gmod mods

Everything related to anything in Garry's Mod, including some tutorials and other resources. Notepad++ is a great free editor, though Sublime Text, or VS Code will work just as well. There are a few resources we'd recommend getting familiar with for Garry's Mod coding.

how to make gmod mods

You'll pick up the rest in your own good time. The best tip here is to ignore it, and focus on the logic. The language is combining a vast amount of different concepts, which, no doubt, will be hard to grasp for a beginner. Try to understand the logic of what a script is doing, even if you don't understand all the specific functions. Find those examples, then see how they have done it.

  • Learn by reading - chances are there are already scripts on the internet that do something similar to what you are wanting to do.
  • Spend time planning and thinking how you want to set up the logic. Just because things aren't working right off the bat, doesn't mean you can't fix it. Learning a language is so much easier when you are trying to make some specific. While this guide aims to give you a head start, you can really only learn by playing with the language and engine, in your own good time. It takes a lot of time, dedication and trial and error to perfect your knowledge. Learning any kind of programming language won't happen overnight.









    How to make gmod mods