--DON'T UPLOAD THE ADDON IF YOU DIDN'T MAKE THE MODEL!--
Text for 5:47
$IncludeModel "humans/male_shared.mdl"
$IncludeModel "humans/male_ss.mdl"
$IncludeModel "humans/male_gestures.mdl"
$IncludeModel "humans/male_postures.mdl"
NOT SURE IF THIS WORKS ON MAC OR LINUX! THIS HAS BEEN PROVEN ON WINDOWS!
Links:
Left Shark Playermodel
[ Ссылка ]
Crowbar
[ Ссылка ]
NPC template Lua file
[ Ссылка ]
Written Instructions :
-Find you addon (e.g leftshark playermodel)
-Find your addon .gma file. 1:07
-Go into the Garrys Mod Bin folder 1:40
-There should be an exe called gmad inside.
-Drag your GMA into gmad, you should get a new folder in your addons folder
-Go into lua,autorun and edit the lua file in your new addon folder. (The addon is already ingame! It needs to be config!)
-Paste in the lua file in the desc, It should be a fresh .LUA file
-Edit the code, (e.g change name, hp, and AI base.) Refer to 2:24, Open with Notepad++ or Notepad.
After you finished your edits, Open up crowbar, link in desc again.
-We are going to decomp, so select decomplie, the file location and subfolder, the subfolder should be in your addon folder inside of models or materials.
-Find you .qc file (newly added) and open it.
-IF you have animations that DONT match the ones in the desc, replace that with the "Text for 5:47"
Again Refer to 5:47
-Open Crowbar again and this time, select complie, Link the file location to your .qc file.
-Make sure you have Garrys Mod selected in the game dropdown.
-Complie and wait for the finish!
-The compiled folder should be IN the decompiled folder!
-You should have new files after the comp, copy all of the MDL files and etc into the old MDL files and etc, This part can confuse you... Refer to 6:31
-delete the decomp file (we don't need it anymore)
Congrats! You should have a working NPC! Be sure your NPCs don't have custom animations for this to work!
![](https://s2.save4k.ru/pic/ELD1PdNqXSU/maxresdefault.jpg)