HOW TO MAKE NPCS FOR GARRYS MOD 2018 UPDATED

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hey what's up guys it's on Liber um and today I'm going to show you how to make NPCs for Garry's Mod um so first thing you want to do is go to the Garry's Mod workshop and then find a model or um yeah you want to find a model or a play model and then um download it so I'm just going to choose one real quick um I guess I'll do this one so you want to subscribe and then make sure it's on downloading then you want to open up Gary's mod um this might take a little while for it to load so then I'll just skip until um it loads up all all right guys I'm back so once Gary's Mod downloads and extracts the mod you just want to exit Gary's mod and then you want to go to the directory so you can just go to properties local files browse local files G's mod add-ons and then I make mine so date modified so then when it downloads it goes right up here so you want to copy it and then go to your desktop make a new folder and call it just NPCs and then paste it in here and then after that you want to get a tool called um see I can find it oh gmad extractor so then you want to open that up then you want to click open browse go to your desktop find the folder that you named click on it and then get uh click on the GMA file and then click on it again click select and then extract all and into the same folder and once that done it'll show you and then you can just go ahead and delete the two bottom uh files and go to Lua auto run and then this um just go go ahead and delete this um and then what you want to do next is I have a temp tempate of a NPC already and I'll put that in the description I download link in the description so you guys can just download it and figure out um how it works um so copy it oops copy it and then paste it and then just rename it um whatever really you want um so I'm just going to call it um test NPC um so then you want to get open it with notepad++ um and so this is where it's going to be in the NPC category when you open up Garry's mod let's just go ahead and change that to Star Wars um this is the name so I'm just um just go ahead and go back and so then you want to go to models player and then to you actually see the model so he's called Tarkin so just put that in there um all right oh yeah so this is this section is hostile and this section is Ally um so if you just want Ally you just delete the Hostile if you just want hostile I'll delete the Allied one oops um so then you go over here and just um don't put in like the full name just like four letters um cuz I've had problems for some reason when it has more than uh that manal letters uh more than four letters um so then you want to copy just click rename on the model um so you make sure there aren't errors or it's not going to work at all so then where it says model um just paste it right there um and then you want to copy this um this entire section up here um until the models and then you would just paste it in here but you also want to make sure you fix the um slashes make sure they're facing the right way and then just go ahead and copy this entire line and just paste it up here um and then save it and then you want to open up another program and you want to open up another program called crowbar um and and what this does it it decompiles a model so you can edit it to make um to add the animations for it so you just want to go ahead and find where you put the model and then click decompile and then after you're done with that in the model folder you should have a decompiled QC file and then you want to right click it and edit with notepad++ um so this is where all the animations and stuff is so what you want to do is um also I'll include this in the description it has um all the animations you want you need to put in here so you what you want to do is right right above I uh ik chain you want to delete this and then paste the code right here and then save it then go back to Crowbar and then go to compile and then go to browse and then go to the same model um then you want to go to the decompiled folder and then the QC file and then and click compile then after that's done um if you did everything right there shouldn't be any errors um and you can just go ahead and exit that and exit this um and then you go to the compiled and then copy all this and then delete all the old model files and then paste the new ones in here and then go ahead and delete this folder and then that's basically it so then um um once you're done you get your folder your NPC folder whatever you named it and then put it in um your Gary's Mod add-ons folder and then go ahead and open up Garry's Mod and then I'll be back when it loads up again all right guys I'm back in Game of Garry's Mod um so we need go to NPCs and then I named it Star Wars so here it is and then it'll show up right here and here he is um and here's a hostile um right now they don't have any weapons you can edit that here I'll go ahead and show you how to edit it in the Lua file um so you want to do is in here the weapons tab um you can either add custom weapons from the workshop and add those in there or you can just have these default weapons um so right now they won't fight cuz they don't weapons but if I just give them a random weapon then yeah they'll start shooting and they work perfectly fine um also um if you didn't make the models don't upload them to the workshop unless you have permission from the author cuz you're stealing the models um thanks for watching uh don't forget to like And [Music] subscribe [Music] a
Info
Channel: om liber
Views: 64,845
Rating: undefined out of 5
Keywords: HitFilm, garrys, mod, steam, valve, pc, video games, garrys mod, om, liber, omliber, cool, npcs, 2017, star wars
Id: 9H2zdP0H9tE
Channel Id: undefined
Length: 8min 35sec (515 seconds)
Published: Fri Mar 03 2017
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.