• Gold Material/texture for Gmod?
    25 replies, posted
Ever since I saw the TF2 Golden Wrench turns enemies into Golden Statues I wanted to make stuff golden in Gmod too. [IMG]http://wiki.teamfortress.com/w/images/thumb/7/77/Golden_Wrench_IMG.png/250px-Golden_Wrench_IMG.png[/IMG] [IMG_thumb]http://wiki.teamfortress.com/w/images/8/8c/Gold_Pyro.png[/IMG_thumb][IMG_thumb]http://wiki.teamfortress.com/w/images/5/50/Gold_Demoman.png[/IMG_thumb][IMG_thumb]http://wiki.teamfortress.com/w/images/7/75/Gold_Engineer.png[/IMG_thumb][IMG_thumb]http://wiki.teamfortress.com/w/images/5/56/Gold_Heavy.png[/IMG_thumb][IMG_thumb]http://wiki.teamfortress.com/w/images/f/f1/Gold_Medic.png[/IMG_thumb][IMG_thumb]http://wiki.teamfortress.com/w/images/3/3f/Gold_Scout.png[/IMG_thumb][img_thumb]http://wiki.teamfortress.com/w/images/8/8f/Gold_Soldier.png[/img_thumb][IMG_thumb]http://wiki.teamfortress.com/w/images/0/01/Gold_Sniper.png[/IMG_thumb][IMG_thumb]http://wiki.teamfortress.com/w/images/4/4b/Gold_Spy.png[/IMG_thumb] Is there a way to make stuff golden just like the wrench makes player models golden in TF2? I think there should be a material to make stuff golden, just like there is the "env_cubemap_model"-material that can make anything sort of silverish and reflective.
The material will be in the GCF now. All someone needs to do is make it work on the Material tool.
the question is which material is the one making the models look golden... in the "team fortress 2 materials.gcf" theres "\models\weapons\c_items\gold_wrench.vmt" (and gold_wrench.vtf) "\materials\Effects\goldcube.vtf" "\materials\models\effects\goldenwrench.vmt" [editline]06:16PM[/editline] I'm a noob at this sort of stuff I just hope someone can give the Material tool the ability to use the TF2 Gold material so I can turn stuff Golden in Gmod :biggrin:
It looks like the bottom .vmt file is the one you are looking for. Sorry if the last post I made seemed a bit like I was treating you like a idiot, I misread the post :v: But yeah, the bottom .vmt dictates all the cubemapping settings for the effect, using the base texture yellow.vtf. If the material tool needs a .vmt to make something work, that one is your best bet.
I did also find models/player/shared/gold_player.vtf
I have no idea how to add new materials to the material tool's collection of materials.
Just type material_override models/player/shared/gold_player into the console, that should set the material tool to the gold texture
[QUOTE=kaze4159;23272683]Just type material_override models/player/shared/gold_player into the console, that should set the material tool to the gold texture[/QUOTE] thank you, that works!! :biggrin: [IMG]http://i78.photobucket.com/albums/j101/GordonFrohm/gm_flatgrass0000-1.jpg[/IMG][IMG]http://i78.photobucket.com/albums/j101/GordonFrohm/gm_flatgrass0001-1.jpg[/IMG] and to make things easier I bound it to an unassigned key: [code]bind "F11" "material_override models/player/shared/gold_player" (bind "F10" "material_override models/weapons/c_items/gold_wrench.vmt")[/code]
Well there are already a handful of gold weapons people have made......though I'm not sure about TF2 stuff.
If you add that to a .lua file with any name, inside the autorun folder, it should add it to the material list.
no it doesn't seem to do that.
Strange. It appears to be experiment time :science: [editline]07:15PM[/editline] Sorry, had a brain fart with that last reccomendation, add this; [lua]list.Add( "OverrideMaterials", "models/player/shared/gold_player" )[/lua] To the lua file I mentioned earlier.
Now it works! Thank you very much!! :love: [editline]01:29AM[/editline] [IMG]http://i78.photobucket.com/albums/j101/GordonFrohm/gm_flatgrass0002.jpg[/IMG]
Now for somebody to make a "Golden Crowbar" that turns anything it hits golden (Not counting the map, of course.)
should be possible, as a SWEP
[QUOTE=hexpunK;23278957]Strange. It appears to be experiment time :science: [editline]07:15PM[/editline] Sorry, had a brain fart with that last reccomendation, add this; [lua]list.Add( "OverrideMaterials", "models/player/shared/gold_player" )[/lua] To the lua file I mentioned earlier.[/QUOTE] Can you please make a more in-depth tutorial? I am kinda confused on how to add it to the materials.
[QUOTE=Ring;48913177]Can you please make a more in-depth tutorial? I am kinda confused on how to add it to the materials.[/QUOTE] Is it grave digging day? Nice job reviving a 5 year old thread :v
[QUOTE=Kevlon;48913227]Is it grave digging day? Nice job reviving a 5 year old thread :v[/QUOTE] I know its a bit late, but i'm really looking for how to do this.
[QUOTE=Ring;48919261]I know its a bit late, but i'm really looking for how to do this.[/QUOTE] There's addon on the Workshop does literally just adds the Gold texture from TF2.
[QUOTE=Robotboy655;48926485]There's addon on the Workshop does literally just adds the Gold texture from TF2.[/QUOTE] I would like to find away to do it myself.
[QUOTE=Ring;48932527]I would like to find away to do it myself.[/QUOTE] Its not hard at all. If you would like to see how its done then go extract the GMA file of the workshop addon. If you don't want to do that either then go look around the wiki, because us telling you how to do it isn't doing it yourself either.
wow this looks preety awsome :F
[QUOTE=Maravis;48932560]Its not hard at all. If you would like to see how its done then go extract the GMA file of the workshop addon. If you don't want to do that either then go look around the wiki, because us telling you how to do it isn't doing it yourself either.[/QUOTE] I can easily extract the file, but how do I put the list.Add( "OverrideMaterials", "models/player/shared/gold_player" ) into the lua to show up on my materials list?
Go into lua/autorun. Make a lua file inside. Call it imfuckingretarded.lua or this won't work. Open the file in notepad. Paste the code that hexpunk put down in the file. Save it. Open Garry's mod and go into single player. Voila. If you still have troubles I'm going to slam you into a brick fucking wall.
[QUOTE=Evilaustin;48944560]Go into lua/autorun. Make a lua file inside. Call it imfuckingretarded.lua or this won't work. Open the file in notepad. Paste the code that hexpunk put down in the file. Save it. Open Garry's mod and go into single player. Voila. If you still have troubles I'm going to slam you into a brick fucking wall.[/QUOTE] Thanks for the help. This did it. I know calling it imfuckingretarded.lua did'nt do shit, but thanks anyway. PS. Also, your comment made me laugh.
Sorry, you need to Log In to post a reply to this thread.