Garry's Mod

Garry's Mod

97 个评价
How to make your own material mod (outdated)
由 RedChaosScrungle (They/Them) 制作
In this tutorial I will teaching you how to make your very own material mod, exciting! I know. ^^
   
奖励
收藏
已收藏
取消收藏
Before you start this tutorial you'll need two programs
Step 1: Download an image to use as a material
Step 2: Make folders inside the folder
Step 3: Make a folder called autorun in the LUA folder
Step 4: Making the .vmt file
"VertexlitGeneric"
{
"$basetexture" "Bean"
"%keywords" "Bean"

}
Step 5: Making the .VTF file

Alternatively, if pasting isn't working, go to the far left, click the sky blue paper that says "Import" on it and then select the file you want to import, also paste the image from an image viewer, not the image file.
Step 6: Making the .lua file
if SERVER then
list.Add("OverrideMaterials","Bean")
end
if CLIENT then
list.Add("OverrideMaterials","Bean")
end
Step 7: Putting your mod into the game
Open your file explorer, then click "this pc" then click the drive you have garry's mod installed on, for most people this is the C: drive, then go into the Program files (x86), then go into steam, then go into steamapps, then go into common, then go into GarrysMod, then go into garrysmod, then go into the addons folder, then right click while in that folder and click paste.
Step 8: Testing the mod in game
Step 9: Making an icon
Step 10: Opening the workshopper
Step 11: Putting in the title of your mod
Step 12: Using the icon you made
Step 13: Putting in your mod folder
Step 14: Setting your tags
Step 15: Ignoring the required games section
Step 16: Finally uploading your mod
Step 17: Looking at your uploaded mod
Step 18: Adding a description and preview images
208 条留言
MrWoohoo 2018 年 11 月 11 日 下午 12:21 
nevermind never mind
MrWoohoo 2018 年 11 月 11 日 下午 12:19 
its says gmod workshopper's link is an unknow search any advice?
RedChaosScrungle (They/Them)  [作者] 2018 年 11 月 11 日 上午 7:30 
RedChaosScrungle (They/Them)  [作者] 2018 年 11 月 11 日 上午 5:58 
@AdamMAG37pl To which mod?
Rom 2018 年 11 月 11 日 上午 5:10 
As someone who makes a good load of custom materials for my videos, this could be useful.
RedChaosScrungle (They/Them)  [作者] 2018 年 11 月 7 日 上午 7:32 
@Mangosteen (Scout-Fruit) Yes it is, you do this by doing the steps to make the initial material multiple times, naming the LUA file whatever you want and copy the list.Add("OverrideMaterials","Bean") part of the lua file so instead of looking like this

if SERVER then
list.Add("OverrideMaterials","Bean")
end
if CLIENT then
list.Add("OverrideMaterials","Bean")
end

it'll look like this
if SERVER then
list.Add("OverrideMaterials","Bean")
list.Add("OverrideMaterials","Bean_teddy")
end
if CLIENT then
list.Add("OverrideMaterials","Bean")
list.Add("OverrideMaterials","Bean_teddy")
end
ShadowDodger 2018 年 11 月 7 日 上午 7:27 
One question, is it possible to make addons with more than 1 material.
ShadowDodger 2018 年 11 月 7 日 上午 7:24 
That's awesome!
I need to practice, so i will make Game Logo Materials! (Probaly)