ShapesNragdoll(LMOD) A Beginners Remake Of Gmod Mac OS

From GMod Wiki

Decompile garrys mod models. A Garry's Mod (GMOD) Forum Thread in the Customization category, submitted by gamer1978. Welcome to Farming Simulator! Here you will find the latest news, updates and other information about the game from GIANTS Software. Our moderators and other users in our online community will help you with support issues in our online forum.

Jump to: navigation, search

This is just a quick overview of lua. For more info on the language, click here. If you wish to know more about scripting with lua in Garry's Mod, view some of the tutorials.


  • Lua is the scripting language used in Garry's Mod. Lua is a simple and easy to learn language.
  • Lua scripts can be written and changed in any text editor.
  • Lua Files or Scripts require no compiling! Meaning that you will only have to write them, and Garry's Mod will read from them.
  • What does Lua look like? Some examples:


This says 'Hello World!' to the console.

Some basic maths:

This creates the function SayMyName, and uses it to send 'Hey Fred!' to the console:

ShapesNragdoll(LMOD) A Beginners Remake Of Gmod Mac OS


  • Lua can be used to make a large range of things in Garry's Mod such as weapons, tools and even vehicles!


  • Lua files/scripts need to be added to the correct folders for them to work.

On PC:

For weapons:
C:Program FilesSteamsteamappsyourusernamegarrysmodgarrysmodluaWeapons

Dis mac os. For gamemodes:
C:Program FilesSteamsteamappsyourusernamegarrysmodgarrysmodgamemodesYourGamemodeNamegamemode

On Mac:

For weapons:
~/Library/Application Support/Steam/SteamApps/{steam_user}/garrysmod/garrysmod/lua/weapons
Sfd mac os.

For gamemodes:
~/Library/Application Support/Steam/SteamApps/{steam_user}/garrysmod/garrysmod/gamemodes/{YourGameModeName}/gamemode/


NOTE:

  1. Replace 'YourGamemodeName' with the name you want for your gamemode.
  2. The gamemode's lua files MUST go inside a folder named 'gamemode' in the folder for your gamemode, or it will not work. E.g. If I created a build gamemode named 'Build', I would put all the files in this folder:garrysmodgarrysmodgamemodesBuildgamemode
  3. If you are running a 64 bit version of Windows, use:

Shapesnragdoll(lmod) A Beginners Remake Of Gmod Mac Os Videos

Program Files (x86)
Instead of:
Program Files

Where to go now

This page is only of basic lua information.
Before you start learning lua, is is recommended you read this page so that you have everything you need to start creating lua scripts.
If you already have a script editing program, then it is time to start reading the tutorials.

Retrieved from 'http://wiki.garrysmod.com/?title=Lua_Overview'

Shapesnragdoll(lmod) A Beginners Remake Of Gmod Mac Os Video

So I managed to get my hands on a model of Ratchet from Ratchet and Clank Into The Nexus, and I wanna use it as my player model in GMod. I decided to take a short cut and use the auto-rig addon that comes with blender now and I just edited it from there (considering the model is in T Form and it’s propotions are wonky do to the cartoony style). From what I understand the bones have to have valve. in the name (i.e: valve.uparm.L) in order for GMod (and the Valve Engine itself) to recognize them. Is it possible to rig the model for GMod using the “valve.bonename.side” layout, and somehow copy the already existing player animations in game and apply them to the rig? Or is there a better way? I’ve also attatched the model I’m attempting to rig if needed to provide assistance. ItNRoboRatchet.zip (993 KB)