Garry's Mod

Garry's Mod

GabeN Material
42 条留言
ProGaming122 10 月 21 日 上午 7:31 
Three Great games - gaben newell acciententally saying number 3
Unbloated 2024 年 12 月 14 日 下午 1:29 
Gaben... At Valve Software dot com...
Mr. Enderman 22 2019 年 1 月 5 日 上午 10:30 
gaben is life with this material :steamhappy:
TeaDrinkingWarlock 2018 年 9 月 2 日 上午 12:21 
Don't write half life with 3 (MY GOD I DID IT!)
Megamezzomixer 2015 年 10 月 27 日 上午 11:19 
In my opinion, this is a Must have!
AtoMix27 2015 年 9 月 25 日 上午 6:39 
GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN GAYBEN
Benio 2015 年 7 月 12 日 上午 6:59 
http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=480102977

I gave you credit in one of the screenshots, 'cuz you were a great help.
Benio 2015 年 7 月 12 日 上午 5:20 
Solved: apparently I had to put them all in their own separate folders. Gawd,I'm such an idiot for not thinking this sooner...sorry for putting you through all this, too.
street_legal_abrams 2015 年 7 月 11 日 下午 10:19 
I thought that was a crosshair..
Benio 2015 年 7 月 11 日 下午 7:13 
...I don't get it.
Loona Enjoyer 2015 年 7 月 11 日 下午 1:14 
PRAISE LORD GabeN
TheYolocast  [作者] 2015 年 7 月 11 日 上午 11:37 
Is your addon folder layed out properly? http://psteamcommunity.yuanyoumao.com/app/4000/discussions/1/618458030658639029/
Look at the third reply to that thread.
Benio 2015 年 7 月 11 日 上午 10:18 
Got another problem; this GMD.bat isn't letting me format the files to be published. Each one says "[Not allowed by whitelist]". http://www51.zippyshare.com/v/CNPJUwSZ/file.html What am I doing wrong now?
TheYolocast  [作者] 2015 年 7 月 10 日 下午 10:36 
Your welcome. I am glad you could solve your problem.
Benio 2015 年 7 月 10 日 下午 2:45 
It's alright; my friend Brewster Koopa solved it for us. It was supposed to be "VertexlitGeneric", not "LightmappedGeneric". What a great guy...and you too, of course.
Benio 2015 年 7 月 10 日 上午 9:16 
Yes; the props and models got no changes...
TheYolocast  [作者] 2015 年 7 月 10 日 上午 9:04 
It should work if you can see it in the material picker. Have you tried it on any other models?
Benio 2015 年 7 月 10 日 上午 8:54 
Multiple times. It looks like this: http://www44.zippyshare.com/v/kXhRub4T/file.html
TheYolocast  [作者] 2015 年 7 月 10 日 上午 8:45 
Have you tried restarting your game to refresh the material cache? Have you tried it with the default material tool? What does it look like in the material picker?
Benio 2015 年 7 月 10 日 上午 8:06 
Well, I think I managed to get the image to show up in the VTF program and set the VMT file as: "LightmappedGeneric"
{
"$basetexture" "benio/Curio_Zenith_Clear"
"$translucent" 1
}

But in-game, nothing happens: http://www96.zippyshare.com/v/kq7ru3eh/file.html

I'm thinking the translucent, makes it completely invisible, but without that the material goes broken and doesn't show up in-game, anyway. What could I be doing wrong, now? /:|
TheYolocast  [作者] 2015 年 7 月 9 日 下午 3:07 
TheYolocast  [作者] 2015 年 7 月 9 日 下午 2:58 
Transparent colors work too. I just use the erase tool.
Benio 2015 年 7 月 9 日 下午 1:04 
Well that didn't work either...maybe another visual explanation is required. Okay, with paint.net , it shows up and was saved being a .tga file as this: http://www80.zippyshare.com/v/g5MWwPTo/file.html

But when I copied and pasted (and/or imported) it to be a .vtf, it showed up as this: http://www80.zippyshare.com/v/XxydB0Me/file.html
Benio 2015 年 7 月 9 日 下午 12:48 
Oh, the erase tool...not filling the colors with transparent...um...color.
TheYolocast  [作者] 2015 年 7 月 9 日 下午 12:28 
Yep, $translucent should do the trick. Just incase you do not know, the erase tool in paint.net is used for creating transparent places.
Benio 2015 年 7 月 9 日 下午 12:09 
I used paint.net 4.0.5 in order to save the image as a .tga (like you recommended) before copying it to VTFEdit to save it as a .vtf.
TheYolocast  [作者] 2015 年 7 月 9 日 下午 12:05 
What image editing program are you using?
Benio 2015 年 7 月 9 日 下午 12:03 
Yeah, I think that was the problem; I have the Clear material's VTF file written as:

"LightmappedGeneric"
{
"$basetexture" "benio/Curio_Zenith_Clear"
"$translucent" 1
}

That must be why it's not showing up at all; there needs to be something added in this file in order to have the white emblem show up and not the black background, right?
Benio 2015 年 7 月 9 日 上午 11:32 
Thank you; I'll go look at these.
TheYolocast  [作者] 2015 年 7 月 9 日 上午 11:29 
https://www.youtube.com/watch?v=oyjsjoAUfs0

http://wiki.garrysmod.com/page/Workshop_Addon_Creation

https://developer.valvesoftware.com/wiki/$translucent

I recommend saving your texture as a .tga before importing it into VTFedit. .png files tend to glitch out with transparency.
Benio 2015 年 7 月 9 日 上午 11:11 
A few more questions though:

You wouldn't happen to know how to make a material with transparent parts, would you? I was trying to make the emblem with the black background cleared out and it came out wrong in the game. /:|

And...how do I turn this into an addon for everyone to share?
TheYolocast  [作者] 2015 年 7 月 9 日 上午 10:14 
No problem
Benio 2015 年 7 月 9 日 上午 10:10 
It...it worked!! Thank you sir!
TheYolocast  [作者] 2015 年 7 月 9 日 上午 9:37 
Your addon should have its own folder inside of addons.
restructure your files like so:
garrysmod/addons/<addon_name>/lua/autorun/Curio_Zenith.lua
garrysmod/addons/<addon_name>/materials/benio/Curio_Zenith.vtf
garrysmod/addons/<addon_name>/materials/benio/Curio_Zenith.vmt

Make sure your VMT file says the $basetexture is "benio/Curio_Zenith"
Benio 2015 年 7 月 9 日 上午 9:09 
Sigh...was this how I was supposed to do it? http://www34.zippyshare.com/v/wpYKkpVk/file.html

If so, then I failed because I couldn't find it in the Materials list; I had to use the Extended Spawn Menu to find them, only to see that they were textureless.
TheYolocast  [作者] 2015 年 7 月 8 日 下午 7:57 
Remember, learn things bit by bit. the internet and Google are your biggest friends.
TheYolocast  [作者] 2015 年 7 月 8 日 下午 7:54 
http://www.howtohaven.com/system/show-file-extensions-in-windows-explorer.shtml

After making windows show the file extension, make a new text file and change the .txt to a .lua.
Benio 2015 年 7 月 8 日 下午 6:56 
...Dang it...how do I create a lua? Or rather how do I do any of that? Gad, I dumb at this...
TheYolocast  [作者] 2015 年 7 月 6 日 上午 8:19 
Create "garrysmod/addons/<addonname>/lua/autorun/material.lua" and then copy/paste "list.Add( "OverrideMaterials", "<texturepath>" );" into it.
Benio 2015 年 7 月 6 日 上午 7:39 
I've tried finding tutorials, but all I keep finding are videos on how to fix texture errors; nothing else. Also, where in the GarrysMod folder should I place this gmod download? I mean, even though I have a gmad extracting program, is this any different from that one?
TheYolocast  [作者] 2015 年 7 月 6 日 上午 5:34 
Decompile my addon with Gmad extractor @ http://www.treesoft.dk/gmod/gmad/
Then look at the code. If you need to create the material itself, there are youtube tutorials for that.
Benio 2015 年 7 月 5 日 下午 10:34 
Ugh, I'm wanting to make my own material for the Tool Gun, but I still don't know how.